Virtual button display method and device, storage medium and electronic equipment

Through the virtual buttons to be activated, ready to be activated and activated morphological display methods, combined with markers and forms to represent interactive objects, the problem of intuition and intuition of virtual buttons is solved, and the accuracy of interaction and user experience is improved.

CN118939354APending Publication Date: 2024-11-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The display of virtual buttons is not intuitive enough, especially in complex operation scenarios, it is difficult for users to clearly define which virtual button to perform interactive operations, which increases the difficulty of operation and reduces the user experience.

Method used

Provide a method for displaying virtual buttons. By displaying the forms to be activated, prepared to be activated and activated, different forms represent the status of the virtual buttons, and combining marks and forms to represent interactive objects, helping users distinguish and determine interactive objects and improve The accuracy and intuitiveness of interactions.

Benefits of technology

Different forms and marks represent the status of the virtual buttons, helping users clarify the stages and objects of interaction, improve the intuitive display of the virtual buttons and the accuracy of the interactive operation, and reduce the probability of misoperation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939354A_ABST
    Figure CN118939354A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual button display method and device, a storage medium and electronic equipment. The method comprises the following steps: displaying at least two virtual buttons in a to-be-activated form; under the condition that a target virtual button in the at least two virtual buttons in the to-be-activated form meets an initial triggering condition corresponding to an interaction operation executed by the virtual control role on the target interaction object, displaying the target virtual button in the to-be-activated form; and displaying the target virtual button in the activated form and the interaction operation executed by the virtual control role on the target interaction object under the condition that the target virtual button in the to-be-activated form meets a target triggering condition corresponding to the interaction operation executed by the virtual control role on the target interaction object. The technical problem that the display of the virtual button is not visual enough is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device, storage medium and electronic device for displaying a virtual button. Background Art

[0002] When triggering an operation through a virtual button, especially in a scenario where the type of operation triggered is more complex, such as an operation type that requires performing interactive operations with multiple interactive objects, it is difficult for the user to clearly know which virtual button to use to perform an interactive operation on which interactive object, and it is even more difficult to clearly know whether the current virtual button can perform an interactive operation on the interactive object, thereby increasing the difficulty of triggering operations through virtual buttons and reducing user experience. The reason for this is that the display of virtual buttons in related technologies is not intuitive enough. Therefore, there is a problem that the display of virtual buttons is not intuitive enough.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a method, device, storage medium and electronic device for displaying a virtual button, so as to at least solve the technical problem that the display of the virtual button is not intuitive enough.

[0005] According to one aspect of an embodiment of the present application, a method for displaying virtual buttons is provided, comprising: displaying at least two virtual buttons in to-be-activated forms, wherein the virtual buttons are used to trigger interactive operations performed by a virtual control character on interactive objects, and the interactive objects corresponding to each of the at least two virtual buttons are different; displaying a target virtual button in a ready-to-activate form when a target virtual button among the at least two virtual buttons in to-activate forms satisfies an initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, wherein the target interactive object is the interactive object corresponding to the target virtual button; displaying a target virtual button in an activated form and the interactive operation performed by the virtual control character on the target interactive object when the target virtual button in the ready-to-activate form satisfies a target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object.

[0006] According to another aspect of an embodiment of the present application, a display device for a virtual button is also provided, including: a first display unit, used to display at least two virtual buttons in a to-be-activated form, wherein the above-mentioned virtual buttons are used to trigger an interactive operation performed by a virtual control character on an interactive object, and the interactive objects corresponding to each of the at least two virtual buttons are different; a second display unit, used to display a target virtual button in a ready-to-activate form when the target virtual button among the at least two virtual buttons in the to-be-activated form meets an initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, wherein the target interactive object is the interactive object corresponding to the target virtual button; a third display unit, used to display the target virtual button in an activated form and the interactive operation performed by the virtual control character on the target interactive object when the target virtual button in the to-be-activated form meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object.

[0007] As an optional scheme, the above-mentioned first display unit includes: a first display module, used to display a first virtual button with a first mark, and a second virtual button with a second mark, wherein the at least two virtual buttons to be activated include the above-mentioned first virtual button with the first mark and the above-mentioned second virtual button with the second mark, the above-mentioned first mark is used to indicate the first interactive object corresponding to the above-mentioned first virtual button, and the above-mentioned second mark is used to indicate the second interactive object corresponding to the above-mentioned second virtual button.

[0008] As an optional scheme, the above-mentioned first display module includes: a first display submodule, used to display the first virtual button with the first mark before the second virtual button with the second mark when the display order corresponding to the above-mentioned first mark is before the display order corresponding to the above-mentioned second mark.

[0009] As an optional scheme, the above-mentioned first display module includes: a second display submodule, which is used to display the first virtual button with the first mark in a first form, and the second virtual button with the second mark in the first form, when the above-mentioned first interactive object and the above-mentioned second interactive object belong to the same object type, wherein the above-mentioned first form is used to indicate the object type to which the above-mentioned first interactive object and the above-mentioned second interactive object belong; or, a third display submodule, which is used to display the first virtual button with the first mark in a second form, and the second virtual button with the second mark in a third form, when the above-mentioned first interactive object and the above-mentioned second interactive object are different object types, wherein the above-mentioned second form is used to indicate the object type to which the above-mentioned first interactive object belongs, and the above-mentioned third form is used to indicate the object type to which the above-mentioned second interactive object belongs.

[0010] As an optional scheme, the above-mentioned second display submodule includes: a first display subunit, used to display the above-mentioned first virtual button with the first mark in the above-mentioned first form, and the above-mentioned second virtual button with the second mark in the above-mentioned first form in the same area; the above-mentioned third display submodule includes: a second display subunit, used to display the above-mentioned first virtual button with the first mark in the above-mentioned second form, and the above-mentioned second virtual button with the second mark in the above-mentioned third form in different areas.

[0011] As an optional scheme, the above-mentioned device also includes: a first acquisition unit, used to acquire a first selection operation performed on the target virtual button in the ready-to-activate form before the target virtual button in the activated form is displayed and the virtual control character performs an interaction operation on the target interactive object; a first determination unit, used to determine that the target virtual button in the ready-to-activate form satisfies the target trigger condition if the first selection operation satisfies the activation condition of the target virtual button in the ready-to-activate form before the target virtual button in the activated form is displayed and the virtual control character performs an interaction operation on the target interactive object.

[0012] As an optional solution, the device further includes: a fourth display unit, which is used to display an optional interactive operation sub-interface after the first selection operation performed on the target virtual button in the ready-to-activate form is obtained, when the number of optional interactive operations performed by the virtual control character on the target interactive object is greater than or equal to 2, wherein the optional interactive operation sub-interface displays operation identifiers corresponding to each optional interactive operation performed by the virtual control character on the target interactive object; a second acquisition unit, which is used to acquire a second selection operation performed on the target operation identifier displayed on the optional interactive operation sub-interface after the first selection operation performed on the target virtual button in the ready-to-activate form is obtained, wherein the target operation identifier is an operation identifier corresponding to the target optional interactive operation performed by the virtual control character on the target interactive object; a second determination unit, which is used to determine that the target virtual button in the ready-to-activate form meets the target trigger condition after the first selection operation performed on the target virtual button in the ready-to-activate form is obtained, when the second selection operation meets the activation condition; the third display unit includes: a second display module, which is used to display the target virtual button in the activated form and the target optional interactive operation performed by the virtual control character on the target interactive object.

[0013] As an optional solution, the above-mentioned device also includes: a first cancellation unit, used to cancel the display of the above-mentioned target virtual button and the above-mentioned target interactive object after the above-mentioned target virtual button in the activated form is displayed and the above-mentioned virtual control character performs an interactive operation on the above-mentioned target interactive object.

[0014] As an optional scheme, the above-mentioned device also includes at least one of the following: a fifth display unit, used to display a first special effect on the above-mentioned activated target virtual button before canceling the display of the above-mentioned target virtual button and the above-mentioned target interactive object, wherein the above-mentioned first special effect is used to feedback the interactive operation performed by the above-mentioned virtual control character on the above-mentioned target interactive object; a sixth display unit, used to display a second special effect on the above-mentioned target interactive object before canceling the display of the above-mentioned target virtual button and the above-mentioned target interactive object, wherein the above-mentioned second special effect is used to prompt the position status of the above-mentioned target interactive object.

[0015] As an optional scheme, the above-mentioned first display unit includes: a third display module, used to display the at least two virtual buttons in the above-mentioned to-be-activated form within a preset area, wherein the position of each virtual button in the above-mentioned at least two virtual buttons in the above-mentioned to-be-activated form within the above-mentioned preset area is a position obtained by arranging according to the center of the above-mentioned preset area; the above-mentioned device also includes: an arrangement unit, used to arrange the virtual buttons that are still displayed among the above-mentioned at least two virtual buttons according to the center of the above-mentioned preset area after canceling the display of the above-mentioned target virtual button and the above-mentioned target interactive object, so as to obtain new position information; a seventh display unit, used to display the above-mentioned virtual buttons that are still displayed in the above-mentioned preset area according to the above-mentioned new position information after canceling the display of the above-mentioned target virtual button and the above-mentioned target interactive object.

