Game interaction method and device, electronic equipment and storage medium

By randomly selecting virtual resources for virtual characters and switching, the operation process of virtual resource switching in the game is simplified, the problem of cumbersome virtual character resource switching in the existing technology is solved, and the game interaction efficiency is improved.

CN119185924APending Publication Date: 2024-12-27NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411184842.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The operation process of switching virtual character resources in existing games is complicated and complicated, resulting in low game interaction efficiency for players.

Method used

By randomly selecting virtual resources for virtual characters and switching the initial game resources of the current equipment to randomly selected virtual resources, the operation process of virtual resource switching is simplified, and a graphical user interface and response unit are provided to achieve this function.

Benefits of technology

It simplifies the interaction method of players in the game's virtual resource switching, simple operation steps, saves operation time, and improves game interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119185924A_ABST
    Figure CN119185924A_ABST
Patent Text Reader

Abstract

The invention discloses a game interaction method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to a resource switching instruction for at least one target role part of a controlled virtual role, and enabling an initial game resource currently equipped by the target role part of the controlled virtual role in a virtual scene, the target role part is switched to corresponding first candidate virtual resources, the first candidate virtual resources are randomly selected from candidate virtual resources associated with the target role part, and the candidate virtual resources are virtual resources owned by a first game account of the controlled virtual role; and in response to a confirmation event for the first candidate virtual resource, taking the first candidate virtual resource as a target virtual resource of the target role part equipment. According to the method and the device, the operation process of the interaction mode of virtual resource switching in the game by the player can be simplified, the operation steps are very simple, and the operation time is saved, so that the game interaction efficiency of the player is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a game interaction method, device, electronic device and storage medium. Background Art

[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged, such as multiplayer online action games, role-playing games, or tactical competitive games developed based on client or server architecture. In the game, players can manipulate the virtual characters on the screen to play the game, and can perform related operations such as walking, running, jumping, picking up props and fighting in the game scene based on the first or third perspective of the character operated by the player, so that players can experience the visual impact brought by the game in an immersive way, greatly enhancing the initiative and realism of the game.

[0003] At present, players can usually change the virtual image of the virtual character they control by themselves, for example, they can select virtual resources such as virtual skin or virtual clothing that need to be replaced for the virtual character in the character system or game warehouse, and equip the selected virtual resources on the virtual character. However, in the prior art, when players change virtual resources for virtual characters, they need to open the character system or game warehouse to select the virtual resources they want to replace, resulting in the existing interactive mode of switching virtual resources in the game. The operation process is cumbersome and complicated, and the game interaction efficiency is not high. Summary of the invention

[0004] The embodiments of the present application provide a game interaction method, device, electronic device and storage medium, which randomly select virtual resources for a virtual character and switch the initial game resources currently equipped by the virtual character to the randomly selected virtual resources to quickly switch virtual resources for the virtual character, thereby simplifying the operation process of the player's interactive method of switching virtual resources in the game. The operation steps are very simple, which saves operation time, thereby effectively improving the player's game interaction efficiency.

[0005] In a first aspect, an embodiment of the present application provides a game interaction method, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface includes at least a portion of a virtual scene, and a controlled virtual character located in the at least portion of the virtual scene and controlled by the terminal device, wherein the controlled virtual character includes at least one character part, and each character part is equipped with an initial game resource, wherein the method includes:

[0006] In response to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character;

[0007] In response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as a target virtual resource for the target character part equipment.

[0008] In a second aspect, an embodiment of the present application provides a game interaction device, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes at least a portion of a virtual scene, and a controlled virtual character located in the at least portion of the virtual scene and controlled by the terminal device, wherein the controlled virtual character includes at least one character part, and each character part is equipped with an initial game resource, including:

[0009] A first response unit is used to respond to a resource switching instruction for at least one target character part of the controlled virtual character, and switch the initial game resource currently equipped on the target character part of the controlled virtual character to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character;

[0010] The second response unit is configured to respond to a confirmation event for the first candidate virtual resource and use the first candidate virtual resource as a target virtual resource for the target character's part equipment.

[0011] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads instructions from the memory to execute the steps of any one of the game interaction methods provided in the embodiments of the present application.

[0012] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any one of the game interaction methods provided in the embodiment of the present application.

[0013] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any one of the game interaction methods provided in the embodiments of the present application.

[0014] By adopting the solution of the embodiment of the present application, virtual resources are randomly selected for the virtual character, and the initial game resources currently equipped by the virtual character are switched to the randomly selected virtual resources, so as to realize the operation of quickly switching virtual resources for the virtual character, thereby simplifying the operation process of the player's interactive method of switching virtual resources in the game. The operation steps are very simple, which saves operation time, thereby effectively improving the player's game interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 is a scene schematic diagram of a game interaction system provided in an embodiment of the present application;

[0017] Figure 2 This is a flowchart of an embodiment of the game interaction method provided by the embodiment of the present application;

[0018] Figure 3 This is a schematic diagram of a scenario of the game interaction method provided in an embodiment of the present application;

[0019] Figure 4 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0020] Figure 5 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0021] Figure 6 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0022] Figure 7 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0023] Figure 8 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0024] Fig. 9 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0025] Fig.10 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0026] Fig.11is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0027] Fig.12 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0028] Fig.13 is another scenario schematic diagram of the game interaction method provided in an embodiment of the present application;

[0029] Fig.14 is a schematic diagram of the structure of a game interaction device provided in an embodiment of the present application;

[0030] Fig.15 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0032] The embodiments of the present application provide a game interaction method, device, electronic device, and computer-readable storage medium. Specifically, the present embodiment will be described from the perspective of a game interaction device, which can be integrated into an electronic device, that is, the game interaction method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.

[0033] The game interaction method provided in the embodiment of the present application can be applied to a game interaction system. The game interaction system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.

