Virtual object control method and device, equipment, storage medium and program product
By providing control methods for virtual objects in auto-chess games, users can drag and replace virtual objects and display attribute information during operation, solving the problem of cumbersome character replacement operations in the game, improving operation efficiency and interactive effects.
Patent Information
- Application Number
- CN202311316212.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-11
- Publication Date
- 2025-04-11
AI Technical Summary
In auto-chess games, players are cumbersome when purchasing and replacing characters in the character store, which reduces the operation efficiency.
It provides a control method for virtual objects. By displaying the object configuration interface of the virtual scene, users can drag the virtual object to replace it, and display auxiliary information pop-ups during the dragging process to display the attribute information of the target virtual object.
It simplifies the process of virtual object replacement, reduces user operation time and complexity, improves the efficiency of virtual object replacement, and expands the way users interact with virtual scenes.
Smart Images

Figure CN119792928A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of virtual world technology, and in particular to a method, device, equipment, storage medium and program product for controlling a virtual object. Background Art
[0002] In auto chess games that include virtual scenes, players are usually required to purchase multiple characters in the character store and match their attributes to trigger the combat effects of the attributes and win the battle.
[0003] In such games, the number of characters that players can choose to fight is limited, but the number of characters that can be purchased in the character store exceeds the number of characters that can be selected for battle. In order to better play the combat effect of the character matching attributes, the player can replace the characters that have been selected for battle with the redundant characters. In the related technology, when the player wants to replace a character that has been selected for battle with a redundant character, the player needs to move the replaced character to the deletion area, delete it, and then drag the replacement character to the original position of the replaced character to complete the replacement.
[0004] However, the process of players replacing characters is rather cumbersome, which reduces operational efficiency. Summary of the invention
[0005] The present application provides a control method, device, equipment, storage medium and program product of a virtual object, and the technical solution is as follows:
[0006] According to one aspect of the present application, a method for controlling a virtual object is provided, the method comprising:
[0007] Displaying an object configuration interface of a virtual scene, wherein the object configuration interface includes a first area, and the first area is used to store various virtual objects to be used in the virtual scene; a first virtual object exists outside the first area;
[0008] In response to the first virtual object being dragged onto the second virtual object, an auxiliary information pop-up window is displayed, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area;
[0009] In response to the first virtual object being released on the second virtual object, the second virtual object is replaced with the first virtual object in the first area.
[0010] According to another aspect of the present application, a control device for a virtual object is provided, the device comprising:
[0011] An interface display module, used for displaying an object configuration interface of a virtual scene, wherein the object configuration interface includes a first area, and the first area is used for storing various virtual objects to be used in the virtual scene; a first virtual object exists outside the first area;
[0012] a pop-up window display module, configured to display an auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area;
[0013] The virtual object replacement module is configured to replace the second virtual object with the first virtual object in the first area in response to the first virtual object being released on the second virtual object.
[0014] In a possible implementation manner, the attribute information of the first virtual object is also displayed in the auxiliary information pop-up window.
[0015] In a possible implementation, the attribute information includes selling price information and at least one of combat enhancement effects.
[0016] In a possible implementation, the object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The device further includes:
[0017] The first effect display module is used to display a first target effect in the second area separately from other combat enhancement effects in the second area in response to the first virtual object being dragged onto the second virtual object; the first target effect is the combat enhancement effect of the second virtual object.
[0018] In a possible implementation, the object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The device further includes:
[0019] The second effect display module is used to display a second target effect in the second area, distinguishing it from other combat enhancement effects in the second area, in response to the first virtual object being dragged onto the second virtual object; the second target effect is the combat enhancement effect that changes in the first area after the second virtual object is replaced by the first virtual object.
[0020] In a possible implementation, the pop-up window display module is configured to display the auxiliary information pop-up window corresponding to the second virtual object in response to the first virtual object being dragged onto the second virtual object.
[0021] In a possible implementation manner, the device further includes:
[0022] A selling module is used for selling the second virtual object in response to the first virtual object being released on the second virtual object.
[0023] In a possible implementation, the selling module is used to:
[0024] In response to the first virtual object being released on the second virtual object, displaying a sales progress in a third area in the object configuration interface;
[0025] In response to the selling progress display being completed, selling the second virtual object.
[0026] In a possible implementation manner, the third area is an area for displaying the current amount of resources.
[0027] In a possible implementation manner, the device further includes:
[0028] The selling cancellation module is configured to cancel the selling of the second virtual object in response to the selling progress being displayed as incomplete and receiving a selling cancellation operation executed on the third area.
[0029] In a possible implementation manner, the device further includes:
[0030] a replacement cancellation module, used to cancel the operation of replacing the second virtual object with the first virtual object;
[0031] A position recovery module is used to restore the first virtual object to the position before being dragged.
[0032] In a possible implementation manner, the device further includes:
[0033] The object display module is used to display the second virtual object at the position before the first virtual object is dragged.
[0034] In a possible implementation, the pop-up window display module is configured to display the auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object when the number of virtual objects in the first area reaches a specified number;
[0035] The specified number is an upper limit on the number of virtual objects accommodated in the first area.
[0036] In a possible implementation, the pop-up window display module is configured to display the auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object when the target function is enabled.
[0037] In a possible implementation, the interface display module is further used to display a function configuration interface, wherein the function configuration interface includes a switch option for the target function;
[0038] The device also includes:
[0039] The function setting module is used to turn on or off the target function in response to receiving a trigger operation on the switch option.
[0040] According to another aspect of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the control method of the virtual object as described above.
[0041] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the control method of the virtual object as described above.
[0042] According to another aspect of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the virtual object described above.
[0043] The beneficial effects of the technical solution provided by this application include at least:
[0044] When a user uses a virtual object to replace another virtual object to be used in a virtual scene, the virtual object to be used can be displayed in the first area, and the virtual object that can be used to replace it can be set outside the first area. The user can complete the replacement of the virtual object by dragging the virtual object outside the first area to a virtual object in the first area and releasing it. In this process, when the first virtual object outside the first area is dragged to a second virtual object in the first area and has not yet been released, the attribute information of the second virtual object can be displayed through a pop-up window, and the user does not need to view the attribute information of the second virtual object in advance, so that the operation of dragging the virtual object for replacement and the operation of viewing the attribute information of the virtual object are combined and executed, which greatly reduces the user's operation time and complexity, improves the efficiency of virtual object replacement, and further expands the way in which the user controls the interaction between the virtual object and the virtual scene, and improves the interaction effect between the user and the virtual scene. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0047] Figure 2 is an interface diagram of a virtual scene provided by an exemplary embodiment of the present application;
[0048] Figure 3 is a flow chart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0049] Figure 4 is a flow chart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0050] Figure 5 is a flow chart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0051] Figure 6 is a flow chart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0052] Figure 7 is a flow chart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0053] FIG8( a ) and FIG8( b ) are schematic diagrams of a prior art solution involved in an exemplary embodiment of the present application;
[0054] Fig. 9 is a schematic diagram of a product involved in an exemplary embodiment of the present application;
[0055] Fig.10 is a schematic diagram of prompt information involved in an exemplary embodiment of the present application;
[0056] Fig.11 is a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application;
[0057] Fig.12 is a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application;
[0058] Fig.13 is a schematic diagram of automatic deletion and selling involved in an exemplary embodiment of the present application;
[0059] Fig.14 is a schematic diagram of a function switch involved in an exemplary embodiment of the present application;
[0060] Fig.15 is a schematic diagram of a trigger interaction mechanism involved in an exemplary embodiment of the present application;
[0061] Fig.16 is a schematic diagram of triggering a pop-up window prompt involved in an exemplary embodiment of the present application;
[0062] Fig.17 is a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application;
[0063] Fig.18 is a schematic diagram of automatic deletion and selling involved in an exemplary embodiment of the present application;
[0064] Fig.19 is a flow chart of an interactive trigger mechanism involved in an exemplary embodiment of the present application;
[0065] Fig. 20 is a structural block diagram of a control device for a virtual object provided by an exemplary embodiment of the present application;
[0066] Fig.21 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.
[0067] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION
[0068] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0070] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0071] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the object behaviors such as attack operations involved in this application are all obtained with full authorization.
[0072] It should be understood that although the terms first, second, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0073] For ease of understanding, several terms involved in this application are explained below.
[0074] 1) Virtual scene
[0075] A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulated environment scene of the real world, a semi-simulated and semi-fictitious three-dimensional environment scene, or a purely fictitious three-dimensional environment scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The following embodiments are illustrated by taking the virtual scene as a three-dimensional virtual scene, but are not limited to this.
[0076] The virtual scene is usually generated by an application in a computer device such as a terminal and displayed based on the hardware in the terminal (such as a screen). The terminal can be a mobile terminal such as a smart phone, tablet computer or e-book reader; or, the terminal can also be a personal computer device such as a laptop or a fixed computer.
[0077] 2) Virtual Objects
[0078] A virtual object refers to an object that can be moved in a virtual scene. The movable object can be at least one of a virtual person, a virtual character, a virtual animal, and a virtual vehicle. Optionally, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional stereoscopic model created based on animation skeleton technology. Each virtual object has its own shape, volume, and orientation in the three-dimensional virtual scene, and occupies a part of the space in the three-dimensional virtual scene.
[0079] 3) Auto Chess
[0080] It is a type of board game in which players write a set of rules, strategies, or algorithms, which are then applied to the game so that the board game proceeds automatically without actual action by the players.
[0081] 4) War Chess
[0082] Refers to the characters in the game (there are 55 characters in Cash Shovel). Each character has 2-3 attributes, and there are crossovers between the character attributes; every three identical characters can be upgraded to level 2, and every nine identical characters can be upgraded to level 3. The higher the level of a single character, the higher the combat value.
[0083] 5) Chess matching strategy
[0084] Refers to activating different combat bonuses by matching a certain number of characters (currently there are 22 sets of chess matching strategies). Combat bonuses can be activated in multiple combinations at the same time. The more different characters are accumulated in each combination, the higher the combat bonus.
[0085] 6) Extra characters
[0086] During the character selection phase of the game, each player will select a character by default; and when the player's preparation seat is full, the casting phase ends and returns to the preparation scene, there will be an extra character, and the player needs to decide whether to delete this character, or delete a character in the preparation seat to complete the strategy replacement.
[0087] Figure 1 The computer system 100 includes a first terminal 120 , a server 140 , and a second terminal 160 .
[0088] The first terminal 120 is installed with and runs an application for a turn-based chess game, such as an auto chess game application. The first terminal 120 is a terminal used by a first user, who uses the first terminal 120 to purchase new virtual objects or sell existing virtual objects during the preparation stage and / or the battle stage of the game, or the first user uses the first terminal 120 to arrange the battle virtual objects in the battle area of the chessboard during the preparation stage of the game, and the first terminal 120 automatically controls the battle virtual objects to fight according to the attributes, skills and layout of the battle virtual objects in the battle area during the battle stage.
[0089] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0090] The server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 140 includes a processor 144 and a memory 142, and the memory 142 includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 is used to receive a request sent by a client, such as a request to view the lineup of an enemy virtual object; the control module 1422 is used to control the rendering of a virtual environment screen; and the sending module 1423 is used to send a response to the client, such as sending the lineup of an enemy virtual object to the client. The server 140 is used to provide background services for the application of turn-based chess games. Optionally, the server 140 undertakes the main computing work, and the first terminal 120 and the second terminal 160 undertake the secondary computing work; or, the server 140 undertakes the secondary computing work, and the first terminal 120 and the second terminal 160 undertake the main computing work; or, the server 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture for collaborative computing.
[0091] The second terminal 160 is installed with and runs an application for a turn-based chess game, such as an auto chess game application. The second terminal 160 is a terminal used by a second user, who uses the second terminal 160 to purchase new virtual objects or sell existing virtual objects during the preparation stage and / or the battle stage of the game, or the second user uses the second terminal 160 to arrange the battle virtual objects in the battle area of the chessboard during the preparation stage of the game, and the second terminal 160 automatically controls the battle virtual objects to fight according to the attributes, skills and layout of the battle virtual objects in the battle area during the battle stage.
[0092] Optionally, the virtual battle objects arranged by the first user through the first terminal 120 and the second user through the second terminal 160 are located in different battle areas on the same chessboard, that is, the first user and the second user are in the same game.
[0093] Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of applications on different control system platforms. The first terminal 120 may refer to one of a plurality of terminals, and the second terminal 160 may refer to one of a plurality of terminals. This embodiment is only illustrated by the first terminal 120 and the second terminal 160. The device types of the first terminal 120 and the second terminal 160 are the same or different, and the device types include at least one of a smart phone, a tablet computer, an e-book reader, a digital player, a laptop portable computer, and a desktop computer. The following embodiments are illustrated by the example that the terminal includes a smart phone.
[0094] The virtual object may be a virtual chess piece.
[0095] Those skilled in the art will appreciate that the number of terminals may be more or less. For example, there may be only one terminal (i.e., a user plays against an artificial intelligence), or there may be eight terminals (1v1v1v1v1v1v1v1, with eight users playing against each other in a cycle and eliminating each other, ultimately determining the winner), or more. The embodiments of the present application do not limit the number of terminals and device types.
[0096] Figure 2 An interface diagram of a virtual scene provided by an exemplary embodiment of the present application is provided; exemplarily, in Figure 2 In the first interface 210, a first area 212, a second area 214, a first virtual object 216, and a second virtual object 218 are displayed. The first virtual object 216 is outside the first area 212, and the second virtual object 218 is inside the first area 212. Exemplarily, in the first interface 210, the first virtual object 216 can replace the second virtual object 218.
[0097] Among them, the above Figure 2 The interface shown may be an interface for a user to configure a virtual object to be used in battle, for example, Figure 2 The interface shown may be a battle preparation interface in an auto chess game. Accordingly, the first area 212 may be an area corresponding to a battle preparation seat, and the first virtual object 216 may be an extra character / chess piece after the casting phase is completed when the battle preparation seat is full.
[0098] Figure 3 A flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application is shown. The method may be executed by a computer device. The computer device may be Figure 1 The first terminal 120 and the second terminal 160 in the system shown in the figure, or the computer device can also be Figure 1The server 140 in the system shown, or the computer device may also include the above Figure 1 In the system shown, a first terminal 120, a server 140 and a second terminal 160; the method includes:
[0099] Step 301: displaying an object configuration interface of a virtual scene, wherein the object configuration interface includes a first area, and the first area is used to store various virtual objects to be used in the virtual scene; a first virtual object exists outside the first area.
[0100] In some embodiments, the computer device may display the first virtual object and at least one other virtual object in a virtual scene interface.
[0101] Exemplarily, the user may control the first virtual object to replace other virtual objects, and correspondingly, the user may also control other virtual objects to replace the first virtual object.
[0102] The first area may include one or more object positions (or seats), each object position may accommodate a virtual object, and the first virtual object outside the first area may be a virtual object newly selected or purchased by the user outside of the virtual objects included in the first area.
[0103] In the virtual scene involved in the embodiments of the present application, the user can use or control one or more virtual objects to fight against the virtual objects of other users. Before this, the user can add, delete or replace the virtual objects that have been selected for fighting. The process of adding, deleting or replacing the virtual objects that have been selected for fighting by the user can be implemented through the above-mentioned object configuration interface.
[0104] In some embodiments, the virtual object may be a chess piece / character in an auto chess game. For example, the object configuration interface may be a battle preparation interface in an auto chess game. For example, the battle preparation interface may be Figure 2 The interface shown.
[0105] Optionally, the virtual object may also be an object / role in a game other than the Auto Chess game that allows the user to add, delete or replace the virtual object that has been selected to play.
[0106] Step 302: in response to the first virtual object being dragged onto the second virtual object, displaying an auxiliary information pop-up window, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area.
[0107] In an embodiment of the present application, the first virtual object can be dragged by the user. For example, the first virtual object can be dragged by the user by touching and sliding with a finger or a touch pen, or the first virtual object can also be dragged by the user by using auxiliary tools such as a mouse.
[0108] Among them, when the user drags the first virtual object and drags the first virtual object to a virtual object in the first area (i.e., the above-mentioned second virtual object), the computer device can display an auxiliary information pop-up window on the object configuration interface to display the attribute information of the second virtual object, without the user having to click on the second virtual object to view the attributes, or click on a certain attribute to query the virtual object with the attribute.
[0109] In an embodiment of the present application, when the first virtual object is dragged onto the second virtual object, the terminal interface displays an auxiliary information pop-up window. The display time of the above pop-up window can be preset in advance by the development and design personnel, such as popping up after three seconds, or popping up immediately.
[0110] In an embodiment of the present application, the shape of the auxiliary information pop-up window may be a shape pre-designed by a development designer. For example, the shape of the auxiliary information pop-up window may be a rectangle, a circle, or other regular or irregular shapes.
[0111] In a possible implementation, the computer device may overlay and display the auxiliary information pop-up window at a specified position in the object configuration interface. For example, the computer device may overlay and display the auxiliary information pop-up window at the center of the object configuration interface, or at a position slightly above the center.
[0112] In a possible implementation, in response to the first virtual object being dragged onto the second virtual object, the computer device displays an auxiliary information pop-up window corresponding to the second virtual object.
[0113] For example, when the first virtual object is dragged onto the second virtual object, when the computer device interface displays an auxiliary information pop-up window, the pop-up window position can be near the second virtual object, such as above, to the left, to the right, below, in the upper left corner, or in the upper right corner, etc. of the second virtual object. In other words, the computer device can display the attribute information of the second virtual object according to the current position where the user drags and moves the first virtual object, which can facilitate the user to view the attribute information of the second virtual object and improve the display effect of the attribute information.
[0114] In some embodiments, the auxiliary information pop-up window also displays attribute information of the first virtual object.
[0115] In an embodiment of the present application, the computer device can display the attribute information of the first virtual object in addition to the attribute information of the second virtual object in the auxiliary information pop-up window displayed, so as to facilitate the user to compare the attributes of the first virtual object and the second virtual object, and assist the user in deciding whether to replace the current second virtual object with the first virtual object, thereby further improving the display effect of the attribute information, shortening the time required for the user to make a decision, and improving the interaction efficiency when the user replaces the virtual object.
[0116] In a possible implementation, the above-mentioned attribute information includes selling price information and at least one of combat enhancement effects.
[0117] In an embodiment of the present application, the attribute information displayed by the computer device in the auxiliary information pop-up window may include a selling price or a combat gain effect, which can assist the user in deciding which virtual object to sell to obtain the maximum sales revenue, or assist the user in deciding which virtual object to use to obtain the best combat gain effect, thereby improving the display effect of the attribute information and improving the interaction efficiency when the user replaces the virtual object.
[0118] Optionally, in addition to the selling price information and the combat enhancement effect, the above attribute information may also include other information, such as the health value of the virtual object, combat capability value, object type and other information.
[0119] In the embodiment of the present application, the object configuration interface further includes a second area, and the second area displays the combat gain effect of each virtual object in the first area; the method also includes:
[0120] In response to the first virtual object being dragged onto the second virtual object, a first target effect in the second area is displayed separately from other combat enhancement effects in the second area; the first target effect is the combat enhancement effect of the second virtual object.
[0121] When the first virtual object is dragged to the second virtual object, the computer device can display the combat gain effect of the second virtual object in the second area separately from the combat gain effects of other virtual objects in the first area, so that the user can quickly distinguish which combat gain effects brought by the combination of virtual objects in the current first area are brought by the second virtual object, thereby better assisting the user in deciding whether to replace the current second virtual object.
[0122] For example, when the first virtual object is not dragged onto the second virtual object, the combat gain effect of the second virtual object displayed in the second area is the same size as the combat gain effects of other virtual objects in gray font. When the first virtual object is dragged onto the second virtual object, the combat gain effect of the second virtual object displayed in the second area is changed to a red bold highlighted font, which is distinguished from other gain effects.
[0123] In some embodiments, the above-mentioned first target effect is not limited to highlighting, changing the size and color of text, etc., but can also be background color, background shadow display, etc., which is not limited in the embodiments of the present application.
[0124] In some embodiments, in response to a first virtual object being dragged onto a second virtual object, a second target effect in the second area is displayed separately from other combat enhancement effects in the second area; the second target effect is a combat enhancement effect that changes in the first area after the second virtual object is replaced by the first virtual object.
[0125] When the first virtual object is dragged to the second virtual object, the computer device can, in the second area, display the changed combat gain effects of the combat gain effects of the various virtual objects in the first area before and after the second virtual object is replaced by the first virtual object, including enhanced combat gain effects, weakened combat gain effects, removed combat gain effects, or increased combat gain effects, so that the user can quickly distinguish the changes in the combat gain effects brought about by the combination of virtual objects in the first area before and after the second virtual object is replaced by the first virtual object, thereby better assisting the user in deciding whether to replace the current second virtual object.
[0126] In some embodiments, attribute 1 of the first virtual object is different from attribute 1 of the second virtual object. When the first virtual object is not dragged onto the second virtual object, the second virtual object displays attribute 1 of the second virtual object in the second area. When the first virtual object is dragged onto the second virtual object, attribute 1 of the second virtual object originally displayed in the second area is replaced by attribute 1 of the first virtual object.
[0127] For example, attribute 1 of the first virtual object is a warrior, and attribute 1 of the second virtual object is a mage. When the first virtual object is not dragged onto the second virtual object, the gain effect of the second virtual object displayed in the second area is a mage. Then, when the first virtual object is dragged onto the second virtual object, the gain effect displayed on the second virtual object in the second area changes from a mage to a warrior.
[0128] In some embodiments, the second target effect is not limited to the change in the text content display, but can also be font enlargement, font color, background color, background shadow display, etc.
[0129] In some embodiments, when the number of virtual objects in the first area reaches a specified number, in response to the first virtual object being dragged onto the second virtual object, an auxiliary information pop-up window is displayed;
[0130] The above-specified number is the upper limit of the number of virtual objects accommodated in the first area.
[0131] That is, in an embodiment of the present application, when the first area is full of virtual objects, the computer device can display an auxiliary information pop-up window when the first virtual object is dragged onto the second virtual object to avoid unnecessary display of the auxiliary information pop-up window.
[0132] In other embodiments, when the number of virtual objects in the first area does not reach a specified number, an auxiliary information pop-up window will also be displayed when the first virtual object is dragged onto the second virtual object.
[0133] In a possible implementation, when the target function is turned on, in response to the first virtual object being dragged onto the second virtual object, an auxiliary information pop-up window is displayed.
[0134] In an embodiment of the present application, the display function of the above-mentioned auxiliary information pop-up window can be turned on or off as a target function. When the target function is turned on, when the user drags the first virtual object to the second virtual object, it can trigger the display of the auxiliary information pop-up window, thereby ensuring the flexibility of the display of the auxiliary information pop-up window.
[0135] A function configuration interface is displayed on the terminal interface, wherein the function configuration interface includes a switch option of a target function; in response to receiving a trigger operation on the switch option, the target function is turned on or off.
[0136] The switch options of the above target functions can be in the form of a check or a sliding displacement selection.
[0137] In an embodiment of the present application, an additional function configuration interface may be provided, and a switch option for the target function may be set in the function configuration interface, thereby providing a solution for turning on or off the auxiliary information pop-up window display function, thereby ensuring the flexibility of the display of the auxiliary information pop-up window.
[0138] Step 303: In response to the first virtual object being released on the second virtual object, in the first area, the second virtual object is replaced by the first virtual object.
[0139] In an embodiment of the present application, when a user uses a virtual object to replace another virtual object to be used in a virtual scene, the virtual object to be used can be displayed in the first area, and the virtual object that can be used for replacement can be set outside the first area. The user can complete the replacement of the virtual object by dragging the virtual object outside the first area to a virtual object in the first area and releasing it. During this process, when the first virtual object outside the first area is dragged to a second virtual object in the first area and has not yet been released, the attribute information of the second virtual object can be displayed through a pop-up window, and the user does not need to view the attribute information of the second virtual object in advance, so that the operation of dragging the virtual object for replacement is combined with the operation of viewing the attribute information of the virtual object, which greatly reduces the user's operation time and complexity, improves the efficiency of virtual object replacement, and further expands the way in which the user controls the interaction between the virtual object and the virtual scene, and improves the interaction effect between the user and the virtual scene.
[0140] based on Figure 3 The embodiment shown, Figure 4 A flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device. Figure 3 In the illustrated embodiment, step 303 may be implemented as step 303a:
[0141] Step 303a: In response to the first virtual object being released on the second virtual object, selling the second virtual object.
[0142] In an embodiment of the present application, when a first virtual object is dragged onto a second virtual object and released, the second virtual object is directly and automatically sold, and the user does not need to perform another selling operation, which further reduces the user's operation time and complexity, improves the efficiency of virtual object replacement, and further expands the user's control over the interaction between virtual objects and virtual scenes, thereby improving the interaction effect between users and virtual scenes.
[0143] based on Figure 4 The embodiment shown, Figure 5 A flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device. Figure 4 In the illustrated embodiment, step 303a may be implemented as step 303a1 and step 303a2:
[0144] Step 303a1: in response to the first virtual object being released on the second virtual object, displaying the sales progress in the third area of the object configuration interface;
[0145] In a possible implementation manner, the third area is an area for displaying the current amount of resources.
[0146] The above-mentioned resource amount may be the amount of virtual gold coins, experience points and other virtual resources (such as virtual crystals, etc.).
[0147] In an embodiment of the present application, the computer device can reuse the area that displays the current amount of resources to display the above-mentioned sales progress. There is no need to set up an additional area specifically to display the above-mentioned sales progress, thereby improving the simplicity of the interface display and ensuring the interface display effect.
[0148] Step 303a2: In response to the sales progress being displayed as completed, selling the second virtual object.
[0149] Optionally, the third area in the object configuration interface displays the sales progress in a form not limited to a progress bar, but may also display the progress in percentage, or directly display the numerical change in the current number of resources, etc.
[0150] In some embodiments, the amount of resources displayed in the third area may be the number of gold coins. When the first virtual object is not released on the second virtual object, the number of gold coins displayed in the third area is the number of gold coins currently owned by the user. When the first virtual object is released on the second virtual object, the number of gold coins gradually increases. The upper limit of the increase is the number of gold coins that can be sold for the second virtual object. The process of changing the number of gold coins is the sales progress. When the increased number of gold coins is consistent with the number of gold coins that can be sold for the second virtual object, the number of gold coins no longer increases, indicating that the second virtual object has been sold successfully.
[0151] In some other embodiments, the sales progress may be displayed in the form of a progress bar. When the first virtual object is on the second virtual object but has not been released, a rectangular progress bar pops up in the object configuration interface, with 0% displayed in font in the middle of the progress bar. When the user releases the first virtual object, 0% gradually increases in value and the progress bar starts loading, indicating that the sale has started. When 0% increases to 100%, the progress bar stops loading and the percentage no longer increases, indicating that the sale is successful.
[0152] In the embodiment of the present application, when the first virtual object is released on the second virtual object, the change in the third area in the object configuration interface can allow the user to see the sales progress more intuitively.
[0153] based on Figure 4 and Figure 5 Any one or both of the embodiments shown, Figure 6 A flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device. Figure 4In the illustrated embodiment, step 303a may also be implemented as step 303a3:
[0154] Step 303a3: In response to the sale progress being displayed as incomplete and receiving a cancel sale operation executed on the third area, cancel the sale of the second virtual object.
[0155] In some embodiments, when the first virtual object is released by the user on the second virtual object, a selling operation is started. When the user clicks the interface again, the selling progress is displayed as incomplete, and the selling of the second virtual object is canceled.
[0156] In some other embodiments, a cancel button may be displayed in the third area. When the third area displays that a selling operation is being performed but the selling is not completely successful, the user may click the cancel button to cancel the selling.
[0157] In the embodiment of the present application, when the third area executes the cancel selling operation, the selling operation of the second virtual object is canceled, which effectively prevents the user from suffering losses due to the sale of the second virtual object by mistake and improves the interface interaction effect.
[0158] Figure 7 A flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device. Figure 6 Based on the illustrated embodiment, step 303a3 may further include step 303a4 and step 303a5:
[0159] Step 303a4: canceling the operation of replacing the second virtual object with the first virtual object;
[0160] Step 303a5: restore the first virtual object to the position before being dragged.
[0161] In an embodiment of the present application, after the selling operation of the second virtual object is canceled, the first virtual object automatically returns to the position before being dragged, so that the user can continue to drag the first virtual object to replace other virtual objects in the first area, thereby improving the interface interaction effect.
[0162] In another possible implementation, based on step 303a3, the computer device may not execute steps 303a4 and 303a5, but display the second virtual object at the position before the first virtual object is dragged.
[0163] In an embodiment of the present application, after the selling operation of the second virtual object is canceled, the computer device can place the second virtual object to the position before the first virtual object is dragged, so that the user can continue to drag the second virtual object to replace other virtual objects in the first area, thereby expanding the user operation mode after the second virtual object is replaced and further improving the interface interaction effect.
[0164] Combination Figures 3 to 7 In the embodiment of the present invention, the auto chess game is taken as an example to specifically introduce the present solution.
[0165] In the auto chess game, players need to purchase multiple characters with attributes in random character stores to trigger the combat effect of this attribute and win the battle. Since the space in the preparation seat is limited, players are required to abandon some characters in stages. When the preparation area is full, there will be an extra character after the casting process. It is difficult for players to decide which character to abandon. They need to click on the characters in the preparation area to view the attributes, or click on the currently triggered combat attributes to view all characters under the attribute. After comprehensive decision-making, drag the unnecessary characters to the corner to delete and sell them, so that the preparation seat can accommodate the extra characters. The operation is more complicated, and the cognitive cost and memory burden are high.
[0166] Therefore, this solution targets the scenario where the preparation area is full and there is one extra character. When the player drags the extra character F out of the preparation area and hovers over a character in the preparation area, an "auxiliary information pop-up window" appears. The pop-up window content includes: selling price, character attributes (attributes that have triggered combat bonuses light up), which makes it convenient for players to compare attribute combinations between characters. After releasing their fingers, the currently selected character is automatically replaced and the sale is deleted, which reduces the player's cognitive cost while assisting players to make quick decisions within the limited preparation time.
[0167] In one implementation, when the preparation area is full, the operation of replacing the chess character is shown in FIG8(a) and FIG8(b):
[0168] 1. When the player's battle preparation area is full and they enter the casting phase, they will select a character by default. After the selection is completed, when they return to the battle preparation interface, there will be an extra character F 801;
[0169] 2. Click on the existing character A802 in the preparation area to view the attribute details 803;
[0170] 3. Click on the triggered combat attribute 804 to view the introduction page 805 of all characters under this attribute;
[0171] 4. After comparison and measurement, drag the extra character F 801 to the position of character A 802 to replace it;
[0172] 5. Drag the replaced character A802 to the corner 806 to delete and sell it.
[0173] The schemes shown in Figures 8(a) and 8(b) above involve many operations, requiring players to click on multiple characters to view their attributes, compare and weigh their chess matching strategies, drag unnecessary characters to the corners to delete and sell them, and refresh the character store to see if there are any characters that match their current matching strategies, or adjust the character equipment and positions on the battlefield. Especially when players have not fully memorized the attributes of each character (for example, the game has 55 characters, each with 2-3 attributes), they may make mistakes during the tight preparation time and accidentally delete the characters they need, resulting in poor strategy matching and affecting the battle results.
[0174] Therefore, this solution triggers the character attribute pop-up window and deletes the selling price through the interactive method of dragging, so as to assist players in making quick decisions on the characters they want to replace, save more preparation time, and invest in battle-related battle flag matching strategies.
[0175] Based on the scheme shown in Figure 8(a) and Figure 8(b), please refer to Fig. 9 , which shows a schematic diagram of a product involved in an exemplary embodiment of the present application, such as Fig. 9 As shown, you can drag the extra characters in the preparation area to the corner 806 to delete and sell them, or drag and replace the characters in the preparation area, and then drag the replaced characters to the corner 806 to sell them. In the solution shown in this application, the above operation method can be used as the basis for implementation. On this basis, this solution adds a "hover" operation to evoke the "auxiliary information pop-up window" 1003 to assist players in making decisions and quickly replace the chess matching strategy. Please refer to Fig.10 , which shows a schematic diagram of prompt information involved in an exemplary embodiment of the present application, such as Fig.10 As shown:
[0176] When the extra character F 801 satisfies the player's strategy, after clicking and holding the character F 801, a prompt for quick replacement and deletion appears, and the prompt content 1002 is "Hover over the character in the reserve seat to view the attribute information, and release to directly replace and delete";
[0177] Please refer to Fig.11 , which shows a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application, such as Fig.11 As shown:
[0178] Drag character F 801 and hover it over character A 802 in the battle preparation seat, and an "auxiliary information pop-up window" 1003 appears. The pop-up window content includes: the selling price of character A 802, and the character attributes (attributes that have triggered combat bonuses light up).
[0179] Please refer to Fig.12 , which shows a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application, such as Fig.12 As shown: When hovering over the character B 807 in the battle stand, an "auxiliary information pop-up window" 1003 appears, and the pop-up window content includes: the selling price of the character B 807, and the character attributes (the attributes that have triggered the combat bonus are lit).
[0180] Please refer to Fig.13 , which shows a schematic diagram of automatic deletion and selling involved in an exemplary embodiment of the present application, such as Fig.13 As shown:
[0181] The player decides to replace character B 807 in the standby seat according to the auxiliary information pop-up window 1003, and hovers over character B 807 and lets go, which directly replaces character A 802 and automatically deletes the sale.
[0182] Please refer to Fig.14 , which shows a schematic diagram of a functional switch involved in an exemplary embodiment of the present application, such as Fig.14 As shown:
[0183] A new "Quick Replacement and Sale" function switch 1401 is added to the settings, which is turned on by default, and is supplemented with relevant instructions 1402: "When this option is turned on, when the preparation area is full, the extra heroes can be quickly replaced and sold with the heroes in the preparation area"; players can turn this function on or off according to their needs.
[0184] The technical implementation of the above solution of this application is as follows:
[0185] 1. Please refer to Fig.15 , which shows a schematic diagram of a trigger interaction mechanism involved in an exemplary embodiment of the present application, such as Fig.15 As shown:
[0186] When the battle preparation area is full and there is one more character F 801, the interaction mechanism is triggered.
[0187] 2. Please refer to Fig.16 , which shows a schematic diagram of triggering a pop-up window prompt involved in an exemplary embodiment of the present application, such as Fig.16 As shown:
[0188] Click and hold the character F 801 with your finger to trigger a pop-up prompt 1002 "Hover over the character in the preparation seat to view attribute information, and replace and delete it directly after releasing it"; while pressing and picking up the character F 801, you can drag it at will in the non-preparation area 1501, and the prompt pop-up window will follow. After releasing it, the character F 801 will be placed back to its original position; when pressing and picking up the character F 801 to the lower left or right corner 806 of the interface, the deletion operation is triggered, and the character F801 will be deleted directly after releasing it.
[0189] 3. Please refer to Fig.17 , which shows a schematic diagram of an auxiliary information pop-up window involved in an exemplary embodiment of the present application, such as Fig.17 As shown:
[0190] When the character F 801 hovers in the battle preparation area 1502, the prompt pop-up window disappears, and an "auxiliary information pop-up window" 1003 appears on the hovered character, with the content retrieving the attributes of the character (the character has 2-3 attributes, which are only illustrated in the figure), and the corresponding selling price (the price in the figure is only illustrated), which are displayed in the pop-up window; when the player hovers over other characters in the battle preparation area 1502, the auxiliary information pop-up window 1003 is also triggered, and the attributes and price information of the character are retrieved and displayed in the pop-up window; when the player drags the character F 801 back to the non-battle preparation area 1501 again, the prompt pop-up window 1002 appears again.
[0191] 4. Please refer to Fig.18 , which shows a schematic diagram of automatic deletion and selling involved in an exemplary embodiment of the present application, such as Fig.18 As shown: when the player hovers over the character in the preparation area 1502, the character X is replaced and deleted after releasing it (character F801 replaces character 3 808 in the preparation area).
[0192] 5. Please refer to Fig.19 , which shows a flow chart of an interactive trigger mechanism involved in an exemplary embodiment of the present application, such as Fig.19 As shown:
[0193] S1: This mechanism is triggered when the player's battle reserve is full and there is an extra character F. After clicking and holding character F, a pop-up window will appear, prompting the player to quickly replace and delete the operation method.
[0194] S2: Determine whether the character F is hovering in the combat preparation area.
[0195] S2-1: You can drag character F to move freely in the interface. When character F is not hovering in the battle preparation area, a pop-up window will be displayed with character F. After releasing the character F, it will be placed back to its original position.
[0196] S2-2: When character F hovers in the preparation area, the prompt pop-up window disappears, and an "auxiliary information pop-up window" appears on character X in the preparation area. After releasing the hand, character X in the preparation area is directly replaced and deleted and sold.
[0197] S2-3: When character F is hovering in the deletion area, releasing the hand will directly delete and sell character F.
[0198] This solution can assist players to quickly replace battle flag strategies, reduce cognitive burden, reduce operation steps, improve preparation efficiency, and save preparation time. For example, when the preparation area 1502 is full and exceeds character F 801, it will prompt the player to delete a character X in the preparation area 1502 to store character F 801. However, if the player does not fully remember the attributes of each character in the preparation area, it is necessary to click multiple times to view the character attributes 1003, delete character X after comparison and decision, and store character F 801. Then, within the limited 30s preparation time, continue operations related to the battle strategy: purchase new characters in the store, view character combat data, adjust character equipment or position, etc. Within a limited time, the player's operation cost and cognitive cost are high.
[0199] This solution provides players with auxiliary information pop-ups through basic hovering operations, reducing the cognitive burden of players' decision-making. After letting go, the chess character can be replaced in one step, saving more preparation time.
[0200] Fig. 20 A block diagram of a virtual object control device provided by an exemplary embodiment of the present application is shown. The device includes:
[0201] The interface display module 2001 is used to display the object configuration interface of the virtual scene. The object configuration interface includes a first area, and the first area is used to store various virtual objects to be used in the virtual scene. The first virtual object exists outside the first area.
[0202] A pop-up window display module 2002 is used to display an auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area;
[0203] The virtual object replacement module 2003 is configured to replace the second virtual object with the first virtual object in the first area in response to the first virtual object being released on the second virtual object.
[0204] In a possible implementation manner, the attribute information of the first virtual object is also displayed in the auxiliary information pop-up window.
[0205] In a possible implementation, the attribute information includes selling price information and at least one of combat enhancement effects.
[0206] In a possible implementation, the object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The device further includes:
[0207] The first effect display module is used to display a first target effect in the second area separately from other combat enhancement effects in the second area in response to the first virtual object being dragged onto the second virtual object; the first target effect is the combat enhancement effect of the second virtual object.
[0208] In a possible implementation, the object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The device further includes:
[0209] The second effect display module is used to display a second target effect in the second area, distinguishing it from other combat enhancement effects in the second area, in response to the first virtual object being dragged onto the second virtual object; the second target effect is the combat enhancement effect that changes in the first area after the second virtual object is replaced by the first virtual object.
[0210] In a possible implementation, the pop-up window display module 2002 is configured to display the auxiliary information pop-up window corresponding to the second virtual object in response to the first virtual object being dragged onto the second virtual object.
[0211] In a possible implementation manner, the device further includes:
[0212] A selling module is used for selling the second virtual object in response to the first virtual object being released on the second virtual object.
[0213] In a possible implementation, the selling module is used to:
[0214] In response to the first virtual object being released on the second virtual object, displaying a sales progress in a third area in the object configuration interface;
[0215] In response to the selling progress display being completed, selling the second virtual object.
[0216] In a possible implementation manner, the third area is an area for displaying the current amount of resources.
[0217] In a possible implementation manner, the device further includes:
[0218] The selling cancellation module is configured to cancel the selling of the second virtual object in response to the selling progress being displayed as incomplete and receiving a selling cancellation operation executed on the third area.
[0219] In a possible implementation manner, the device further includes:
[0220] a replacement cancellation module, used to cancel the operation of replacing the second virtual object with the first virtual object;
[0221] A position recovery module is used to restore the first virtual object to the position before being dragged.
[0222] In a possible implementation manner, the device further includes:
[0223] The object display module is used to display the second virtual object at the position before the first virtual object is dragged.
[0224] In a possible implementation, the pop-up window display module 2002 is configured to display the auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object when the number of virtual objects in the first area reaches a specified number;
[0225] The specified number is an upper limit on the number of virtual objects accommodated in the first area.
[0226] In a possible implementation, the pop-up window display module 2002 is configured to display the auxiliary information pop-up window in response to the first virtual object being dragged onto the second virtual object when the target function is enabled.
[0227] In a possible implementation, the interface display module 2001 is further used to display a function configuration interface, wherein the function configuration interface includes a switch option of the target function;
[0228] The device also includes:
[0229] The function setting module is used to turn on or off the target function in response to receiving a trigger operation on the switch option.
[0230] Fig.21 The block diagram of a computer device 2100 provided by an exemplary embodiment of the present application is shown. The computer device 2100 may be a portable mobile terminal, such as a smart phone or a tablet computer. The computer device 2100 may also be called a user device, a portable terminal, or other names.
[0231] Typically, the computer device 2100 includes a processor 2101 and a memory 2102 .
[0232] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0233] The memory 2102 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 2102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store at least one instruction, which is used to be executed by the processor 2101 to implement the control method of the virtual object provided in the embodiment of the present application.
[0234] In some embodiments, the computer device 2100 may further include: a peripheral device interface 2103 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2104 , a touch display screen 2105 , a camera 2106 , an audio circuit 2107 and a power supply 2108 .
[0235] In some embodiments, the computer device 2100 further includes one or more sensors 2109 , including but not limited to: an acceleration sensor 2110 , a gyroscope sensor 2111 , a pressure sensor 2112 , an optical sensor 2113 , and a proximity sensor 2114 .
[0236] Those skilled in the art will appreciate that the structure shown above does not constitute a limitation on the computer device 2100 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0237] In an exemplary embodiment, a computer program product is also provided, the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the virtual object provided by the above-mentioned method embodiments.
[0238] In an exemplary embodiment, a computer-readable storage medium is further provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the virtual object control method provided by the above-mentioned method embodiments.
[0239] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0240] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0241] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling a virtual object, characterized in that: The method comprises: Displaying an object configuration interface of a virtual scene, wherein the object configuration interface includes a first area, and the first area is used to store various virtual objects to be used in the virtual scene; a first virtual object exists outside the first area; In response to the first virtual object being dragged onto the second virtual object, an auxiliary information pop-up window is displayed, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area; In response to the first virtual object being released on the second virtual object, the second virtual object is replaced with the first virtual object in the first area.
2. The method according to claim 1, characterized in that The auxiliary information pop-up window also displays the attribute information of the first virtual object.
3. The method according to claim 1 or 2, characterized in that: The attribute information includes selling price information and at least one of combat enhancement effects.
4. The method according to claim 1 or 2, characterized in that: The object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The method further includes: In response to the first virtual object being dragged onto the second virtual object, a first target effect in the second area is displayed separately from other combat enhancement effects in the second area; the first target effect is the combat enhancement effect of the second virtual object.
5. The method according to claim 1 or 2, characterized in that: The object configuration interface includes a second area, and the second area displays the combat gain effect of each virtual object in the first area. The method further includes: In response to the first virtual object being dragged onto the second virtual object, a second target effect in the second area is displayed separately from other combat enhancement effects in the second area; the second target effect is the combat enhancement effect that changes in the first area after the second virtual object is replaced by the first virtual object.
6. The method according to claim 1 or 2, characterized in that: In response to the first virtual object being dragged onto the second virtual object, displaying an auxiliary information pop-up window includes: In response to the first virtual object being dragged onto the second virtual object, the auxiliary information pop-up window is displayed corresponding to the second virtual object.
7. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to the first virtual object being released on the second virtual object, the second virtual object is sold.
8. The method according to claim 7, characterized in that In response to the first virtual object being released on the second virtual object, selling the second virtual object comprises: In response to the first virtual object being released on the second virtual object, displaying a sales progress in a third area in the object configuration interface; In response to the selling progress display being completed, selling the second virtual object.
9. The method according to claim 8, characterized in that The third area is an area for displaying the current amount of resources.
10. The method according to claim 8, characterized in that The method further comprises: In response to the sale progress being displayed as incomplete and receiving a sale cancellation operation performed on the third area, the sale of the second virtual object is canceled.
11. The method according to claim 10, characterized in that The method further comprises: canceling the operation of replacing the second virtual object with the first virtual object; The first virtual object is restored to the position before being dragged.
12. The method according to claim 10, characterized in that The method further comprises: The second virtual object is displayed at the position before the first virtual object is dragged.
13. The method according to claim 1 or 2, characterized in that: In response to the first virtual object being dragged onto the second virtual object, displaying an auxiliary information pop-up window includes: When the number of virtual objects in the first area reaches a specified number, in response to the first virtual object being dragged onto the second virtual object, displaying the auxiliary information pop-up window; The specified number is an upper limit on the number of virtual objects accommodated in the first area.
14. The method according to claim 1 or 2, characterized in that: In response to the first virtual object being dragged onto the second virtual object, displaying an auxiliary information pop-up window includes: When the target function is turned on, in response to the first virtual object being dragged onto the second virtual object, the auxiliary information pop-up window is displayed.
15. The method according to claim 14, characterized in that The method further comprises: Displaying a function configuration interface, wherein the function configuration interface includes a switch option for the target function; In response to receiving a trigger operation on the switch option, the target function is turned on or off.
16. A control device for a virtual object, characterized in that: The device comprises: An interface display module, used for displaying an object configuration interface of a virtual scene, wherein the object configuration interface includes a first area, and the first area is used for storing various virtual objects to be used in the virtual scene; a first virtual object exists outside the first area; a pop-up window display module, configured to display an auxiliary information pop-up window in response to the first virtual object being dragged onto a second virtual object, wherein the auxiliary information pop-up window displays attribute information of the second virtual object; the second virtual object is a virtual object in the first area; A virtual object replacement module is configured to replace the second virtual object with the first virtual object in the first area in response to the first virtual object being released on the second virtual object.
17. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the control method of the virtual object according to any one of claims 1 to 15.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer instruction, and the computer instruction is loaded and executed by a processor to implement the virtual object control method according to any one of claims 1 to 15.
19. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a computer device to implement the control method of a virtual object as described in any one of claims 1 to 15.