[0016] As an optional scheme, the above-mentioned first display unit includes: a fourth display module, used to display at least two virtual buttons in the above-mentioned to-be-activated form within a preset area, wherein the position of each virtual button of the above-mentioned at least two virtual buttons in the above-mentioned to-be-activated form within the above-mentioned preset area is the position obtained by arranging according to the center of the above-mentioned preset area.

[0017] As an optional solution, the device further includes at least one of the following: a third determining unit, used to determine that the initial trigger condition is satisfied before the target virtual button in the ready-to-activate form is displayed, when the distance between the virtual control character and the target interactive object is less than or equal to a first preset threshold; a fourth determining unit, used to determine that the initial trigger condition is satisfied before the target virtual button in the ready-to-activate form is displayed, when the number of obstacles between the virtual control character and the target interactive object is less than 1, or when the obstacles between the virtual control character and the target interactive object do not meet the occlusion condition; a fifth determining unit, used to determine that the initial trigger condition is satisfied before the target virtual button in the ready-to-activate form is displayed, when the virtual control character holds an interactive triggering item associated with the target interactive object; a sixth determining unit, used to determine that the initial trigger condition is satisfied before the target virtual button in the ready-to-activate form is displayed, when the virtual control character is in an interactive triggering state associated with the target interactive object; a seventh determining unit, used to determine that the initial trigger condition is satisfied before the target virtual button in the ready-to-activate form is displayed, when the target attribute value of the virtual control character is greater than or equal to a second preset threshold associated with the target interactive object.

[0018] As an optional solution, the above-mentioned device also includes: an eighth display unit, used to display at least one general button before the above-mentioned at least two virtual buttons to be activated are displayed, wherein the above-mentioned general button is used to trigger at least two operations, and the above-mentioned at least two operations include the interactive operations performed by the above-mentioned virtual control character on the interactive object; the above-mentioned first display unit includes: a fifth display module, used to display the above-mentioned at least two virtual buttons to be activated in response to the opening request corresponding to the above-mentioned virtual button, and prohibit the above-mentioned general button from triggering the interactive operations performed by the above-mentioned virtual control character on the interactive object; the above-mentioned device also includes: a second cancellation unit, used to cancel the display of the above-mentioned at least two virtual buttons in response to the closing request corresponding to the above-mentioned virtual button after the above-mentioned at least two virtual buttons to be activated are displayed, and allow the above-mentioned general button to trigger the interactive operations performed by the above-mentioned virtual control character on the interactive object.

[0019] According to another aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above virtual button display method.

[0020] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for displaying a virtual button through the computer program.

[0021] In an embodiment of the present application, at least two virtual buttons in a to-be-activated state are displayed, wherein the virtual buttons are used to trigger the interactive operation performed by the virtual control character on the interactive object, and the interactive objects corresponding to each of the at least two virtual buttons are different; when the target virtual button in the at least two virtual buttons in the to-be-activated state satisfies the initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, the target virtual button in the ready-to-activate state is displayed, wherein the target interactive object is the interactive object corresponding to the target virtual button; when the target virtual button in the ready-to-activate state satisfies the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, the target virtual button in the activated state and the interactive operation performed by the virtual control character on the target interactive object are displayed. By providing different virtual buttons to trigger the interactive operations performed by the virtual control character on different interactive objects, the accuracy of triggering interactive operations through virtual buttons is improved. Further utilizing the expressions of the to-be-activated form, the ready-to-activate form, and the activated form can help users determine which trigger stage of the interactive operation they are currently in, thereby achieving the purpose of intuitively displaying virtual buttons in different trigger states, thereby achieving the technical effect of improving the intuitiveness of the display of virtual buttons, and thus solving the technical problem that the display of virtual buttons is not intuitive enough. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 is a schematic diagram of an application environment of an optional method for displaying a virtual button according to an embodiment of the present application;

[0024] Figure 2 is a schematic diagram of a process of an optional method for displaying a virtual button according to an embodiment of the present application;

[0025] Figure 3 is a schematic diagram of an optional method for displaying a virtual button according to an embodiment of the present application;

[0026] Figure 4 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0027] Figure 5 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0028] Figure 6 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0029] Figure 7 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0030] Figure 8 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0031] Fig. 9 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0032] Fig.10 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0033] Fig.11 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0034] Fig.12 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0035] Fig.13 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0036] Fig.14 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0037] Fig.15 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0038] Fig.16 is a schematic diagram of another optional method for displaying a virtual button according to an embodiment of the present application;

[0039] Fig.17 is a schematic diagram of an optional virtual button display device according to an embodiment of the present application;

[0040] Fig.18 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] According to one aspect of an embodiment of the present application, a method for displaying a virtual button is provided. Optionally, as an optional implementation, the method for displaying a virtual button can be applied to, but is not limited to, Figure 1 In the environment shown, the user device 102 may be included but is not limited to it, and the user device 102 may be included but is not limited to it, including a display 104, a processor 106 and a memory 108.

[0044] The specific process can be as follows:

[0045] In steps S102-S106, the user device 102 displays at least two virtual buttons in to-be-activated forms on the display 104 through the processor 106, and displays the target virtual button in a ready-to-activate form when the target virtual button among the at least two virtual buttons in to-activate form meets the initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object; and displays the target virtual button in an activated form and the interactive operation performed by the virtual control character on the target interactive object when the target virtual button in the ready-to-activate form meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object.

[0046] remove Figure 1In addition to the examples shown, the user device 102 includes but is not limited to handheld devices (such as mobile phones), laptops, tablet computers, desktop computers, car-mounted devices, smart TVs, etc. This application does not limit the specific implementation method of the user device 102.

[0047] Optionally, as an optional implementation, as Figure 2 As shown, the display method of the virtual button can be executed by an electronic device, such as Figure 1 The user equipment shown in the figure comprises the following specific steps:

[0048] S202, displaying at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by the virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object;

[0049] S204, when a target virtual button among the at least two virtual buttons to be activated satisfies an initial trigger condition corresponding to an interactive operation performed by the virtual control character on a target interactive object, displaying the target virtual button in a ready-to-activate state, wherein the target interactive object is an interactive object corresponding to the target virtual button;

[0050] S206, when the target virtual button in the ready-to-activate state meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, display the target virtual button in the activated state and the interactive operation performed by the virtual control character on the target interactive object.

[0051] Optionally, in this embodiment, the above-mentioned virtual button display method can be but is not limited to application in virtual games. For example, during the running of a virtual game, the user operates the virtual control character through the virtual button to perform interactive operations on each interactive object, and uses the different forms of the virtual button to distinguish which interactive object can be currently performed with the interactive operation, and whether the interactive operation is successfully performed, etc. For example, a virtual button in a to-be-activated form indicates that the interactive operation cannot be performed on the interactive object at present, a virtual button in a ready-to-activate form indicates that the interactive operation can be performed on the (corresponding) interactive object at present, and a virtual button in an activated form indicates that the interactive operation is currently being performed on the (corresponding) interactive object.

[0052] Optionally, in this embodiment, the virtual control character may be, but is not limited to, a virtual character controlled by a virtual button, such as a virtual character in the first person, a virtual character in the third person, etc. Optionally, the interactive object may be, but is not limited to, a virtual object that allows the execution of interactive operations to be triggered with the virtual control character, such as a virtual character, a virtual prop, a virtual building, etc.

[0053] In addition, in this embodiment, the interactive object can also be, but is not limited to, a virtual object obtained by the virtual control character performing an associated operation, such as the virtual control character releasing (associated operation) a target prop (interactive object), and further performing a detonation operation (interactive operation) on the target prop to detonate the target prop, and further cause range damage. However, if the interactive object belongs to the case exemplified in the above embodiment, the user not only needs to perform a release operation (associated operation) of releasing the target prop, but also needs to perform an interactive operation of detonating the target prop, thereby increasing the probability of user misoperation. In some scenarios with higher time limit requirements, such as after the virtual character releases or throws out the target prop, it is necessary to aim at the target prop within a short preset time in order to better perform the interactive operation. In this case, the user not only needs to perform a release operation of releasing the target prop, but also needs to perform an interactive operation of aiming at and detonating the target prop within a short time, thereby further increasing the probability of user misoperation and reducing the accuracy of the execution of the interactive operation;

[0054] In this embodiment, the trigger button of the interactive operation is set to a specific virtual button, so that after the user performs the release operation, the user can quickly perform the corresponding interactive operation through the virtual prop, which not only improves the execution efficiency of the interactive operation, but also reduces the probability of user misoperation after decoupling the release operation and the interactive operation, and also improves the execution accuracy of the interactive operation.

[0055] Optionally, in this embodiment, the virtual button is used to trigger the virtual control character to perform interactive operations on the interactive object. The interactive objects corresponding to each of the at least two virtual buttons are different. Unlike the general button, the virtual buttons in this embodiment correspond one-to-one to the interactive objects, that is, a virtual button can but is not limited to triggering interactive operations corresponding to one or one type of interactive objects, while the general button can but is not limited to triggering interactive operations corresponding to multiple or multiple types of interactive objects, or in addition to interactive operations, the general button can also be used to trigger other operations.