[0034] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0035] In one embodiment of the present disclosure, the game interaction method can be run on a local terminal device or a server. When the game interaction method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0036] For example, when the game interaction method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed by the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the graphical user interface and receive the operation instructions generated by the user acting on the graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0037] For example, when the game interaction method is run on a server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating body of the game application and the game screen presentation body are separated, and the storage and operation of the game interaction method are completed on the cloud gaming server. The game screen presentation is completed on the client side of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a PDA, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0038] See also Figure 1 , Figure 1A scene diagram of a game interaction system provided for an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. The terminal is any device with computing hardware that can support and execute software products corresponding to the game. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. For example, multiple users can be online through different terminals and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases, multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the database when different users are online for multi-player games.

[0039] The embodiment of the present application provides a game interaction method, which can be executed by a terminal or a server. The embodiment of the present application takes the game interaction method executed by a terminal as an example for explanation. Among them, the terminal may include a touch display screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch display screen is used as an example for explanation here), and the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, the different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation.

[0040] It should be noted that Figure 1The scene diagram of the game interaction system shown is only an example. The game interaction system and scene described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0041] The embodiment of the present application provides a game interaction method, which can be executed by a terminal or a server. The embodiment of the present application takes the game interaction method executed by a terminal as an example for explanation, and a graphical user interface can be provided by a terminal device, and the graphical user interface includes at least part of a virtual scene and a controlled virtual character located in the virtual scene and controlled by the terminal device. The graphical user interface, virtual scene, and virtual object are explained below.

[0042] The game scene (or virtual scene) is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, for sandbox 3D shooting games, the virtual scene is a 3D game world for players to control virtual objects to fight. Example virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles; for example, for 2D card games, the virtual scene is a scene for displaying released cards or displaying virtual objects corresponding to cards. Example virtual scenes may include: an arena, a decisive battlefield, or other "field" elements or other elements that can display the status of card battles; for 2D or 3D multiplayer online tactical competitive games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. Example virtual scenes may include: canyon-style mountains, lines, rivers, classrooms, tables and chairs, podiums and other elements.

