Interaction method and device in virtual scene, equipment and storage medium
By presenting an interactive interface in a virtual scene, users can select an element list and trigger virtual actions, solving the problem of inefficient interaction in the virtual scene and achieving richer virtual action interactions.
Patent Information
- Application Number
- CN202411630203.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-14
AI Technical Summary
The prior art is difficult to achieve rich virtual action interactions in virtual scenes, resulting in low interaction efficiency.
By presenting an interactive interface associated with the virtual object in the virtual scene, the user can select a list of elements associated with the preset operation and trigger the virtual object to perform the corresponding virtual action.
Use limited interaction types to support richer virtual actions to improve interaction efficiency in virtual scenes.
Smart Images

Figure CN119597173A_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, devices, apparatuses, and computer-readable storage media in a virtual scene. Background Art
[0002] With the development of computer technology, various forms of electronic devices can greatly enrich people's daily life. For example, people can use electronic devices to perform various interactions in virtual scenes. Such virtual scenes may include game scenes, virtual simulation scenes, virtual reality scenes, etc. Summary of the invention
[0003] In the first aspect of the present disclosure, a method for interaction in a virtual scene is provided. The method includes: presenting an interactive interface associated with a virtual object, the interactive interface presenting a first element corresponding to a first preset operation in a first area, the first element indicating a first virtual action triggered by the first preset operation; in response to receiving a first operation associated with the first element, presenting a first element list corresponding to the first preset operation in the interactive interface, the first element list presenting multiple elements including the first element, the multiple elements indicating multiple virtual actions associated with the first preset operation; based on the selection of a second element among the multiple elements, switching the first area to present the second element and stopping presenting the first element list; and in response to receiving the first preset operation, triggering the virtual object to perform a second virtual action corresponding to the second element in the virtual scene.
[0004] In a second aspect of the present disclosure, an interactive device for a virtual scene is provided. The device includes: a first presentation module, configured to present an interactive interface associated with a virtual object, the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation; a second presentation module, configured to present a first element list corresponding to the first preset operation in the interactive interface in response to receiving a first operation associated with the first element, the first element list presents multiple elements including the first element, and the multiple elements indicate multiple virtual actions associated with the first preset operation; a first switching module, configured to switch the first area to present the second element and stop presenting the first element list based on the selection of the second element among the multiple elements; and a first triggering module, configured to trigger the virtual object to perform a second virtual action corresponding to the second element in the virtual scene in response to receiving the first preset operation.
[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] 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
[0008] 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:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] FIG. 2A to FIG. 2D A schematic diagram showing an example interface according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart showing an interaction process in a virtual scene according to some embodiments of the present disclosure is shown;
[0012] Figure 4 A schematic structural block diagram of an interactive device used in a virtual scene according to some embodiments of the present disclosure is shown;
[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] 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.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 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.
[0019] The embodiment of the present disclosure proposes an interactive scheme in a virtual scene. According to the scheme, an interactive interface associated with a virtual object is presented, the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation; in response to receiving a first operation associated with the first element, a first element list corresponding to the first preset operation is presented in the interactive interface, the first element list presents multiple elements including the first element, and the multiple elements indicate multiple virtual actions associated with the first preset operation; based on the selection of a second element among the multiple elements, the first area is switched to present the second element and the presentation of the first element list is stopped; and in response to receiving the first preset operation, the virtual object is triggered to perform a second virtual action corresponding to the second element in the virtual scene.
[0020] Based on this approach, the embodiments of the present disclosure can utilize limited interaction types to support richer virtual actions in a virtual scene, thereby improving the interaction efficiency in the virtual scene.
[0021] Example Environment
[0022] 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 .
[0023] In the example environment 100, the electronic device 110 may run an application 130 that supports a virtual scene. The application 130 may be any appropriate type of application for presenting a virtual scene, examples of which may include but are not limited to: simulation applications, simulation applications, game applications, virtual reality applications, augmented reality applications, etc., and the embodiments of the present disclosure are not limited in this respect.
[0024] In the case where the application 130 is a game application, it includes but is not limited to first person shooter games (FPS), multiplayer online battle arena (MOBA) games, simulation strategy games (SLG), simulation business games, etc. The user 140 can interact with the application 130 via the electronic device 110 and / or its attached devices.
[0025] exist Figure 1 In the environment 100 , if the application 130 is in an active state, the electronic device 110 can present an interface 150 associated with the virtual environment through the application 130 .
[0026] In some embodiments, the electronic device 110 communicates with the server 120 to provide services for the application 130. The electronic device 110 may 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 handheld computer, a portable game terminal, a VR / AR device, 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 receiver, an e-book device, a game 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 target user (such as a "wearable" circuit, etc.).
[0027] The server 120 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 120 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 120 may provide background services for the application 130 that supports virtual scenes in the electronic device 110.
[0028] A communication connection may be established between the electronic device 110 and the server 120. 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 (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In an embodiment of the present disclosure, two devices in a data transmission relationship may implement signaling interaction through a communication connection between the two devices.
[0029] 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.
[0030] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0031] Example Interaction
[0032] The following will refer to Figure 2A-2D To describe an example interaction process according to an embodiment of the present disclosure. FIG. 2A to FIG. 2D Example interfaces 200A to 200D according to some embodiments of the present disclosure are shown. Interfaces 200A to 200D may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.
[0033] In some embodiments, the electronic device 110 may present Figure 2A The interface 200A shown in the figure may be, for example, an interactive interface of a virtual scene. A virtual scene is a virtual environment that simulates the real world or an imaginary space. For example, a virtual scene may include, but is not limited to, various types of game scenes, interactive scenes, simulation scenes, or emulation scenes. A virtual scene may be a two-dimensional virtual scene, or a three-dimensional virtual scene, etc., which will not be described in detail here.
[0034] In some embodiments, the interactive interface may be an interface presented based on any appropriate trigger operation, which may be an operation related to the start of interaction input by the user, or any other appropriate operation. For example, if the virtual scene is a game scene, the electronic device 110 may present the interactive interface of the virtual scene in response to receiving an operation input by the user to determine the start of interaction (for example, the user may click a selection control of "start interaction" in the interactive interface).
[0035] In some embodiments, the interactive interface may present a virtual object 201 (eg, a virtual character controlled by a user). The virtual object may be a virtual character selected by the user or a virtual character assigned by default by the electronic device 110, which will not be described in detail herein.
[0036] In some embodiments, the electronic device 110 may also present multiple areas in the interface 200A, and the multiple areas may be used to present any appropriate multiple elements. Figure 2A As an example, the electronic device 110 may present the element 221 in the area 210 of the interface 200A, and present the element 222 in the area 211 of the interface 200A, and so on.
[0037] In some embodiments, the multiple elements may be associated with one or more preset operations, and the multiple elements may indicate multiple virtual actions triggered by the preset operations to improve the intuitiveness of the virtual actions.
[0038] In some embodiments, the preset operation can be any appropriate operation for triggering a virtual action. It should be noted that the preset operation of the virtual action corresponding to the trigger element 221 (an example of a first preset operation) and the preset operation of the virtual action corresponding to the trigger element 222 (an example of a second preset operation) can be the same or different.
[0039] In some embodiments, the preset operation may be an operation inputted in a predetermined interactive manner based on the first operating component. The first operating component may be any appropriate component, such as a mouse, a keyboard, a VR controller, a physical component of a handle, etc. For example, taking the operating component as the left button of a mouse as an example, the preset operation of the virtual action corresponding to the trigger element 221 may be clicking the element 221 with the left button of the mouse, and the preset operation of the virtual action corresponding to the trigger element 222 may be clicking the element 222 with the left button of the mouse.
[0040] In some embodiments, the virtual action may be any appropriate action that can control a virtual object. For example, taking a game scene as an example, the corresponding virtual action may be a character moving action, an opponent attacking action, an item picking up action, etc. In some embodiments, different elements may correspond to different virtual actions. Figure 2A As an example, the electronic device 110 may trigger the virtual object 201 to shoot an arrow in the virtual scene in response to receiving the operation of the mouse left-click element 221. The electronic device 110 may also trigger the virtual object 201 to move its position in the virtual scene in response to receiving the operation of the mouse left-click element 222.
[0041] 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 the virtual action of a virtual object before entering a multiplayer game. Further, 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.
[0042] As some examples, the electronic device 110 may disable the configuration interface associated with the virtual object in ways that include, but are not limited to, prohibiting presentation of the configuration interface to the user, or presenting the configuration interface but prohibiting the user from interacting with the configuration interface, and the like.
[0043] In some embodiments, the multiple virtual actions corresponding to the multiple elements can be determined from a preset virtual action set via a configuration interface associated with the virtual object. The preset virtual action set may include multiple groups of virtual actions. The electronic device 110 can determine the virtual actions included in the target group of virtual actions as the multiple virtual actions corresponding to the multiple elements in response to the selection of the target group of virtual actions in the multiple groups of virtual actions. When the electronic device 110 presents an interactive interface, at least multiple elements of the multiple virtual actions can be displayed in the interactive interface.
[0044] by Figure 2AAs an example, the electronic device 110 may obtain the first operation associated with the element 221 based on the third operation of the first manipulation component. Further, the electronic device 110 may present the following in response to receiving the first operation associated with the element 221: Figure 2B The third operation may be any appropriate operation, which may be an operation triggered by the first manipulation component. As an example, the electronic device 110 may obtain the first operation associated with the element 221 based on a long press operation of the left mouse button. Of course, the first operation may also be obtained based on other operations of other controls other than the first manipulation control, which will not be described in detail here.
[0045] In some embodiments, although the first preset operation and the first operation are both triggered based on the first operating component, they correspond to different interaction modes. As an example, the first preset operation can be associated with a first interaction mode corresponding to the first operating component, the first operation is associated with a second interaction mode corresponding to the first operating component, and the first interaction mode is different from the second interaction mode. The second interaction mode is the interaction mode corresponding to the third operation.
[0046] Furthermore, the first interaction mode may indicate that the pressing time of the first operating component is less than a first threshold, and the second interaction mode may indicate that the pressing time of the first operating component is greater than a second threshold. The first threshold is less than or equal to the second threshold. For example, the first preset operation may be a click operation of the left mouse button, and the first operation may be a long press operation of the left mouse button.
[0047] by Figure 2B As an example, in response to receiving the first operation associated with element 221, electronic device 110 may present element list 230 corresponding to the first preset operation in interface 200B, that is, element list 230 may include element 221, element 230-1, element 230-2, and element 230-3. In some embodiments, element 230-1, element 230-2, and element 230-3 may indicate multiple virtual actions. Figure 2B As an example, element 230-1, element 230-2, and element 230-3 may indicate the action of shooting with different types of arrows.
[0048] In some embodiments, the multiple virtual actions and the virtual actions corresponding to element 221 are all triggered based on the first preset operation. For example, element 221, element 230-1, element 230-2, and element 230-3 are all triggered based on a left click of a mouse.
[0049] To improve the flexibility of interaction, in some embodiments, after receiving the first operation associated with the element 221, the electronic device 110 may present the element list 230 in the interface 200B in response to the object information of the virtual object satisfying the preset condition. If the electronic device 110 responds to the object information of the virtual object satisfying the preset condition, the corresponding element list is not presented in the interface 200B.
[0050] In some embodiments, the object information may include, but is not limited to, information corresponding to a virtual character (the occupation of a virtual object in a virtual scene), interactive state information, and configuration information, etc. The interactive state information may include, but is not limited to, combat state and non-combat state, etc. The configuration information may be which elements in the interactive interface pre-configured by the electronic device 110 can support the presentation of an element list including the element when a first operation associated with the element is received.
[0051] As an example, the electronic device 110 may present an element list 230 in the interface 200B in response to the occupation corresponding to the virtual object being a predetermined occupation.
[0052] As another example, the electronic device 110 may set element 221 to support presentation of a list of elements including element 221 when a first operation associated with element 221 is received. Then, the electronic device 110 may present the list of elements 230 in the interface 200B in response to receiving the first operation associated with element 221.
[0053] by Figure 2B As an example, the element list 230 can also present state information associated with multiple virtual actions. In some embodiments, the state information can indicate whether the corresponding virtual action currently supports being triggered and / or whether the corresponding element currently supports being selected. As an example, the state information may include the trigger state of the virtual action, and the trigger state includes being triggered and non-triggered. Further, if the virtual action is triggered, the state information may also include the cooling time corresponding to the virtual action, etc., to characterize how long this virtual action needs to wait before it can be triggered again. In some embodiments, the electronic device 110 can display in a predetermined form in the element list 230 that the element currently does not support being selected, such as being able to display in a grayed-out form that the element currently does not support being selected.
[0054] by Figure 2BAs shown, the electronic device 110 can adjust the selection state of the elements in the element list 230 in response to obtaining the fourth operation on the second operating component during the third operation (such as during the long press operation of the left mouse button). The second operating component and the first operating component may be the same or different. The second operating component can be any appropriate component, such as a mouse, a keyboard, a VR controller, a physical component of a handle, and the like. The selection state may include a selected state and an unselected state. Taking the second operating component as a mouse as an example, the fourth operation may be an operation of sliding the mouse wheel. Taking the second operating component as a keyboard as an example, the fourth operation may be an operation using a click shortcut key, where different shortcut keys correspond to different elements in the element list 230.
[0055] by Figure 2B As an example, the user can slide the mouse wheel to position the positioning cursor at the location of element 230-3 in element list 230, and the electronic device 110 can determine that the current element 230-3 is in a selected state, while other elements are in an unselected state. The user can also click the shortcut key 4 on the keyboard to position the positioning cursor at the location of element 230-3 in element list 230, and the electronic device 110 can determine that the current element 230-3 is in a selected state, while other elements are in an unselected state.
[0056] It should be noted that the relative positions of the elements in the element list 230 may change in real time based on the fourth operation on the second operating component. Alternatively, the relative positions of the elements in the element list 230 may not change with the fourth operation on the second operating component.
[0057] by Figure 2B As an example, the relative positions of the elements in the element list 230 in the element list 230 do not change with the fourth operation on the second operating component. That is, no matter what operation the electronic device 110 receives, the relative positions of the elements in the element list in the element list can be maintained. Figure 2B The electronic device 110 can change the relative position of the positioning cursor in the element list 230 based on the fourth operation on the second operating component, and the selection state of each element changes based on the position of the positioning cursor. Further, the selection state corresponding to the element positioned by the positioning cursor is the selected state, and the selection state corresponding to other elements not positioned is the unselected state.
[0058] by Figure 2CAs an example, the relative position of each element in the element list 230 in the element list 230 can be changed in real time based on the fourth operation on the second operating component, and the position of the positioning cursor remains unchanged. Specifically, the positioning cursor can be fixed at a predetermined position in the element list 230, and the predetermined position can be any appropriate position, such as the position of the top element in the element list, etc. The electronic device 110 can adjust the position of each element in the element list 230 based on the fourth operation on the second operating component, thereby changing the element located by the positioning cursor.
[0059] In some embodiments, the electronic device 110 can determine the second element selected in the element list 230 in response to the end of the third operation (such as releasing the left mouse button). For example, when the cursor is positioned at the position of element 230-3, the electronic device 110 can determine the completion of the selection of element 230-3 in response to the release of the left mouse button.
[0060] by Figure 2D As an example, the electronic device 110 may switch the area 210 to present the element 230 - 3 and stop presenting the element list 230 based on the selection of the element 230 - 3 .
[0061] Based on this approach, the embodiments of the present disclosure can utilize limited interaction types to support richer virtual actions in a virtual scene, thereby improving the interaction efficiency in the virtual scene.
[0062] Example Process
[0063] Figure 3 FIG. 3 is a flowchart showing a process 300 of interaction in a virtual scene according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 Process 300 is described.
[0064] In box 310, the electronic device 110 presents an interactive interface associated with the virtual object, and the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation.
[0065] In box 320, in response to receiving a first operation associated with a first element, the electronic device 110 presents a first element list corresponding to the first preset operation in the interactive interface, and the first element list presents multiple elements including the first element, and the multiple elements indicate multiple virtual actions associated with the first preset operation.
[0066] In block 330 , the electronic device 110 switches the first area to present the second element and stops presenting the first element list based on the selection of the second element among the plurality of elements.
[0067] In box 340, in response to receiving the first preset operation, the electronic device 110 triggers the virtual object to perform a second virtual action corresponding to the second element in the virtual scene.
[0068] In some embodiments, the first element list further presents status information associated with the plurality of virtual actions, the status information at least indicating whether the corresponding virtual actions currently support being triggered and / or whether the corresponding elements currently support being selected.
[0069] In some embodiments, the interactive interface presents a third element corresponding to the second preset operation in the second area, and process 300 also includes: in response to receiving a second operation on the third element, presenting a second element list corresponding to the second preset operation in the interactive interface, the second element list presenting a group of elements including the third element, the group of elements indicating multiple virtual actions associated with the second preset operation; based on selection of a fourth element in the group of elements, switching the second area to present the fourth element and stopping presenting the second element list; and in response to receiving the second preset operation, triggering the virtual object to perform a third virtual action corresponding to the fourth element in the virtual scene.
[0070] In some embodiments, presenting a first element list corresponding to a first preset operation in an interactive interface includes: in response to object information of a virtual object satisfying a preset condition, presenting a first element list corresponding to the first preset operation in an interactive interface.
[0071] In some embodiments, the first preset operation is associated with a first interaction mode corresponding to the first operating component, the first operation is associated with a second interaction mode corresponding to the first operating component, and the first interaction mode is different from the second interaction mode.
[0072] In some embodiments, the process 300 further includes: acquiring a first operation associated with the first element based on a third operation on the first manipulation component, the third operation corresponding to the second interaction mode.
[0073] In some embodiments, the process 300 further includes: during the third operation, in response to acquiring a fourth operation on the second manipulation component, adjusting the selection state of the element in the first element list; and in response to the third operation ending, determining the second element selected in the first element list.
[0074] In some embodiments, the first interaction mode indicates that the pressing time of the first operating component is less than a first threshold, and the second interaction mode indicates that the pressing time of the first operating component is greater than a second threshold.
[0075] In some embodiments, the plurality of virtual actions are determined from a set of preset virtual actions via a configuration interface associated with the virtual object.
[0076] 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.
[0077] Example devices and equipment
[0078] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an interactive device 400 for a virtual scene according to some embodiments of the present disclosure is shown. The device 400 may be implemented as or included in the electronic device 110 discussed above. Each module / component in the device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0079] like Figure 4 As shown, the device 400 includes a first presentation module 410, which is configured to present an interactive interface associated with a virtual object, wherein the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation; a second presentation module 420, which is configured to present a first element list corresponding to the first preset operation in the interactive interface in response to receiving a first operation associated with the first element, wherein the first element list presents multiple elements including the first element, and the multiple elements indicate multiple virtual actions associated with the first preset operation; a switching module 430, which is configured to switch the first area to presenting the second element and stop presenting the first element list based on a selection of a second element among the multiple elements; and a trigger module 440, which is configured to trigger the virtual object to perform a second virtual action corresponding to the second element in the virtual scene in response to receiving the first preset operation.
[0080] In some embodiments, the first element list further presents status information associated with the plurality of virtual actions, the status information at least indicating whether the corresponding virtual actions currently support being triggered and / or whether the corresponding elements currently support being selected.
[0081] In some embodiments, the interactive interface presents a third element corresponding to the second preset operation in the second area, and the device 300 also includes a third presentation module, which is configured to: in response to receiving a second operation on the third element, present a second element list corresponding to the second preset operation in the interactive interface, the second element list presents a group of elements including the third element, and the group of elements indicates multiple virtual actions associated with the second preset operation; a second switching module, which is configured to: based on a selection of a fourth element in the group of elements, switch the second area to present the fourth element and stop presenting the second element list; and a second trigger module, which is configured to: in response to receiving the second preset operation, trigger the virtual object to perform a third virtual action corresponding to the fourth element in the virtual scene.
[0082] In some embodiments, presenting a first element list corresponding to a first preset operation in an interactive interface includes: in response to object information of a virtual object satisfying a preset condition, presenting a first element list corresponding to the first preset operation in an interactive interface.
[0083] In some embodiments, the first preset operation is associated with a first interaction mode corresponding to the first operating component, the first operation is associated with a second interaction mode corresponding to the first operating component, and the first interaction mode is different from the second interaction mode.
[0084] In some embodiments, the apparatus 400 further includes an acquisition module configured to acquire a first operation associated with the first element based on a third operation on the first operating component, wherein the third operation corresponds to the second interaction mode.
[0085] In some embodiments, the device 400 also includes an adjustment module, which is configured to: during the third operation, in response to obtaining a fourth operation on the second operating component, adjust the selection state of the element in the first element list; and a determination module, which is configured to: in response to the end of the third operation, determine the second element selected in the first element list.
[0086] In some embodiments, the first interaction mode indicates that the pressing time of the first operating component is less than a first threshold, and the second interaction mode indicates that the pressing time of the first operating component is greater than a second threshold.
[0087] In some embodiments, the plurality of virtual actions are determined from a set of preset virtual actions via a configuration interface associated with the virtual object.
[0088] 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.
[0089] The units included in the device 400 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 400 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.
[0090] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to implement Figure 1 A receiving device 120 is shown.
[0091] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0092] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., a register, a cache, a 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 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 500.
[0093] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 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. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0094] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 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.
[0095] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 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 500, or communicate with any device that allows the electronic device 500 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).
[0096] 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.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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: Presenting an interactive interface associated with the virtual object, wherein the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation; In response to receiving a first operation associated with the first element, presenting a first element list corresponding to the first preset operation in the interactive interface, wherein the first element list presents a plurality of elements including the first element, and the plurality of elements indicate a plurality of virtual actions associated with the first preset operation; Based on the selection of a second element among the plurality of elements, switching the first area to present the second element and stopping presenting the first element list; as well as In response to receiving the first preset operation, the virtual object is triggered to perform a second virtual action corresponding to the second element in the virtual scene.
2. The method according to claim 1, wherein the first element list also presents status information associated with the multiple virtual actions, the status information at least indicating whether the corresponding virtual actions currently support being triggered and / or whether the corresponding elements currently support being selected.
3. The method according to claim 1, wherein the interactive interface presents a third element corresponding to the second preset operation in the second area, and the method further comprises: In response to receiving a second operation on the third element, presenting a second element list corresponding to the second preset operation in the interactive interface, wherein the second element list presents a group of elements including the third element, and the group of elements indicates a plurality of virtual actions associated with the second preset operation; Based on the selection of a fourth element in the group of elements, switching the second area to present the fourth element and stopping presenting the second element list; as well as In response to receiving the second preset operation, the virtual object is triggered to perform a third virtual action corresponding to the fourth element in the virtual scene.
4. The method according to claim 1, wherein presenting a first element list corresponding to the first preset operation in the interactive interface comprises: In response to the object information of the virtual object satisfying a preset condition, presenting the first element list corresponding to the first preset operation in the interactive interface. 5 . The method according to claim 1 , wherein the first preset operation is associated with a first interaction mode corresponding to a first operating component, the first operation is associated with a second interaction mode corresponding to the first operating component, and the first interaction mode is different from the second interaction mode.
6. The method according to claim 5, further comprising: The first operation associated with the first element is acquired based on a third operation on the first operating component, wherein the third operation corresponds to the second interaction mode.
7. The method according to claim 6, further comprising: During the third operation, in response to acquiring a fourth operation on the second operating component, adjusting a selection state of an element in the first element list; as well as In response to the third operation being ended, determining the second element selected in the first element list. 8 . The method according to claim 5 , wherein the first interaction mode indicates that the first operating component is pressed for a duration less than a first threshold, and the second interaction mode indicates that the first operating component is pressed for a duration greater than a second threshold. 9 . The method of claim 1 , wherein the plurality of virtual actions are 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. An interactive device for a virtual scene, comprising: A first presentation module is configured to present an interactive interface associated with the virtual object, wherein the interactive interface presents a first element corresponding to a first preset operation in a first area, and the first element indicates a first virtual action triggered by the first preset operation; a second presentation module, configured to present, in response to receiving a first operation associated with the first element, a first element list corresponding to the first preset operation in the interactive interface, wherein the first element list presents a plurality of elements including the first element, and the plurality of elements indicate a plurality of virtual actions associated with the first preset operation; A first switching module is configured to switch the first area to present the second element and stop presenting the first element list based on the selection of the second element among the multiple elements; as well as The first trigger module is configured to trigger the virtual object to perform a second virtual action corresponding to the second element in the virtual scene in response to receiving the first preset operation.
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.
Citation Information
Patent Citations
Virtual character control method, device and equipment and medium
CN111589131A
Skill release method and device for virtual object, terminal and storage medium
CN112402949A
Virtual object interaction method and related device
CN112774194A
Game skill processing method and device, computer equipment and storage medium
CN116099199A
Virtual character control method and device, electronic equipment and storage medium
CN118767429A
Cited By
Interaction method and device, equipment and storage medium
CN120428887A