[0056] To further illustrate, for example, the button "jump" is optionally used to trigger the virtual control character to perform a jumping operation. When the virtual control character is located around any interactive object "wall" that can be climbed over, the button "jump" can also be used to trigger the virtual control character to perform an operation (interactive operation) of climbing over the interactive object "wall", and the button "jump" can be determined as a general button. The virtual button in this embodiment can be used, but not limited to, to trigger the virtual control character to perform an operation (interactive operation) of climbing over the interactive object "wall" without triggering other operations.

[0057] In addition, when the virtual control character is not around any interactive object "wall" that can be climbed over, the virtual button will be displayed in a to-be-activated form, and when the virtual control character is around any interactive object "wall" that can be climbed over, the virtual button will be displayed in a ready-to-activate form. The user can then more intuitively understand the execution status of the operation of climbing over the wall by observing the display form of the virtual button.

[0058] Optionally, in this embodiment, each of the at least two virtual buttons can display different states at the same time, such as virtual button A of the at least two virtual buttons displays a state to be activated, virtual button B of the at least two virtual buttons displays a state ready to be activated, and virtual button C of the at least two virtual buttons displays an activated state. In addition, in order to highlight the difference between different states, the state to be activated, the state ready to be activated, and the activated state can be set to display states with large differences, such as Figure 3 As shown, virtual button A among at least two virtual buttons 302 displays a state to be activated (pure white fill), virtual button B among at least two virtual buttons 302 displays a state ready to be activated (light shadow), and virtual button C among at least two virtual buttons 302 displays an activated state (dark shadow).

[0059] Optionally, in this embodiment, the interactive objects corresponding to the at least two virtual buttons are different can be understood as, but not limited to, one virtual button corresponds to one or a class of interactive objects, such as Figure 4 As shown, virtual button A among at least two virtual buttons 302 corresponds to interactive object A among interactive objects 402 , virtual button B among at least two virtual buttons 302 corresponds to interactive object B among interactive objects 402 , and virtual button C among at least two virtual buttons 302 corresponds to interactive object C among interactive objects 402 .

[0060] Optionally, in this embodiment, for determining whether the initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object is met, it can be but is not limited to being based on parameter information associated with the virtual control character, wherein the parameter information includes relevant information of the virtual control character itself (such as interactive props held, etc.), and may also include relative information between the virtual control character and the target interactive object (such as relative distance, etc.).

[0061] Optionally, in this embodiment, the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object can be determined based on, but not limited to, an associated operation performed on the target virtual button in the form ready to be activated, such as a selection operation, a long press operation, a sliding operation, a voice control operation, etc.

[0062] It should be noted that by providing different virtual buttons to trigger the interactive operations performed by the virtual control character on different interactive objects, the accuracy of triggering interactive operations through virtual buttons is improved. Further, by using the presentation methods of the to-be-activated form, the ready-to-activate form, and the activated form, the user is helped to determine which triggering stage of the interactive operation is currently in, and the virtual buttons in different triggering states are intuitively presented, thereby achieving the technical effect of improving the intuitiveness of the display of virtual buttons.

[0063] To further illustrate, the optional Figure 5 As shown in (a) of FIG. 5 , at least two virtual buttons 502 in a to-be-activated state (pure white fill) are displayed, wherein the virtual buttons 502 are used to trigger an interactive operation (such as an interactive operation 510 performed on the target interactive object 506) performed by a virtual control character 504 on an interactive object (such as a target interactive object 506), and each of the at least two virtual buttons 502 corresponds to a different interactive object, such as virtual button A, virtual button B, and virtual button C corresponding to different interactive objects; further, as shown in FIG. Figure 5 As shown in (b) of FIG. 1 , when the target virtual button 508 (virtual button C) among the at least two virtual buttons 502 in the to-be-activated state satisfies the initial trigger condition corresponding to the interactive operation 510 performed by the virtual control character 504 on the target interactive object 506, the target virtual button 508 in the ready-to-activate state (light shadow) is displayed, wherein the target interactive object 506 is the interactive object corresponding to the target virtual button 508; further, as shown in FIG. Figure 5 As shown in (c), when the target virtual button 508 in the ready-to-activate form satisfies the target trigger condition corresponding to the interaction operation 510 performed by the virtual control character 504 on the target interaction object 506, the target virtual button 508 in the activated form (dark shadow) and the interaction operation 510 performed by the virtual control character 504 on the target interaction object 506 are displayed.

[0064] Through the embodiment provided by the present application, at least two virtual buttons in the form to be activated are displayed, wherein the virtual button is used to trigger the interactive operation performed by the virtual control character on the interactive object, and the interactive objects corresponding to each virtual button in the at least two virtual buttons are different; when the target virtual button in the at least two virtual buttons in the form to be activated meets the initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, the target virtual button in the form to be activated is displayed, wherein the target interactive object is the interactive object corresponding to the target virtual button; when the target virtual button in the form to be activated meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, the target virtual button in the form to be activated and the interactive operation performed by the virtual control character on the target interactive object are displayed. By providing different virtual buttons to trigger the interactive operation performed by the virtual control character on different interactive objects, the accuracy of triggering the interactive operation through the virtual button is improved. Further utilizing the expression mode of the form to be activated, the form to be activated, and the form to be activated, it helps the user to judge which trigger stage of the interactive operation is currently in, thereby achieving the purpose of intuitively showing the virtual buttons in different trigger states, thereby achieving the technical effect of improving the intuitiveness of the display of virtual buttons.

[0065] As an optional solution, at least two virtual buttons to be activated are displayed, including:

[0066] A first virtual button with a first mark and a second virtual button with a second mark are displayed, wherein at least two virtual buttons to be activated include a first virtual button with the first mark and a second virtual button with the second mark, the first mark is used to indicate a first interactive object corresponding to the first virtual button, and the second mark is used to indicate a second interactive object corresponding to the second virtual button.

[0067] Optionally, in this embodiment, a mark is used to indicate an interactive object corresponding to a virtual button, such as mark A is used to indicate that a virtual button corresponds to interactive object A, mark B is used to indicate that a virtual button corresponds to interactive object B, and mark C is used to indicate that a virtual button corresponds to interactive object C. Figure 5 As shown, the target interactive object 506 corresponding to the target virtual button 508 with a mark C can be understood as interactive object C but is not limited to it.

[0068] It should be noted that the corresponding relationship between the virtual button and the interactive object can be more intuitively represented by marking, further improving the intuitiveness of the display of the virtual button.

[0069] Through the embodiments provided by the present application, a first virtual button with a first mark and a second virtual button with a second mark are displayed, wherein at least two virtual buttons to be activated include a first virtual button with the first mark and a second virtual button with the second mark, the first mark is used to indicate a first interactive object corresponding to the first virtual button, and the second mark is used to indicate a second interactive object corresponding to the second virtual button, thereby achieving the purpose of more intuitively indicating the correspondence between virtual buttons and interactive objects through marks, thereby realizing the technical effect of improving the intuitiveness of the display of virtual buttons.

[0070] As an optional solution, displaying a first virtual button with a first mark and a second virtual button with a second mark includes:

[0071] In a case where the display order corresponding to the first mark is before the display order corresponding to the second mark, the first virtual button with the first mark is displayed before the second virtual button with the second mark.

[0072] Optionally, in this embodiment, marks that represent the display order may be such as mark 1, mark 2, and mark 3, with the size of the numbers used as the display order corresponding to the marks; for example, mark A, mark B, and mark C may be in the form of letters, and the display order corresponding to the marks may be represented according to the order in the 26-character alphabet; for example, mark rat, mark ox, and mark tiger may be in the form of zodiac signs, and the display order corresponding to the marks may be represented according to the order in the sequence table of the twelve zodiac signs, etc.

[0073] To further illustrate, the optional Figure 6 As shown, multiple virtual buttons 602 (such as virtual button 2, virtual button 1, virtual button 3, where numbers are used to indicate the marks on the virtual buttons) will be displayed in order according to the marks they have, such as the virtual button 602 with mark 1 is displayed before the virtual button 602 with mark 2, and the virtual button 602 with mark 2 is displayed before the virtual button 602 with mark 3.

[0074] It should be noted that, by using multiple virtual buttons corresponding to different interactive objects, the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons can be improved, but too many virtual buttons will increase the difficulty of the user's execution and increase the probability of misoperation, which in turn reduces the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons. In this embodiment, the virtual buttons are displayed and sorted by marking them with order, and the user can clearly know which interactive operation is triggered by the virtual button based on the arrangement order of different virtual buttons, thereby reducing the probability of misoperation and improving the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons.

[0075] Through the embodiments provided by the present application, when the display order corresponding to the first mark is before the display order corresponding to the second mark, the first virtual button with the first mark is displayed before the second virtual button with the second mark, thereby achieving the purpose of reducing the probability of misoperation, thereby achieving the technical effect of improving the triggering accuracy of performing interactive operations on interactive objects through virtual button touches.

[0076] As an optional solution, displaying a first virtual button with a first mark and a second virtual button with a second mark includes:

[0077] In the case where the first interactive object and the second interactive object belong to the same object type, displaying a first virtual button with a first mark in a first form and a second virtual button with a second mark in a first form, wherein the first form is used to indicate the object type to which the first interactive object and the second interactive object belong; or,