[0043] The graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, and can be a display screen interface of a terminal device. The graphical user interface can present the entire game scene, or only a part of the game scene. The game scene includes multiple static virtual objects, specifically including ground, mountains, rocks, vegetation, buildings, etc. When the game scene is relatively large, only the local content of the game scene is displayed on the graphical user interface of the terminal device during the game. Optionally, the game scene contains game characters, which can be game characters controlled by players, or NPCs (abbreviation of Non-Player Character, which is a type of character in the game, meaning non-player characters), which is not limited in this exemplary embodiment. The graphical user interface can include a UI interface and a game screen for players to interact. In an optional embodiment, the UI interface can include game controls (such as skill controls, mobile controls, function controls, etc.), indicator signs (such as direction indicator signs, role indicator signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.

[0044] A game object (or virtual object, game character) refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual animal, a cartoon character, etc. The virtual object is a character controlled by a player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (NPC) set in a virtual scene battle. Optionally, the virtual object is a virtual character competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset, or is dynamically determined according to the number of clients joining the battle, and the embodiment of the present application does not limit this. In a possible implementation, the user can control the virtual object to move in the virtual scene, for example, control the virtual object to run, jump, crawl, etc., and can also control the virtual object to use the skills, virtual props, etc. provided by the application to fight with other virtual objects. (Game) props refer to props that can be used by virtual objects in a virtual environment, including but not limited to firearms, cold weapons, grenades, shields, springboards, puppets, etc., which can be used by virtual objects to speed up their own attributes, assist in combat, or launch damage to other virtual objects. Virtual props can also be supply props such as bullets, and can also be equipped on designated virtual weapons for accessories such as extended magazines, aiming scopes, flash suppressors, and stocks. The virtual camera is a necessary component for the game scene screen, which is used to present the game scene screen. A game scene corresponds to at least one virtual camera. According to actual needs, there can be two or more virtual cameras, which serve as the game rendering window to capture and present the game world's screen content to the player. By setting the parameters of the virtual camera, the player's perspective of viewing the game world can be adjusted, such as the first-person perspective and the third-person perspective.

[0045] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.

[0046] See also Figure 2 , Figure 2 This is a flowchart of a game interaction method provided in an embodiment of the present application. The specific process of the game interaction method may be as follows: Step 101 to Step 102:

[0047] Step 101, in response to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by the first game account of the controlled virtual character.

[0048] Specifically, the present application can trigger resource switching instructions in a virtual scene of game preparation or game matching. For example, a player can trigger a special gesture in a graphical user interface or perform a trigger operation on a resource switching control displayed in a graphical user interface to trigger a resource switching instruction, thereby realizing quick random switching and display operations of virtual resources without opening a game character system or a game warehouse.

[0049] In the embodiment of the present application, the virtual resource may be any one or more of a virtual skin, a virtual prop, and / or a virtual accessory. The candidate virtual resource associated with the target character part is a virtual resource of the same type owned by the first game account of the controlled virtual character and can be equipped on the target character part. For example, if the target character part is the character's head part, the candidate virtual resource associated with the character's head part is a virtual headdress owned by the first game account of the controlled virtual character and can be equipped on the character's head part.

[0050] For example, see Figure 3 , a graphical user interface can be provided through a terminal device, the graphical user interface includes at least a portion of a virtual scene, and a controlled virtual character located in the at least a portion of the virtual scene and controlled by the terminal device, the controlled virtual character includes at least one character part, each character part is equipped with an initial game resource or is not equipped with a game resource, at this time, the target character part of the controlled virtual character is the character head part, and the character head part is equipped with a first virtual headdress as the initial virtual resource. The computer device can randomly select a second virtual headdress as the first candidate virtual resource from the candidate virtual resources associated with the character head part in response to a resource switching instruction for the target character part (i.e., the character head part) of the controlled virtual character.

[0051] The resource switching instruction is used to instruct to randomly select a first candidate virtual resource from the candidate virtual resources associated with the target character part for a target number of times within a target duration, so as to randomly switch and display a target number of first candidate virtual resources to the current player, wherein the target duration is the effective duration of the resource switching instruction. For example, the target duration of the resource switching instruction is 30 seconds, and the target number is 6 times, that is, within 30 seconds, 6 first candidate virtual resources are randomly switched and displayed in sequence. Specifically, each first candidate virtual resource can be set with a specified display duration, and the specified display duration can be 5 seconds.

[0052] Optionally, each time each target character part is randomly switched and displayed, the virtual resources displayed in the last random switch need to be eliminated, that is, each target character part will not display the same virtual resources twice in a row.

[0053] In an embodiment of the present application, the virtual resources randomly switched and displayed by the controlled virtual character will be synchronously displayed on the graphical user interface of the terminal device of the target virtual character. The target virtual character is a virtual character in a virtual scene in the same game preparation area as the controlled virtual character. That is, the random display process is visible to all players in the same game room. If the displayed player (including the player controlling the controlled virtual character) has not downloaded the resource skin package corresponding to the first candidate virtual resource, the corresponding resource package will be automatically downloaded according to the display result.

[0054] For details, please refer to Figure 4 After the computer device randomly selects a second virtual headdress as the first candidate virtual resource from the candidate virtual resources associated with the character's head part, it can switch the first virtual headdress (i.e., the initial virtual resource) currently equipped on the target character part to the corresponding second virtual headdress (i.e., the first candidate virtual resource), thereby randomly switching and displaying the first candidate virtual resource to the current player.

[0055] For further information, see Figure 5 , the first designated duration of the first candidate virtual resource can be 5 seconds. If no confirmation event for the first candidate virtual resource is detected within 5 seconds, the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character part is continued, that is, the third virtual headdress is randomly selected from the candidate virtual resources as the new first candidate virtual resource, and the second virtual headdress (i.e., the first candidate virtual resource) currently equipped on the target character part is switched to the corresponding third virtual headdress (i.e., the new first candidate virtual resource), thereby randomly switching and displaying the first candidate virtual resource to the current player. Furthermore, when no confirmation event for the new first candidate virtual resource is detected within the first designated duration of the new first candidate virtual resource, the new first candidate virtual resource is continuously randomly selected for equipment and display.

[0056] Step 102: In response to a confirmation event for the first candidate virtual resource, use the first candidate virtual resource as a target virtual resource for the target character's part equipment.

[0057] In an embodiment of the present application, the computer device may respond to a confirmation event for the first candidate virtual resource by using the first candidate virtual resource as the target virtual resource for the target character's equipment, that is, using the first virtual headdress as the target virtual resource for the character's head.

[0058] Based on the above introduction, the game interaction method of the present application will be further illustrated by examples below. The specific embodiments of the game interaction method are described as follows.

[0059] In one embodiment, the graphical user interface displays a resource switching control, which is configured to generate and respond to a resource switching instruction for at least one target character part of the controlled virtual character after being triggered, and the resource switching instruction is used to instruct to perform an operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part a target number of times within a target duration, so as to randomly switch and display a target number of first candidate virtual resources to the current player, wherein the target duration is the effective duration of the resource switching instruction.

[0060] For example, see Figure 6 , a graphical user interface can be provided through a terminal device, the graphical user interface including at least a portion of a virtual scene, a controlled virtual character located in the at least portion of the virtual scene and controlled by the terminal device, and a resource switching control, the controlled virtual character including at least one character part, each character part is equipped with an initial game resource or is not equipped with a game resource, at this time, the target character parts of the controlled virtual character include a first target character part, a second target character part and a third target character part, the first target character part is equipped with a first virtual costume as a first initial virtual resource, the second target character part is equipped with a second virtual costume as a second initial virtual resource, and the third target character part is equipped with a third virtual costume as a third initial virtual resource.

[0061] For further information, please also refer to Figure 6 and Figure 7, the player can perform a trigger operation on the resource switching control, and the computer device responds to the trigger operation on the resource switching control, and randomly selects the fourth virtual clothing, the fifth virtual clothing, and the sixth virtual clothing from the candidate virtual resources associated with each target character part for the first target character part, the second target character part, and the third target character part as the first candidate virtual resource for each target character part. And the first virtual clothing currently equipped on the first target character part is switched to the corresponding fourth virtual clothing, the second virtual clothing currently equipped on the second target character part is switched to the corresponding fifth virtual clothing, and the third virtual clothing currently equipped on the third target character part is switched to the corresponding sixth virtual clothing.

[0062] Furthermore, the step of “after switching the initial game resource currently equipped on the target character part of the controlled virtual character to the corresponding first candidate virtual resource in the virtual scene” also includes:

[0063] If no confirmation event for the first candidate virtual resource is detected within the first specified time period, the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character part continues to be performed until a confirmation event for the new first candidate virtual resource is detected, or until the operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part is performed the target number of times within the target time period;

[0064] The first designated duration is a designated display duration associated with the first candidate virtual resource.

[0065] For example, see also Figure 7 and Figure 8, the first specified time length can be 5 seconds, and the confirmation event for the first candidate virtual resource can be a trigger operation for the resource switching control. If the trigger operation for the resource switching control is not detected within 5 seconds, continue to execute the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character parts, that is, the first target character part, the second target character part and the third target character part, and randomly select the seventh virtual clothing, the eighth virtual clothing and the ninth virtual clothing from the candidate virtual resources associated with each target character part as the new first candidate virtual resources for each target character part. And switch the fourth virtual clothing currently equipped on the first target character part to the corresponding seventh virtual clothing, switch the fifth virtual clothing currently equipped on the second target character part to the corresponding eighth virtual clothing, and switch the sixth virtual clothing currently equipped on the third target character part to the corresponding ninth virtual clothing. At this time, if the trigger operation for the resource switching control is detected, the operation of randomly switching virtual resources ends. Alternatively, the above steps are performed until the operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part is performed the target number of times (6 times) within the target duration (30 seconds).

[0066] In one embodiment, the step of “in response to a confirmation event for the first candidate virtual resource, using the first candidate virtual resource as a target virtual resource for the target character's part equipment” includes:

[0067] Within the first specified time period, if a trigger operation on the resource switching control is detected, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment.

[0068] For example, the first specified duration is 5 seconds. Within 5 seconds (i.e., within the display duration of the first candidate virtual resource), if a trigger operation for the resource switching control is detected, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment. Within the first specified duration, if no trigger operation for the resource switching control is detected, the step of randomly switching virtual resources for the target character's part continues.

[0069] In a specific embodiment, the method further comprises:

[0070] Displaying a resource switching control in a first display style through the graphical user interface;

[0071] In response to a triggering operation of a resource switching control for the first display style, the first display style is switched to a second display style, and a resource switching instruction for at least one target character part of the controlled virtual character is generated and responded to, so as to prompt the current player through the resource switching control of the second display style that a random switching operation is being performed on the virtual resources of at least one target character part of the controlled virtual character.

[0072] For example, see also Fig. 9 and Fig.10 , a resource switching control of a first display style can be displayed through the graphical user interface. At this time, the controlled virtual character has not entered the random switching display mode for performing random switching operations on the virtual resources of the target character parts. The player can perform a trigger operation on the resource switching control of the first display style. The computer device responds to the trigger operation on the resource switching control of the first display style, switches the first display style to the second display style, and generates and responds to a resource switching instruction for at least one target character part of the controlled virtual character, so as to prompt the current player through the resource switching control of the second display style that a random switching operation is being performed on the virtual resources of at least one target character part of the controlled virtual character.

[0073] In one embodiment, the step of "if a trigger operation for the resource switching control is detected within the first specified time period, using the first candidate virtual resource as the target virtual resource for the target character's part equipment" includes:

[0074] Within the first specified time period, if a trigger operation of the resource switching control for the second display style is detected, the first candidate virtual resource is used as the target virtual resource for the target character part equipment, and the second display style is switched to the first display style, so as to prompt the current player through the resource switching control of the first display style that the random switching operation of the virtual resources for at least one target character part of the controlled virtual character has been completed.

[0075] Furthermore, the method further comprises:

[0076] If the first candidate virtual resource is a virtual resource determined by the last operation in the operations performed the target number of times within the target duration, display resource prompt information, wherein the resource prompt information is used to inquire whether to agree to use the first candidate virtual resource as the target virtual resource for the target character's part equipment;

[0077] In response to a triggering operation on the resource prompt information, a resource determination result is determined, and a target virtual resource of the target character's part equipment is determined based on the resource determination result.

[0078] For example, see Fig.11 If the first candidate virtual resource is a virtual resource determined by the last operation (the 6th operation) of the operations executed the target number of times (6 times) within the target duration (30 seconds), the resource prompt information "Do you want to use random skin? Automatically use it after 3 seconds" and the first control "Apply" and the second control "Restore" are displayed, and a duration prompt information (i.e., a progress bar) is also displayed, and the duration prompt information is used to indicate the remaining display time of the resource prompt information.

[0079] Specifically, the step of "determining the target virtual resource of the target character's part equipment based on the resource determination result" includes:

[0080] If the resource determination result is approval, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment;

[0081] If the resource determination result is disagreement, the first candidate virtual resource currently equipped for the target character part is restored to the initial game resource, so as to use the initial game resource as the target virtual resource for the target character part equipment.

[0082] For example, a player may perform a trigger operation on a first control, and the computer device may respond to the trigger operation on the first control and determine that the resource determination result is approval, and then use the first candidate virtual resource as the target virtual resource for equipping the target character part; a player may perform a trigger operation on a second control, and the computer device may respond to the trigger operation on the second control and determine that the resource determination result is disagreement, and then restore the first candidate virtual resource currently equipped with the target character part to the initial game resource, so as to use the initial game resource as the target virtual resource for equipping the target character part.

[0083] Furthermore, the method further comprises:

[0084] If no trigger operation for the resource prompt information is detected within the second specified time period, the resource determination result is automatically determined to be agreed, and the first candidate virtual resource is used as the target virtual resource for the target character part equipment, wherein the second specified time period is the display time period of the resource prompt information.

[0085] For example, the second specified duration is 5 seconds, that is, the display duration of the resource prompt information is the same as the display duration of the corresponding first candidate virtual resource. If no trigger operation for the first control or the second control is detected within 5 seconds, the resource determination result is automatically determined to be approved, and the first candidate virtual resource is used as the target virtual resource for the target character's part equipment.

[0086] In one embodiment, the method further comprises:

[0087] Acquire the number of character parts of at least one target character part of the controlled virtual character and the number of candidate virtual resources associated with each target character part;

[0088] In response to the number of character parts and / or the number of resources of each target character part meeting a resource switching condition, a resource switching control is displayed on the graphical user interface.

[0089] The resource switching condition may be that the number of character parts is equal to or greater than a first specified number, and / or the number of available resources of each target character part is equal to or greater than a second specified number.

[0090] Optionally, the method further includes:

[0091] In response to the number of character parts of the controlled virtual character and / or the number of resources of each target character part not meeting the resource switching condition, the resource switching control is inoperable or not displayed.

[0092] For example, when the available candidate virtual resources (e.g., virtual skins) of the three target character parts of the controlled virtual character are all greater than or equal to three, the resource switching control is displayed normally in the graphical user interface, and the player can perform a trigger operation on the resource switching control; otherwise, the resource switching control is displayed as unavailable in the graphical user interface, or the resource switching control is not displayed directly, and the player cannot perform a trigger operation on the resource switching control. The numerical values ​​here are only for illustrative purposes, and more possible embodiments are not described in detail again.

[0093] In one embodiment, among the operations performed a target number of times within the target duration, the candidate virtual resources determined for the target character part by operations of adjacent numbers are the same or different.

[0094] Optionally, each time each target character part is randomly switched and displayed, the virtual resources displayed in the last random switch need to be eliminated, that is, each target character part will not display the same virtual resources twice in a row.

[0095] In one embodiment, the step of “after randomly selecting a first candidate virtual resource from candidate virtual resources associated with at least one target character part of the controlled virtual character in response to a resource switching instruction for the at least one target character part of the controlled virtual character” further includes:

[0096] If it is detected that the first candidate virtual resource has at least one associated virtual resource, determining a designated character part corresponding to the associated virtual resource on the controlled virtual character;

[0097] In the virtual scene, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource, and the initial game resource currently equipped on the designated character part is switched to the corresponding associated virtual resource.

[0098] Specifically, if the target character parts include a first character part, a second character part, and a third character part, if it is detected that the first candidate virtual resource randomly switched for the first character part has at least one associated virtual resource, that is, the first candidate virtual resource is a set of inseparable virtual clothing set, then the virtual resources of the other two character parts are randomly switched to the candidate virtual resources corresponding to the inseparable virtual clothing set.

[0099] In one embodiment, the partial virtual scene is a virtual scene of a game preparation area, and the partial virtual scene also includes at least one target virtual character. The virtual characters in the same virtual scene of the game preparation area will participate in the same game round.

[0100] Furthermore, the method further comprises:

[0101] In response to a game preparation instruction or a game matching instruction for the controlled virtual character, the resource switching control is inoperable or not displayed.

[0102] For example, see Fig.12 , part of the virtual scene is a virtual scene in the game preparation area, the part of the virtual scene also includes at least one target virtual character, the target virtual characters include a first virtual character and a second virtual character, and the graphical user interface also displays a matching control "match". At this time, the player can perform a trigger operation on the matching control, and the computer device responds to the trigger operation on the matching control, triggers and responds to the game matching instruction for the controlled virtual character, and matches all virtual characters in the virtual scene in the same game preparation area as the same game team. At this time, the resource switching control is inoperable or not displayed.

[0103] For another example, see Fig.13 , part of the virtual scene is a virtual scene of the game preparation area, the part of the virtual scene also includes at least one target virtual character, the target virtual characters include a first virtual character and a second virtual character, and the graphical user interface also displays a preparation control "prepare". At this time, the player can perform a trigger operation on the preparation control, and the computer device responds to the trigger operation on the preparation control, triggers and responds to the game preparation instruction for the controlled virtual character, and sets the current state of the controlled virtual character to the battle preparation state. At this time, the resource switching control is inoperable or not displayed.

[0104] Furthermore, if the player clicked the preparation control or the matching control during the last random dress display, after the random dress display shows the final result, the first control and the second control associated with the resource prompt information will still appear, but the resource switching control will not appear after the operation is completed.

[0105] Optionally, in the game preparation scenario, if the remaining countdown time for game preparation is less than 5 seconds, the resource switching control becomes unavailable and dimmed, and after clicking, a floating prompt "The game is about to start" can pop up.

[0106] Optionally, part of the virtual scene can be a virtual scene associated with a game match. Specifically, the controlled virtual character controlled by the player can be in a game match. At this time, the computer device can respond to the resource switching instruction for at least one target character part of the controlled virtual character, and switch the initial game resource currently equipped with the target character part of the controlled virtual character to the corresponding first candidate virtual resource in the virtual scene associated with the game match. Wherein, the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is the virtual resource owned by the first game account of the controlled virtual character in the current game match. The virtual resource can be the virtual resource brought by the controlled virtual character when entering the game match, or it can be the virtual resource obtained by the controlled virtual character in the game match, such as the virtual resource obtained by the controlled virtual character after completing the game task in the game match, or the virtual resource picked up by the controlled virtual character in the virtual scene associated with the game match. Then, in response to the confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as the target virtual resource equipped with the target character part.

[0107] In summary, the embodiment of the present application provides a game interaction method, by responding to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped by the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by the first game account of the controlled virtual character; then, in response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as the target virtual resource equipped by the target character part. The scheme of the embodiment of the present application is adopted, by randomly selecting virtual resources for the virtual character, and switching the initial game resources currently equipped by the virtual character to the randomly selected virtual resources, so as to realize the operation of quickly switching virtual resources for the virtual character, thereby simplifying the operation process of the interactive mode of virtual resource switching for the player in the game, the operation steps are very simple, and the operation time is saved, thereby effectively improving the game interaction efficiency of the player.

[0108] This embodiment also provides a game interaction device, which can be integrated into a terminal device. Fig.14 As shown, the game interaction device may include:

[0109] A first response unit 201 is used to respond to a resource switching instruction for at least one target character part of the controlled virtual character, and switch the initial game resource currently equipped on the target character part of the controlled virtual character to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character;

[0110] The second responding unit 202 is configured to respond to a confirmation event for the first candidate virtual resource and use the first candidate virtual resource as a target virtual resource for the target character's part equipment.

[0111] In some embodiments, the game interaction device includes a display subunit for:

[0112] A resource switching control is displayed on the graphical user interface, and the resource switching control is configured to generate and respond to a resource switching instruction for at least one target character part of the controlled virtual character after being triggered, and the resource switching instruction is used to instruct to perform an operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part a target number of times within a target duration, so as to randomly switch and display a target number of first candidate virtual resources to the current player, wherein the target duration is the effective duration of the resource switching instruction.

[0113] In some embodiments, the game interaction device includes a processing subunit for:

[0114] If no confirmation event for the first candidate virtual resource is detected within the first specified time period, the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character part continues to be performed until a confirmation event for the new first candidate virtual resource is detected, or until the operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part is performed the target number of times within the target time period;

[0115] The first designated duration is a designated display duration associated with the first candidate virtual resource.

[0116] In some embodiments, the game interaction device includes a processing subunit for:

[0117] Within the first specified time period, if a trigger operation on the resource switching control is detected, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment.

[0118] In some embodiments, the game interaction device includes a processing subunit for:

[0119] Displaying a resource switching control in a first display style through the graphical user interface;

[0120] In response to a triggering operation of a resource switching control for the first display style, the first display style is switched to a second display style, and a resource switching instruction for at least one target character part of the controlled virtual character is generated and responded to, so as to prompt the current player through the resource switching control of the second display style that a random switching operation is being performed on the virtual resources of at least one target character part of the controlled virtual character.

[0121] In some embodiments, the game interaction device includes a processing subunit for:

[0122] Within the first specified time period, if a trigger operation of the resource switching control for the second display style is detected, the first candidate virtual resource is used as the target virtual resource for the target character part equipment, and the second display style is switched to the first display style, so as to prompt the current player through the resource switching control of the first display style that the random switching operation of the virtual resources for at least one target character part of the controlled virtual character has been completed.

[0123] In some embodiments, the game interaction device includes a processing subunit for:

[0124] If the first candidate virtual resource is a virtual resource determined by the last operation in the operations performed the target number of times within the target duration, display resource prompt information, wherein the resource prompt information is used to inquire whether to agree to use the first candidate virtual resource as the target virtual resource for the target character's part equipment;

[0125] In response to a triggering operation on the resource prompt information, a resource determination result is determined, and a target virtual resource of the target character's part equipment is determined based on the resource determination result.

[0126] In some embodiments, the game interaction device includes a processing subunit for:

[0127] If the resource determination result is approval, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment;

[0128] If the resource determination result is disagreement, the first candidate virtual resource currently equipped for the target character part is restored to the initial game resource, so as to use the initial game resource as the target virtual resource for the target character part equipment.

[0129] In some embodiments, the game interaction device includes a processing subunit for:

[0130] If no trigger operation for the resource prompt information is detected within the second specified time period, the resource determination result is automatically determined to be agreed, and the first candidate virtual resource is used as the target virtual resource for the target character part equipment, wherein the second specified time period is the display time period of the resource prompt information.

[0131] In some embodiments, the game interaction device includes a processing subunit for:

[0132] Acquire the number of character parts of at least one target character part of the controlled virtual character and the number of candidate virtual resources associated with each target character part;

[0133] In response to the number of character parts and / or the number of resources of each target character part meeting a resource switching condition, a resource switching control is displayed on the graphical user interface.

[0134] In some embodiments, the game interaction device includes a processing subunit for:

[0135] In response to the number of character parts of the controlled virtual character and / or the number of resources of each target character part not meeting the resource switching condition, the resource switching control is inoperable or not displayed.

[0136] In some embodiments, the game interaction device includes a processing subunit for:

[0137] If it is detected that the first candidate virtual resource has at least one associated virtual resource, determining a designated character part corresponding to the associated virtual resource on the controlled virtual character;

[0138] In the virtual scene, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource, and the initial game resource currently equipped on the designated character part is switched to the corresponding associated virtual resource.

[0139] In some embodiments, the game interaction device includes a processing subunit for:

[0140] In response to a game preparation instruction or a game matching instruction for the controlled virtual character, the resource switching control is inoperable or not displayed.

[0141] The embodiment of the present application discloses a game interaction device, which, through a first response unit 201, responds to a resource switching instruction for at least one target character part of the controlled virtual character, and switches the initial game resource currently equipped on the target character part of the controlled virtual character to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by the first game account of the controlled virtual character; the second response unit 202 responds to a confirmation event for the first candidate virtual resource, and uses the first candidate virtual resource as the target virtual resource equipped on the target character part. The embodiment of the present application randomly selects virtual resources for the virtual character, and switches the initial game resources currently equipped by the virtual character to the randomly selected virtual resources, so as to realize the operation of quickly switching virtual resources for the virtual character, thereby simplifying the operation process of the interactive mode of switching virtual resources for the player in the game, and the operation steps are very simple, saving operation time, thereby effectively improving the game interaction efficiency of the player.

[0142] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.

[0143] like Fig.15 As shown, Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.

[0144] The processor 301 is the control center of the electronic device 300. It uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 300 by running or loading software programs and / or units stored in the memory 302, and calling data stored in the memory 302, so as to monitor the electronic device 300 as a whole. The processor 301 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0145] In the embodiment of the present application, the processor 301 in the electronic device 300 will load instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 will run the application programs stored in the memory 302 to implement various functions, such as:

