Virtual object interaction method and device, electronic equipment and storage medium
By displaying virtual object selection controls and candidate lists on the game interface, combined with the recommended scoring mechanism, virtual object management in one-handed operation is simplified, and the operation complexity and finding objects far away from the thumb are solved, which improves the convenience and comfort of the game.
Patent Information
- Application Number
- CN202510617874.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-07-22
AI Technical Summary
In a one-handed game, players need to frequently switch finger positions when operating multiple virtual objects and perform complex clicks and drags. Especially when there are many virtual objects and are widely distributed, it is very inconvenient to find and operate objects far away from finger positions.
Display virtual object selection controls in the preparation area of the graphical user interface, select the target virtual object through the candidate list, and move it to other areas through the movement operation. Combined with the recommended scoring mechanism, optimize the display order of the candidate list, simplify operation steps and improve convenience.
It effectively solves the inconvenience of quickly changing the position of the chess piece, quickly selling the chess piece, and operating the chess piece away from the thumb position during one-hand operation, improving the operation convenience and comfort of the game.
Smart Images

Figure CN120346528A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer applications, and in particular, to a method, apparatus, electronic device, and storage medium for interacting with virtual objects. Background Art
[0002] In the current digital game field, especially in strategy, simulation business, and board battle games, players often need to manage and operate multiple virtual objects (such as chess pieces, characters, units, etc.) on the game interface. These virtual objects are usually placed in specific areas, such as a preparation area, a battle area, etc., so that players can allocate and use them according to the game strategy.
[0003] However, in traditional game interaction designs, players often need to frequently switch the finger position and perform complex click and drag operations during the operation process. Especially in the case of one-handed operation, this operation method is particularly cumbersome and inconvenient. In addition, when the number of virtual objects is large and widely distributed, players will also encounter great difficulties in finding and operating virtual objects far from the finger position. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, electronic device, and storage medium for interacting with virtual objects, which can improve the operation efficiency of one-handed operation and effectively enhance the operation convenience and comfort.
[0005] The technical solution of the embodiments of this application is implemented as follows:
[0006] In a first aspect, embodiments of this application provide a method for interacting with virtual objects. A preparation area is displayed on a graphical user interface, and the preparation area includes at least one virtual object. The method includes:
[0007] Displaying a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list;
[0008] Responding to a selection operation on a target virtual object among the at least one virtual object, and displaying the target virtual object on the selected item in the candidate list;
[0009] Responding to a movement operation on the target virtual object, and controlling the target virtual object to move to other areas following the movement operation.
[0010] In a second aspect, embodiments of this application further provide a device for interacting with virtual objects. The device is characterized in that a preparation area is displayed on a graphical user interface, and the preparation area includes at least one virtual object. The device includes:
[0011] A display module, configured to display virtual object selection controls in the preparation area; wherein, the virtual object selection controls correspond to a candidate list, at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list;
[0012] A selection module, configured to, in response to a selection operation on a target virtual object among the at least one virtual object, display the target virtual object on a selected item in the candidate list;
[0013] A control module, configured to, in response to a movement operation on the target virtual object, control the target virtual object to move to other areas following the movement operation.
[0014] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the interaction method of the virtual object according to any one of the first aspects.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the interaction method of the virtual object according to any one of the first aspects.
[0016] The embodiments of the present application have the following beneficial effects:
[0017] The embodiments of the present application optimize the operation experience of players on the graphical user interface, especially for the single-handed operation scenario. By displaying virtual object selection controls in the preparation area and allowing players to quickly swap the positions of chess pieces, deploy them to the battle area, or sell them to the selling area through simple selection and movement operations, the operation steps are greatly simplified. At the same time, a reasonable interface layout and control design, such as adjusting the display by sliding the candidate list and preferentially displaying recommended virtual objects, effectively solve the problem of inconvenient operation when the chess pieces are far from the player's thumb, providing a more convenient, efficient, and comfortable gaming experience for players. Description of the Drawings
[0018] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 is a schematic flowchart of steps S101 - S103 provided by an embodiment of the present application;
[0020] Figure 2a is one of the interactive interface diagrams of the virtual object provided by an embodiment of the present application;
[0021] Figure 2b is another interactive interface diagram of the virtual object provided by an embodiment of the present application;
[0022] Figure 2c is yet another interactive interface diagram of the virtual object provided by an embodiment of the present application;
[0023] Figure 2d is still another interactive interface diagram of the virtual object provided by an embodiment of the present application;
[0024] Figure 3 is a schematic flowchart of steps S301 - S302 provided by an embodiment of the present application;
[0025] Figure 4 is a schematic structural diagram of the interactive device of the virtual object provided by an embodiment of the present application;
[0026] Figure 5 is a schematic diagram of the composition structure of the electronic device provided by an embodiment of the present application. Detailed Embodiments
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the accompanying drawings in the present application are only for the purposes of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to actual scale. The flowcharts used in the present application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations in the flowchart may not be implemented in sequence, and steps without a logical context relationship may be reversed or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.
[0028] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0029] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application usually described and illustrated in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application claimed, but only represents the selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.
[0030] In the following description, the terms "first / second / third" involved are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0031] It should be noted that the term "including" will be used in the embodiments of the present application to indicate the existence of the features stated later, but does not exclude the addition of other features.
[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used herein are for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0033] See Figure 1 , Figure 1 is a schematic flowchart of steps S101 - S103 of the interaction method of virtual objects provided by the embodiments of the present application, and will be described in conjunction with Figure 1 the steps S101 - S103 shown.
[0034] In step S101, a virtual object selection control is displayed in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, and the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list.
[0035] In some embodiments, a region on the graphical user interface is included as the "preparation area". Within the preparation area, at least one virtual object is displayed in the form of an icon, thumbnail, or 3D model, and these objects can represent game characters. Taking "Auto Chess" as an example, these virtual objects are "chess pieces".
[0036] The candidate list is used to accommodate all virtual objects that can be selected in the preparation area. This list can be in the form of a horizontal / vertical list, a roulette, etc. Each virtual object in the preparation area has a corresponding candidate item in the candidate list. The candidate item contains the corresponding virtual object, and the virtual object in the candidate item can also be displayed in the form of a name, an icon, or a thumbnail for the user to quickly identify.
[0037] For example, please refer to Figure 2a , Figure 2a which is one of the interaction interface diagrams of the virtual object provided by the embodiment of the present application. As shown in Figure 2a , in the graphical user interface 200, a preparation area 201 and a battle area 202 are displayed. In the preparation area 201, a virtual object selection control 203 is displayed, and virtual objects 2031, 2032, and 2033 are displayed in the virtual object selection control 203. In the embodiment of the present application, the virtual object selection control 203 is a horizontal list, and the virtual objects 2031, 2032, and 2033 can be the same or different "chess pieces".
[0038] In step S102, in response to a selection operation on a target virtual object among the at least one virtual object, the target virtual object is displayed on the selected item of the candidate list.
[0039] In some embodiments, when the user selects a certain virtual object, the corresponding candidate item in the candidate list will be highlighted to show the user's selection. The selection method can be an input operation, such as a mouse click, a keyboard key press, a swipe or a click on the touch screen, etc. The virtual object icon or model will be updated according to the user's selection to reflect the currently selected virtual object.
[0040] Please refer to Figure 2b , Figure 2b which is the second interaction interface diagram of the virtual object provided by the embodiment of the present application. As shown in Figure 2, by swiping the virtual object selection control 203 to the left, the virtual object 2033 can be swiped to the selected cell of the candidate list and highlighted to indicate that the virtual object 2033 is selected; alternatively, by clicking (or long-pressing) the virtual object 2033, the virtual object 2033 is highlighted to indicate that the virtual object 2033 is selected.
[0041] It should be noted that the moving operation referred to in the embodiment of the present application can be directly for the virtual object 2033 or for the selected item where the virtual object 2033 is located. In some embodiments, when the virtual object 2033 has been selected (moved to the selected cell of the candidate list), any swipe operation on any position of the candidate list can be regarded as this moving operation.
[0042] In the above - mentioned manner, virtual objects in the game are displayed in the candidate list. By operating on the candidate list, it is possible to easily browse and select virtual objects.
[0043] In step S103, in response to a movement operation on the target virtual object, control the target virtual object to move to other areas following the movement operation.
[0044] In some embodiments, the system recognizes the user's movement operations, including mouse dragging, swiping on the touch screen, joystick operations, etc. When a movement operation on the target virtual object is recognized, the system starts to calculate and update the position and orientation of the virtual object, making it move to other areas following the user's movement instructions.
[0045] As an example, please refer to Figure 2c , Figure 2c FIG. 3 is an interaction interface diagram of the virtual object provided by an embodiment of the present application. As Figure 2c shown, after the user selects the virtual object 2033, the virtual object 2033 is moved to other areas by swiping on the touch screen.
[0046] The above - mentioned manner provides an intuitive, efficient, and highly interactive virtual object control method. By using the candidate list, the user can easily select the pieces located at the edge and control their interactions with one - hand operation, improving the convenience of the operation.
[0047] In some embodiments, the other areas include a battle area and / or a selling area, and the method further includes:
[0048] If the other area is the battle area, in response to the end of the movement operation, display the target virtual object at the target position in the battle area; wherein, the target position is the position specified when the movement operation ends;
[0049] If the other area is the selling area, in response to the end of the movement operation, sell the target virtual object.
[0050] Here, the system recognizes the user's movement operation and controls the target virtual object to move following the user's instructions. During the movement, the system continuously determines whether the target virtual object is approaching or has entered a specific other area, such as a battle area or a selling area. If the other area is a battle area, when the movement operation ends, the system displays the target virtual object at the target position in the battle area. The target position is the position specified by the user when the movement operation ends; if the other area is a selling area, when the movement operation ends, the system automatically sells the target virtual object, deducts the corresponding virtual currency or resources from the user's account, and adds the proceeds from the sale to the user's account. During the movement, the system provides visual or auditory feedback, such as a path indication line, a movement animation, or a sound effect, to help the user better understand and control the movement of the virtual object.
[0051] As an example, please continue to refer to Figure 2c , after selecting the virtual object 2033, the user can slide up the touch screen to move the virtual object 2033 towards the battle area; please refer to Figure 2d , Figure 2d is the fourth interaction interface diagram of the virtual object provided by the embodiment of the present application. As shown in Figure 2d , after selecting the virtual object 2033, the user can slide down the touch screen to move the virtual object 2033 towards the selling area and sell the virtual object 2033.
[0052] In some embodiments, the method further includes:
[0053] In response to obtaining a new virtual object in the preparation area, display the new virtual object in the candidate list; wherein, the obtaining ways of the new virtual object include at least one of obtaining by purchase, moving from the other area to the preparation area, and obtaining based on game rules and / or game progress.
[0054] Here, the user can purchase a new virtual object through the in-game store, trading system, or other purchase channels using virtual currency or real currency. After the purchase is successful, the new virtual object will be added to the user's preparation area and candidate list for the user to select and use.
[0055] The user can also move the virtual objects that already exist in the game world (such as objects in the battle area, inventory area, or specific mission area) back to the preparation area. This movement can be completed through specific interaction operations (such as dragging, clicking, or command input). When the operation is completed, the new virtual object will appear in the preparation area and candidate list.
[0056] In addition, according to the preset rules of the game or the user's game progress (such as completing specific tasks, reaching specific levels, or unlocking specific achievements), the system can also automatically grant new virtual objects to the user. These newly added virtual objects will be automatically added to the user's preparation area and candidate list without the user having to perform additional purchase or movement operations.
[0057] After the new virtual object is successfully obtained, the system will automatically update the candidate list to include this new object. The user can view all available virtual objects by browsing the candidate list and select the objects they want to use or operate on.
[0058] The above method can adapt to the different needs of users and the dynamic changes of the game. Users can obtain new virtual objects through various means and integrate them into the virtual object selection control.
[0059] In some embodiments, the candidate list includes at least one candidate item, and all or part of the at least one candidate item is displayed. When only part of the at least one candidate item is displayed, the virtual objects displayed in the candidate list are adjusted by sliding the candidate list to display the virtual objects in the non-displayed candidate items; wherein, the candidate list is a basic list or a circular list.
[0060] Here, the candidate list can be designed to display all candidate items at once (i.e., full display), or it can be designed to display only some candidate items (i.e., partial display). Full display is suitable for cases where the number of candidate items is small, while partial display is suitable for cases where the number of candidate items is large and cannot be fully displayed on the screen at once.
[0061] When the candidate list is partially displayed, the user can adjust the virtual objects displayed in the list by sliding. The sliding operation can be up and down (vertical list) or left and right (horizontal list), depending on the form of the candidate list. By sliding, the user can scroll the currently non-displayed candidate items into view to view and select the virtual objects among them.
[0062] The candidate list in the embodiments of the present application can be a basic list or a circular list. The basic list is a linear and ordered set of candidate items, and the user can browse the entire list by sliding. In the basic list, the sliding operation usually causes continuous scrolling of the list content until the user stops sliding or reaches the beginning / end of the list. The circular list is a circular set of candidate items. When the user slides to the beginning / end of the list, the list will automatically scroll to the other end, forming a seamless loop.
[0063] The above method can effectively browse and select virtual objects in the game, especially improving the user experience in the scenario of one-handed operation.
[0064] In some embodiments, referring to Figure 3 , Figure 3 which is a schematic flowchart of steps S301 - S302 provided by an embodiment of the present application. The method further includes steps S301 - S302, which will be described in conjunction with each step.
[0065] In step S301, determine the recommended score of the at least one virtual object.
[0066] In step S302, control the at least one virtual object to be displayed in the candidate list according to the recommended score, wherein a virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, and the target recommended score is determined from the recommended scores of the at least one virtual object according to a preset rule; the specific position is at least one of the following positions in the candidate list: the default selected item position, the first item position, the middle item position, and the last item position.
[0067] In the embodiment of the present application, a virtual object sorting and display strategy based on the recommended score is further added. By introducing a recommended score mechanism, the display order of virtual objects in the candidate list is optimized, and the user interaction experience is improved. The user can select a target virtual object from the sorted candidate list and control it to move to other areas.
[0068] Specifically, a recommended score can be calculated or determined for each virtual object in the preparation area. This score can be based on a preset rule or algorithm, and can also consider factors such as the attributes of the virtual object, historical data, and user preferences. According to the recommended score of the virtual object, a virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, such as the default selected item position, the first item position, the middle item position, or the last item position. The target recommended score is determined from the recommended scores of all virtual objects according to a preset rule, and can be the highest score, the average score, or other specific thresholds.
[0069] The above method, by introducing a recommended score mechanism, provides personalized virtual object recommendations for users, improving the efficiency of users to discover interesting objects; intelligently sorting the candidate list according to the recommended score to ensure that virtual objects with high scores or meeting user preferences are more easily discovered by users.
[0070] In some embodiments, other virtual objects are arranged in sequence from the specific position according to the recommended score, where the other virtual objects are the virtual objects among the at least one virtual object except the virtual object with the recommended score being the target recommended score.
[0071] Here, except for placing the virtual object with the recommended score being the target recommended score at a specific position in the candidate list, the remaining virtual objects will be arranged in sequence starting from this specific position according to their recommended scores.
[0072] Specifically, first, according to a preset rule or algorithm, determine the virtual object with the recommended score being the target recommended score, and place it at a specific position in the candidate list, such as the default selected item position, the first item position, the middle item position, or the last item position; then, for the other virtual objects except the virtual object with the target recommended score, sort them according to their recommended scores. The sorting method can be ascending or descending, specifically depending on the application scenario and user requirements; finally, arrange the sorted other virtual objects in sequence in the candidate list starting from the specific position where the virtual object with the target recommended score is located. In this way, the virtual objects in the candidate list are arranged in order of the recommended score from high to low (or low to high) and extend from the specific position to both sides or one side.
[0073] The above method sorts and arranges the other virtual objects according to the recommended scores, making the virtual objects in the candidate list more orderly displayed, facilitating users to quickly discover and select the virtual objects they are interested in; the sorting and arrangement methods can be adjusted according to the specific application scenario and user requirements, such as changing the sorting direction, adjusting the specific position, etc.
[0074] In some embodiments, the other area further includes a battle area, and the method further includes:
[0075] If the number of virtual objects in the battle area does not reach the placement limit, display the virtual object with the highest recommended score at the specific position in the candidate list;
[0076] If the number of virtual objects in the battle area has reached the placement limit, display the virtual object with the lowest recommended score at the specific position in the candidate list.
[0077] Here, the embodiments of the present application further refine the processing logic of the battle area in the virtual object interaction method. According to the placement situation of the virtual objects in the battle area (whether it reaches the placement limit), dynamically adjust the virtual object displayed at the specific position in the candidate list to ensure that users can make the optimal choice based on the current battle state.
[0078] For example, the system real-time detects the number of virtual objects placed in the battle area and determines whether it has reached the preset placement limit. If the number of virtual objects in the battle area does not reach the placement limit, the system displays the virtual object with the highest recommended score at a specific position in the candidate list (such as the first item position). This is done to encourage users to select the current optimal virtual object to enter the battle area to improve the battle effect or experience.
[0079] If the virtual objects in the battle area have reached the placement limit, the system will recommend the virtual object with the lowest score to be displayed at a specific position in the candidate list (such as the first item position, but this is understood as a "prominent" display in the sorting logic, and it may not actually be the first item in the physical position, but rather an identifier for replacement or warning). The logic here is that at this time, players are more inclined to sell virtual objects with lower scores.
[0080] Through the above method, by displaying the virtual object with the highest or lowest recommended score, users are guided to make choices that meet the current battle requirements, improving the user's interaction experience and decision-making efficiency.
[0081] In some embodiments, the method is applied to a mobile terminal device, and the graphical user interface is displayed through the mobile terminal device, and the graphical user interface is displayed in a vertical or horizontal orientation.
[0082] Embodiments of the present application can be applied to mobile terminal devices such as smartphones and tablets. The graphical user interface can be displayed in a vertical or horizontal orientation according to the screen orientation of the mobile terminal device. When the device is in an upright state, the graphical user interface will adapt to the vertical direction of the screen for layout and display. This display method is suitable for single-handed operation. Especially when the device size is small, if the device size is large, it is not easy to touch the "chess pieces" at the edge. When the device is rotated to the horizontal state, the graphical user interface will adapt to the horizontal direction of the screen for layout and display. This display method usually provides a wider field of view and is suitable for games and applications that require two-handed operation or more screen space.
[0083] In the above case, if the user performs single-handed operation, it is difficult to touch the chess pieces at the edge of the preparation area. At this time, the user only needs to slide the candidate list to select the virtual object at the edge and perform subsequent interactions, improving the comfort and convenience of the user during single-handed operation.
[0084] In some embodiments, the method further includes:
[0085] When there are no virtual objects in the preparation area, hide the virtual object selection control.
[0086] Here, the system continuously monitors the state of the preparation area to detect whether there are virtual objects in it. When there are no virtual objects in the preparation area, the system will hide the virtual object selection control. Hiding unnecessary controls can make the graphical user interface more concise and intuitive, reducing the user's cognitive load and operation complexity. When the user does not need to select virtual objects, hiding the relevant controls can reduce the interference elements on the interface and enhance the immersion and concentration of the game.
[0087] In the above - mentioned manner, when there is no virtual object in the preparation area, hiding the virtual object selection control can optimize the user interaction experience and improve the interface neatness, providing a more smooth, intuitive and natural gaming experience for users.
[0088] In summary, the embodiments of the present application have the following beneficial effects:
[0089] (1) Solve the problem of quickly swapping the positions of the pieces in the preparation area during one - hand operation:
[0090] In the embodiments of the present application, a virtual object selection control is displayed in the preparation area on the graphical user interface, and the player can select the target virtual object from the candidate list through a simple selection operation. Subsequently, through a moving operation, the player can control the target virtual object to move to other areas. This method greatly simplifies the steps during one - hand operation. The player does not need to frequently switch the finger positions or perform complex click - and - drag actions to quickly swap the positions of the pieces in the preparation area, improving the convenience and efficiency of the game operation.
[0091] (2) Solve the problem of quickly deploying and selling pieces during one - hand operation:
[0092] The embodiments of the present application not only simplify the operation of swapping the positions of the pieces, but also clearly distinguish between the battle area and the selling area, enabling the player to easily move the selected piece to the battle area for deployment or to the selling area for selling. This design allows the player to quickly complete the deployment and selling actions of the pieces even during one - hand operation, enhancing the fluency of the game and the player's operation experience.
[0093] (3) Solve the problem of inconvenient operation when the piece is far from the player's thumb:
[0094] Considering the limitations of the mobile phone screen size and the player's operation habits, the embodiments of the present application, through reasonable interface layout and control design, enable the player to easily reach and operate all the pieces in the preparation area even when using one - hand operation. In particular, by sliding the candidate list to adjust the displayed virtual objects and the priority display of the recommended virtual objects, the inconvenience for the player to search for and operate the pieces far from the thumb position is further reduced, improving the overall playability and comfort of the game.
[0095] In summary, the embodiments of the present application, by optimizing the interface layout and operation logic, effectively solve the problems of quickly swapping the positions of the pieces in the preparation area, quickly deploying and selling the pieces, and inconvenient operation of the pieces far from the thumb position during one - hand operation, providing a more convenient, efficient and comfortable gaming experience for the player.
[0096] Based on the same inventive concept, an interaction device for virtual objects corresponding to the method for interacting with virtual objects in the first embodiment is further provided in the embodiments of the present application. Since the principle of solving problems by the device in the embodiments of the present application is similar to that of the above-mentioned method for interacting with virtual objects, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0097] As Figure 4 shown, Figure 4 FIG. is a schematic structural diagram of an interaction device 400 for virtual objects provided in the embodiments of the present application. A preparation area is displayed on the graphical user interface, and the preparation area includes at least one virtual object. The interaction device 400 for virtual objects includes:
[0098] A display module 401, configured to display a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list;
[0099] A selection module 402, configured to respond to a selection operation on a target virtual object among the at least one virtual object, and display the target virtual object on the selected item in the candidate list;
[0100] A control module 403, configured to respond to a movement operation on the target virtual object, and control the target virtual object to move to other areas following the movement operation.
[0101] Those skilled in the art should understand that Figure 4 the implementation functions of the various units in the interaction device 400 for virtual objects shown can be understood with reference to the relevant descriptions of the foregoing method for interacting with virtual objects. Figure 4 The functions of the various units in the interaction device 400 for virtual objects shown can be implemented by a program running on a processor, or can be implemented by specific logic circuits.
[0102] In a possible implementation manner, the other areas include a battle area and / or a selling area, and the control module 403 further includes:
[0103] If the other area is the battle area, in response to the end of the movement operation, display the target virtual object at the target position in the battle area; wherein, the target position is the position specified when the movement operation ends;
[0104] If the other area is the selling area, in response to the end of the movement operation, sell the target virtual object.
[0105] In a possible implementation manner, the display module 401 further includes:
[0106] Obtain a newly added virtual object in response to the preparation area, and display the newly added virtual object in the candidate list; wherein, the obtaining ways of the newly added virtual object include obtaining by purchase, obtaining by moving from the other area to the preparation area, obtaining based on game rules and / or game progress, and at least one of them.
[0107] Obtain a newly added virtual object in response to the preparation area, and display the newly added virtual object in the candidate list; wherein, the obtaining ways of the newly added virtual object include obtaining by purchase, obtaining by moving from the other area to the preparation area, obtaining based on game rules and / or game progress, and at least one of them.
[0108] In a possible implementation manner, the candidate list includes at least one candidate item, and all or part of the at least one candidate item is displayed. When part of the at least one candidate item is displayed, the virtual objects displayed in the candidate list are adjusted by sliding the candidate list to display the virtual objects in the non-displayed candidate items; wherein, the candidate list is a basic list or a circular list.
[0109] In a possible implementation manner, the display module 401 further includes:
[0110] Determine the recommended scores of the at least one virtual object;
[0111] Control the at least one virtual object to be displayed in the candidate list according to the recommended scores, wherein the virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, and the target recommended score is determined from the recommended scores of the at least one virtual object according to a preset rule; the specific position is at least one of the following positions in the candidate list: the default selected item position, the first item position, the middle item position, and the last item position.
[0112] In a possible implementation manner, other virtual objects are arranged in sequence from the specific position according to the recommended scores, wherein the other virtual objects are the virtual objects among the at least one virtual object except the virtual object with the recommended score being the target recommended score.
[0113] In a possible implementation manner, the other area further includes a battle area, and the display module 401 further includes:
[0114] If the number of virtual objects in the battle area does not reach the placement limit, display the virtual object with the highest recommended score at the specific position in the candidate list;
[0115] If the number of virtual objects in the battle area has reached the placement limit, display the virtual object with the lowest recommended score at the specific position in the candidate list.
[0116] In a possible implementation, the method is applied to a mobile terminal device, and the graphical user interface is displayed through the mobile terminal device, and the graphical user interface is displayed in a vertical or horizontal orientation.
[0117] In a possible implementation, the display module 401 further includes:
[0118] When there is no virtual object in the preparation area, hide the virtual object selection control.
[0119] The above-mentioned interactive device for virtual objects has the following beneficial effects:
[0120] (1) Solve the problem of quickly swapping the positions of the pieces in the preparation area during one-handed operation:
[0121] In the embodiment of the present application, a virtual object selection control is displayed in the preparation area on the graphical user interface, and the player can select the target virtual object from the candidate list through a simple selection operation, and then control the target virtual object to move to other areas through a moving operation. This method greatly simplifies the steps during one-handed operation. The player does not need to frequently switch the finger position or perform complex click and drag actions, and can quickly swap the positions of the pieces in the preparation area, improving the convenience and efficiency of game operation.
[0122] (2) Solve the problem of quickly deploying and selling pieces during one-handed operation:
[0123] The embodiment of the present application not only simplifies the operation of swapping the positions of the pieces, but also clearly distinguishes the battle area and the selling area, enabling the player to easily move the selected piece to the battle area for deployment or move it to the selling area for selling. This design enables the player to quickly complete the deployment and selling actions of the pieces even during one-handed operation, enhancing the fluency of the game and the player's operation experience.
[0124] (3) Solve the problem of inconvenient operation when the piece is far from the player's thumb:
[0125] Considering the limitations of the mobile phone screen size and the player's operation habits, the embodiment of the present application, through reasonable interface layout and control design, enables the player to easily reach and operate all the pieces in the preparation area even during one-handed operation. In particular, by sliding the candidate list to adjust the displayed virtual objects and the priority display of the recommended virtual objects, the inconvenience for the player to find and operate the pieces far from the thumb position is further reduced, improving the overall playability and comfort of the game.
[0126] In summary, through optimizing the interface layout and operation logic, the embodiments of the present application effectively solve the problems that when a player operates with one hand, it is inconvenient to quickly swap the positions of the pieces in the preparation area, quickly deploy and sell the pieces, and operate on the pieces far from the thumb position, providing a more convenient, efficient, and comfortable gaming experience for the player.
[0127] As Figure 5 shown, Figure 5 FIG. 500 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application. The electronic device 500 includes:
[0128] A processor 501, a storage medium 502, and a bus 503. The storage medium 502 stores machine-readable instructions executable by the processor 501. When the electronic device 500 runs, the processor 501 communicates with the storage medium 502 through the bus 503. The processor 501 displays a preparation area on the graphical user interface. The preparation area includes at least one virtual object. The processor 501 executes the machine-readable instructions to perform the following methods:
[0129] Display a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list;
[0130] In response to a selection operation on a target virtual object among the at least one virtual object, display the target virtual object on the selected item in the candidate list;
[0131] In response to a movement operation on the target virtual object, control the target virtual object to move to other areas following the movement operation.
[0132] In a possible implementation manner, the other areas include a battle area and / or a selling area. The processor 501 further includes:
[0133] If the other area is the battle area, in response to the end of the movement operation, display the target virtual object at a target position in the battle area; wherein, the target position is the position specified when the movement operation ends;
[0134] If the other area is the selling area, in response to the end of the movement operation, sell the target virtual object.
[0135] In a possible implementation manner, the processor 501 further includes:
[0136] Obtain a new virtual object in response to the preparation area, and display the new virtual object in the candidate list; wherein, the obtaining methods of the new virtual object include obtaining by purchase, obtaining by moving from the other area to the preparation area, obtaining based on game rules and / or game progress, and at least one of them.
[0137] In a possible implementation manner, the candidate list includes at least one candidate item, and all or part of the at least one candidate item is displayed. When part of the at least one candidate item is displayed, the virtual objects displayed in the candidate list are adjusted by sliding the candidate list to display the virtual objects in the candidate items that are not displayed; wherein, the candidate list is a basic list or a circular list.
[0138] In a possible implementation manner, the processor 501 further includes:
[0139] Determine the recommended scores of the at least one virtual object;
[0140] Control the at least one virtual object to be displayed in the candidate list according to the recommended scores, wherein the virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, and the target recommended score is determined from the recommended scores of the at least one virtual object according to a preset rule; the specific position is at least one of the following positions in the candidate list: the default selected item position, the first item position, the middle item position, and the last item position.
[0141] In a possible implementation manner, other virtual objects are arranged in sequence from the specific position according to the recommended scores, wherein the other virtual objects are the virtual objects in the at least one virtual object except the virtual object with the recommended score being the target recommended score.
[0142] In a possible implementation manner, the other area further includes a battle area, and the processor 501 further includes:
[0143] If the number of virtual objects in the battle area does not reach the placement limit, display the virtual object with the highest recommended score at the specific position in the candidate list;
[0144] If the number of virtual objects in the battle area has reached the placement limit, display the virtual object with the lowest recommended score at the specific position in the candidate list.
[0145] In a possible implementation manner, the processor 501 is applied to a mobile terminal device, and the graphical user interface is displayed through the mobile terminal device, and the graphical user interface is displayed in a vertical or horizontal version.
[0146] In a possible implementation manner, the processor 501 further includes:
[0147] When there is no virtual object in the preparation area, hide the virtual object selection control.
[0148] In practical applications, each component in the electronic device 500 is coupled together through a bus 503. It can be understood that the bus 503 is used to implement the connection and communication between these components. In addition to the data bus, the bus 503 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 5 all kinds of buses are labeled as the bus 503.
[0149] The above electronic device has the following beneficial effects:
[0150] (1) Solve the problem of quickly swapping the positions of the pieces in the preparation area during one-handed operation:
[0151] In the embodiment of the present application, a virtual object selection control is displayed in the preparation area on the graphical user interface, and the player is allowed to select a target virtual object from the candidate list through a simple selection operation, and then control the target virtual object to move to other areas through a movement operation. This method greatly simplifies the steps during one-handed operation. The player can quickly swap the positions of the pieces in the preparation area without frequently switching the finger positions or performing complex click and drag actions, improving the convenience and efficiency of game operation.
[0152] (2) Solve the problem of quickly deploying and selling pieces during one-handed operation:
[0153] The embodiment of the present application not only simplifies the operation of swapping the positions of the pieces, but also clearly distinguishes the battle area and the selling area, enabling the player to easily move the selected piece to the battle area for deployment or move it to the selling area for selling. This design enables the player to quickly complete the deployment and selling actions of the pieces even during one-handed operation, enhancing the fluency of the game and the player's operation experience.
[0154] (3) Solve the problem of inconvenient operation when the piece is far from the player's thumb:
[0155] Considering the limitations of the mobile phone screen size and the player's operation habits, the embodiment of the present application, through reasonable interface layout and control design, enables the player to easily reach and operate all the pieces in the preparation area even during one-handed operation. In particular, by sliding the candidate list to adjust the displayed virtual objects and the priority display of the recommended virtual objects, the inconvenience for the player to find and operate the pieces far from the thumb position is further reduced, improving the overall playability and comfort of the game.
[0156] In summary, by optimizing the interface layout and operation logic, the embodiments of the present application effectively solve the problems that players have difficulty in quickly swapping the positions of the pieces in the preparation area, quickly deploying and selling the pieces with one hand, and operating the pieces at positions far from the thumb, providing players with a more convenient, efficient, and comfortable gaming experience.
[0157] The embodiments of the present application further provide a computer-readable storage medium, which stores executable instructions for displaying a preparation area on a graphical user interface. The preparation area includes at least one virtual object. When the executable instructions are executed by at least one processor 501, the following method is implemented:
[0158] Display a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list;
[0159] In response to a selection operation on a target virtual object among the at least one virtual object, display the target virtual object on the selected item in the candidate list;
[0160] In response to a movement operation on the target virtual object, control the target virtual object to move to other areas following the movement operation.
[0161] In a possible implementation manner, the other areas include a battle area and / or a selling area, and the method further includes:
[0162] If the other area is the battle area, in response to the end of the movement operation, display the target virtual object at the target position in the battle area; wherein, the target position is the position specified when the movement operation ends;
[0163] If the other area is the selling area, in response to the end of the movement operation, sell the target virtual object.
[0164] In a possible implementation manner, the method further includes:
[0165] In response to the preparation area obtaining a newly added virtual object, display the newly added virtual object in the candidate list; wherein, the acquisition means of the newly added virtual object include at least one of acquisition by purchase, acquisition by moving from the other area to the preparation area, and acquisition based on game rules and / or game progress.
[0166] In a possible implementation, the candidate list includes at least one candidate item, and all or part of the at least one candidate item is displayed. When part of the at least one candidate item is displayed, the virtual objects displayed in the candidate list are adjusted by sliding the candidate list to display the virtual objects in the candidate items that are not displayed; wherein, the candidate list is a basic list or a circular list.
[0167] In a possible implementation, the method further includes:
[0168] Determine the recommended scores of the at least one virtual object;
[0169] Control the at least one virtual object to be displayed in the candidate list according to the recommended scores, wherein the virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, and the target recommended score is determined from the recommended scores of the at least one virtual object according to a preset rule; the specific position is at least one of the following positions in the candidate list: the default selected item position, the first item position, the middle item position, and the last item position.
[0170] In a possible implementation, other virtual objects are arranged in sequence from the specific position according to the recommended scores, where the other virtual objects are the virtual objects in the at least one virtual object except the virtual object with the recommended score being the target recommended score.
[0171] In a possible implementation, the other area further includes a battle area, and the method further includes:
[0172] If the number of virtual objects in the battle area does not reach the placement limit, display the virtual object with the highest recommended score at the specific position in the candidate list;
[0173] If the number of virtual objects in the battle area has reached the placement limit, display the virtual object with the lowest recommended score at the specific position in the candidate list.
[0174] In a possible implementation, the method is applied to a mobile terminal device, and the graphical user interface is displayed through the mobile terminal device, and the graphical user interface is displayed in a vertical or horizontal orientation.
[0175] In a possible implementation, the method further includes:
[0176] When there are no virtual objects in the preparation area, hide the virtual object selection control.
[0177] In some embodiments, the storage medium may be a ferromagnetic random access memory (FRAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory, magnetic surface memory, optical disc, or compact disc read only memory (CD ROM), etc.; it may also be various devices including one or any combination of the above memories.
[0178] In some embodiments, the executable instructions may be in the form of a program, software, software module, script, or code, and may be written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0179] As an example, the executable instructions may or may not correspond to a file in the file system, and may be stored as part of a file that stores other programs or data. For example, they may be stored in one or more scripts in a hypertext markup language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in multiple cooperating files (for example, files that store one or more modules, subroutines, or code portions).
[0180] As an example, the executable instructions may be deployed to execute on one computing device, or on multiple computing devices located at one location, or, on multiple computing devices distributed at multiple locations and interconnected by a communication network.
[0181] The above computer-readable storage medium has the following beneficial effects:
[0182] (1) Solve the problem of quickly swapping the positions of the pieces in the preparation area during single-handed operation:
[0183] In the embodiments of the present application, virtual object selection controls are displayed in the preparation area on the graphical user interface, and players are allowed to select a target virtual object from the candidate list through a simple selection operation. Subsequently, the target virtual object can be controlled to move to other areas through a moving operation. This method greatly simplifies the steps during single-handed operation. Players can quickly swap the positions of the pieces in the preparation area without frequently switching the positions of their fingers or performing complex clicking and dragging actions, improving the convenience and efficiency of game operation.
[0184] (2) Solve the problem of quickly deploying and selling pieces during single-handed operation:
[0185] In the embodiments of the present application, not only is the operation of swapping the positions of the pieces simplified, but also by clearly distinguishing the battle area and the selling area, players can easily move the selected pieces to the battle area for deployment or to the selling area for selling. This design enables players to quickly complete the deployment and selling of pieces even during single-handed operation, enhancing the fluency of the game and the player's operation experience.
[0186] (3) Solve the problem of inconvenient operation when the piece is far from the player's thumb:
[0187] Considering the limitations of the mobile phone screen size and the player's operation habits, in the embodiments of the present application, through a reasonable interface layout and control design, players can easily reach and operate all the pieces in the preparation area even when using single-handed operation. In particular, by sliding the candidate list to adjust the displayed virtual objects and the priority display of the recommended virtual objects, the inconvenience for players to find and operate the pieces far from the thumb position is further reduced, improving the overall playability and comfort of the game.
[0188] In summary, the embodiments of the present application effectively solve the problems of quickly swapping the positions of the pieces in the preparation area, quickly deploying and selling the pieces, and inconvenient operation of the pieces far from the thumb position during single-handed operation by optimizing the interface layout and operation logic, providing players with a more convenient, efficient, and comfortable game experience.
[0189] In several embodiments provided by the present application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical, or other forms.
[0190] The module described as a separation component may or may not be physically separated. The component shown as a module may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0191] In addition, each functional unit in various embodiments of the present application may be integrated into a processing unit, may exist separately as individual physical units, or two or more units may be integrated into one unit.
[0192] If the described function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0193] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An interaction method for virtual objects, characterized in that, Display a preparation area on the graphical user interface, where the preparation area includes at least one virtual object, and the method includes: Display a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list; In response to a selection operation on a target virtual object among the at least one virtual object, display the target virtual object on the selected item in the candidate list; In response to a movement operation on the target virtual object, control the target virtual object to move to other areas following the movement operation.
2. The method according to claim 1, wherein The other areas include a battle area and / or a selling area, and the method further includes: If the other area is the battle area, in response to the end of the movement operation, display the target virtual object at the target position in the battle area; wherein, the target position is the position specified at the end of the movement operation; If the other area is the selling area, in response to the end of the movement operation, sell the target virtual object.
3. The method according to claim 1, wherein The method further includes: In response to the preparation area obtaining a new virtual object, display the new virtual object in the candidate list; wherein, the obtaining ways of the new virtual object include obtaining by purchase, obtaining by moving from the other area to the preparation area, obtaining based on game rules and / or game progress, etc.
4. The method according to claim 1, wherein The candidate list includes at least one item, and all or part of the at least one item is displayed. When part of the at least one item is displayed, adjust the virtual objects displayed in the candidate list by sliding the candidate list to display the virtual objects in the non-displayed items; wherein, the candidate list is a basic list or a circular list.
5. The method according to claim 1, wherein The method further includes: Determine the recommended scores of the at least one virtual object; Control the at least one virtual object to be displayed in the candidate list according to the recommended scores, wherein the virtual object with the recommended score being the target recommended score is displayed at a specific position in the candidate list, and the target recommended score is determined from the recommended scores of the at least one virtual object according to a preset rule; the specific position is at least one of the following positions in the candidate list: the default selected item position, the first item position, the middle item position, the last item position.
6. The method according to claim 5, characterized in that Other virtual objects are arranged in sequence from the specific position according to the recommended scores, wherein the other virtual objects are the virtual objects among the at least one virtual object except the virtual object with the recommended score being the target recommended score.
7. The method according to claim 5, wherein The other area further includes a battle area, and the method further includes: If the number of virtual objects in the battle area does not reach the placement limit, display the virtual object with the highest recommended score at the specific position in the candidate list; If the number of virtual objects in the battle area has reached the placement limit, display the virtual object with the lowest recommended score at the specific position in the candidate list.
8. The method according to claim 1, wherein The method is applied to a mobile terminal device, and the graphical user interface is displayed through the mobile terminal device, and the graphical user interface is displayed in a vertical or horizontal orientation.
9. The method according to claim 1, characterized in that The method further includes: When there is no virtual object in the preparation area, the virtual object selection control is hidden.
10. An interaction device for virtual objects, characterized in that, A preparation area is displayed on the graphical user interface, and the preparation area includes at least one virtual object. The device includes: A display module for displaying a virtual object selection control in the preparation area; wherein, the virtual object selection control corresponds to a candidate list, and the at least one virtual object is displayed in the candidate list, and each virtual object in the at least one virtual object corresponds to an item in the candidate list; A selection module for responding to a selection operation on a target virtual object among the at least one virtual object and displaying the target virtual object on the selected item in the candidate list; A control module for responding to a movement operation on the target virtual object and controlling the target virtual object to move to other areas following the movement operation.
11. An electronic device, characterized in that, Includes: A processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the interaction method of the virtual object according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by the processor, it executes the interaction method of the virtual object according to any one of claims 1 to 9.