[0078] When the first interactive object and the second interactive object are different object types, a first virtual button with a first mark in a second form and a second virtual button with a second mark in a third form are displayed, wherein the second form is used to indicate the object type to which the first interactive object belongs, and the third form is used to indicate the object type to which the second interactive object belongs.

[0079] Optionally, in this embodiment, the form of the virtual button is used to indicate the object type to which the interactive object corresponding to the virtual button belongs, such as a virtual button of form A corresponds to an interactive object of object type A, a virtual button of form B corresponds to an interactive object of object type B, and a virtual button of form C corresponds to an interactive object of object type C, wherein the form may include but is not limited to color, shape, special effects, patterns, etc.

[0080] It should be noted that the relationship between form and mark can be understood but not limited to, when the interactive object is a single object type, the use of marks can be but not limited to representing each interactive object, but when the interactive object is multiple object types, if marks are still used, it is impossible to intuitively express the object type to which each interactive object belongs, and when the number of interactive objects is large, different marks will also cause memory difficulties for users, which is not conducive to the intuitive expression of virtual buttons. Therefore, when the interactive object is multiple object types, a combination of form and mark is used to intuitively express the object type to which each interactive object belongs, and different marks are displayed under the same object type, while the same mark can be displayed under different object types, thereby reducing the number of redundant marks, thereby reducing the user's memory difficulties, and further improving the intuitiveness of the display of virtual buttons.

[0081] To further illustrate, the optional Figure 7As shown, each of the multiple virtual buttons 702 corresponds to a different interactive object among the multiple interactive objects 704, such as the virtual button 702 in blue form (the color is represented by text in the figure) and marked 1 corresponds to the interactive object 1 of the building type, the virtual button 702 in blue form (the color is represented by text in the figure) and marked 2 corresponds to the interactive object 2 of the building type, and the virtual button 702 in green form (the color is represented by text in the figure) and marked 1 corresponds to the interactive object 1 of the prop type.

[0082] Through the embodiments provided by the present application, when the first interactive object and the second interactive object belong to the same object type, a first virtual button with a first mark in a first form and a second virtual button with a second mark in a first form are displayed, wherein the first form is used to indicate the object type to which the first interactive object and the second interactive object belong; or, when the first interactive object and the second interactive object are different object types, a first virtual button with a first mark in a second form and a second virtual button with a second mark in a third form are displayed, wherein the second form is used to indicate the object type to which the first interactive object belongs, and the third form is used to indicate the object type to which the second interactive object belongs, thereby achieving the purpose of intuitively expressing the object type to which each interactive object belongs, and reducing the number of redundant marks when the number of interactive objects is large, thereby reducing the user's memory difficulty, thereby achieving the technical effect of improving the intuitiveness of the display of virtual buttons.

[0083] As an optional solution, displaying a first virtual button with a first mark in a first form and a second virtual button with a second mark in a first form includes: displaying the first virtual button with the first mark in a first form and the second virtual button with the second mark in a first form in the same area:

[0084] Displaying a first virtual button with a first mark in a second form and a second virtual button with a second mark in a third form includes: displaying the first virtual button with the first mark in the second form and the second virtual button with the second mark in the third form in different areas.

[0085] It should be noted that, by using multiple virtual buttons corresponding to different interactive objects, the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons can be improved, but too many virtual buttons will increase the difficulty of the user's execution and increase the probability of misoperation, which in turn reduces the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons. In this embodiment, by centrally sorting the virtual buttons with the same mark and / or form, it is easier for the user to remember the trigger target corresponding to each virtual button, that is, it is easier for the user to clearly understand which interactive operation is triggered by the virtual button, thereby reducing the probability of misoperation and improving the accuracy of triggering interactive operations performed by touching the interactive objects with the virtual buttons.

[0086] To further illustrate, the optional Figure 8 As shown, multiple virtual buttons 802 (such as blue virtual button 2, blue virtual button 1, green virtual button 1, where numbers are used to indicate marks on the virtual buttons) will be sorted according to the marks they carry, such as blue virtual button 2 and blue virtual button 1 are concentrated in the same area, and green virtual button 1 is in other areas.

[0087] Through the embodiments provided by the present application, a first virtual button of the first form with a first mark and a second virtual button of the first form with a second mark are displayed in the same area; a first virtual button of the second form with a first mark and a second virtual button of the third form with a second mark are displayed in different areas, thereby achieving the purpose of reducing the probability of misoperation, thereby realizing the technical effect of improving the triggering accuracy of performing interactive operations on interactive objects through virtual button touches.

[0088] As an optional solution, before displaying the activated target virtual button and the interactive operation performed by the virtual control character on the target interactive object, the method further includes:

[0089] S1-1, obtaining a first selection operation performed on a target virtual button in a state to be activated;

[0090] S1-2, when the first selection operation satisfies the activation condition of the target virtual button in the ready-to-activate state, determining that the target virtual button in the ready-to-activate state satisfies the target trigger condition.

[0091] Optionally, in this embodiment, the activation condition of the target virtual button in the activated form may be but is not limited to a restriction condition on the first selected operation. Assuming that the first selected operation is a click operation, the activation condition of the target virtual button in the activated form may be but is not limited to the number of click operations performed, the click strength of the click operation, the duration of the click operation, etc.

[0092] To further illustrate, the optional Figure 5 As shown in (c) in FIG. 1 , a selection operation performed on the target virtual button 508 in the ready-to-be-activated state is acquired, and the target virtual button 508 in the activated state is displayed.

[0093] As an optional solution, after obtaining the first selection operation performed on the target virtual button in the ready-to-activate state, the method further includes:

[0094] S2-1, when the number of optional interactive operations performed by the virtual control character on the target interactive object is greater than or equal to 2, displaying an optional interactive operation sub-interface, wherein the optional interactive operation sub-interface displays operation identifiers corresponding to the optional interactive operations performed by the virtual control character on the target interactive object;

[0095] S2-2, obtaining a second selected operation to be performed on a target operation identifier displayed on the optional interactive operation sub-interface, wherein the target operation identifier is an operation identifier corresponding to a target optional interactive operation performed by the virtual control character on a target interactive object;

[0096] S2-3, when the second selected operation satisfies the activation condition, determining that the target virtual button in the ready-to-activate state satisfies the target trigger condition;

[0097] Displaying the target virtual button in an activated state and the interactive operation performed by the virtual control character on the target interactive object, including: displaying the target virtual button in an activated state and the target optional interactive operation performed by the virtual control character on the target interactive object.

[0098] Optionally, in this embodiment, the optional interactive operation can be understood but not limited to being an interactive operation that can be triggered by the target virtual button and performed by the virtual control character on the target interactive object. For example, the target virtual button can trigger the virtual control character to perform interactive operation A, interactive operation B, and interactive operation C on the target interactive object, and then after obtaining the first selected operation performed on the target virtual button in the form to be activated, the optional interactive operation sub-interface is displayed, and the operation identifiers of interactive operation A, interactive operation B, and interactive operation C are displayed on the optional interactive operation sub-interface.

[0099] Optionally, in this embodiment, the activation condition may be but is not limited to a restriction condition on the second selected operation. Assuming that the second selected operation is a click operation, the activation condition for the target virtual button in the activated form may be but is not limited to including the number of click operations performed, the click strength of the click operation, the duration of the click operation, etc.

[0100] Optionally, in this embodiment, in order to further improve the convenience of the selection operation, the first selection operation may be, but is not limited to, a long press operation, and during the execution of the long press operation, an optional interactive operation sub-interface is displayed, and then the user can change the operation position of the long press operation, that is, the operation position of the long press operation is adjusted from the target virtual button to the target operation identifier displayed on the optional interactive operation sub-interface, and determine to obtain the second selection operation;

[0101] Further examples are given, optionally based on Figure 3 The scenario shown, continuing with e.g. Fig. 9 As shown, a long press operation (the first selected operation) performed on the virtual button C is obtained, and an optional interactive operation sub-interface 902 is displayed, wherein a plurality of operation identifiers are displayed on the optional interactive operation sub-interface 902, such as operation identifier C1, operation identifier C2, and operation identifier C3; it is further obtained that the operation position of the above-mentioned long press operation is adjusted from the virtual button C to the operation identifier C3 displayed on the optional interactive operation sub-interface 902, and it is further determined that the second selected operation performed on the operation identifier C3 is obtained.

[0102] Optionally, in this embodiment, in order to further improve the convenience of the selection operation, the first selection operation can be but is not limited to a long press operation, and during the execution of the long press operation, an optional interactive operation sub-interface is displayed, and then the user can change the operation direction of the above-mentioned long press operation to correspond to the operation identifier displayed on the optional interactive operation sub-interface. For example, if a sliding operation is obtained during the execution of the long press operation, the sliding direction of the sliding operation is determined. It is assumed that the operation identifier displayed on the optional interactive operation sub-interface has been pre-associated with different sliding directions, such as operation identifier A is associated with the upward direction, and operation identifier B is associated with the downward direction. Then, when the sliding direction is upward, operation identifier A is determined as the target operation identifier.