[0146] In response to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character;

[0147] In response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as a target virtual resource for the target character part equipment.

[0148] In one embodiment, the graphical user interface displays a resource switching control, which is configured to generate and respond to a resource switching instruction for at least one target character part of the controlled virtual character after being triggered, and the resource switching instruction is used to instruct to perform an operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part a target number of times within a target duration, so as to randomly switch and display a target number of first candidate virtual resources to the current player, wherein the target duration is the effective duration of the resource switching instruction.

[0149] In one embodiment, after the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource in the virtual scene, the method further includes:

[0150] If no confirmation event for the first candidate virtual resource is detected within the first specified time period, the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character part continues to be performed until a confirmation event for the new first candidate virtual resource is detected, or until the operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part is performed the target number of times within the target time period;

[0151] The first designated duration is a designated display duration associated with the first candidate virtual resource.

[0152] In one embodiment, in response to the confirmation event for the first candidate virtual resource, using the first candidate virtual resource as the target virtual resource for the target character's part equipment includes:

[0153] Within the first specified time period, if a trigger operation on the resource switching control is detected, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment.

[0154] In one embodiment, the method further comprises:

[0155] Displaying a resource switching control in a first display style through the graphical user interface;

[0156] In response to a triggering operation of a resource switching control for the first display style, the first display style is switched to a second display style, and a resource switching instruction for at least one target character part of the controlled virtual character is generated and responded to, so as to prompt the current player through the resource switching control of the second display style that a random switching operation is being performed on the virtual resources of at least one target character part of the controlled virtual character.

