Interaction method and device in virtual scene, equipment, storage medium and program product
By presenting the element groups associated with preset operations in the interactive interface of the virtual scene, and adjusting the element style and order in response to switching requests, the problems of many user operations in the virtual scene are solved, and more efficient virtual object control is achieved.
Patent Information
- Application Number
- CN202411548351.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-10-31
AI Technical Summary
In virtual scenarios, users need to master multiple operations to control virtual objects, resulting in high cost and low efficiency of interactive learning.
By presenting the element group associated with the preset operation in the interactive interface and adjusting the element style and order in response to the switching request, the virtual object is triggered to perform the corresponding virtual action.
Use limited interaction types to support richer virtual actions in virtual scenes, reduce user interaction learning costs, and improve interaction efficiency in virtual scenes.
Smart Images

Figure CN119455394A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly to interactive methods, apparatuses, devices, computer-readable storage media, and computer program products. Background Art
[0002] With the development of computer technology, users can interact with computers and other users through computers and in scenarios provided by computers (e.g., simulation environments, virtual environments, etc.), and obtain interactive experiences that are impossible or difficult to achieve in a physical environment. Summary of the invention
[0003] In a first aspect of the present disclosure, an interaction method in a virtual scene is provided. The method comprises: in an interactive interface associated with a virtual object, presenting a first group of elements corresponding to a first preset operation, the first group of elements corresponding to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein a first element in the first group of elements presents a first style; in response to receiving a switching request associated with the first preset operation, switching a second element in the first group of elements from a second style to a first style, wherein the second element is determined from the first group of elements based on the switching request; and in response to receiving the first preset operation in the interactive interface, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene.
[0004] In a second aspect of the present disclosure, a device for interaction in a virtual scene is provided. The device includes: an element presentation module, configured to present a first group of elements corresponding to a first preset operation in an interactive interface associated with a virtual object, the first group of elements corresponding to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein the first element in the first group of elements presents a first style; a first style switching module, configured to switch a second element in the first group of elements from a second style to a first style in response to receiving a switching request associated with the first preset operation, wherein the second element is determined from the first group of elements based on the switching request; and a first action triggering module, configured to trigger the virtual object to perform a first virtual action corresponding to the second element in the virtual scene in response to receiving the first preset operation in the interactive interface.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the method of the first aspect is implemented.
[0008] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figure 2 A schematic diagram showing an interactive interface according to some embodiments of the present disclosure is shown;
[0012] Figure 3 A schematic diagram showing an interactive interface according to some embodiments of the present disclosure;
[0013] FIG. 4A to FIG. 4B A schematic diagram showing a switching process according to some embodiments of the present disclosure is shown;
[0014] FIG. 5A to FIG. 5B A schematic diagram showing a switching process according to some other embodiments of the present disclosure;
[0015] Figure 6 A schematic diagram showing the layout of elements according to some embodiments of the present disclosure;
[0016] Figure 7 A flowchart showing a process of interaction according to some embodiments of the present disclosure;
[0017] Figure 8 A schematic structural block diagram of an apparatus for interaction according to some embodiments of the present disclosure is shown;
[0018] Fig. 9 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0020] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0021] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0022] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0023] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0024] As described above, users can perform various types of interactions with various types of virtual objects in a virtual environment provided by a computer through a computer. For example, in some games, users control virtual objects to present different virtual actions in a virtual scene through different operations (e.g., different buttons).
[0025] With the advancement of computer technology, more and more virtual actions can be realized in games, enriching the user's interactive experience. However, this diversified interaction also makes the types of operations that users need to master more diverse, increasing the difficulty of users' operations, thus affecting the interaction efficiency between users and virtual objects.
[0026] In view of this, an embodiment of the present disclosure proposes an interaction scheme in a virtual scene. According to the scheme, a first group of elements corresponding to a first preset operation can be presented in an interactive interface associated with a virtual object, the first group of elements corresponding to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein the first element in the first group of elements presents a first style; further, in response to receiving a switching request associated with the first preset operation, the second element in the first group of elements can be switched from the second style to the first style, wherein the second element is determined from the first group of elements based on the switching request; further, in response to receiving the first preset operation in the interactive interface, the virtual object can be triggered to perform a first virtual action corresponding to the second element in the virtual scene.
[0027] Based on this approach, the embodiments of the present disclosure can utilize limited interaction types to support richer virtual actions in virtual scenes, thereby reducing the user's interaction learning cost and improving the interaction efficiency in the virtual scene.
[0028] Example Environment
[0029] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0030] In the example environment 100, an application 120 is installed in an electronic device 110. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices. The application 120 can be an application that supports user interaction, such as a game application, or any other appropriate application.
[0031] exist Figure 1 In the environment 100 , if the application 120 is in an active state, the application 120 may provide a presentation interface 150 for the user 140 .
[0032] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0033] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.
[0034] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a universal serial bus connection, a wireless fidelity connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0035] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0036] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0037] Example Interaction
[0038] The following will refer to Figure 2 To describe an example interaction process according to an embodiment of the present disclosure. Figure 2 An example interactive interface 200 according to some embodiments of the present disclosure is shown. The interactive interface 200 may be, for example, Figure 1 The electronic device 110 is provided as shown.
[0039] like Figure 2 As shown, the electronic device 110 may, for example, present a virtual object 210. As some examples, the virtual object includes a two-dimensional object or a three-dimensional object suitable for interaction in a virtual scene. As an example, the virtual scene may include a game scene, and the virtual object may include a virtual character in the game scene. For ease of understanding, the present disclosure is illustratively described using a game scene as an example, and it should be understood that the present disclosure is not limited thereto. For example, the present disclosure may also be applied to a virtual reality scene, a simulation scene, an emulation scene, and the like.
[0040] Taking the game scene as an example, the electronic device 110 may present one or more tags in the interactive interface 200. For example, Figure 2 As shown, the configuration interface 200 may present a label 221 (start), a label 222 (skills), etc. As some examples, the electronic device 110 may present a corresponding interface in response to a user's triggering operation on any label.
[0041] As some examples, the electronic device 110 may present the interactive interface 200 by default, and switch to the corresponding interface when receiving an operation on other tags. The electronic device 110 may also present the interactive interface 200 in response to a user's selection of the tag 221 .
[0042] In some embodiments, the electronic device 110 may enter an interactive interface associated with the virtual object 210 in response to a user triggering operation on a control 231 (training) or a control 232 (start) in the interactive interface 200. Such an interactive interface supports the user to control the virtual object to perform some virtual actions in the virtual scene presented by the interactive interface.
[0043] The following combination Figure 3 To describe the interactive process according to an embodiment of the present disclosure. Figure 3 An example interactive interface 300 according to some embodiments of the present disclosure is shown. The interactive interface 300 may be, for example, composed of Figure 1 The electronic device 110 is provided as shown.
[0044] like Figure 3 As shown, the electronic device 110, for example, in response to a user trigger operation on the control 232 (start), presents an interactive interface 300 associated with the virtual object 210, and the virtual object 210 in the virtual scene may be presented in the interactive interface 300. The virtual object 210 may be associated with one or more preset operations, so that the user can control the virtual action of the virtual object through one or more preset operations.
[0045] As some examples, the presentation of the interactive interface 600 may represent the virtual object entering an interactive event. For example, the presentation of the interactive interface 600 may represent the virtual object 210 entering a multiplayer game event, wherein the game event may at least include multiple users A and B associated with the multiple different virtual objects. As an example, multiple users B may be associated with the same camp to cooperate in completing the virtual event. Alternatively, multiple users may also be associated with different camps to compete.
[0046] Furthermore, the electronic device 110 presents elements corresponding to one or more preset operations in the element display area 310 in the interactive interface to improve the intuitiveness of the virtual action. Figure 3 As shown, the electronic device 110 may present elements 311, 312, and 313 corresponding to the preset operation “right click of the mouse”, and elements 321, 322, and 323 corresponding to the preset operation “left click of the mouse”. Elements 311, 312, and 313 may correspond to a group of virtual actions associated with the preset operation “right click of the mouse”. Elements 321, 322, and 323 may correspond to another group of virtual actions associated with the preset operation “left click of the mouse”.
[0047] For ease of understanding, element 311 may correspond to virtual action A, element 312 may correspond to virtual action B, element 313 may correspond to virtual action C, element 321 may correspond to virtual action M, element 322 may correspond to virtual action N, and element 323 may correspond to virtual action P. It should be understood that the specific identification numbers of the present disclosure are not limitations of the embodiments of the present disclosure, and will not be repeated in detail below.
[0048] Furthermore, the electronic device 110 may present a first style for one of the multiple elements corresponding to a preset operation, and present a second style for other elements corresponding to the preset operation, so as to represent the virtual action supported and triggered by the preset operation at the current moment. To improve objectivity, the first style and the second style are different styles. For example, different element sizes, etc.
[0049] like Figure 3 As shown, the user can trigger "right click" or "left click" to control the virtual object to perform a corresponding virtual action. For example, when the user triggers "right click", the electronic device 110 can control the virtual object 210 to perform the virtual action A corresponding to the element 311. For another example, when the user triggers "left click", the electronic device 110 can control the virtual object 210 to perform the virtual action M corresponding to the element 321.
[0050] Furthermore, the electronic device 110 supports receiving a switching request for a preset operation and switches an element presenting a first style among multiple elements corresponding to the preset operation, thereby controlling the virtual object 210 to perform other virtual actions.
[0051] The following references FIG. 4A to FIG. 4B To describe the switching process of some embodiments of the present disclosure. FIG. 4A to FIG. 4B FIG. 4 is a schematic diagram showing a switching process 400A to a switching process 400B according to some embodiments of the present disclosure. The switching process 400A to the switching process 400B may be implemented, for example, in Figure 3 The elements in the display area 310 are shown.
[0052] Specifically, Figure 4A As shown, the user can trigger the switching operation associated with the preset operation "mouse right click", and the electronic device 110 generates a switching request associated with the preset operation "mouse right click". For example, the switching operation can be a user trigger key "Q" or the like.
[0053] Thus, the electronic device 110 may receive a switching request associated with the preset operation “right click of the mouse.” Through the switching request, the electronic device 110 may switch the element 322 from the second style to the first style.
[0054] As some examples, the switching request may also be generated by the electronic device 110. For example, the switching request may be generated based on the execution of the first switching task in the electronic device 110. For another example, the switching request may also be generated in other ways and sent to the electronic device 110, which is not limited in the embodiments of the present disclosure.
[0055] Based on this, the electronic device 110 can present the following to the user: Figure 4A The element layout shown includes an element 312 presented in a first style and an element 311 presented in a second style.
[0056] In some embodiments, in response to receiving a switching request associated with a preset operation, the electronic device 110 may adjust the display order of multiple elements corresponding to the preset operation in the interactive interface to more intuitively present the virtual actions performed by the virtual object 210 supported by the preset operation at the current moment.
[0057] As some examples, the display order can be designed according to the actual interface design, and the embodiments of the present disclosure do not limit the display order. For example, the display order can be to prioritize the display of elements presenting the first style and randomly display the elements presenting the second style. For another example, the display order can be to cyclically adjust the display order of multiple elements corresponding to the preset operation associated with the switching request based on the switching request, and so on.
[0058] by Figure 4A For example, the electronic device 110 may receive a switching request associated with the preset operation "right click of mouse". Through the switching request, the electronic device 110 may adjust the display order of element 311, element 312, and element 313 to element 312, element 313, and element 311, so as to display element 311, element 312, and element 313 in a loop.
[0059] Based on this, the user can trigger the preset operation "right click of the mouse" to control the virtual action B of the virtual object 210. Specifically, the user triggers the preset operation "right click of the mouse", and the electronic device 110 responds to receiving the preset operation "right click of the mouse" in the interactive interface, triggering the virtual object 210 to perform the virtual action B corresponding to the element 312 in the virtual scene.
[0060] Thus, the user can control multiple virtual actions of the virtual object 210 through a preset operation of "right-clicking the mouse" without having to master three operations, which reduces the user's operation difficulty and increases the user's operation speed, thereby improving the user's interaction efficiency with the virtual object.
[0061] In some embodiments, Figure 4B As shown, the user can also trigger a switching operation for the preset operation "mouse left click", and the electronic device 110 generates a switching request for the preset operation "mouse left click". For example, the switching operation can be a user triggering key "E". For the sake of distinction, the switching request for the preset operation "mouse right click" can be a first switching request, and the switching request for the preset operation "mouse left click" can be a second switching request.
[0062] Therefore, in response to receiving the second switching request for the preset operation "right click of the mouse", the electronic device 110 can switch the virtual action that can be triggered by the preset operation "left click of the mouse", as well as the display style, display order, etc. of elements 321, element 322, and element 323 corresponding to the preset operation "left click of the mouse". The specific implementation method can be found in the above embodiment and will not be repeated here.
[0063] by Figure 4B For example, in response to receiving a switching request associated with the preset operation "mouse left click", the electronic device 110 may present element 322 in the first style and present element 321 in the second style. Further, the electronic device 110 may adjust the display order of element 321, element 322, and element 323 to element 322, element 323, and element 321, so as to display element 321, element 322, and element 323 in a loop.
[0064] Based on this, the electronic device 110 can trigger the virtual object 210 to perform a virtual action B corresponding to the element 312 in the virtual scene in response to receiving the preset operation "right click of the mouse" in the interactive interface. The specific implementation method can also refer to the above-mentioned embodiment in which the electronic device 110 receives the preset operation "left click of the mouse".
[0065] Thus, the user can achieve more virtual actions of controlling the virtual object 210 through fewer preset operations, which further reduces the user's operation difficulty and further improves the user's operation speed, thereby further improving the interaction efficiency between the user and the virtual object.
[0066] As shown in the above embodiments, the user can independently control multiple groups of virtual actions through multiple preset operations. In some embodiments, the electronic device 110 can also couple multiple preset operations of the user to improve the accuracy of the user's interaction with the interactive interface. Specifically, the electronic device 110 receives a first switching request for the preset operation "right click of the mouse". Based on the first switching request, the electronic device 110 can not only adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "right click of the mouse", but also adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "left click of the mouse".
[0067] In some embodiments, the electronic device 110 can, in response to receiving a first switching request for the preset operation "right click of the mouse", restore elements 321, element 322, and element 323 corresponding to the preset operation "left click of the mouse" to a preset initial display style (for example, presenting element 321 in the first style and presenting element 322 in the second style), an initial display order (for example, a display order of element 321-element 322-element 323), etc.
[0068] In some embodiments, the electronic device 110 may trigger the generation of a first switching request and a second switching request in response to the same first interactive operation, so as to further reduce the types of operations.
[0069] As some examples, the first interactive operation is used to control multiple groups of virtual actions in linkage. For example, when the user triggers the key "Q", the electronic device 110 can generate a first switching request and a second switching request to control virtual actions A / B / C and virtual actions M / N / P in linkage.
[0070] In some embodiments, the electronic device 110 may also generate the first switching request and the second switching request based on the same switching task. For example, based on the same scheduled task being executed, the electronic device 110 generates the first switching request and the second switching request automatically and regularly.
[0071] The following combination FIG. 5A to FIG. 5BTo describe the switching process according to other embodiments of the present disclosure. FIG. 5A to FIG. 5B The switching process 500A to the switching process 500B according to other embodiments of the present disclosure is shown. The switching process 500A to the switching process 500B can be implemented in, for example, Figure 3 The elements in the display area 310 are shown.
[0072] As some examples, Figure 5A As shown, before the user triggers the first interactive operation (for example, the user triggers the "Q" key), the electronic device 110 presents element 311 corresponding to the preset operation "right click of the mouse" and element 321 corresponding to the preset operation "left click of the mouse" in a first style, and presents elements 312, 313, 322, and 323 in a second style.
[0073] Further, the user triggers the key "Q". The electronic device 110 can generate a first switching request and a second switching request in response to the user triggering the key "Q". In response to receiving the first switching request and the second switching request, the electronic device 110 can switch the element 313 and the element 323 to the first style.
[0074] In some embodiments, in response to the first switching request and the second switching request, the electronic device 110 may switch element 311 and element 321 to the second style, and adjust the display order of multiple elements corresponding to the preset operation “right click of the mouse” and the display order of multiple elements corresponding to the preset operation “left click of the mouse”.
[0075] Furthermore, the electronic device 110 can automatically return the elements to their original positions when the first interactive operation ends. Continuing with the above example, when the first interactive operation ends, the electronic device 110 can switch elements 311 and 321 to the first style, and switch elements 313 and 323 to the second style. Furthermore, when the first interactive operation ends, the electronic device 110 can adjust the display order of multiple elements corresponding to the preset operation "right click of the mouse" to element 313-element 311-element 312, and adjust the display order of multiple elements corresponding to the preset operation "left click of the mouse" to element 323-element 321-element 322.
[0076] As a result, users do not need to manually reset elements, which greatly improves the accuracy of user interaction with virtual objects.
[0077] As some examples, Figure 5BAs shown, the electronic device 110 can also generate a third switching request and a fourth switching request in response to the user triggering the key "E". In response to receiving the third switching request and the fourth switching request, the electronic device 110 can switch the elements 312 and 322 to the first style, switch the elements 311 and 321 to the second style, and adjust the display order of multiple elements corresponding to the preset operation "right click of the mouse", and the display order of multiple elements corresponding to the preset operation "left click of the mouse", etc. For specific implementation methods, please refer to the above embodiments.
[0078] Thus, the electronic device 110 can adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "right click of the mouse" in response to the first interaction operation / the end of the interaction operation, and adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "left click of the mouse". Based on this approach, the embodiments of the present disclosure can further reduce the types of user operations, improve the accuracy of interaction, and thus further improve the interaction efficiency between the user and the virtual object.
[0079] In some embodiments, the switching request may also be triggered based on a continuous interactive operation. Based on this, the electronic device 110 may control the virtual action to execute the virtual action corresponding to the switched element during the triggering period of the continuous interactive operation. Furthermore, during the non-triggering period of the continuous interactive operation, the electronic device 110 may also control the virtual action to execute the virtual action corresponding to the preset default element.
[0080] Take the example of a user continuously pressing the key "Q". Figure 5A As shown, while the user continues to trigger the key "Q", the electronic device 110 can detect whether the user triggers the preset operation "right click of the mouse". In the case of detecting that the user triggers the preset operation "right click of the mouse", the electronic device 110 can trigger the virtual object 210 to perform a virtual action C corresponding to the element 313 in the virtual scene.
[0081] Thus, the electronic device 110 can avoid the user being unclear about the virtual actions supported by the current preset operation due to multiple switching of elements, thereby further improving the accuracy of the user's interaction with the virtual object and improving the efficiency of the user's interaction with the virtual object.
[0082] It should be understood that the layout of elements in the embodiments of the present disclosure is only for ease of understanding and should not be understood as a limitation on the present disclosure. The identification of elements, virtual actions, etc. in the present disclosure is only for distinction and should not be understood as a limitation on the elements, virtual actions, etc. of the present disclosure.
[0083] As some examples, element layouts can be as follows Figure 4A / Figure 4B , as a multi-line element, or as Figure 5A / Figure 5B As shown in the figure, it is a symmetrical multi-row element. The element layout can also be as follows Figure 6 shown. Figure 6 A schematic diagram of element layout according to some embodiments of the present disclosure is shown. Figure 6 As shown, the element layout may be a plurality of groups of elements that are bilaterally symmetrical and presented in a row. The embodiments of the present disclosure do not limit the element layout.
[0084] Back to Figure 2 In some embodiments, the electronic device 110 also supports configuring the virtual action of the virtual object before the virtual object enters the interactive interface to improve the quality of the virtual action. Specifically, the electronic device 110 can present a configuration interface associated with the virtual object to the user in response to the user's triggering operation on the control 232.
[0085] In some embodiments, the interactive interface can be associated with an interactive event in a virtual scene (e.g., a game event of a multiplayer game). The electronic device 110 can present a configuration interface associated with a virtual object before the virtual object joins the interactive event. For example, a user can configure a virtual action of a virtual object before entering a multiplayer game.
[0086] Furthermore, during the period when the virtual object joins the interactive event, the electronic device 110 can disable the configuration interface associated with the virtual object. Such a configuration function enables the embodiments of the present disclosure to improve the quality of virtual actions while also ensuring the accuracy of user interaction in the interactive interface, thereby ensuring the interaction efficiency between the user and the virtual object.
[0087] As some examples, the electronic device 110 disables the configuration interface associated with the virtual object in ways including, but not limited to, prohibiting the configuration interface from being presented to the user, or presenting the configuration interface but prohibiting the user from interacting with the configuration interface, etc. Based on this approach, the embodiments of the present disclosure can present a first group of elements corresponding to a first preset operation in an interactive interface without having to correspond an operation to each element in the first group of elements, thereby reducing the types of operations that the user needs to master, thereby improving the interaction efficiency in the virtual scene. Furthermore, the embodiments of the present disclosure present the first element in a first style, or present the second element in a first style based on a switching request, so that the virtual actions currently supported and triggered by the first preset operation can be distinguished more quickly and intuitively, thereby reducing the difficulty of operation and further improving the interaction efficiency in the virtual scene.
[0088] It should be understood that the specific interaction methods mentioned in the above embodiments (for example, specific mouse operations, specific keyboard key positions, etc.) are only exemplary, and the present disclosure is not intended to be limited thereto.
[0089] Therefore, the embodiments of the present disclosure can utilize limited interaction types to support richer virtual actions in virtual scenes, thereby reducing the user's interaction learning cost and improving the interaction efficiency in the virtual scene.
[0090] Example Process
[0091] Figure 7 1 is a flow chart showing an example process 700 of interaction in a virtual scene according to some embodiments of the present disclosure. Process 700 may be implemented at electronic device 110. Figure 1 Process 700 is described.
[0092] In box 710, the electronic device 110 presents a first group of elements corresponding to a first preset operation in an interactive interface associated with a virtual object, wherein the first group of elements corresponds to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein the first element in the first group of elements presents a first style.
[0093] At block 720 , the electronic device 110 switches a second element in the first group of elements from the second pattern to the first pattern in response to receiving a switching request associated with the first preset operation, wherein the second element is determined from the first group of elements based on the switching request.
[0094] In box 730, in response to receiving the first preset operation in the interactive interface, the electronic device 110 triggers the virtual object to perform a first virtual action corresponding to the second element in the virtual scene.
[0095] In some embodiments, before receiving a switching request associated with the first preset operation, process 700 also includes: in response to receiving the first preset operation in the interactive interface, triggering the virtual object to perform a second virtual action corresponding to the first element in the virtual scene.
[0096] In some embodiments, process 700 further includes: in response to receiving a switching request associated with the first preset operation, switching the first element from the first style to the second style.
[0097] In some embodiments, process 700 further includes: in response to receiving a switching request associated with the first preset operation, adjusting a display order of the first group of elements in the interactive interface.
[0098] In some embodiments, the switching request is a first switching request, and process 700 also includes: presenting a second group of elements corresponding to a second preset operation in the interactive interface, the second group of elements corresponding to a second group of virtual actions pre-configured to be associated with the second preset operation, wherein a third element in the second group of elements presents a first style; in response to receiving a second switching request associated with the first preset operation, switching a fourth element in the second group of elements from the second style to the first style, wherein the fourth element is determined from the second group of elements based on the second switching request; and in response to receiving the second preset operation in the interactive interface, triggering the virtual object to perform a third virtual action corresponding to the fourth element in the virtual scene.
[0099] In some embodiments, the first switching request and the second switching request are triggered in response to the same first interaction operation.
[0100] In some embodiments, process 700 further includes: in response to the first interaction operation ending, switching the first element and the third element to the first style, and switching the second element and the fourth element to the second style.
[0101] In some embodiments, the switching request is triggered by a second interaction operation, and in response to receiving a first preset operation in the interactive interface, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene also includes: detecting the first preset operation during the second interaction operation; and in response to detecting the first preset operation, triggering the virtual object to perform the first virtual action corresponding to the second element in the virtual scene.
[0102] In some embodiments, the first set of virtual actions is determined from a preset set of virtual actions via a configuration interface associated with the virtual object.
[0103] In some embodiments, the interactive interface is associated with an interactive event in a virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and during the interactive event, the configuration interface associated with the virtual object is disabled.
[0104] Example devices and equipment
[0105] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 8 A schematic structural block diagram of an apparatus 800 for interaction in a virtual scene according to some embodiments of the present disclosure is shown. The apparatus 800 may be implemented as or included in the electronic device 110 as discussed above. Each module / component in the apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0106] like Figure 8As shown, the device 800 includes an element presentation module 810, which is configured to present a first group of elements corresponding to a first preset operation in an interactive interface associated with a virtual object, the first group of elements corresponding to a first group of virtual actions pre-configured to be associated with the first preset operation, wherein the first element in the first group of elements presents a first style; a first style switching module 820, which is configured to switch a second element in the first group of elements from a second style to a first style in response to receiving a switching request associated with the first preset operation, wherein the second element is determined from the first group of elements based on the switching request; and a first action triggering module 830, which is configured to trigger the virtual object to perform a first virtual action corresponding to the second element in a virtual scene in response to receiving the first preset operation in the interactive interface.
[0107] In some embodiments, the device 800 further includes a second action triggering module configured to: in response to receiving a first preset operation in the interactive interface, trigger the virtual object to perform a second virtual action corresponding to the first element in the virtual scene.
[0108] In some embodiments, the apparatus 800 further includes a second style switching module configured to: in response to receiving a switching request associated with the first preset operation, switch the first element from the first style to the second style.
[0109] In some embodiments, the apparatus 800 further includes an order adjustment module configured to: in response to receiving a switching request associated with the first preset operation, adjust a display order of the first group of elements in the interactive interface.
[0110] In some embodiments, the switching request is a first switching request, and the device 800 also includes a second preset operation response module, which is configured to: present a second group of elements corresponding to the second preset operation in the interactive interface, the second group of elements corresponding to the second group of virtual actions pre-configured to be associated with the second preset operation, and the third element in the second group of elements presents a first style; in response to receiving a second switching request associated with the first preset operation, switch a fourth element in the second group of elements from the second style to the first style, the fourth element being determined from the second group of elements based on the second switching request; and in response to receiving the second preset operation in the interactive interface, trigger the virtual object to perform a third virtual action corresponding to the fourth element in the virtual scene.
[0111] In some embodiments, the first switching request and the second switching request are triggered in response to the same first interaction operation.
[0112] In some embodiments, the apparatus 800 further includes a third style switching module configured to: in response to the first interaction operation ending, switch the first element and the third element to the first style, and switch the second element and the fourth element to the second style.
[0113] In some embodiments, the switching request is triggered by a second interaction operation, and the first action trigger module 830 is further configured to: detect a first preset operation during the second interaction operation; and in response to detecting the first preset operation, trigger the virtual object to perform a first virtual action corresponding to the second element in the virtual scene.
[0114] In some embodiments, the first set of virtual actions is determined from a preset set of virtual actions via a configuration interface associated with the virtual object.
[0115] In some embodiments, the interactive interface is associated with an interactive event in a virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and during the interactive event, the configuration interface associated with the virtual object is disabled.
[0116] The units included in the device 800 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 800 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0117] Fig. 9 900 is a block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig. 9 The electronic device 900 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig. 9 The electronic device 900 shown can be used to implement Figure 1 Electronic device 110 or Figure 8 Device 800.
[0118] like Fig. 9As shown, the electronic device 900 is in the form of a general electronic device. The components of the electronic device 900 may include, but are not limited to, one or more processors or processing units 910, a memory 920, a storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. The processing unit 910 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 920. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 900.
[0119] The electronic device 900 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 900, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 920 can be a volatile memory (e.g., register, cache, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 630 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 900.
[0120] The electronic device 900 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig. 9 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 920 may include a computer program product 925 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0121] The communication unit 940 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 900 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 900 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0122] The input device 950 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 960 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 900 may also communicate with one or more external devices (not shown) through the communication unit 940 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 900, or communicate with any device that allows the electronic device 900 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0123] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0124] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0125] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0126] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0127] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0128] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. An interactive method in a virtual scene, comprising: In an interactive interface associated with a virtual object, presenting a first group of elements corresponding to a first preset operation, the first group of elements corresponding to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein a first element in the first group of elements presents a first style; In response to receiving a switching request associated with the first preset operation, switching a second element in the first group of elements from a second pattern to the first pattern, wherein the second element is determined from the first group of elements based on the switching request; as well as In response to receiving the first preset operation in the interactive interface, the virtual object is triggered to perform a first virtual action corresponding to the second element in the virtual scene.
2. The method according to claim 1, wherein before receiving the switching request associated with the first preset operation, the method further comprises: In response to receiving the first preset operation in the interactive interface, the virtual object is triggered to perform a second virtual action corresponding to the first element in the virtual scene.
3. The method according to claim 1, further comprising: In response to receiving the switching request associated with the first preset operation, the first element is switched from the first style to the second style.
4. The method according to claim 1, further comprising: In response to receiving the switching request associated with the first preset operation, adjusting the display order of the first group of elements in the interactive interface.
5. The method according to claim 1, wherein the handover request is a first handover request, the method further comprising: In the interactive interface, presenting a second group of elements corresponding to a second preset operation, wherein the second group of elements corresponds to the second group of virtual actions preconfigured to be associated with the second preset operation, wherein a third element in the second group of elements presents the first style; In response to receiving a second switching request associated with the first preset operation, switching a fourth element in the second group of elements from the second pattern to the first pattern, wherein the fourth element is determined from the second group of elements based on the second switching request; as well as In response to receiving the second preset operation in the interactive interface, the virtual object is triggered to perform a third virtual action corresponding to the fourth element in the virtual scene. The method according to claim 5 , wherein the first switching request and the second switching request are triggered in response to the same first interactive operation.
7. The method according to claim 6, further comprising: In response to the first interaction operation ending, the first element and the third element are switched to the first style, and the second element and the fourth element are switched to the second style.
8. The method according to claim 1, wherein the switching request is triggered by a second interactive operation, and in response to receiving the first preset operation in the interactive interface, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene further comprises: During the second interactive operation, detecting the first preset operation; as well as In response to detecting the first preset operation, the virtual object is triggered to perform the first virtual action corresponding to the second element in the virtual scene. 9 . The method of claim 1 , wherein the first set of virtual actions is determined from a preset set of virtual actions via a configuration interface associated with the virtual object.
10. The method according to claim 9, wherein the interactive interface is associated with an interactive event in the virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and During the interaction event, the configuration interface associated with the virtual object is disabled.
11. A device for interaction in a virtual scene, comprising: an element presentation module, configured to present a first group of elements corresponding to a first preset operation in an interactive interface associated with a virtual object, the first group of elements corresponding to a first group of virtual actions preconfigured to be associated with the first preset operation, wherein a first element in the first group of elements presents a first style; a first style switching module configured to switch a second element in the first group of elements from a second style to the first style in response to receiving a switching request associated with the first preset operation, wherein the second element is determined from the first group of elements based on the switching request; as well as The first action triggering module is configured to trigger the virtual object to perform a first virtual action corresponding to the second element in the virtual scene in response to receiving the first preset operation in the interactive interface.
12. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 10 when executed by the at least one processing unit.
13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 10 when executed by a processor.
14. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Control response method and device for game
CN110639203A
State icon display method and device, terminal and storage medium
CN111921191A
Control method and device in game, electronic equipment and storage medium
CN115025494A
Game skill control method and device, electronic equipment and computer program product
CN118846518A
Information sending method, information sending apparatus, computer readable storage medium, and device
US20240307790A1