[0103] It should be noted that, considering that the number of interactive operations that can be triggered by the virtual button and performed by the virtual control character on the target interactive object may not be unique, if only one selection operation is used, the user may not be able to clearly choose which interactive operation to perform. Therefore, this embodiment provides options for multiple selection operations to help users clearly choose which interactive operation to perform.

[0104] Through the embodiments provided by the present application, when the number of optional interactive operations performed by the virtual control character on the target interactive object is greater than or equal to 2, an optional interactive operation sub-interface is displayed, wherein the optional interactive operation sub-interface displays operation identifiers corresponding to each optional interactive operation performed by the virtual control character on the target interactive object; a second selected operation performed on the target operation identifier displayed on the optional interactive operation sub-interface is obtained, wherein the target operation identifier is an operation identifier corresponding to the target optional interactive operation performed by the virtual control character on the target interactive object; when the second selected operation satisfies the activation condition, it is determined that the target virtual button in the ready-to-activate form satisfies the target trigger condition; the target virtual button in the activated form and the target optional interactive operation performed by the virtual control character on the target interactive object are displayed, thereby achieving the purpose of clearly selecting which interactive operation to be performed, thereby achieving the technical effect of improving the triggering accuracy of interactive operations performed through virtual buttons.

[0105] As an optional solution, after displaying the activated target virtual button and the interactive operation performed by the virtual control character on the target interactive object, the method further includes:

[0106] Cancels display of the target virtual button and target interactive object.

[0107] It should be noted that in order to improve the display intuitiveness of the interface UI (design), after displaying the activated target virtual button and the interactive operations performed by the virtual control character on the target interactive object, the redundant UI elements on the interface (target virtual button and target interactive object) are removed, while the virtual buttons that have not triggered the interactive operation and the interactive objects that have not performed the interactive operation are retained.

[0108] Through the embodiments provided in the present application, the display of the target virtual button and the target interactive object is cancelled, thereby achieving the purpose of removing redundant UI elements on the interface, thereby realizing the technical effect of improving the display intuitiveness of the interface UI.

[0109] As an optional solution, before cancelling the display of the target virtual button and the target interactive object, the method further includes at least one of the following:

[0110] Displaying a first special effect on the activated target virtual button, wherein the first special effect is used to feedback the interactive operation performed by the virtual control character on the target interactive object;

[0111] A second special effect is displayed on the target interactive object, wherein the second special effect is used to prompt a position status of the target interactive object.

[0112] Optionally, in this embodiment, after activating the target virtual button and instructing the virtual control object and the target interactive object to perform an interactive operation, in order to improve the intuitiveness of the operating experience brought by the execution of the interactive operation, a first special effect is displayed on the activated target virtual button and a second special effect is displayed on the target interactive object, wherein the display duration of the first special effect / the second special effect may be, but is not limited to, a positive correlation with the execution duration of the interactive operation performed by the virtual control object and the target interactive object.

[0113] It should be noted that in order to help users understand the relevant information of the interactive operation, the first special effect is used to feedback the interactive operation performed by the virtual control character on the target interactive object; at the same time, in order to make the user understand the relevant performance of the target interactive object after the interactive operation is performed, the second special effect is used to prompt the user the position status of the target interactive object, thereby improving the user experience.

[0114] Through the embodiments provided by the present application, a first special effect is displayed on the activated target virtual button, wherein the first special effect is used to provide feedback on the interactive operation performed by the virtual control character on the target interactive object; a second special effect is displayed on the target interactive object, wherein the second special effect is used to prompt the position status of the target interactive object, thereby achieving the purpose of clarifying the relevant information of the interactive operation and clarifying the relevant performance of the target interactive object after the interactive operation is performed, thereby achieving the technical effect of improving user experience.

[0115] As an optional solution, displaying at least two virtual buttons in a to-be-activated state includes: displaying at least two virtual buttons in a to-be-activated state in a preset area, wherein the position of each of the at least two virtual buttons in the to-be-activated state in the preset area is a position obtained by arranging according to the center of the preset area;

[0116] After canceling displaying the target virtual button and the target interactive object, the method further includes:

[0117] S3-1, arranging the virtual buttons that are still displayed among the at least two virtual buttons according to the center of the preset area to obtain new position information;

[0118] S3-2, displaying the virtual button that is still displayed in the preset area according to the new position information.

[0119] Optionally, in this embodiment, based on Figure 3 The scene shown, continue as Fig.10As shown, a plurality of virtual buttons 302 are placed in the preset area 1002, wherein each of the plurality of virtual buttons 302 is arranged according to the center of the preset area 1002, and the center of the preset area 1002 can be understood as, but not limited to, the center point of the preset area 1002, or the center line of the preset area 1002, and the center line of the preset area 1002 can be divided into the center line of the preset area 1002 in the vertical direction, or the center line of the preset area 1002 in the horizontal direction, or the center line of the preset area 1002 in other directions.

[0120] It should be noted that canceling the display will cause the virtual button to be displayed empty, lacking a certain rationality in the arrangement, and the user may habitually click on the empty position to trigger the original interactive operation, which may lead to the problem of misoperation. In order to avoid the problem of users not adapting to the existing virtual button position due to canceling the display of the target virtual button, in this embodiment, after canceling the display of the target virtual button and the target interactive object, the virtual buttons that are still displayed in at least two virtual buttons will be arranged according to the center of the preset area to obtain new position information, and the virtual buttons that are still displayed will be further displayed in the preset area according to the new position information.

[0121] To further illustrate, the optional Figure 3 The scenario shown, continuing with e.g. Fig.11 As shown, after the virtual button B among the multiple virtual buttons 302 is undisplayed, the virtual buttons A and C will be re-arranged to make up for the display vacancy of the virtual button B.

[0122] Through the embodiments provided by the present application, at least two virtual buttons to be activated are displayed in a preset area, wherein the position of each virtual button in the at least two virtual buttons to be activated in the preset area is the position obtained by arrangement according to the center of the preset area; the virtual buttons still displayed among the at least two virtual buttons are arranged according to the center of the preset area to obtain new position information; the virtual buttons still displayed are displayed in the preset area according to the new position information, thereby achieving the purpose of avoiding the problem of users being unable to adapt to the existing virtual button position due to cancellation of the display of the target virtual button, thereby achieving the technical effect of improving the rationality of the arrangement of the virtual button positions.

[0123] As an optional solution, at least two virtual buttons to be activated are displayed, including:

[0124] At least two virtual buttons to be activated are displayed in a preset area, wherein the position of each of the at least two virtual buttons to be activated in the preset area is a position arranged according to the center of the preset area.

[0125] Optionally, in this embodiment, the center of the preset area can be understood as, but not limited to, the center point of the preset area, or the center line of the preset area. The center line of the preset area can be divided into the center line of the preset area in the vertical direction, or the center line of the preset area in the horizontal direction, or the center line of the preset area in other directions.

[0126] To further illustrate, based on Figure 3 The scene shown, continue as Fig.10 As shown, a plurality of virtual buttons 302 are placed in the preset area 1002 , wherein each of the plurality of virtual buttons 302 is arranged according to the center of the preset area 1002 .

[0127] Through the embodiments provided by the present application, at least two virtual buttons to be activated are displayed in a preset area, wherein the position of each of the at least two virtual buttons to be activated in the preset area is a position arranged according to the center of the preset area, thereby achieving the technical effect of improving the rationality of the arrangement of the virtual button positions.

[0128] As an optional solution, before displaying the target virtual button in a ready-to-activate state, the method further includes at least one of the following:

[0129] When the distance between the virtual control character and the target interaction object is less than or equal to a first preset threshold, determining that the initial trigger condition is met;

[0130] When the number of obstacles between the virtual control character and the target interactive object is less than 1, or the obstacles between the virtual control character and the target interactive object do not meet the occlusion condition, determining that the initial trigger condition is met;

[0131] In the case where the virtual control character holds the interaction trigger prop associated with the target interaction object, determining that the initial trigger condition is satisfied;

[0132] When the virtual control character is in an interaction trigger state associated with the target interaction object, determining that an initial trigger condition is satisfied;

[0133] When the target attribute value of the virtual control character is greater than or equal to a second preset threshold associated with the target interactive object, it is determined that the initial trigger condition is met.

[0134] Optionally, in this embodiment, if Figure 5 As shown in (a) in FIG. 5 , there is an obstacle between the target interactive object 506 and the virtual control character 504 , and thus the virtual button C corresponding to the target interactive object 506 is still in a waiting-to-be-activated state.

[0135] Optionally, in this embodiment, during the execution of some virtual tasks, interaction trigger props, interaction trigger status, target attribute values, etc. may be required but not limited to trigger interaction operations on the target interaction object to complete the above virtual tasks.

[0136] As an optional solution, before displaying at least two virtual buttons in to-be-activated forms, the method further includes: displaying at least one universal button, wherein the universal button is used to trigger at least two operations, and the at least two operations include interactive operations performed by the virtual control character on the interactive object;

[0137] Displaying at least two virtual buttons in a to-be-activated state, comprising: in response to an activation request corresponding to the virtual button, displaying at least two virtual buttons in a to-be-activated state, and prohibiting the general button from triggering an interactive operation performed by the virtual control character on the interactive object;