[0157] In one embodiment, if a trigger operation on the resource switching control is detected within the first specified time period, using the first candidate virtual resource as the target virtual resource for the target character's part equipment includes:

[0158] Within the first specified time period, if a trigger operation of the resource switching control for the second display style is detected, the first candidate virtual resource is used as the target virtual resource for the target character part equipment, and the second display style is switched to the first display style, so as to prompt the current player through the resource switching control of the first display style that the random switching operation of the virtual resources for at least one target character part of the controlled virtual character has been completed.

[0159] In one embodiment, the method further comprises:

[0160] If the first candidate virtual resource is a virtual resource determined by the last operation in the operations performed the target number of times within the target duration, display resource prompt information, wherein the resource prompt information is used to inquire whether to agree to use the first candidate virtual resource as the target virtual resource for the target character's part equipment;

[0161] In response to a triggering operation on the resource prompt information, a resource determination result is determined, and a target virtual resource of the target character's part equipment is determined based on the resource determination result.

[0162] In one embodiment, determining the target virtual resource of the target character's part equipment based on the resource determination result includes:

[0163] If the resource determination result is approval, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment;

[0164] If the resource determination result is disagreement, the first candidate virtual resource currently equipped for the target character part is restored to the initial game resource, so as to use the initial game resource as the target virtual resource for the target character part equipment.

