Function item-based interaction method and device, electronic equipment, storage medium and program product
By directly displaying multiple functional items and their subfunction items in the virtual scene, the problem of displaying multi-level functional items in the prior art is solved, which improves display and interaction efficiency and optimizes hardware resource utilization.
Patent Information
- Application Number
- CN202411271738.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-24
AI Technical Summary
Displaying multi-level function items in existing games requires multiple clicks, resulting in low display efficiency and human-computer interaction efficiency.
By responding to the function item display instructions in the virtual scene, multiple function items and their corresponding subfunction items at least one level are directly displayed, and the selected and unselected states are distinguished by different styles and sizes. Supports display of expanded and closed status.
The display efficiency and human-computer interaction efficiency of multi-level functional items in virtual scenes are improved, the hardware resource utilization rate of electronic devices is optimized, and the interaction process of functional items is simplified.
Smart Images

Figure CN119179415A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an interaction method, device, electronic device, computer-readable storage medium, and computer program product based on function items. Background Art
[0002] When displaying multi-level function items in related games, most of the time, multiple function items are displayed first, and then the user clicks on one of the multiple function items, so that the next function item belonging to the function item will be displayed; that is, if the user wants to display multi-level function items, multiple click operations are required, which results in low display efficiency of multi-level function items and low human-computer interaction efficiency. Summary of the invention
[0003] The embodiments of the present application provide a function-item-based interaction method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the display efficiency of multi-level function items in a virtual scene and the human-computer interaction efficiency.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides an interaction method based on function items, including:
[0006] In response to a display instruction for a function item in a virtual scene, a plurality of function items are displayed, wherein a target function item among the plurality of function items is in a selected state;
[0007] In the associated area of the target function item, displaying at least one level of sub-function items of the function corresponding to the target function item;
[0008] In response to a triggering operation on a target sub-function item among the sub-function items of the at least one level, the first object is controlled to execute an interactive operation corresponding to the target sub-function item.
[0009] The embodiment of the present application provides an interactive device based on function items, including:
[0010] A first display module, configured to display a plurality of function items in response to a display instruction for a function item in a virtual scene, wherein a target function item among the plurality of function items is in a selected state;
[0011] A second display module, configured to display, in an associated area of the target function item, at least one level of sub-function items of a function corresponding to the target function item;
[0012] The interactive module is used to control the first object to perform an interactive operation corresponding to the target sub-function item in the sub-function items of the at least one level in response to a trigger operation on the target sub-function item.
[0013] In the above scheme, the device also includes a first switching module, which is used to switch the target sub-function item in a selected state to other sub-function items in response to a switching operation on the target sub-function item of the target level; and to execute the operation indicated by the other sub-function items in the virtual scene in response to a determination operation on the other sub-function items in the selected state.
[0014] In the above scheme, the first display module is also used to display multiple virtual roulettes in response to display instructions for function items in the virtual scene, and there is a one-to-one correspondence between the virtual roulettes and the function items; the second display module is also used to display at least one level of sub-function items of the function corresponding to the target function item in the target virtual roulette corresponding to the target function item.
[0015] In the above scheme, the first display module is also used to display a first function list in response to a display instruction for a function item in a virtual scene, and to display the multiple function items in the first function list; the second display module is also used to display a second function list in the associated area of the target function item, and to display at least one level of sub-function items of the function corresponding to the target function item in the second function list.
[0016] In the above scheme, the first display module is also used to respond to the display instruction for the function item in the virtual scene, display the target function item in a first style, and display other function items in a second style; wherein the first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state.
[0017] In the above scheme, the first style corresponds to a first display size, and the second style corresponds to a second display size; the first display module is also used to display the target function item using the first display size; and to display the other function items using the second display size; wherein the first display size is larger than the second display size.
[0018] In the above scheme, the first display module is also used to respond to the display instruction for the function item in the virtual scene, and display the target function item in the expanded state and other function items in the collapsed state; wherein, when the function item is in the expanded state, the function item and the sub-function item corresponding to the function item are both in a visible state, and the function item and the sub-function item corresponding to the function item are displayed in combination in the interface of the virtual scene; when the function item is in the collapsed state, the function item is in a visible state, the sub-function item corresponding to the function item is in an invisible state, and the function item is independently displayed in the interface of the virtual scene.
[0019] In the above scheme, the first display module is also used to respond to the display instruction for the function item in the virtual scene, and use the third style to display the target function item in the expanded state, and use the fourth style to display other function items in the expanded state; wherein, the third style is different from the fourth style, and when the function item is in the expanded state, the function item and the sub-function item corresponding to the function item are both in a visible state, and the function item and the sub-function item corresponding to the function item are combined and displayed in the interface of the virtual scene.
[0020] In the above scheme, the device also includes a second switching module, which is used to switch the function item in a selected state from the target function item to other function items in response to a switching operation on the target function item; the second display module is also used to display at least one level of sub-function items of the function corresponding to the other function items in the associated area of the other function items in the selected state.
[0021] In the above scheme, the second switching module is also used to respond to the switching operation for the target function item and display the process of the multiple function items moving in sequence along the target direction; during the movement of the multiple function items, the function items in the selected state are switched from the target function item to the next function item in the target direction in sequence; when the multiple function items end the movement process, the function items in the selected state are used as the other function items.
[0022] In the above scheme, the function item in the selected state is displayed in the fifth style, and the function item in the unselected state is displayed in the sixth style, and the fifth style is different from the sixth style; the second switching module is also used to respond to the switching operation on the target function item, switch the display style of the target function item from the fifth style to the sixth style, and switch the display style of the other function items from the sixth style to the fifth style.
[0023] In the above scheme, the device also includes a third display module, which is used to display a cursor; the second switching module is also used to display the cursor movement process in response to the cursor movement operation; when the cursor moves to the sensing area of the other function item, in response to the switching condition being met, the function item in the selected state is switched from the target function item to the other function item.
[0024] In the above scheme, the device also includes a first determination module, which is used to display the length of time the cursor is in the sensing area if the cursor moves to the sensing area of the other function item; when the duration reaches the target duration, it is determined that the switching condition is met.
[0025] In the above solution, the device further includes a second determining module, which is used to determine whether the switching condition is satisfied in response to a triggering operation performed in the sensing area when the cursor moves to the sensing area of the other function item.
[0026] In the above scheme, the device also includes a fourth display module, which is used to display operation prompt information in response to a display instruction for a function item in a virtual scene, and the operation prompt information is used to prompt a method for performing different operations on the function item; in response to a switching operation on the target function item, the function item in a selected state is switched from the target function item to other function items; wherein the switching operation is triggered in a manner indicated by the operation prompt information; the second display module is also used to display at least one level of sub-function items of the function corresponding to the other function item in an associated area of the other function item in a selected state.
[0027] In the above scheme, at least one of the sub-function items includes a target sub-function item corresponding to the target interactive function; the device also includes a first execution module, which is used to respond to the trigger operation of the target sub-function item in the sub-function items of at least one level, and execute the interactive operation corresponding to the target interactive function in the virtual scene.
[0028] In the above scheme, the target sub-function item at the target level among the sub-function items of at least one level is in a selected state; the device also includes a second execution module, which is used to execute the interactive operation corresponding to the interactive function indicated by the target sub-function item in the virtual scene in response to the target sub-function item in the selected state satisfying the trigger condition.
[0029] An embodiment of the present application provides an electronic device, including:
[0030] A memory for storing executable instructions;
[0031] The processor is used to implement the function item-based interaction method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0032] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the function item-based interaction method provided in the embodiment of the present application.
[0033] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of an electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device executes the interaction method based on the function item provided in the embodiment of the present application.
[0034] The embodiments of the present application have the following beneficial effects:
[0035] In response to a display instruction for a function item in a virtual scene, multiple function items including a target function item in a selected state are displayed, and in the associated area of the target function item, at least one level of sub-function items of the function corresponding to the target function item are displayed. In this way, compared with the solution in the related art that requires multiple click operations to display multi-level function items, when receiving a display instruction for a function item in a virtual scene, the present application directly displays multiple function items and at least one level of sub-function items corresponding to the target function item, that is, directly displays the multi-level function items. In this way, the multi-level function items can be displayed with only one display instruction, which not only improves the display efficiency of the multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a schematic diagram of the architecture of an interactive system 100 based on function items provided in an embodiment of the present application;
[0037] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0038] Figure 3 It is a flowchart of the interactive method based on function items provided in an embodiment of the present application;
[0039] Figure 4 is a schematic diagram of a virtual roulette provided in an embodiment of the present application;
[0040] Figure 5 is a schematic diagram of a function list provided in an embodiment of the present application;
[0041] Figure 6 is a schematic diagram of multiple function items displayed in different display sizes provided in an embodiment of the present application;
[0042] Figure 7 is a schematic diagram of a functional item provided in an embodiment of the present application in an expanded state or a collapsed state;
[0043] Figure 8 is a schematic diagram of displaying function items in an expanded state in different styles provided in an embodiment of the present application;
[0044] Fig. 9 is a schematic diagram of two levels of sub-function items of a function corresponding to a display target function item provided in an embodiment of the present application;
[0045] Fig.10 is a schematic diagram of an interactive operation corresponding to executing a target interactive function in a virtual scene provided by an embodiment of the present application;
[0046] Fig.11 is a schematic diagram of the process of switching sub-function items provided in an embodiment of the present application;
[0047] Fig.12 This is a schematic diagram of the process of operating prompt information provided by an embodiment of the present application;
[0048] Fig.13 is a schematic diagram of a flow chart of switching a function item in a selected state provided in an embodiment of the present application;
[0049] Fig.14 is a schematic diagram of switching a function item in a selected state provided in an embodiment of the present application;
[0050] Fig.15 is a schematic diagram of switching a function item in a selected state provided in an embodiment of the present application;
[0051] Fig.16 is a schematic diagram showing at least one level of sub-function items corresponding to other function items provided in an embodiment of the present application;
[0052] Fig.17 It is a display schematic diagram of multiple function items provided in the embodiment of the present application;
[0053] Fig.18 It is a flowchart of the interactive method based on function items provided in an embodiment of the present application;
[0054] Fig.19 It is a flowchart of the interactive method based on function items provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0056] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0057] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0059] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0060] 1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0061] 2) Virtual scene is a virtual scene displayed (or provided) when the application is running on the terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene.
[0062] For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user may control the virtual object to perform activities in the virtual scene, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene may be displayed from a first-person perspective (for example, the user plays the role of a virtual object in the game from his own perspective); it may also be displayed from a third-person perspective (for example, the user chases the virtual object in the game to play the game); it may also be displayed from a bird's-eye view perspective, and the above perspectives may be switched arbitrarily.
[0063] 3) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, stones, etc. displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
[0064] For example, the virtual object may be a user character controlled by an operation on the client, an artificial intelligence (AI) set in a virtual scene through training, or a non-player character (NPC) set in a virtual scene interaction. The number of virtual objects participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients joining the interaction.
[0065] 4) Third-person perspective: the in-game camera is positioned a certain distance behind the player character, and the character and all combat elements in the surrounding environment can be seen in the screen.
[0066] 5) Client, also known as the user end, refers to the program corresponding to the server that provides local services to users. Except for some applications that can only run locally, it is generally installed on an ordinary client and needs to cooperate with the server to run. That is, there must be corresponding servers and service programs in the network to provide corresponding services. In this way, specific communication connections need to be established between the client and server to ensure the normal operation of the application, such as the game client.
[0067] 6) Roulette is an interface design that provides quick access and selection functions, usually used in games, software or operating systems so that users can perform specific operations or commands more quickly; it allows users to quickly access a series of predefined functions or options through simple operations (such as sliding, clicking or using shortcut keys), thereby improving efficiency and convenience.
[0068] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the interactive system 100 based on functional items provided in an embodiment of the present application. A functional item-based interactive client 401 (i.e., a game APP, a browser APP, etc.) is provided on the terminal (the terminal 400 is shown as an example), and the terminal 400 is connected to the server 200 via a network 300, wherein the network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0069] The server 200 is used to send display data of the virtual scene to the terminal 400;
[0070] Terminal 400 is also used to receive display data of a virtual scene, and display the virtual scene based on the display data of the virtual scene; in response to a display instruction for a function item in the virtual scene, display multiple function items, with a target function item in a selected state; in an associated area of the target function item, display at least one level of sub-function items of the function corresponding to the target function item; in response to a trigger operation on a target sub-function item in at least one level of sub-function items, control the first object to perform an interactive operation corresponding to the target sub-function item.
[0071] In some embodiments, the server 200 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, an intelligent voice interaction device, a smart home appliance, a vehicle terminal, an aircraft, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device, an intelligent speaker, and a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0072] Next, an electronic device implementing the interaction method based on function items provided in the embodiment of the present application is described. Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a server or a terminal. Figure 1 Take the terminal shown in as an example, Figure 2The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0073] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0074] The user interface 430 includes one or more output devices 431 that enable display of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0075] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0076] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0077] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0078] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0079] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, wireless compatibility certification (WiFi), and Universal Serial Bus (USB), etc.;
[0080] a presentation module 453 for enabling display of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0081] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0082] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The interactive device 455 based on the function items stored in the memory 450 is shown, which can be software in the form of programs and plug-ins, etc., including the following software modules: a first display module 4551, a second display module 4552 and an interactive module 4553. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0083] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the functional item-based interaction device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the functional item-based interaction method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0084] In some embodiments, the terminal or server can implement the functional item-based interaction method provided in the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP, a web browser APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0085] Based on the above description of the interactive system and electronic device based on function items provided by the embodiment of the present application, the following describes the interactive method based on function items provided by the embodiment of the present application. In actual implementation, the interactive method based on function items provided by the embodiment of the present application is implemented by the terminal or the server alone, or by the terminal and the server in collaboration, so that Figure 1 The terminal 400 in the embodiment of the present invention independently executes the interactive method based on function items provided in the embodiment of the present invention as an example for explanation. Figure 3 , Figure 3 is a flow chart of the interactive method based on function items provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.
[0086] Step 101: In response to a display instruction for a function item in a virtual scene, the terminal displays a plurality of function items, wherein a target function item among the plurality of function items is in a selected state.
[0087] In actual implementation, an application supporting virtual scenes is installed on the terminal. The application can be any one of a multiplayer online role-playing game, a first-person shooter game, a third-person shooter game, a multiplayer online tactical competitive game, a virtual reality application, a three-dimensional map program, or a multiplayer gunfight survival game. When a user opens the application on the terminal and the terminal runs the application, the terminal presents a picture of the virtual scene, where the picture of the virtual scene is observed from the first-person object perspective of the virtual scene, or observed from the third-person perspective of the virtual scene.
[0088] The virtual scene may include virtual objects, where the virtual objects may be player characters controlled by the current player or player characters controlled by other players (teammates) belonging to the same group as the current player. Users may use the terminal to operate virtual objects in the virtual scene to perform activities.
[0089] In actual implementation, the display instruction can be displayed by the user triggering a shortcut key, for example, holding down the H key to trigger a display instruction for a function item in the virtual scene, that is, displaying multiple function items; or the display instruction can also be triggered by a control displayed in the interface of the virtual scene, for example, displaying a function item display control in the interface of the virtual scene, and the function item display control is used to display function items, thereby triggering a display instruction for multiple function items in response to the triggering operation of the function item display control, that is, displaying multiple function items; here, the interface of the virtual scene refers to the display interface of the terminal of the client corresponding to the running virtual scene.
[0090] It should be noted that multiple function items correspond to multiple functions in the virtual scene, and there is a one-to-one correspondence between the multiple functions of the virtual scene and the corresponding function items. The function item is also a first-level tab. For at least one level of sub-function items of the function corresponding to the target function item displayed in the associated area of the target function item in the following text, when the level of the sub-function item is the next level of the function item, the sub-function item is a second-level tab. When the level of the sub-function item is the next level of the function item corresponding to the second-level tab, the sub-function item is a third-level tab, that is, if the level of the sub-function item is N, the sub-function item is an N+1-level tab.
[0091] Among them, taking primary tabs and secondary tabs as an example, in the user interface, primary tabs (Primary Tabs) and secondary tabs (Secondary Tabs) usually refer to different types of tabs in a multi-tab system, which are used to describe the page organization method in the user interface, and are used to organize and navigate different content areas in the user interface;
[0092] Among them, the first-level tab is usually the most prominent navigation element in the user interface, used to access the main, core content area or function; for example, in an application interface, the first-level tab can be the main directory or main function module. For example, in an editor, the first-level tab can be options such as "Home", "Insert", "View", "File", etc.; and each first-level tab may contain at least one second-level tab. The second-level tab is secondary to the first-level tab, that is, the sub-tab under the first-level tab. They are usually used to further subdivide and access more specific content or function areas. The second-level tab may be nested under the first-level tab, or located elsewhere in the page to provide users with more options; taking the editor mentioned above as an example, if the first-level tab is "Insert", then under the first-level tab, there may be second-level tabs such as "Picture", "Link", "Special Characters", etc. The user can expand the second-level tab by triggering the first-level tab, and then select a specific function.
[0093] In actual implementation, multiple function items are displayed in different ways, for example, they can be displayed through a wheel or a list. Next, the process of displaying multiple function items in response to display instructions for function items in a virtual scene is explained in different display ways.
[0094] In some embodiments, if multiple function items are displayed through a wheel, in response to a display instruction for the function items in the virtual scene, the process of displaying the multiple function items may be, in response to a display instruction for the function items in the virtual scene, displaying multiple virtual wheels, and there is a one-to-one correspondence between the virtual wheels and the function items; thereby, in a subsequent process, in an associated area of the target function item, the process of displaying at least one level of sub-function items of the function corresponding to the target function item may be, in a target virtual wheel corresponding to the target function item, displaying at least one level of sub-function items of the function corresponding to the target function item.
[0095] It should be noted that the associated area of the target function item refers to one of the upper area, lower area, left area, right area and middle area of the target function item; when multiple virtual roulette wheels are displayed, the virtual roulette wheels are displayed in a floating manner in the interface of the virtual scene, wherein the position of the floating display of the virtual roulette wheels can be pre-set, and this is not limited to the embodiments of the present application.
[0096] For example, see Figure 4 , Figure 4 is a schematic diagram of a virtual roulette provided in an embodiment of the present application, based on Figure 4 , 401, 402, and 403 indicate three virtual wheels, that is, multiple function items, which respectively correspond to three functions "Quick Speech", "Gesture", and "Paint", that is, three function items, among which "Quick Speech" is in a selected state, so that in the virtual wheel corresponding to "Quick Speech", the sub-function items of the next level of the function corresponding to "Quick Speech" are displayed.
[0097] In other embodiments, if multiple function items are displayed in a list, in response to a display instruction for the function items in the virtual scene, the process of displaying the multiple function items may be, in response to a display instruction for the function items in the virtual scene, displaying a first function list, and displaying multiple function items in the first function list; thereby, in a subsequent process, the process of displaying at least one level of sub-function items of the function corresponding to the target function item in an associated area of the target function item may be, in the associated area of the target function item, displaying a second function list, and displaying at least one level of sub-function items of the function corresponding to the target function item in the second function list.
[0098] It should be noted that the associated area of the target function item refers to one of the upper area, lower area, left area, right area and middle area of the target function item; when the function list is displayed, the function list is displayed in a suspended manner in the interface of the virtual scene, wherein the position of the suspended display of the function list can be pre-set, and the embodiments of the present application do not limit this.
[0099] For example, see Figure 5 , Figure 5 is a schematic diagram of a function list provided in an embodiment of the present application, based on Figure 5 , the dotted box 501 indicates the first function list, and the dotted box 502 indicates the second function list, wherein in the first function list as indicated by the dotted box 501, multiple function items are displayed, corresponding to the three functions of "Quick Speech", "Gesture", and "Spray Paint", that is, three function items, among which "Spray Paint" is in a selected state, so that in the associated area of "Spray Paint", the second function list as indicated by the dotted box 502 is displayed, and in the second function list, the sub-function items of the next level of the function corresponding to "Spray Paint" are displayed.
[0100] In some embodiments, different function items may be displayed in different styles, that is, whether a function item is in a selected state is determined based on the display style. Specifically, in response to a display instruction for a function item in a virtual scene, the process of displaying multiple function items may be, in response to a display instruction for a function item in a virtual scene, displaying a target function item in a first style and displaying other function items in a second style; wherein the first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state.
[0101] It should be noted that other function items are function items other than the target function item among the multiple function items, and different style indications have different display sizes or different display effects. Next, the process of displaying multiple function items in response to display instructions for function items in the virtual scene is explained for different styles respectively.
[0102] In some embodiments, the first style corresponds to a first display size, and the second style corresponds to a second display size; thus, the process of displaying a target function item using the first style may be to display the target function item using the first display size; and the process of displaying other function items using the second style may be to display other function items using the second display size; wherein the first display size is larger than the second display size.
[0103] It should be noted that the first display size and the second display size are both pre-set. For example, see Figure 6 , Figure 6is a schematic diagram of multiple function items displayed in different display sizes provided in an embodiment of the present application, based on Figure 6 When multiple function items are displayed using a virtual wheel, 601, 602, and 603 indicate three virtual wheels, i.e., multiple function items, which respectively correspond to three functions of "Quick Speech", "Gesture", and "Spray Paint", i.e., three function items, among which "Quick Speech" is in a selected state, so that the target function item "Quick Speech" is displayed in the first display size, while "Gesture" and "Spray Paint" are in an unselected state, so that the other two function items "Gesture" and "Spray Paint" are displayed in the second display size; wherein, the first display size is larger than the second display size.
[0104] In other embodiments, the first style indicates special effects display, and the second style indicates normal display; thus, the process of displaying the target function item using the first style may be to display the target function item using the target special effects; and the process of displaying other function items using the second style may be to display other function items using normal effects.
[0105] It should be noted that the target special effects may be pre-set, such as highlight display, dynamic luminous display, etc., which is not limited in the embodiments of the present application; and the normal effect refers to a display without special effects.
[0106] In some embodiments, in addition to displaying different function items in different styles, it is also possible to determine whether a function item is in a selected state through the display state of the function item, such as the expanded state or the collapsed state. Specifically, in response to a display instruction for a function item in a virtual scene, the process of displaying multiple function items may be, in response to a display instruction for a function item in the virtual scene, displaying a target function item in an expanded state and other function items in a collapsed state; wherein, when the function item is in an expanded state, the function item and the sub-function items corresponding to the function item are both visible, and the function item and the sub-function items corresponding to the function item are displayed in combination in the interface of the virtual scene; when the function item is in a collapsed state, the function item is visible, the sub-function items corresponding to the function item are invisible, and the function item is displayed independently in the interface of the virtual scene.
[0107] It should be noted that other function items are function items other than the target function item among the multiple function items; when the function item is in an expanded state, the function item and the sub-function items of each level corresponding to the function item are all in a visible state, or the function item and the sub-function items of the target level corresponding to the function item are all in a visible state, wherein the target level may be preset; and when the function item is in a collapsed state, the function item is in a visible state, the sub-function items corresponding to the function item are in an invisible state, and the function item is independently displayed in the interface of the virtual scene, wherein the visible state refers to that the function item is displayed in the interface of the virtual scene, and the invisible state refers to that the corresponding sub-function item is not displayed in the interface of the virtual scene; in this way, when the function item is in an expanded state, it can be confirmed that the corresponding function item is selected, and when the function item is in a collapsed state, it can be confirmed that the corresponding function item is not selected;
[0108] For example, see Figure 7 , Figure 7 is a schematic diagram of a functional item provided in an embodiment of the present application in an expanded state or a collapsed state, based on Figure 7 , the function item indicated by 701 is in an expanded state, and the function items indicated by 702 and 703 are in a collapsed state, so as to respond to the display instruction for the function items in the virtual scene, display the target function item in the expanded state as indicated by 701, and other function items in the collapsed state as indicated by 702 and 703; wherein, the target function item in the expanded state as indicated by 701 and the corresponding sub-function items are both in a visible state, and the target function item and the corresponding sub-function items are displayed in combination in the interface of the virtual scene; and the function items indicated by 702 and 703 are in a visible state, but the sub-function items corresponding to these two function items are in an invisible state, and the function items are independently displayed in the interface of the virtual scene.
[0109] In some embodiments, the target function item and other function items may be in an expanded state, so that whether the function item is in a selected state is still determined based on the display style. Specifically, in response to a display instruction for a function item in a virtual scene, a process of displaying multiple function items may be, in response to a display instruction for a function item in a virtual scene, displaying the target function item in an expanded state in a third style, and displaying other function items in an expanded state in a fourth style; wherein the third style is different from the fourth style, in that when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items corresponding to the function item are displayed in combination in the interface of the virtual scene.
[0110] It should be noted that other function items are function items other than the target function item among the multiple function items; when the function item is in an expanded state, the function item and the sub-function items of each level corresponding to the function item are all in a visible state, or the function item and the sub-function items of the target level corresponding to the function item are all in a visible state, wherein the target level can be pre-set; and the third style is similar to the first style described above, the fourth style is similar to the second style described above, and the third style is different from the fourth style, the third style is used to indicate that the target function item is in a selected state, and the fourth style is used to indicate that other function items are in a non-selected state; similarly, as described above, different styles indicate different display sizes, or different display effects, which will not be elaborated here.
[0111] For example, see Figure 8 , Figure 8 is a schematic diagram of displaying function items in an expanded state in different styles provided by an embodiment of the present application, based on Figure 8 , where different styles indicate different display effects, wherein 801, 802 and 803 indicate function items in an expanded state, and the function item indicated by 801 is also in a selected state, that is, the function item indicated by 801 is the target function item, so that in response to the display instruction for the function item in the virtual scene, the third style, that is, the target special effect is used to display the target function item in an expanded state, such as indicated by 801, and the fourth style, that is, the normal effect is used to display other function items in an expanded state, such as indicated by 802 and 803.
[0112] Step 102: Display at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item.
[0113] In actual implementation, the at least one level may be one or more levels. When the number of levels is one, the process of displaying at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item may be to display at least one sub-function item of the next level of the function corresponding to the target function item in the associated area of the target function item.
[0114] It should be noted that the associated area of the target function item refers to one of the upper area, the lower area, the left area, the right area and the middle area of the target function item; for example, continue to refer to Figure 4 , Figure 4 In the example, 401 indicates the target function item, and thus at least one sub-function item of the next level of the function corresponding to the target function item is displayed in the associated area of the target function item, which means that at least one sub-function item of the next level of the function corresponding to the target function item is displayed in the middle area of the target function item; and Figure 5As shown, the "paint" function item at the bottom in the dotted box 501 is the target function item, and thus in the associated area of the target function item, at least one sub-function item of the next level of the function corresponding to the target function item is displayed, which means that in the right area of the target function item, at least one sub-function item of the next level of the function corresponding to the target function item is displayed.
[0115] When there are multiple levels, the target sub-function items in the sub-function items of each level are in a selected state; thus, the process of displaying the sub-function items of at least one level of the function corresponding to the target function item in the associated area of the target function item may be to display at least one sub-function item of the first level of the function corresponding to the target function item and the sub-function items of the next level of the level where each target sub-function item is located in the associated area of the target function item.
[0116] It should be noted that the associated area of the target function item refers to one of the upper area, lower area, left area, right area and middle area of the target function item; for example, taking the number of levels as two, in the associated area of the target function item, displaying sub-function items of two levels of the function corresponding to the target function item means that in the associated area of the target function item, at least one sub-function item of the first level of the function corresponding to the target function item is displayed, and then the target sub-function item in at least one sub-function item of the first level is in a selected state, so that in the associated area of the target sub-function item of the first level in the selected state, at least one sub-function item of the second level is displayed, and then the target sub-function item in at least one sub-function item of the second level is in a selected state.
[0117] For example, see Fig. 9 , Fig. 9 is a schematic diagram of two levels of sub-function items corresponding to the function of the display target function item provided in an embodiment of the present application, based on Fig. 9 , 901 indicates a target function item, 902 indicates a target sub-function item in the next level of the target function item, and the dotted box 903 indicates a sub-function item in the next level of the target sub-function item indicated by 902, wherein 904 indicates a target sub-function item in the sub-function items of the second level indicated by the dotted box 903;
[0118] That is, in the middle area of the target function item indicated by 901, the eight sub-function items of the first level corresponding to the function of the target function item indicated by 901 are displayed, and then the target sub-function item indicated by 902 among the eight sub-function items of the first level is in a selected state, so that in the upper area of the target sub-function item of the first level in a selected state as indicated by 902, the nine sub-function items of the second level as indicated by the dotted box 903 are displayed, and then the first sub-function item among the nine sub-function items of the second level, namely, the target sub-function item indicated by 904, is in a selected state.
[0119] In actual implementation, after displaying at least one level of sub-function items corresponding to the function of the target function item, the interactive operation indicated by the sub-function item can also be executed. Next, the process of executing the interactive operation indicated by the sub-function item is explained according to different methods.
[0120] In some embodiments, at least one sub-function item includes a target sub-function item corresponding to the target interactive function; thus, after displaying at least one level of sub-function items of the function corresponding to the target function item, it is also possible to perform an interactive operation corresponding to the target interactive function in the virtual scene in response to a trigger operation on the target sub-function item in at least one level of sub-function items.
[0121] It should be noted that the interactive function is used to trigger interactive operations in the virtual scene, such as sending quick messages, etc.; the trigger operation of the target sub-function item in at least one level of sub-function items is also the confirmation operation; as mentioned above, when displaying at least one level of sub-function items of the function corresponding to the target function item, there is a sub-function item in each level in a selected state, and at the same time, the sub-function items of the next level corresponding to the sub-function item in the selected state are also displayed, but the sub-function item in the selected state may be the target sub-function item, that is, the triggered target sub-function item, or it may not be the target sub-function item, that is, the triggered target sub-function item. Next, the process of triggering the target sub-function item is explained for these two situations respectively.
[0122] If the target sub-function item is a sub-function item that is selected by default, that is, the target sub-function item is already selected, the triggering operation for the target sub-function item in the sub-function items of at least one level may be a click operation including a double-click operation or a single-click operation on the target sub-function item triggered by the cursor, or may be a confirmation operation performed by a shortcut key, such as re-triggering a shortcut key such as the H key;
[0123] That is, in response to a click operation on a target sub-function item or a determination operation performed based on a shortcut key, an interactive operation corresponding to the target interactive function is performed in the virtual scene.
[0124] If the target sub-function item is not the sub-function item in the selected state set by default, that is, the target sub-function item is not in the selected state, the triggering operation for the target sub-function item in the sub-function items of at least one level may be a switching operation for indicating that the sub-function item in the selected state in the corresponding level is switched from the preset default sub-function item to the target sub-function item, or includes a switching operation for indicating that the sub-function item in the selected state is switched from the preset default sub-function item to the target sub-function item, and a click operation for the target sub-function item in the selected state includes a double-click operation or a single-click operation, or a determination operation triggered by a shortcut key, such as an operation for a shortcut key such as the H key;
[0125] The switching operation may be triggered based on the cursor, such as moving the cursor to the sensing area of the target sub-function item, or may not be triggered based on the cursor, such as performing a trigger operation for a shortcut key, such as clicking one of the up key, the down key, the left key, and the right key to select the target sub-function item, which is not limited in the embodiment of the present application;
[0126] That is, in response to a switching operation on a sub-function item in a selected state in the target hierarchy, the target sub-function item is controlled to be in a selected state; then the interactive operation corresponding to the target interactive function can be executed in the virtual scene at the same time, or in response to a click operation on the target sub-function item in the selected state or a confirmation operation triggered by a shortcut key, the interactive operation corresponding to the target interactive function can be executed in the virtual scene.
[0127] It should be noted that the multiple function items correspond to multiple functions in the virtual scene, and the multiple functions include different types. For example, some function items are used to control virtual objects in the virtual scene to perform operations, such as the function item "gesture" (the gesture function item is used to display the gesture model corresponding to the virtual object controlled by the user in the virtual scene) and the function item "spray paint" (the spray paint function item is used to draw spray paint on the object model facing the user), some function items are used to control the virtual object to interact with other virtual objects, or some function items are used to control the interaction between the current account and other accounts, such as the function item "quick speech" (the quick speech function item is used to quickly publish a preset text message in the virtual scene) and the function item "personalized voice" (the personalized voice function item is used to quickly play a pre-configured voice in the virtual scene), etc.;
[0128] Among them, the sub-function items are specific interactive functions corresponding to the corresponding function items. For example, when the function item is "quick speech", at least one corresponding sub-function item is a different text message. In response to the selection operation of the target text message in at least one text message, the interactive operation corresponding to the target interactive function is executed in the virtual scene, that is, the target text message is sent to the chat channel.
[0129] For example, see Fig.10 , Fig.10 is a schematic diagram of an interactive operation corresponding to executing a target interactive function in a virtual scene provided by an embodiment of the present application, based on Fig.10 , 1001 indicates the target function item, and 1002 indicates the target sub-function item in at least one level of sub-function items corresponding to the target function item indicated by 1001, thereby responding to the trigger operation of the target sub-function item in at least one level of sub-function items, and executing the interactive operation corresponding to the target interactive function in the virtual scene.
[0130] In other embodiments, a target sub-function item at a target level among at least one level of sub-function items is in a selected state; thus, after displaying at least one level of sub-function items of the function corresponding to the target function item, it is also possible, in response to the target sub-function item in the selected state satisfying a trigger condition, to execute an interactive operation corresponding to the interactive function indicated by the target sub-function item in the virtual scene.
[0131] It should be noted that the target level may be the last level in at least one level, and the trigger condition may be that the selected duration of the target sub-function item reaches the target duration. Specifically, after displaying the sub-function items of at least one level of the function corresponding to the target function item, the selected duration may also be displayed, and the selected duration is used to indicate the duration for which the target sub-function is in the selected state; thus, when the selected duration reaches the target duration, it is determined that the target sub-function item in the selected state meets the trigger condition, and then the interactive operation corresponding to the interactive function indicated by the target sub-function item is executed in the virtual scene;
[0132] Alternatively, the trigger condition may be receiving a confirmation operation on a target sub-function item that is in a selected state, a click operation on the target sub-function item including a double-click operation or a single-click operation, or an operation performed based on a shortcut key, such as triggering a shortcut key such as the H key.
[0133] In some embodiments, the target sub-function item can also be switched. Specifically, after displaying at least one sub-function item of the first level of the function corresponding to the target function item and the sub-function items of the next level of the level where each target sub-function item is located in the associated area of the target function item, it is also possible to, in response to a switching operation on the target sub-function item of the target level, switch the selected target sub-function item to other sub-function items; and in response to a confirmation operation on other sub-function items in the selected state, execute the operations indicated by other sub-function items in the virtual scene.
[0134] It should be noted that the switching operation for the target sub-function item of the target level can be triggered by the cursor. For example, in response to the movement operation of the cursor, the cursor is moved from the target sub-function item to other sub-function items. When the cursor moves to other sub-function items, the switching operation for the target sub-function item is triggered, that is, in response to the movement operation of the cursor, the cursor is controlled to move in the interface of the virtual scene; if the cursor moves to the sensing area of other sub-function items, the switching operation for the target sub-function item is triggered. Here, the other sub-function items are any sub-function items among the multiple sub-function items except the target sub-function item.
[0135] Alternatively, the switching operation for the target sub-function item may be triggered by something other than the cursor, such as by sliding a mouse wheel to trigger the switching operation for the target sub-function item, or by shortcut keys, such as clicking the up, down, left, and right keys to trigger the switching operation for the target sub-function item, etc. The embodiments of the present application do not limit this.
[0136] It should be noted that the determination operation for other sub-function items in the selected state may be a trigger operation such as a click operation (including a single-click operation or a double-click operation), a selection operation, etc. for other sub-function items in the selected state, for example, a click operation performed based on the cursor, or because other sub-function items are already in the selected state, it may also be a determination operation performed based on a shortcut key, such as a trigger shortcut key such as the H key.
[0137] Continuing with the above example, when the function item is "Quick Speech", the corresponding multiple sub-function items are different text messages, so that in response to the switching operation on the selected text message, the selected text message is switched to other text messages, and then in response to the confirmation operation on the other selected text messages, the operations indicated by other sub-function items, that is, the indicated interactive operations, are performed in the virtual scene, that is, sending other text messages to the chat channel.
[0138] For example, see Fig.11 , Fig.11 is a schematic diagram of the process of switching sub-function items provided in an embodiment of the present application, based on Fig.11 , Fig.11 The target sub-function item indicated by 1102 in a is at the first level of the target function item indicated by 1101, so that in response to the switching operation of the target sub-function item indicated by 1102 at the first level, the target sub-function item in the selected state is switched to Fig.11 b, and then responding to the selected sub-function items, such as Fig.11 The determination operation of other sub-function items indicated by 1103 in b is performed, and the operations indicated by other sub-function items are performed in the virtual scene.
[0139] In some embodiments, prompt information can also be displayed, thereby triggering a switching operation based on the prompt information. Specifically, in response to a display instruction for a function item in a virtual scene, operation prompt information is displayed, and the operation prompt information is used to prompt a method for performing different operations on the function item; in response to a switching operation on a target function item, the function item in a selected state is switched from the target function item to other function items; wherein the switching operation is triggered in a manner indicated by the operation prompt information; thereby, the process of displaying at least one level of sub-function items of the function corresponding to the target function item in an associated area of the target function item may be to display at least one level of sub-function items of the function corresponding to other function items in an associated area of other selected function items.
[0140] It should be noted that the associated area of other function items in the selected state refers to one of the upper area, lower area, left area, right area and middle area of other function items; different operations on function items may refer to selecting function items in the virtual roulette, switching function items in the virtual roulette, or hiding the virtual roulette, etc., so that based on the operation prompt information, in response to the switching operation on the target function item, the function item in the selected state is switched from the target function item to other function items.
[0141] For example, see Fig.12 , Fig.12 is a schematic diagram of the process of operation prompt information provided by the embodiment of the present application, based on Fig.12 The dotted box 1201 indicates the operation prompt information, so that in response to the switching operation on the target function item triggered in the manner indicated by the operation prompt information, the function item in the selected state is switched from the target function item to other function items.
[0142] In some embodiments, based on the operation prompt information, it is also possible to return from the state of displaying the function item and at least one level of sub-function items to displaying only the function item, or directly close the virtual wheel. Specifically, after displaying at least one level of sub-function items of the function corresponding to the target function item, it is also possible to receive an operation return instruction for multiple function items, and the operation return instruction is used to instruct to return to the last operation performed on the multiple function items; in response to the operation return instruction, cancel the display of at least one level of function items; in response to the operation return instruction being executed again, cancel the display of multiple function items.
[0143] It should be noted that the operation return instruction may be triggered by the user clicking a shortcut key, such as clicking the right button of the mouse to trigger the operation return instruction; or the operation return instruction may also be triggered by a control displayed in the interface of the virtual scene, for example, a return control is displayed in the interface of the virtual scene, and the return control is used to return to the last operation performed on the multiple function items, so that in response to the triggering operation on the return control, the operation return instruction is received;
[0144] Among them, when displaying at least one level of sub-function items of the function corresponding to the target function item, if an operation return instruction is received, it returns to the previous operation performed on the multiple function items, that is, canceling the display of at least one level of sub-function items, and only displaying the multiple function items including the target function item; when displaying multiple function items including the target function item, if an operation return instruction is received, it returns to the previous operation performed on the multiple function items, that is, canceling the display of the multiple function items.
[0145] In actual implementation, after displaying multiple function items including the target function item, the function item in the selected state can be switched. For details, see Fig.13 , Fig.13 is a schematic diagram of a process for switching a function item in a selected state provided in an embodiment of the present application, based on Fig.13 The process of switching the function item in the selected state is implemented by the following steps.
[0146] Step 201: In response to a switching operation on a target function item, the terminal switches a selected function item from the target function item to another function item.
[0147] In actual implementation, the switching operation for the target function item can be a sliding operation for multiple function items, or a direct trigger operation for other function items such as a click operation, or a trigger operation for shortcut keys such as the up, down, left, and right keys such as a press operation, etc. The embodiment of the present application does not limit this.
[0148] In some embodiments, in response to a switching operation on a target function item, the process of switching a function item in a selected state from a target function item to other function items may be, in response to a switching operation on a target function item, a process of displaying multiple function items moving in sequence along a target direction; during the movement of multiple function items, the function item in a selected state is switched from a target function item to the next function item in the target direction in sequence; when the movement process of multiple function items ends, the function item in a selected state is used as other function items.
[0149] It should be noted that the target direction refers to the switching direction indicated by the switching operation. For example, when the switching operation is a sliding operation, the target direction refers to the sliding direction. When the switching operation is a trigger operation for a shortcut key, the target direction refers to the direction indicated by the shortcut key. During the movement of multiple function items, the function items in the selected state rotate in sequence, so that when the multiple function items finish the movement process, the function items currently in the selected state are other function items.
[0150] For example, see Fig.14 , Fig.14 is a schematic diagram of switching a function item in a selected state provided by an embodiment of the present application, based on Fig.14 , Fig.14 In a, 1401 indicates the target function item, so that in response to the switching operation for the target function item indicated by 1401, the process of multiple function items moving in sequence from left to right is displayed, and then when the multiple function items finish the moving process, the function item in the selected state is displayed. Fig.14 The target function item indicated by 1401 in a is switched to Fig.14 Other functional items indicated by 1402 in b.
[0151] In some embodiments, a function item in a selected state is displayed in the fifth style, and a function item in a non-selected state is displayed in the sixth style, and the fifth style is different from the sixth style; thus, in response to a switching operation on a target function item, a process of switching a function item in a selected state from a target function item to other function items may be, in response to a switching operation on a target function item, switching the display style of the target function item from the fifth style to the sixth style, and switching the display style of other function items from the sixth style to the fifth style.
[0152] It should be noted that the fifth style is similar to the first style described above, and the sixth style is similar to the second style described above. The fifth style is used to indicate that the function item is in a selected state, and the sixth style is used to indicate that the function item is in a non-selected state. Similarly, as described above, different styles indicate different display sizes or different display effects, which will not be elaborated here.
[0153] Among them, the switching operation here can be a click operation on other function items, or a trigger operation on a shortcut key, or it can be a sliding operation on multiple function items, etc., which is not limited in this embodiment of the present application.
[0154] For example, see Fig.15 , Fig.15 is a schematic diagram of switching a function item in a selected state provided by an embodiment of the present application, based on Fig.15 , Fig.15The target function item is indicated by 1501 in a, so that in response to the switching operation for the target function item, Fig.15 The display style of the target function item indicated by 1501 in a is switched from the fifth style to the sixth style. Fig.15 The target function item indicated by 1501 in a becomes as follows Fig.15 As shown in b 1503, and Fig.15 The display style of other function items indicated by 1502 in a is switched from the sixth style to the fifth style, that is, Fig.15 The other function items indicated by 1502 in a become as follows Fig.15 As shown in b 1504.
[0155] In actual implementation, as mentioned above, the switching operation includes trigger operations on other function items such as click operations, and the trigger operation here can be triggered by a cursor. Specifically, in response to the switching operation on the target function item, before the function item in the selected state is switched from the target function item to other function items, a cursor can be displayed; thus, in response to the switching operation on the target function item, the process of switching the function item in the selected state from the target function item to other function items can be a process of displaying the cursor movement in response to the cursor movement operation; when the cursor moves to the sensing area of other function items, in response to the switching condition being met, the function item in the selected state is switched from the target function item to other function items.
[0156] It should be noted that the operation of moving the cursor can be triggered by at least one of the keyboard, mouse and joystick, so as to control the movement of the cursor in the interface of the virtual scene; during the movement of the cursor, the coordinates of the cursor are obtained in real time, and based on the coordinates of the cursor, the position of the cursor is detected. If the detection result indicates that the cursor has moved to the sensing area of other function items, it is determined that the switching condition is met, and the function item in the selected state is switched from the target function item to other function items; here, the sensing area of other function items can be pre-set, for example, it can be a circular area, a rectangular area, etc., and this is not limited in the embodiments of the present application.
[0157] It should be noted that when the cursor moves to the sensing area of other function items, there are multiple ways to determine whether the switching condition is met. Next, two of them are taken as examples to illustrate the process of determining whether the switching condition is met.
[0158] In some embodiments, in response to a switching condition being met, before a selected function item is switched from a target function item to another function item, if the cursor moves to a sensing area of another function item, the length of time the cursor is in the sensing area is displayed; when the length of time reaches the target length of time, it is determined that the switching condition is met.
[0159] It should be noted that the duration that the displayed cursor is in the sensing area is the duration from the moment the cursor moves to the sensing area to the current moment. Specifically, when the detection result described in the previous text indicates that the cursor moves to the sensing area of other functional items, the moving moment is obtained, and the moving moment indicates the moment when the cursor moves to the sensing area of other functional items. Then, the current moment is obtained in real time, and the current moment is subtracted from the moving moment to obtain the duration of the cursor in the sensing area. The target duration can be pre-set, for example, it can be one second, etc., and this is not limited in the embodiments of the present application.
[0160] In other embodiments, in response to the switching condition being met, before the function item in the selected state is switched from the target function item to other function items, it is also possible, when the cursor moves to the sensing area of the other function item, to respond to the trigger operation performed in the sensing area to determine whether the switching condition is met.
[0161] It should be noted that the trigger operation performed in the sensing area may be a click operation in the sensing area, or a trigger operation for a shortcut key when the cursor moves to the sensing area of other function items, etc., and the embodiments of the present application do not limit this.
[0162] Step 202: Display at least one level of sub-function items of the function corresponding to the other function items in the associated area of the other function items in the selected state.
[0163] In actual implementation, when the function item in the selected state changes from the target function item to other function items, at least one level of sub-function items of the function corresponding to the displayed target function item are switched to at least one level of sub-function items of the function corresponding to the other function items; wherein the associated area of the other function items refers to one of the upper area, lower area, left area, right area and middle area of the other function items.
[0164] For example, see Fig.16 , Fig.16 is a schematic diagram of at least one level of sub-function items corresponding to other function items provided in an embodiment of the present application, based on Fig.16 , Fig.16 The target function item is indicated by 1601 in a, so that eight sub-function items of the first level are displayed in the target function item, and the upper area of the target sub-function item indicated by 1602 among the eight sub-function items is displayed as follows Fig.16 Then, in response to the second level multiple sub-function items indicated by the dashed box 1603 in a; Fig.16 The switching operation of the target function item indicated by 1601 in a will switch the function item in the selected state. Fig.16The target function item indicated by 1601 in a is switched to Fig.16 b, and switches at least one level of sub-function items of the function corresponding to the displayed target function item to at least one level of sub-function items of the function corresponding to the other function items, that is, eight sub-function items of the first level are displayed in the other function items, and the upper area of the target sub-function item indicated by 1605 in the eight sub-function items is displayed as follows: Fig.16 Multiple sub-function items of the second level are indicated by the dotted box 1606 in b.
[0165] In some embodiments, after displaying at least one level of sub-function items of the function corresponding to the target function item, the function items can also be switched by scrolling the mouse wheel or pressing a key on a keyboard. Specifically, after displaying at least one level of sub-function items of the function corresponding to the target function item, the function item in a selected state can be switched from the target function item to other function items in response to a function item switching instruction, and at least one level of sub-function items of the function corresponding to the target function item can be switched to at least one level of sub-function items of the function corresponding to other function items; wherein the function item switching instruction is triggered by scrolling the mouse wheel or pressing a key on a keyboard.
[0166] It should be noted that when a function item switching instruction is received, which is triggered by a scrolling operation on the mouse wheel or a key operation on a key on the keyboard, only the function item will be switched, that is, no matter how many levels of sub-function items are displayed, the function item switching instruction triggered by a scrolling operation on the mouse wheel or a key operation on a key on the keyboard is for the function item; in this way, no matter which level of tab status is in, the selected function item can be switched at any time, thereby improving the interaction efficiency of the function item.
[0167] Step 103 , in response to a triggering operation on a target sub-function item in at least one level of sub-function items, controlling the first object to perform an interactive operation corresponding to the target sub-function item.
[0168] In actual implementation, after displaying at least one level of sub-function items, the first object may be controlled to perform an interactive operation corresponding to the sub-function item. Specifically, in response to a trigger operation on a target sub-function item in at least one level of sub-function items, the process of controlling the first object to perform an interactive operation corresponding to a target sub-function item may be, in response to a trigger operation (e.g., a click operation) on a target sub-function item in at least one level of sub-function items, controlling a first virtual object in a virtual scene corresponding to the first object to perform an interactive operation corresponding to the target sub-function item on a scene element in the virtual scene; wherein the scene element in the virtual scene refers to an element constituting the virtual scene, such as a building element in the virtual scene, including a wall, a roof, etc., or a vehicle element in the virtual scene, such as a virtual car, a virtual ship, etc.;
[0169] Alternatively, the process of controlling the first object to perform an interactive operation corresponding to a target sub-function item in response to a trigger operation on a target sub-function item in at least one level may also be a process of controlling the first virtual object in a virtual scene corresponding to the first object to perform an interactive operation corresponding to the target sub-function item on a second virtual object in response to a trigger operation (such as a click operation) on a target sub-function item in at least one level of sub-function items; wherein, controlling the first virtual object in the virtual scene corresponding to the first object to perform an interactive operation corresponding to the target sub-function item on the second virtual object refers to controlling the first virtual object in the virtual scene corresponding to the first object to perform an interactive operation corresponding to the target sub-function item on the second virtual object corresponding to the second object.
[0170] It should be noted that, as mentioned above, the first object is used to indicate the account logged in by the current player, and the second object indicates the account logged in by other players. The first virtual object can be a player character controlled by the current player, i.e., the first object, and the second virtual object can be a player character controlled by other players, i.e., the second object; wherein the first virtual object and the second virtual object can be in the same camp or group, or in different camps or groups.
[0171] By applying the above-mentioned embodiment of the present application, in response to a display instruction for a function item in a virtual scene, multiple function items including a target function item in a selected state are displayed, and at least one level of sub-function items of the function corresponding to the target function item are displayed in the associated area of the target function item. In this way, compared with the solution in the related art that requires multiple click operations to display multi-level function items, when receiving a display instruction for a function item in a virtual scene, the present application directly displays multiple function items and at least one level of sub-function items corresponding to the target function item, that is, directly displays the multi-level function items. In this way, the multi-level function items can be displayed with only one display instruction, which not only improves the display efficiency of the multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization of the electronic device.
[0172] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0173] When displaying multi-level function items in related games, most of the time, multiple function items are displayed first, and then the user clicks on one of the multiple function items, so that the next level function items belonging to the function item will be displayed; that is, if the user wants to display multi-level function items, multiple click operations are required, which results in low display efficiency of multi-level function items and low human-computer interaction efficiency.
[0174] Based on this, an embodiment of the present application provides an interaction method based on function items. When a display instruction for a function item in a virtual scene is received, multiple function items and at least one level of sub-function items corresponding to the target function item are directly displayed, that is, multi-level function items are directly displayed. In this way, multi-level function items can be displayed through only one display instruction, which not only improves the display efficiency of multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization of electronic equipment.
[0175] Next, the technical solution of this application is explained from the product side.
[0176] In actual implementation, when the player is performing normal in-game operations, in response to display instructions for multiple function items, a roulette group (multiple virtual roulettes) is displayed. The roulette group includes three roulette structures: a gesture roulette, a quick speech roulette, and a paint roulette. The corresponding item of each roulette is the preset content of the player, such as Figure 4 As shown, selecting a corresponding item (sub-function item) in the gesture wheel is used to display the corresponding gesture model of the virtual object controlled by the user in the virtual scene; selecting a corresponding item in the quick speech wheel can quickly publish a preset text message in the bureau; selecting a corresponding item in the paint wheel is used to draw paint on the object model facing the user.
[0177] In actual implementation, after multiple wheels are displayed, the default centered quick speech wheel is in the selected state. The selected wheel is larger in size and displayed in the style of the activated state. At this time, in response to the movement of the mouse, the selected area on the wheel is rotated synchronously ( Figure 4 The bold area in the center wheel in the figure) means switching the sub-function item in the selected state; at the same time, the gesture wheel and the paint wheel are displayed on the left and right sides respectively, and these two wheels are in the unselected state.
[0178] In actual implementation, when a click operation on the left mouse button or a lift operation on the H key is received, the click operation or lift operation is used as a confirmation operation on the currently selected wheel function item, that is, a selection operation, such as Figure 4 As shown, after the sub-function item "need medicine" in the quick speech is selected, if a click operation on the left mouse button or a lift operation on the H key is received, the corresponding function will be triggered and the information instruction of "need medicine" will be quickly issued on the left side of the screen.
[0179] In actual implementation, when a scroll operation is received for the mouse wheel, the adjacent unselected wheel in the previous step will automatically move to the center of the interface and become the selected wheel, such as Fig.14 As shown, the corresponding item in the gesture wheel can be switched and selected in response to the movement operation of the cursor.
[0180] In actual implementation, Fig.17 As shown, Fig.17 is a display diagram of multiple function items provided in the embodiment of the present application, based on Fig.17 When the player is performing normal in-game operations, in response to display instructions for multiple function items, a function list and a mouse cursor are displayed, where the mouse cursor hovers in the middle of the screen by default, and the default cursor is on the gesture tab (function item), so the corresponding secondary tab content on the right side of the gesture tab will be displayed, and the corresponding tabs of the quick speech roulette and the paint roulette will be displayed at the same time, and the content of the corresponding secondary tab is collapsed and invisible.
[0181] Among them, Figure 5 As shown, in response to the cursor moving to the paint wheel tab, the secondary tab content on the right is synchronously switched to the corresponding paint wheel content. Then, in response to the trigger operation of the left mouse button, the function of this item can be triggered, that is, spraying paint in front of the current direction.
[0182] Next, the technical solution of the present application is explained from a technical perspective.
[0183] In some embodiments, see Fig.18 , Fig.18 is a flow chart of the interactive method based on function items provided in the embodiment of the present application, based on Fig.18 , the interactive method based on the function item based on the wheel provided in the embodiment of the present application is implemented by steps 1801 to 1804. Specifically, in response to the display instruction for multiple wheels, the wheel group (multiple function items) is displayed, and the wheels in the selected state and the wheels in the unselected state are displayed; then it is determined whether the wheel operation for the mouse wheel is received, and when it is received, the wheel in the selected state is switched to other wheels; then it is continued to determine whether the wheel operation for the mouse wheel is received, and when it is received, the wheel in the selected state is continued to be switched, and when it is not received, in response to the rotation operation for the mouse, the wheel items (sub-function items) included in the wheel in the selected state are switched; then it is determined whether the wheel item is triggered, and when the wheel item is triggered, the corresponding shortcut operation is triggered and the wheel group is closed; when the wheel item is not triggered, it is determined whether to continue the operation, and when the operation is not continued, the wheel group is closed.
[0184] In other embodiments, see Fig.19 , Fig.19 is a flow chart of the interactive method based on function items provided in the embodiment of the present application, based on Fig.19 , the interactive method based on function items based on function lists provided in the embodiment of the present application is implemented through steps 1901 to 1903. Specifically, in response to a display instruction for the function list, a function list including multiple first-level tabs (function items) and multiple second-level tabs are displayed, wherein one of the multiple first-level tabs is in a selected state, and the multiple second-level tabs belong to the first-level tab in the selected state; then, it is determined whether to switch the first-level tab in the selected state based on the cursor, and when it is determined to switch, it is switched to the first-level tab indicated by the cursor; when no switching is performed, it is determined whether the tab item is triggered, and when the tab item is triggered, the corresponding shortcut operation is triggered and the function list is closed; when the tab item is not triggered, it is determined whether to continue the operation, and when the operation is not continued, the function list is closed.
[0185] In this way, through this application, the interaction efficiency based on function items can be improved in games or other applications that support quick operations, and players can be helped to quickly and accurately identify and select the required functions from various types of quick operations, which greatly improves the player's efficiency in using quick operations and improves the functional assistance of the quick operations themselves.
[0186] By applying the above-mentioned embodiment of the present application, in response to a display instruction for a function item in a virtual scene, multiple function items including a target function item in a selected state are displayed, and at least one level of sub-function items of the function corresponding to the target function item are displayed in the associated area of the target function item. In this way, compared with the solution in the related art that requires multiple click operations to display multi-level function items, when receiving a display instruction for a function item in a virtual scene, the present application directly displays multiple function items and at least one level of sub-function items corresponding to the target function item, that is, directly displays the multi-level function items. In this way, the multi-level function items can be displayed with only one display instruction, which not only improves the display efficiency of the multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization of the electronic device.
[0187] The following is a description of an exemplary structure of the functional item-based interaction device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, for example, Figure 2 As shown, the software modules stored in the function-item-based interaction device 455 of the memory 450 may include:
[0188] A first display module 4551 is used to display a plurality of function items in response to a display instruction for a function item in a virtual scene, wherein a target function item among the plurality of function items is in a selected state;
[0189] A second display module 4552 is used to display at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item;
[0190] The interactive module 4553 is used to control the first object to perform an interactive operation corresponding to the target sub-function item in the sub-function items of the at least one level in response to a trigger operation on the target sub-function item.
[0191] In some embodiments, there are multiple levels, and the target sub-function item in the sub-function items of each level is in a selected state; the second display module 4552 is also used to display at least one sub-function item of the first level of the function corresponding to the target function item in the associated area of the target function item, as well as the sub-function items of the next level of the level where each target sub-function item is located.
[0192] In some embodiments, the device also includes a first switching module, which is used to switch the target sub-function item in a selected state to other sub-function items in response to a switching operation on the target sub-function item of the target level; and in response to a determination operation on the other sub-function item in the selected state, perform the operation indicated by the other sub-function item in the virtual scene.
[0193] In some embodiments, the first display module 4551 is further used to display multiple virtual roulette wheels in response to display instructions for function items in a virtual scene, and there is a one-to-one correspondence between the virtual roulette wheels and the function items; the second display module 4552 is further used to display at least one level of sub-function items of the function corresponding to the target function item in the target virtual roulette wheel corresponding to the target function item.
[0194] In some embodiments, the first display module 4551 is further used to display a first function list in response to a display instruction for a function item in a virtual scene, and to display the multiple function items in the first function list; the second display module 4552 is further used to display a second function list in an associated area of the target function item, and to display at least one level of sub-function items of the function corresponding to the target function item in the second function list.
[0195] In some embodiments, the first display module 4551 is also used to respond to a display instruction for a function item in a virtual scene, display the target function item in a first style, and display other function items in a second style; wherein the first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state.
[0196] In some embodiments, the first style corresponds to a first display size, and the second style corresponds to a second display size; the first display module 4551 is also used to display the target function item in the first display size; and to display the other function items in the second display size; wherein the first display size is larger than the second display size.
[0197] In some embodiments, the first display module 4551 is also used to respond to a display instruction for a function item in a virtual scene, and display the target function item in an expanded state and other function items in a collapsed state; wherein, when the function item is in the expanded state, the function item and the sub-function item corresponding to the function item are both in a visible state, and the function item and the sub-function item corresponding to the function item are displayed in combination in the interface of the virtual scene; when the function item is in the collapsed state, the function item is in a visible state, the sub-function item corresponding to the function item is in an invisible state, and the function item is independently displayed in the interface of the virtual scene.
[0198] In some embodiments, the first display module 4551 is also used to respond to a display instruction for a function item in a virtual scene, and to display the target function item in an expanded state using a third style, and to display other function items in an expanded state using a fourth style; wherein the third style is different from the fourth style, and when the function item is in the expanded state, the function item and the sub-function item corresponding to the function item are both in a visible state, and the function item and the sub-function item corresponding to the function item are displayed in combination in the interface of the virtual scene.
[0199] In some embodiments, the device also includes a second switching module, which is used to switch the function item in a selected state from the target function item to other function items in response to a switching operation on the target function item; the second display module 4552 is also used to display at least one level of sub-function items of the function corresponding to the other function items in the associated area of the other function items in the selected state.
[0200] In some embodiments, the second switching module is also used to display the process of the multiple function items moving in sequence along the target direction in response to the switching operation for the target function item; during the movement of the multiple function items, the function items in the selected state are switched from the target function items to the next function items in the target direction in sequence; when the movement process of the multiple function items ends, the function items in the selected state are used as the other function items.
[0201] In some embodiments, a function item in a selected state is displayed in the fifth style, and a function item in a non-selected state is displayed in the sixth style, and the fifth style is different from the sixth style; the second switching module is also used to respond to a switching operation on a target function item, switch the display style of the target function item from the fifth style to the sixth style, and switch the display style of the other function items from the sixth style to the fifth style.
[0202] In some embodiments, the device also includes a third display module, which is used to display a cursor; the second switching module is also used to display the cursor movement process in response to the cursor movement operation; when the cursor moves to the sensing area of the other function item, in response to the switching condition being met, the function item in the selected state is switched from the target function item to the other function item.
[0203] In some embodiments, the device also includes a first determination module, which is used to display the length of time the cursor is in the sensing area if the cursor moves to the sensing area of the other function item; when the length of time reaches the target length of time, it is determined that the switching condition is met.
[0204] In some embodiments, the device further comprises a second determining module, the second determining module being configured to determine whether the switching condition is satisfied in response to a triggering operation performed in the sensing area when the cursor moves to the sensing area of the other function item.
[0205] In some embodiments, the device also includes a fourth display module, which is used to display operation prompt information in response to a display instruction for a function item in a virtual scene, and the operation prompt information is used to prompt a method for performing different operations on the function item; in response to a switching operation on the target function item, the function item in a selected state is switched from the target function item to other function items; wherein the switching operation is triggered in a manner indicated by the operation prompt information; the second display module 4552 is also used to display at least one level of sub-function items of the function corresponding to the other function item in an associated area of the other function item in a selected state.
[0206] In some embodiments, at least one of the sub-function items includes a target sub-function item corresponding to a target interactive function; the device also includes a first execution module, which is used to respond to a trigger operation of a target sub-function item in the sub-function items of at least one level, and execute an interactive operation corresponding to the target interactive function in the virtual scene.
[0207] In some embodiments, a target sub-function item at a target level among the sub-function items of at least one level is in a selected state; the device also includes a second execution module, which is used to execute an interactive operation corresponding to the interactive function indicated by the target sub-function item in the virtual scene in response to the target sub-function item in the selected state satisfying a trigger condition.
[0208] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device performs the above-mentioned interaction method based on the function item of the embodiment of the present application.
[0209] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the interaction method based on function items provided in the embodiment of the present application, for example, Figure 3 The interactive method based on functional items is shown.
[0210] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM; or it may be various devices including one or any combination of the above memories.
[0211] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0212] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0213] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0214] In summary, the embodiments of the present application have the following beneficial effects:
[0215] (1) Compared with the solution in the related art that requires multiple click operations to display multi-level function items, the present application directly displays multiple function items and at least one level of sub-function items corresponding to the target function item when receiving a display instruction for a function item in a virtual scene, that is, directly displays the multi-level function items. In this way, the multi-level function items can be displayed through only one display instruction, which not only improves the display efficiency of the multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization of the electronic device.
[0216] (2) Through this application, the efficiency of interaction based on function items can be improved in games or other applications that support shortcut operations, and players can be helped to quickly and accurately identify and select the required functions from a variety of types of shortcut operations, thereby greatly improving the efficiency of players' use of shortcut operations and improving the functional assistance of shortcut operations themselves.
[0217] It is understandable that in the embodiments of the present application, it involves obtaining data related to user operations. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0218] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. An interactive method based on function items, characterized in that: The method comprises: In response to a display instruction for a function item in a virtual scene, a plurality of function items are displayed, wherein a target function item among the plurality of function items is in a selected state; In the associated area of the target function item, displaying at least one level of sub-function items of the function corresponding to the target function item; In response to a triggering operation on a target sub-function item among the sub-function items of the at least one level, the first object is controlled to execute an interactive operation corresponding to the target sub-function item.
2. The method according to claim 1, characterized in that There are multiple levels, and the target sub-function item in the sub-function items of each level is in a selected state; The displaying of at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item includes: In the associated area of the target function item, at least one sub-function item of the first level of the function corresponding to the target function item and sub-function items of the next level of the level where each target sub-function item is located are displayed.
3. The method according to claim 2, characterized in that After displaying at least one sub-function item of the first level of the function corresponding to the target function item and sub-function items of the next level of the level where each target sub-function item is located, the method further includes: In response to a switching operation on the target sub-function item of the target level, switching the selected target sub-function item to another sub-function item; In response to a determination operation on the other sub-function items in the selected state, an operation indicated by the other sub-function items is performed in the virtual scene.
4. The method according to claim 1, characterized in that The method of displaying a plurality of function items in response to a display instruction for a function item in a virtual scene comprises: In response to a display instruction for a function item in a virtual scene, a plurality of virtual wheels are displayed, wherein the virtual wheels correspond to the function items in a one-to-one relationship; The displaying of at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item includes: In the target virtual wheel corresponding to the target function item, at least one level of sub-function items of the function corresponding to the target function item are displayed.
5. The method according to claim 1, characterized in that The method of displaying a plurality of function items in response to a display instruction for a function item in a virtual scene comprises: In response to a display instruction for a function item in a virtual scene, a first function list is displayed, and the plurality of function items are displayed in the first function list; The displaying of at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item includes: A second function list is displayed in an area associated with the target function item, and in the second function list, sub-function items of at least one level of the function corresponding to the target function item are displayed.
6. The method according to claim 1, characterized in that The method of displaying a plurality of function items in response to a display instruction for a function item in a virtual scene comprises: In response to a display instruction for a function item in a virtual scene, the target function item is displayed in a first style, and other function items are displayed in a second style; The first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state.
7. The method according to claim 6, characterized in that The first style corresponds to a first display size, and the second style corresponds to a second display size; The adopting the first style to display the target function item includes: Displaying the target function item in a first display size; The adopting the second style to display the other function items includes: The other function items are displayed in a second display size; wherein the first display size is larger than the second display size.
8. The method according to claim 1, characterized in that The method of displaying a plurality of function items in response to a display instruction for a function item in a virtual scene comprises: In response to a display instruction for a function item in a virtual scene, displaying the target function item in an expanded state and other function items in a collapsed state; Wherein, when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items corresponding to the function item are displayed in combination in the interface of the virtual scene; When the function item is in the retracted state, the function item is in a visible state, the sub-function item corresponding to the function item is in an invisible state, and the function item is independently displayed in the interface of the virtual scene.
9. The method according to claim 1, characterized in that In response to a display instruction for a function item in a virtual scene, a plurality of function items are displayed, including: In response to a display instruction for a function item in a virtual scene, the target function item in an expanded state is displayed in a third style, and other function items in an expanded state are displayed in a fourth style; Among them, the third style is different from the fourth style. When the function item is in the expanded state, the function item and the sub-function item corresponding to the function item are both in a visible state, and the function item and the sub-function item corresponding to the function item are combined and displayed in the interface of the virtual scene.
10. The method according to claim 1, characterized in that After the plurality of function items are displayed in response to the display instruction for the function items in the virtual scene, the method further comprises: In response to a switching operation on the target function item, switching the function item in a selected state from the target function item to another function item; The displaying of at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item includes: In the associated area of the other function item in the selected state, sub-function items of at least one level of the function corresponding to the other function item are displayed.
11. The method according to claim 10, characterized in that In response to the switching operation on the target function item, switching the function item in the selected state from the target function item to another function item includes: In response to a switching operation on the target function item, displaying a process in which the multiple function items move in sequence along a target direction; During the movement of the plurality of function items, the function items in the selected state are switched from the target function item to the next function item in the target direction in sequence; When the moving process of the plurality of function items is completed, the function item in the selected state is used as the other function item.
12. The method according to claim 10, characterized in that The function item in the selected state is displayed in a fifth style, and the function item in the unselected state is displayed in a sixth style, and the fifth style is different from the sixth style; In response to the switching operation on the target function item, switching the function item in the selected state from the target function item to another function item includes: In response to a switching operation on a target function item, the display style of the target function item is switched from the fifth style to the sixth style, and the display styles of the other function items are switched from the sixth style to the fifth style.
13. The method according to claim 10, characterized in that The method further comprises: Display cursor; In response to the switching operation on the target function item, switching the function item in the selected state from the target function item to another function item includes: In response to the cursor moving operation, displaying the process of the cursor moving; When the cursor moves to the sensing area of the other function item, in response to the switching condition being satisfied, the function item in the selected state is switched from the target function item to the other function item.
14. The method according to claim 13, characterized in that In response to the switching condition being satisfied, before the function item in the selected state is switched from the target function item to another function item, the method further includes: If the cursor moves to the sensing area of the other function item, the length of time the cursor is in the sensing area is displayed; When the duration reaches the target duration, it is determined that the switching condition is met.
15. The method according to claim 13, characterized in that In response to the switching condition being satisfied, before the function item in the selected state is switched from the target function item to another function item, the method further includes: When the cursor moves to the sensing area of the other function item, in response to a trigger operation performed in the sensing area, it is determined that the switching condition is satisfied.
16. The method according to claim 1, wherein: The method further comprises: In response to a display instruction for a function item in a virtual scene, display operation prompt information, wherein the operation prompt information is used to prompt a method of performing different operations on the function item; In response to a switching operation on the target function item, switching the function item in a selected state from the target function item to another function item; Wherein, the switching operation is triggered in a manner indicated by the operation prompt information; The displaying of at least one level of sub-function items of the function corresponding to the target function item in the associated area of the target function item includes: In the associated area of the other function item in the selected state, sub-function items of at least one level of the function corresponding to the other function item are displayed.
17. The method according to claim 1, wherein: At least one of the sub-function items includes a target sub-function item corresponding to a target interactive function; after displaying at least one level of sub-function items of a function corresponding to the target function item, the method further includes: In response to a triggering operation on a target sub-function item in the sub-function items of the at least one level, an interactive operation corresponding to the target interactive function is performed in the virtual scene.
18. The method of claim 1, wherein: A target sub-function item at a target level among the sub-function items at the at least one level is in a selected state; After displaying at least one level of sub-function items of the function corresponding to the target function item, the method further includes: In response to the target sub-function item in the selected state satisfying a trigger condition, an interactive operation corresponding to the interactive function indicated by the target sub-function item is performed in the virtual scene.
19. An interactive device based on function items, characterized in that: The device comprises: A first display module, configured to display a plurality of function items in response to a display instruction for a function item in a virtual scene, wherein a target function item among the plurality of function items is in a selected state; A second display module, configured to display, in an associated area of the target function item, at least one level of sub-function items of a function corresponding to the target function item; The interactive module is used to control the first object to perform an interactive operation corresponding to the target sub-function item in the sub-function items of the at least one level in response to a trigger operation on the target sub-function item.
20. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the function item-based interaction method described in any one of claims 1 to 18 when executing executable instructions stored in the memory.
21. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to cause a processor to execute and implement the interaction method based on function items as described in any one of claims 1 to 18.
22. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the function item-based interaction method described in any one of claims 1 to 18 is implemented.
Citation Information
Cited By
Functional item-based interaction method and apparatus, electronic device, storage medium, and program product
WO2026056548A1