[0138] After displaying at least two virtual buttons in to-be-activated forms, the method further includes: in response to a closing request corresponding to the virtual buttons, canceling the display of the at least two virtual buttons, and allowing the general button to trigger the interactive operation performed by the virtual control character on the interactive object.

[0139] Optionally, in this embodiment, the virtual button is used to trigger the virtual control character to perform interactive operations on the interactive object. The interactive objects corresponding to each of the at least two virtual buttons are different. Unlike the general button, the virtual buttons in this embodiment correspond one-to-one to the interactive objects, that is, a virtual button can but is not limited to triggering interactive operations corresponding to one or one type of interactive objects, while the general button can but is not limited to triggering interactive operations corresponding to multiple or multiple types of interactive objects, or in addition to interactive operations, the general button can also be used to trigger other operations.

[0140] To further illustrate, for example, the button "jump" is optionally used to trigger the virtual control character to perform a jumping operation. When the virtual control character is located around any interactive object "wall" that can be climbed over, the button "jump" can also be used to trigger the virtual control character to perform an operation (interactive operation) of climbing over the interactive object "wall", and the button "jump" can be determined as a general button. The virtual button in this embodiment can be used, but not limited to, to trigger the virtual control character to perform an operation (interactive operation) of climbing over the interactive object "wall" without triggering other operations.

[0141] In addition, when the virtual control character is not around any interactive object "wall" that can be climbed over, the virtual button will be displayed in a to-be-activated form, and when the virtual control character is around any interactive object "wall" that can be climbed over, the virtual button will be displayed in a ready-to-activate form. The user can then more intuitively understand the execution status of the operation of climbing over the wall by observing the display form of the virtual button.

[0142] It should be noted that, taking into account the differences in users' operating levels or habits, users with higher operating levels are more accustomed to using virtual buttons to improve the accuracy of interactive operations. However, for some users with lower operating levels and who are accustomed to using general buttons, the use of virtual buttons will reduce the operating efficiency of such users. Therefore, through the prohibition / permission method, users are selectively provided with the use of virtual buttons to improve the triggering flexibility of virtual buttons.

[0143] Through the embodiments provided by the present application, in response to an open request corresponding to a virtual button, at least two virtual buttons in the to-be-activated form are displayed, and the general button is prohibited from triggering the interactive operation performed by the virtual control character on the interactive object; in response to a close request corresponding to the virtual button, the display of at least two virtual buttons is canceled, and the general button is allowed to trigger the interactive operation performed by the virtual control character on the interactive object, thereby achieving the purpose of selectively providing users with the use of virtual buttons in a prohibition / permission manner, thereby realizing the technical effect of improving the triggering flexibility of virtual buttons.

[0144] As an optional solution, for ease of understanding, the above-mentioned virtual button display method is applied to a virtual game scene. This embodiment uses a permanent interaction button (virtual button) to quickly interact with multiple objects (interaction objects) in the scene, and arranges and displays the interactive objects in the scene in the operation hot zone, making it convenient for players of the virtual game to quickly interact with the objects.

[0145] Optionally, in this embodiment, when there are only multiple interactive objects of one type, such as Fig.12 As shown, the purple oval is an interactive object. When the object is behind a wall, it cannot be interacted with and only the UI (interactive object 1) is displayed. The interactive objects in the scene are marked with the UI in the order of placement, and the interactive buttons are also arranged from left to right at the bottom of the screen in the order of placement, such as interactive button 1, interactive button 2, and interactive button 3. The number of the placed objects and the corresponding interactive buttons are fixed. When the object meets the interactive conditions, the button lights up. When the interactive object is behind a wall and does not meet the interactive conditions, the button is grayed out. When the player clicks the (interactive) button, the corresponding interactive object lights up to help the player confirm whether the interactive object is correct, such as Fig.13As shown in the figure, when button 3 is clicked, the purple interactive object 3 lights up. After being triggered, the interactive button uses dynamic effects to show the release state of the object, helping players to still obtain the state of the interactive object when the object leaves the field of view, such as Fig.13 The button 3 shown can be understood as but not limited to, after being triggered, the button 3 will light up.

[0146] Optionally, in this embodiment, when there are multiple interactive objects of different types, colors are additionally used to distinguish the object types in addition to marking numbers, such as Fig.14 , are marked with the number 1, but are distinguished by purple and red. In addition, the interaction buttons of the same type of objects are placed together and arranged left and right in the order of placement. This makes it easy for players to quickly locate the interactive object they want to trigger.

[0147] Optionally, in this embodiment, when an interactive object has multiple interactive modes, a sliding selection trigger mode is added to the interactive button, and the corresponding selection content is displayed on the screen in the form of a wheel. Fig.13 The scene shown, continue as Fig.15 The roulette display is triggered by button 3, and the optional interactive operation options associated with the interactive object 3 are displayed on the roulette, which is convenient for players to quickly select the triggering method of the interactive object when there are multiple objects in the scene and the objects have multiple interactive methods. For example, performing a downward sliding operation on button 3 will trigger the quick selection of the optional interactive operation option A that matches the downward direction.

[0148] It should be noted that the interactive buttons of the interactive objects in the scene are permanently placed at the bottom of the screen, multiple interactive buttons can be displayed at the same time, and the interactive objects can be classified by icons and colors, so that players can quickly interact with objects. Players only need one step to complete the interaction, which is conducive to players quickly completing the interaction with objects in a tense battle.

[0149] To further illustrate, the optional Fig.16 As shown, the specific steps are as follows:

[0150] Step 1: First, determine whether there are objects in the scene that meet the interactive conditions. If so, proceed to step 2, otherwise, proceed to step 3. Whether an object is interactive needs to be determined based on the restrictions of the actual object type. First, determine whether the object in the field of view is within the interactive range. Secondly, some objects cannot be interacted with through walls, so it is necessary to determine whether the object is blocked by a building.

[0151] Step 2, the corresponding interactive button lights up, and go to step 4. The corresponding interactive button is the button that can control the release of objects in the scene, such as Fig.16. The player places an object in the scene. The corresponding UI icon is displayed above the object according to the type of object, with a number marked, and a corresponding interaction button is generated at the bottom of the screen. The content displayed on the interaction button includes the icon of the object, the operation content description, and the number marked with the same object. Different types of objects in the scene use scene icons of different colors. Objects of the same type are numbered according to the order of placement. The corresponding interaction buttons use the same color and number, and the interaction buttons of objects of the same type are arranged together. The interaction buttons of all objects are arranged in a row and displayed in the center as a whole.

[0152] Step 3: The interactive button is grayed out. Fig.16 , Object 1 is placed behind a wall, and since it is an object that cannot be interacted with through a wall, the object UI and interaction buttons are both grayed out.

[0153] Step 4: The player presses and holds the lit interaction button to proceed to step 5.

[0154] Step 5: Determine whether the selected object has multiple interaction modes. If the object has multiple interaction modes, proceed to step 6; otherwise, proceed to step 7.

[0155] In step 6, the pressed interaction button and the object UI in the scene are both selected, the wheel is expanded, and the labeled numbers are hidden. The wheel presents multiple interaction methods according to the number of object interaction methods, and then proceeds to step 8.

[0156] Step 7: When it is determined that the object has only one interaction mode, the pressed interaction button and the object UI in the scene are both in a selected state. Release the button and proceed to step 11.

[0157] Step 8, determine whether the player slides to the roulette area, if not, release the hand and go to step 9. Otherwise, go to step 10.

[0158] Step 9. Release the object to cancel the interaction, and the object UI and interaction buttons will return to normal.

[0159] Step 10, the selected release mode is displayed as selected, and release the button to enter step 11. The sliding direction and distance of the roulette wheel and the interactive button are in a corresponding relationship, that is, if the player presses the button and slides upward, the interactive mode above the roulette wheel is selected.

[0160] Step 11, release the hand to complete the interaction with the object, and determine whether the object generates continuous feedback, that is, whether the feedback is instantaneous or has a duration. If the feedback is continuous, proceed to step 12. Otherwise, proceed to step 13.

[0161] Step 12: The interactive button has a continuous animation, and the duration is consistent with the object release time. After the object is released, go to step 13.

[0162] Step 13: After the object is released, the object UI and the corresponding interaction buttons disappear, the spacing between the remaining interaction buttons below is adjusted, and the overall button is adaptively centered.

[0163] The technical solutions in the related art require players to spend more time or energy. Especially in FPS games with character skills, the battle rhythm is fast. If players spend too much time on auxiliary combat operations, they are easily killed by the enemy, which leads to a greater sense of frustration. However, through the embodiments provided by the present application, in games where players release multiple interactive objects, the operation of objects is simplified to one step, solving the problem of complex operations when players interact with objects. It allows players to quickly release auxiliary skills during combat, improving the effectiveness of skill release and the smoothness of combat.

[0164] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0165] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0166] According to another aspect of the embodiments of the present application, a virtual button display device for implementing the above virtual button display method is also provided. Fig.17 As shown, the device comprises:

[0167] A first display unit 1702 is used to display at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by the virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object;