[0165] In one embodiment, the method further comprises:

[0166] If no trigger operation for the resource prompt information is detected within the second specified time period, the resource determination result is automatically determined to be agreed, and the first candidate virtual resource is used as the target virtual resource for the target character part equipment, wherein the second specified time period is the display time period of the resource prompt information.

[0167] In one embodiment, the method further comprises:

[0168] Acquire the number of character parts of at least one target character part of the controlled virtual character and the number of candidate virtual resources associated with each target character part;

[0169] In response to the number of character parts and / or the number of resources of each target character part meeting a resource switching condition, a resource switching control is displayed on the graphical user interface.

[0170] In one embodiment, the method further comprises:

[0171] In response to the number of character parts of the controlled virtual character and / or the number of resources of each target character part not meeting the resource switching condition, the resource switching control is inoperable or not displayed.

[0172] In one embodiment, among the operations performed a target number of times within the target duration, the candidate virtual resources determined for the target character part by operations of adjacent numbers are the same or different.

[0173] In one embodiment, after randomly selecting a first candidate virtual resource from candidate virtual resources associated with at least one target character part of the controlled virtual character in response to a resource switching instruction for the target character part, the method further includes:

[0174] If it is detected that the first candidate virtual resource has at least one associated virtual resource, determining a designated character part corresponding to the associated virtual resource on the controlled virtual character;

[0175] In the virtual scene, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource, and the initial game resource currently equipped on the designated character part is switched to the corresponding associated virtual resource.

[0176] In one embodiment, the partial virtual scene is a virtual scene of a game preparation area, and the partial virtual scene also includes at least one target virtual character. The virtual characters in the same virtual scene of the game preparation area will participate in the same game round.

[0177] In one embodiment, the method further comprises:

[0178] In response to a game preparation instruction or a game matching instruction for the controlled virtual character, the resource switching control is inoperable or not displayed.

[0179] The electronic device provided in the embodiment of the present application can, in response to a resource switching instruction for at least one target character part of the controlled virtual character, switch the initial game resource currently equipped by the target character part of the controlled virtual character to the corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by the first game account of the controlled virtual character; then, in response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as the target virtual resource equipped by the target character part. Therefore, the scheme of the embodiment of the present application is adopted, by randomly selecting virtual resources for the virtual character, and switching the initial game resources currently equipped by the virtual character to the randomly selected virtual resources, so as to realize the operation of quickly switching virtual resources for the virtual character, thereby simplifying the operation process of the interactive mode of the player switching virtual resources in the game, the operation steps are very simple, and the operation time is saved, thereby effectively improving the game interaction efficiency of the player.

[0180] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0181] Optional, such as Fig.15 As shown, the electronic device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that Fig.15 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0182] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 301, and can receive the command sent by the processor 301 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 303 can also be used as a part of the input unit 306 to realize the input function.

[0183] The radio frequency circuit 304 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0184] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 305 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then sent to another electronic device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earplug jack to provide communication between an external headset and the electronic device.

[0185] The input unit 306 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0186] The power supply 307 is used to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 307 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0187] although Fig.15 Not shown, the electronic device 300 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0188] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0189] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0190] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any game interaction method provided in the embodiment of the present application. The computer program can execute the following steps of the game interaction method:

[0191] In response to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character;

[0192] In response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as a target virtual resource for the target character part equipment.

[0193] Due to the computer program stored in the storage medium, the initial game resource currently equipped by the target character part of the controlled virtual character can be switched to the corresponding first candidate virtual resource in the virtual scene in response to the resource switching instruction for at least one target character part of the controlled virtual character, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by the first game account of the controlled virtual character; then, in response to the confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as the target virtual resource equipped by the target character part. Therefore, the scheme of the embodiment of the present application is adopted, by randomly selecting virtual resources for the virtual character, and switching the initial game resources currently equipped by the virtual character to the randomly selected virtual resources, so as to realize the operation of quickly switching virtual resources for the virtual character, thereby simplifying the operation process of the interactive mode of virtual resource switching for the player in the game, the operation steps are very simple, and the operation time is saved, thereby effectively improving the game interaction efficiency of the player.

[0194] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0195] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0196] Since the computer program stored in the computer-readable storage medium can execute any one of the game interaction methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the game interaction methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0197] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.

[0198] In the above-mentioned game interaction device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-mentioned game interaction device, computer-readable storage medium, computer program product, electronic device and its corresponding units can refer to the description of the game interaction method in the above embodiment, and will not be repeated here.

[0199] The above is a detailed introduction to a game interaction method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A game interaction method, characterized in that: A graphical user interface is provided through a terminal device, the graphical user interface including at least a portion of a virtual scene, and a controlled virtual character located in the at least a portion of the virtual scene and controlled by the terminal device, the controlled virtual character including at least one character part, each character part being equipped with an initial game resource, including: In response to a resource switching instruction for at least one target character part of the controlled virtual character, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character; In response to a confirmation event for the first candidate virtual resource, the first candidate virtual resource is used as a target virtual resource for the target character part equipment.