[0168] The second display unit 1704 is used to display the target virtual button in a ready-to-activate state when the target virtual button among the at least two virtual buttons in the to-be-activated state meets the initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, wherein the target interactive object is the interactive object corresponding to the target virtual button;

[0169] The third display unit 1706 is used to display the target virtual button in the activated form and the interactive operation performed by the virtual control character on the target interactive object when the target virtual button in the ready-to-activate form meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object.

[0170] For the specific implementation, reference may be made to the example shown in the above-mentioned display device of the virtual button, which will not be described in detail in this example.

[0171] As an optional solution, the first display unit 1702 includes:

[0172] A first display module is used to display a first virtual button with a first mark and a second virtual button with a second mark, wherein the at least two virtual buttons to be activated include a first virtual button with the first mark and a second virtual button with the second mark, the first mark is used to indicate a first interactive object corresponding to the first virtual button, and the second mark is used to indicate a second interactive object corresponding to the second virtual button.

[0173] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0174] As an optional solution, the first display module includes:

[0175] The first display submodule is used to display a first virtual button with the first mark before a second virtual button with the second mark when the display order corresponding to the first mark is before the display order corresponding to the second mark.

[0176] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0177] As an optional solution, the first display module includes:

[0178] a second display submodule, configured to display a first virtual button with a first mark in a first form and a second virtual button with a second mark in a first form when the first interactive object and the second interactive object belong to the same object type, wherein the first form is used to indicate the object type to which the first interactive object and the second interactive object belong; or

[0179] The third display submodule is used to display a first virtual button with a first mark in a second form and a second virtual button with a second mark in a third form when the first interactive object and the second interactive object are different object types, wherein the second form is used to indicate the object type to which the first interactive object belongs, and the third form is used to indicate the object type to which the second interactive object belongs.

[0180] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0181] As an optional solution, the second display submodule includes: a first display subunit, configured to display a first virtual button with a first mark in a first form and a second virtual button with a second mark in a first form in the same area:

[0182] The third display submodule includes: a second display subunit, which is used to display a first virtual button with a first mark in a second form and a second virtual button with a second mark in a third form in different areas.

[0183] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0184] As an optional solution, the device also includes:

[0185] A first acquisition unit is used to acquire a first selection operation performed on the target virtual button in a ready-to-activate state before displaying the target virtual button in an activated state and the interaction operation performed by the virtual control character on the target interactive object;

[0186] The first determination unit is used to determine that the target virtual button in the ready-to-activate form satisfies the target trigger condition when the first selected operation satisfies the activation condition of the target virtual button in the ready-to-activate form before displaying the target virtual button in the activated form and the interactive operation performed by the virtual control character on the target interactive object.

[0187] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0188] As an optional solution, the device also includes:

[0189] a fourth display unit, for, after acquiring the first selection operation performed on the target virtual button in the ready-to-activate state, displaying an optional interaction operation sub-interface when the number of optional interaction operations performed by the virtual control character on the target interaction object is greater than or equal to 2, wherein the optional interaction operation sub-interface displays operation identifiers corresponding to the various optional interaction operations performed by the virtual control character on the target interaction object;

[0190] A second acquisition unit is used to acquire a second selected operation performed on a target operation identifier displayed on the optional interactive operation sub-interface after acquiring a first selected operation performed on a target virtual button in a ready-to-activate state, wherein the target operation identifier is an operation identifier corresponding to a target optional interactive operation performed by the virtual control character on the target interactive object;

[0191] a second determining unit, configured to determine, after acquiring a first selection operation performed on the target virtual button in the ready-to-activate state, that the target virtual button in the ready-to-activate state satisfies a target trigger condition if the second selection operation satisfies an activation condition;

[0192] The third display unit 1706 includes: a second display module, which is used to display the target virtual button in an activated form and the target optional interactive operation performed by the virtual control character on the target interactive object.

[0193] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0194] As an optional solution, the device also includes:

[0195] The first canceling unit is used to cancel the display of the target virtual button and the target interactive object after the target virtual button in an activated state and the interactive operation performed by the virtual control character on the target interactive object.

[0196] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0197] As an optional solution, the device further includes at least one of the following:

[0198] a fifth display unit, configured to display a first special effect on the target virtual button in the activated form before cancelling the display of the target virtual button and the target interactive object, wherein the first special effect is used to feedback the interactive operation performed by the virtual control character on the target interactive object;

[0199] The sixth display unit is used to display a second special effect on the target interactive object before canceling the display of the target virtual button and the target interactive object, wherein the second special effect is used to prompt the position status of the target interactive object.

[0200] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0201] As an optional solution, the first display unit 1702 includes: a third display module, used to display at least two virtual buttons to be activated in a preset area, wherein the position of each virtual button in the at least two virtual buttons to be activated in the preset area is a position obtained by arranging according to the center of the preset area;

[0202] The device also includes:

[0203] an arranging unit, configured to arrange the virtual buttons still displayed among the at least two virtual buttons according to the center of the preset area after canceling the display of the target virtual button and the target interactive object, to obtain new position information;

[0204] The seventh display unit is used to display the virtual button that is still being displayed in a preset area according to the new position information after canceling the display of the target virtual button and the target interactive object.

[0205] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0206] As an optional solution, the first display unit 1702 includes:

[0207] The fourth display module is used to display at least two virtual buttons to be activated in a preset area, wherein the position of each of the at least two virtual buttons to be activated in the preset area is a position arranged according to the center of the preset area.

[0208] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0209] As an optional solution, the device further includes at least one of the following:

[0210] A third determining unit is used to determine that an initial trigger condition is satisfied when a distance between the virtual control character and the target interactive object is less than or equal to a first preset threshold before displaying the target virtual button in a ready-to-activate state;

[0211] a fourth determining unit, configured to determine that an initial trigger condition is satisfied before displaying the target virtual button in a ready-to-activate state, if the number of obstacles between the virtual control character and the target interactive object is less than 1, or if the obstacles between the virtual control character and the target interactive object do not satisfy an occlusion condition;

[0212] A fifth determining unit, configured to determine that an initial trigger condition is satisfied when the virtual control character holds an interaction triggering item associated with the target interactive object before displaying the target virtual button in a ready-to-activate state;

[0213] A sixth determining unit, configured to determine that an initial trigger condition is satisfied when the virtual control character is in an interaction trigger state associated with the target interaction object before displaying the target virtual button in a ready-to-activate state;

[0214] The seventh determining unit is used to determine that the initial trigger condition is satisfied when the target attribute value of the virtual control character is greater than or equal to a second preset threshold associated with the target interactive object before displaying the target virtual button in the ready-to-activate state.

[0215] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0216] As an optional solution, the device further includes: an eighth display unit, used to display at least one universal button before displaying at least two virtual buttons in the to-be-activated form, wherein the universal button is used to trigger at least two operations, and the at least two operations include interactive operations performed by the virtual control character on the interactive object;

[0217] The first display unit 1702 includes: a fifth display module, which is used to display at least two virtual buttons in a to-be-activated state in response to an activation request corresponding to the virtual button, and to prohibit the general button from triggering an interactive operation performed by the virtual control character on the interactive object;

[0218] The device also includes: a second canceling unit, which is used to cancel the display of at least two virtual buttons in response to a closing request corresponding to the virtual buttons after displaying at least two virtual buttons in the to-be-activated form, and allow the general button to trigger the interactive operation performed by the virtual control character on the interactive object.

[0219] For a specific embodiment, reference may be made to the example shown in the above-mentioned method for displaying a virtual button, which will not be described in detail in this example.

[0220] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned virtual button display method is also provided. The electronic device can be but is not limited to being Figure 1 The user device 102 or the server 112 shown in FIG. 1 is used as an example to illustrate the electronic device as the user device 102. Fig.18 As shown, the electronic device includes a memory 1802 and a processor 1804. The memory 1802 stores a computer program, and the processor 1804 is configured to execute the steps in any of the above method embodiments through the computer program.

[0221] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0222] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0223] S1, displaying at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by a virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object;

[0224] S2, when a target virtual button among the at least two virtual buttons to be activated meets an initial trigger condition corresponding to an interactive operation performed by the virtual control character on a target interactive object, displaying the target virtual button in a ready-to-activate state, wherein the target interactive object is an interactive object corresponding to the target virtual button;

[0225] S3, when the target virtual button in the ready-to-activate state meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, display the target virtual button in the activated state and the interactive operation performed by the virtual control character on the target interactive object.

[0226] Alternatively, a person skilled in the art may understand that: Fig.18 The structure shown is for illustration only. Fig.18 The structure of the electronic device is not limited. Fig.18 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.18 Different configurations are shown.

[0227] Among them, the memory 1802 can be used to store software programs and modules, such as the program instructions / modules corresponding to the display method and device of the virtual button in the embodiment of the present application. The processor 1804 executes various functional applications and data processing by running the software programs and modules stored in the memory 1802, that is, realizing the above-mentioned virtual button display method. The memory 1802 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1802 may further include a memory remotely located relative to the processor 1804, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1802 can be specifically, but not limited to, used to store information such as virtual buttons, interactive objects, and interactive operations. As an example, such as Fig.18 As shown, the memory 1802 may include, but is not limited to, the first display unit 1702, the second display unit 1704, and the third display unit 1706 in the display device of the virtual button. In addition, other module units in the display device of the virtual button may also be included but are not limited to, which will not be repeated in this example.