2. The method according to claim 1, characterized in that The graphical user interface displays a resource switching control, which is configured to generate and respond to a resource switching instruction for at least one target character part of the controlled virtual character after being triggered, and the resource switching instruction is used to instruct an operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part for a target number of times within a target duration, so as to randomly switch and display a target number of first candidate virtual resources to the current player, wherein the target duration is the effective duration of the resource switching instruction.

3. The method according to claim 2, characterized in that After the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource in the virtual scene, the method further includes: If no confirmation event for the first candidate virtual resource is detected within the first specified time period, the step of randomly selecting a new first candidate virtual resource from the candidate virtual resources associated with the target character part continues to be performed until a confirmation event for the new first candidate virtual resource is detected, or until the operation of randomly selecting a first candidate virtual resource from the candidate virtual resources associated with the target character part is performed the target number of times within the target time period; The first designated duration is a designated display duration associated with the first candidate virtual resource.

4. The method according to claim 3, characterized in that In response to the confirmation event for the first candidate virtual resource, using the first candidate virtual resource as the target virtual resource for the target character's part equipment includes: Within the first specified time period, if a trigger operation on the resource switching control is detected, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment.

5. The method according to claim 4, characterized in that The method further comprises: Displaying a resource switching control in a first display style through the graphical user interface; In response to a triggering operation of a resource switching control for the first display style, the first display style is switched to a second display style, and a resource switching instruction for at least one target character part of the controlled virtual character is generated and responded to, so as to prompt the current player through the resource switching control of the second display style that a random switching operation is being performed on the virtual resources of at least one target character part of the controlled virtual character.

6. The method according to claim 5, characterized in that If a trigger operation on the resource switching control is detected within the first specified time period, the first candidate virtual resource is used as a target virtual resource for the target character's part equipment, including: Within the first specified time period, if a trigger operation of the resource switching control for the second display style is detected, the first candidate virtual resource is used as the target virtual resource for the target character part equipment, and the second display style is switched to the first display style, so as to prompt the current player through the resource switching control of the first display style that the random switching operation of the virtual resources for at least one target character part of the controlled virtual character has been completed.

7. The method according to claim 3, characterized in that The method further comprises: If the first candidate virtual resource is a virtual resource determined by the last operation in the operations performed the target number of times within the target duration, display resource prompt information, wherein the resource prompt information is used to inquire whether to agree to use the first candidate virtual resource as the target virtual resource for the target character's part equipment; In response to a triggering operation on the resource prompt information, a resource determination result is determined, and a target virtual resource of the target character's part equipment is determined based on the resource determination result.

8. The method according to claim 7, characterized in that The step of determining the target virtual resource of the target character's part equipment based on the resource determination result includes: If the resource determination result is approval, the first candidate virtual resource is used as the target virtual resource for the target character's part equipment; If the resource determination result is disagreement, the first candidate virtual resource currently equipped for the target character part is restored to the initial game resource, so as to use the initial game resource as the target virtual resource for the target character part equipment.

9. The method according to claim 7, characterized in that: The method further comprises: If no trigger operation for the resource prompt information is detected within the second specified time period, the resource determination result is automatically determined to be agreed, and the first candidate virtual resource is used as the target virtual resource for the target character part equipment, wherein the second specified time period is the display time period of the resource prompt information.

10. The method according to claim 2, characterized in that The method further comprises: Acquire the number of character parts of at least one target character part of the controlled virtual character and the number of candidate virtual resources associated with each target character part; In response to the number of character parts and / or the number of resources of each target character part meeting a resource switching condition, a resource switching control is displayed on the graphical user interface.

11. The method according to claim 10, characterized in that The method further comprises: In response to the number of character parts of the controlled virtual character and / or the number of resources of each target character part not meeting the resource switching condition, the resource switching control is inoperable or not displayed.

12. The method according to claim 2, characterized in that: Among the operations executed a target number of times within the target duration, the candidate virtual resources determined for the target character parts by operations of adjacent numbers are the same or different.

13. The method according to claim 1, characterized in that After randomly selecting a first candidate virtual resource from candidate virtual resources associated with at least one target character part in response to a resource switching instruction for at least one target character part of the controlled virtual character, the method further includes: If it is detected that the first candidate virtual resource has at least one associated virtual resource, determining a designated character part corresponding to the associated virtual resource on the controlled virtual character; In the virtual scene, the initial game resource currently equipped on the target character part of the controlled virtual character is switched to the corresponding first candidate virtual resource, and the initial game resource currently equipped on the designated character part is switched to the corresponding associated virtual resource.

14. The method according to claim 1, characterized in that The partial virtual scene is a virtual scene of a game preparation area, and the partial virtual scene also includes at least one target virtual character. The virtual characters in the same virtual scene of the game preparation area will participate in the same game.

15. The method according to claim 2, characterized in that The method further comprises: In response to a game preparation instruction or a game matching instruction for the controlled virtual character, the resource switching control is inoperable or not displayed.

16. A game interaction device, characterized in that: A graphical user interface is provided through a terminal device, the graphical user interface including at least a portion of a virtual scene, and a controlled virtual character located in the at least a portion of the virtual scene and controlled by the terminal device, the controlled virtual character including at least one character part, each character part being equipped with an initial game resource, including: A first response unit is used to respond to a resource switching instruction for at least one target character part of the controlled virtual character, and switch the initial game resource currently equipped on the target character part of the controlled virtual character to a corresponding first candidate virtual resource in the virtual scene, wherein the first candidate virtual resource is randomly selected from the candidate virtual resources associated with the target character part, and the candidate virtual resource is a virtual resource owned by a first game account of the controlled virtual character; The second response unit is configured to respond to a confirmation event for the first candidate virtual resource and use the first candidate virtual resource as a target virtual resource for the target character's part equipment.

17. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the game interaction method as claimed in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the game interaction method according to any one of claims 1 to 15.