[0228] Optionally, the transmission device 1806 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 1806 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1806 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0229] In addition, the electronic device further includes: a display 1808 for displaying information such as the virtual buttons, interactive objects, and interactive operations; and a connection bus 1810 for connecting various module components in the electronic device.

[0230] In other embodiments, the user device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in a form of network communication. Among them, a peer-to-peer (P2P) network may be formed between the nodes, and any form of computing device, such as a server, user device, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0231] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions provided by the embodiments of the present application are executed.

[0232] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0233] It should be noted that the computer system of the electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0234] The computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part to the random access memory (RAM). In the random access memory, various programs and data required for system operation are also stored. The central processing unit, the read-only memory and the random access memory are connected to each other through a bus. The input / output interface (I / O interface) is also connected to the bus.

[0235] The following components are connected to the input / output interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a local area network card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.

[0236] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions defined in the system of the present application are executed.

[0237] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0238] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0239] S1, displaying at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by a virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object;

[0240] S2, when a target virtual button among the at least two virtual buttons to be activated meets an initial trigger condition corresponding to an interactive operation performed by the virtual control character on a target interactive object, displaying the target virtual button in a ready-to-activate state, wherein the target interactive object is an interactive object corresponding to the target virtual button;

[0241] S3, when the target virtual button in the ready-to-activate state meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, display the target virtual button in the activated state and the interactive operation performed by the virtual control character on the target interactive object.

[0242] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the electronic device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0243] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0244] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

[0245] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0246] In the several embodiments provided in the present application, it should be understood that the disclosed user equipment can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0247] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0248] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0249] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for displaying a virtual button, characterized in that: include: Displaying at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by the virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object; When a target virtual button among the at least two virtual buttons to be activated satisfies an initial trigger condition corresponding to an interactive operation performed by the virtual control character on a target interactive object, displaying the target virtual button in a ready-to-activate state, wherein the target interactive object is an interactive object corresponding to the target virtual button; When the target virtual button in the ready-to-activate form satisfies the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, the target virtual button in the activated form and the interactive operation performed by the virtual control character on the target interactive object are displayed.

2. The method according to claim 1, characterized in that The at least two virtual buttons displaying the to-be-activated state include: A first virtual button with a first mark and a second virtual button with a second mark are displayed, wherein the at least two virtual buttons to be activated include the first virtual button with the first mark and the second virtual button with the second mark, the first mark is used to indicate a first interactive object corresponding to the first virtual button, and the second mark is used to indicate a second interactive object corresponding to the second virtual button.

3. The method according to claim 2, characterized in that The displaying of a first virtual button with a first mark and a second virtual button with a second mark includes: In a case where the display order corresponding to the first mark is before the display order corresponding to the second mark, the first virtual button with the first mark is displayed before the second virtual button with the second mark.

4. The method according to claim 2, characterized in that: The displaying of a first virtual button with a first mark and a second virtual button with a second mark includes: In the case where the first interactive object and the second interactive object belong to the same object type, the first virtual button with the first mark in a first form and the second virtual button with the second mark in the first form are displayed, wherein the first form is used to indicate the object type to which the first interactive object and the second interactive object belong; or, in the case where the first interactive object and the second interactive object are different object types, the first virtual button with the first mark in a second form and the second virtual button with the second mark in a third form are displayed, wherein the second form is used to indicate the object type to which the first interactive object belongs, and the third form is used to indicate the object type to which the second interactive object belongs.

5. The method according to claim 4, characterized in that The displaying of the first virtual button with the first mark in the first form and the second virtual button with the second mark in the first form comprises: displaying the first virtual button with the first mark in the first form and the second virtual button with the second mark in the first form in the same area; The displaying of the first virtual button with the first mark in the second form and the second virtual button with the second mark in the third form includes: displaying the first virtual button with the first mark in the second form and the second virtual button with the second mark in the third form in different areas.

6. The method according to claim 1, characterized in that Before the target virtual button showing the activated state and the virtual control character performing the interactive operation on the target interactive object, the method further includes: Acquire a first selection operation performed on the target virtual button in the ready-to-activate state; In a case where the first selection operation satisfies the activation condition of the target virtual button in the ready-to-activate state, it is determined that the target virtual button in the ready-to-activate state satisfies the target trigger condition.

7. The method according to claim 6, characterized in that After acquiring the first selection operation performed on the target virtual button in the ready-to-activate state, the method further includes: When the number of optional interactive operations performed by the virtual control character on the target interactive object is greater than or equal to 2, an optional interactive operation sub-interface is displayed, wherein the optional interactive operation sub-interface displays operation identifiers corresponding to the various optional interactive operations performed by the virtual control character on the target interactive object; Acquire a second selected operation performed on a target operation identifier displayed on the optional interactive operation sub-interface, wherein the target operation identifier is an operation identifier corresponding to a target optional interactive operation performed by the virtual control character on the target interactive object; In the case where the second selection operation satisfies the activation condition, determining that the target virtual button in the ready-to-activate state satisfies the target trigger condition; The target virtual button displaying the activated form and the interactive operation performed by the virtual control character on the target interactive object include: displaying the target virtual button displaying the activated form and the target optional interactive operation performed by the virtual control character on the target interactive object.

8. The method according to claim 1, characterized in that After the target virtual button showing the activated state and the virtual control character performing the interactive operation on the target interactive object, the method further includes: The target virtual button and the target interactive object are canceled from being displayed.

9. The method according to claim 8, characterized in that Before canceling the display of the target virtual button and the target interactive object, the method further includes at least one of the following: Displaying a first special effect on the activated target virtual button, wherein the first special effect is used to feedback the interactive operation performed by the virtual control character on the target interactive object; A second special effect is displayed on the target interactive object, wherein the second special effect is used to prompt a position status of the target interactive object.

10. The method according to claim 8, characterized in that The displaying of at least two virtual buttons in a to-be-activated state comprises: displaying at least two virtual buttons in a to-be-activated state in a preset area, wherein the position of each of the at least two virtual buttons in the to-be-activated state in the preset area is a position obtained by being arranged according to the center of the preset area; After canceling the display of the target virtual button and the target interactive object, the method further includes: Arranging the virtual buttons that are still displayed among the at least two virtual buttons according to the center of the preset area to obtain new position information; The virtual button that is still being displayed is displayed in the preset area according to the new position information.

11. The method according to any one of claims 1 to 10, characterized in that The at least two virtual buttons displaying the to-be-activated state include: At least two virtual buttons in the to-be-activated form are displayed in a preset area, wherein the position of each of the at least two virtual buttons in the to-be-activated form in the preset area is a position obtained by being arranged according to the center of the preset area.

12. The method according to any one of claims 1 to 10, characterized in that Before displaying the target virtual button in a ready-to-activate state, the method further includes at least one of the following: When the distance between the virtual control character and the target interaction object is less than or equal to a first preset threshold, determining that the initial trigger condition is satisfied; When the number of obstacles between the virtual control character and the target interaction object is less than 1, or the obstacles between the virtual control character and the target interaction object do not meet the occlusion condition, determining that the initial trigger condition is met; In a case where the virtual control character holds the interaction triggering prop associated with the target interaction object, determining that the initial triggering condition is satisfied; When the virtual control character is in an interaction trigger state associated with the target interaction object, determining that the initial trigger condition is satisfied; When the target attribute value of the virtual control character is greater than or equal to a second preset threshold associated with the target interactive object, it is determined that the initial trigger condition is satisfied.

13. The method according to any one of claims 1 to 10, characterized in that Before displaying at least two virtual buttons in to-be-activated forms, the method further comprises: displaying at least one universal button, wherein the universal button is used to trigger at least two operations, and the at least two operations include interactive operations performed by the virtual control character on an interactive object; The displaying of at least two virtual buttons in to-be-activated forms comprises: in response to an activation request corresponding to the virtual buttons, displaying the at least two virtual buttons in to-be-activated forms, and prohibiting the general button from triggering the interactive operation performed by the virtual control character on the interactive object; After displaying at least two virtual buttons in to-be-activated forms, the method further includes: in response to a closing request corresponding to the virtual buttons, canceling the display of the at least two virtual buttons, and allowing the general button to trigger the interactive operation performed by the virtual control character on the interactive object.

14. A virtual button display device, characterized in that: include: A first display unit is used to display at least two virtual buttons in a to-be-activated state, wherein the virtual buttons are used to trigger an interactive operation performed by the virtual control character on an interactive object, and each of the at least two virtual buttons corresponds to a different interactive object; a second display unit, configured to display the target virtual button in a ready-to-activate state when the target virtual button among the at least two virtual buttons in the to-be-activated state satisfies an initial trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object, wherein the target interactive object is the interactive object corresponding to the target virtual button; The third display unit is used to display the target virtual button in the activated form and the interactive operation performed by the virtual control character on the target interactive object when the target virtual button in the ready-to-activate form meets the target trigger condition corresponding to the interactive operation performed by the virtual control character on the target interactive object.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 13 when executed by an electronic device.

16. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 13 are implemented.

17. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 13 through the computer program.