Virtual scene interaction method and device, equipment and storage medium
By introducing interactive methods of resource panels and tabs in voxel games, the problem of diversified operation logic in the prior art is solved, and the user's operation fluency and interaction efficiency are improved.
Patent Information
- Application Number
- CN202411605299.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-04
AI Technical Summary
When building complex structures, existing voxel games have diversified operational logic, which increases the learning cost and operational complexity of players.
Provides an interactive method of virtual scenes. By presenting the resource panel, users can manage virtual objects of multiple resource categories in a unified interface, and classify and place them through tabs and preset areas.
It reduces the user's learning cost of placement operations, improves operation fluency and interaction efficiency, and simplifies the user's operation process.
Smart Images

Figure CN119556823A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, apparatus, device, and computer-readable storage medium for interacting with a virtual scene. Background Art
[0002] Current voxel games typically feature a quick access bar at the bottom of the screen for commonly used tools or blocks. In these games, players select blocks or tools from the quick access bar and then click on areas on the screen to build or manipulate them. However, existing voxel games often employ a different mode than block-based construction for building more complex structures (such as buildings, components, and entities). These games typically require players to enter specific building modes through plugins, special buttons, or other dedicated interfaces. In these modes, objects such as buildings, components, and entities are not placed in an inventory or quick access bar, but are instead selected from a large list or other interface. Because block-based construction uses different operating logic than complex construction modes such as buildings, components, and entities, players must learn and master multiple different operating methods. This diverse operating mode increases the learning curve for players, and switching between these multiple operating logics makes the player experience less smooth and more cumbersome. Summary of the Invention
[0003] In a first aspect of the present disclosure, a method for interacting with a virtual scene is provided. The method includes: presenting an interactive interface associated with the virtual scene, the interactive interface including a resource panel, the resource panel including multiple tabs corresponding to multiple resource categories, each tab including multiple preset areas; based on a received configuration operation, adding at least one virtual resource from a virtual resource set associated with a current user to a corresponding preset area of the resource panel; and based on a selection of a target virtual resource displayed in the resource panel, placing a virtual object corresponding to the target virtual resource into the virtual scene.
[0004] In a second aspect of the present disclosure, a device for interacting with a virtual scene is provided. The device includes: a presentation module configured to present an interactive interface associated with the virtual scene, the interactive interface including a resource panel, the resource panel including multiple tabs corresponding to multiple resource categories, each tab including multiple preset areas; an adding module configured to add at least one virtual resource from a virtual resource set associated with a current user to a corresponding preset area of the resource panel based on a received configuration operation; and a placement module configured to place a virtual object corresponding to a target virtual resource in the virtual scene based on a selection of the target virtual resource displayed in the resource panel.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure may be implemented;
[0010] Figures 2A to 2D shows an example interface according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart illustrating an example process of interacting with a virtual scene according to some embodiments of the present disclosure;
[0012] Figure 4 A schematic structural block diagram illustrating an example apparatus for interacting with a virtual scene according to some embodiments of the present disclosure; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0015] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.
[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0018] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.
[0019] As mentioned above, current voxel games typically feature a quick access bar at the bottom of the screen for commonly used tools or blocks. In these games, players select blocks or tools from the quick access bar and then click on areas on the screen to build or manipulate them. However, existing voxel games often employ different modes for constructing more complex structures (such as buildings, components, and entities) than block-based construction. These games typically require players to enter specific construction modes through plugins, special buttons, or other dedicated interfaces. In these modes, objects such as buildings, components, and entities are not placed in an inventory or quick access bar, but are instead selected from a large list or other interface. Because block-based construction uses different operating logic than complex construction modes such as buildings, components, and entities, players must learn and master multiple different operating methods. This diverse operating mode increases the learning curve for players, and switching between these multiple operating logics results in a less smooth and cumbersome user experience.
[0020] Embodiments of the present disclosure provide a solution for interacting with a virtual scene. The solution includes: presenting an interactive interface associated with the virtual scene, the interactive interface including a resource panel, the resource panel including multiple tabs corresponding to multiple resource categories, each tab including multiple preset areas; based on a received configuration operation, adding at least one virtual resource from a virtual resource set associated with the current user to a corresponding preset area of the resource panel; and based on a selection of a target virtual resource displayed in the resource panel, placing a virtual object corresponding to the target virtual resource into the virtual scene.
[0021] In this way, the embodiments of the present disclosure can reduce the user's learning cost for placement operations and improve the fluency of placement operations by unifying the placement operations of multiple virtual objects corresponding to multiple resource categories, thereby improving the interaction efficiency of placement operations.
[0022] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.
[0023] Sample Environment
[0024] Figure 1 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0025] In this example environment 100, electronic device 110 may run an application 120 that supports interaction with a virtual scene. Application 120 may be any suitable type of application for interacting with a virtual scene, examples of which may include, but are not limited to, games, game development applications, engines, virtual reality applications, building construction applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0026] exist Figure 1 In the environment 100 , if the application 120 is active, the electronic device 110 can present an interface 150 for supporting interaction with the virtual scene through the application 120 .
[0027] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0028] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports interaction with virtual scenes in the electronic device 110.
[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.
[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0032] Example Interaction
[0033] Figures 2A to 2D 200A to 200D according to some embodiments of the present disclosure. Figure 1 The electronic device 110 shown is provided. Figure 1 Example interfaces 200A through 200D are described.
[0034] In some embodiments, the electronic device 110 may present an interactive interface associated with the virtual scene, wherein the interactive interface includes a resource panel, wherein the resource panel includes multiple tabs corresponding to multiple resource categories, and each tab includes multiple preset areas.
[0035] In some scenarios, such as Figure 2A As shown, electronic device 110 may present an interactive interface 200A, in which a virtual scene 210 may be presented. Virtual scene 210 may be a two-dimensional scene or a three-dimensional scene. As an example, virtual scene 210 may be a two-dimensional or three-dimensional game scene in a voxel game or a construction game.
[0036] Alternatively or additionally, the electronic device 110 may further present a resource panel 220 in the interactive interface 200A. Specifically, the resource panel 220 may be a shortcut bar in a voxel game or a building game. The resource panel 220 may include multiple tags and tab pages corresponding to the multiple tags, for example Figure 1 , and a tab page 255 corresponding to the tab 230 - 1 .
[0037] In some embodiments, continue to refer to Figure 2A, the electronic device 110 may present multiple tabs, such as tab 230-1 and tab 230-2, in the resource panel 220. Each of the multiple tabs corresponds to a resource category. For example, these resource categories may include construction-related materials and / or non-construction-related materials corresponding to different voxel levels.
[0038] As an example, construction materials corresponding to different voxel levels may include basic blocks at lower voxel levels used for construction, such as basic blocks used for building walls.
[0039] In some embodiments, building blocks corresponding to different voxel levels may include structures or objects at a medium voxel level that can be constructed from basic blocks, such as stairs, tables, chairs, and other structures or objects constructed from basic blocks.
[0040] Building materials corresponding to different voxel levels can include: A high-level structural material, such as a complete large building consisting of many basic blocks and many structures or objects. For example, a castle, mansion, garden, etc., which are pre-set in the game.
[0041] In addition, non-construction materials can include characters in the game, animals that can be placed in the game scene, and NPCs used to interact with players.
[0042] In some embodiments, the electronic device 110 may further present a plurality of preset areas in the tab 255. For example, the preset area 240-1 and the preset area 240-2. These preset areas may also be understood as "slots" in a voxel game.
[0043] In some embodiments, the electronic device 110 can present virtual resources, such as basic blocks used for building in a game, in preset areas or slots. For example, the electronic device 110 can present basic blocks in the preset area 240-1. A tab can include multiple preset areas, each of which can present virtual resources. In some scenarios, if some virtual resources require a larger presentation space, the electronic device 110 can use more than one preset area to present the virtual resource.
[0044] By using tags and tab pages to classify virtual resources, compared with traditional virtual resource presentation solutions, the embodiments of the present disclosure can reduce the number of user operations and improve the efficiency of selecting or browsing virtual resources.
[0045] In some embodiments, the electronic device 110 may place a virtual object corresponding to the target virtual resource in the virtual scene based on the selection of the target virtual resource displayed in the resource panel. The virtual object may include a two-dimensional prefab and / or a three-dimensional prefab placed in the two-dimensional scene and / or the three-dimensional scene. Prefabs may be models or data assets pre-made by developers, such as character models, chimney models, etc. The two-dimensional or three-dimensional prefabs may be pre-built by the developer of the game or application and stored in a corresponding storage device for user use.
[0046] As a non-limiting example, a player or user can place a virtual object corresponding to a virtual resource in the virtual scene 210 by interacting with the shortcut bar (i.e., the resource panel 220). For example, the user can click on the virtual resource presented in the shortcut bar or drag the virtual resource presented in the shortcut bar to complete the placement of the virtual object.
[0047] In some embodiments, if the electronic device 110 receives an interaction operation corresponding to the target virtual resource, the electronic device 110 may place the target virtual object into the virtual scene 210. In some embodiments, the operation type of the interaction operation for placing the target virtual object into the virtual scene is determined based on the resource category of the target virtual resource.
[0048] For example, different types of virtual resources can correspond to different types of operation flows. For example, if the virtual object the user wants to place is a basic block, the operation type corresponding to the basic block can be an operation type that supports free placement. The user can choose any placement position for the basic block and can rotate the basic block in any direction.
[0049] In another scenario, if the virtual object the user wants to place is an NPC, the operation type for placing the NPC can be different from the operation type used to place the basic block. For example, the operation type used to place the NPC can be an operation type that does not support free placement. This operation type may only support placing the NPC in a preset area, and the user cannot rotate the NPC.
[0050] In some scenarios, different operation types may be pre-configured for different virtual resource categories. Upon receiving a placement operation for a virtual resource of a corresponding category, the electronic device 110 may automatically switch to the corresponding operation type or operation mode.
[0051] For example, the operation type corresponding to the basic block is “Type 1”, and the electronic device 110 may automatically switch the operation type to “Type 1” when receiving a placement operation on the basic block.
[0052] In some embodiments, different operation types may also correspond to operation methods. For example, some types of virtual resources may be placed by, for example, clicking on the virtual resource and then selecting a placement location in the virtual scene. Other types of virtual resources may be placed by, for example, dragging the virtual resource from a preset area to a specific location in the virtual scene.
[0053] like Figure 2B As shown, the user can place the virtual object 245 in the virtual scene 210 by first clicking the preset area 240 - 1 and then clicking a location in the virtual scene 210 .
[0054] Alternatively or additionally, if the virtual resource that the user wants to place is not in the current tab, the user can switch the virtual resource presented in the resource panel 220 by selecting a target tab from multiple tabs.
[0055] like Figure 2C As shown in FIG, the user clicks the "Category 2" label 230-2 to switch to another tab page 226. Tab page 226 presents another set of virtual resources, all of which belong to the "Category 2" label. For example, the virtual resources presented in the preset area 250-1 and the preset area 250-2 in tab page 226 both belong to "Category 2" virtual resources.
[0056] In some embodiments, continue to refer to Figure 2C After switching to the target tab, the user can place the virtual object 255 in the virtual scene 210 by, for example, clicking the preset area 250 - 1 and clicking a position in the virtual scene 210 .
[0057] In some embodiments, the electronic device 110 may add at least one virtual resource in the virtual resource set associated with the current user to a corresponding preset area of the resource panel 220 based on the received configuration operation.
[0058] like Figure 2D As shown in FIG, a user may click on resource control 235. In response to triggering resource control 235, electronic device 110 may present a virtual resource collection 260 associated with the current user. Specifically, resource control 235 may be a "backpack button." The user may enter the backpack interface by clicking on the "backpack button." Virtual resource collection 260 may be all available or selectable virtual resources presented in the corresponding backpack interface.
[0059] In some embodiments, the electronic device 110 may present multiple resource groups corresponding to multiple resource categories. Each resource group includes virtual resources in the virtual resource set 260 corresponding to a corresponding resource category.
[0060] like Figure 2D As shown in the resource grouping 234 in the backpack interface, the virtual resource set 260 presented in the backpack interface can be switched using the resource grouping 234. For example, when the user clicks the grouping label 261-1 corresponding to "Category 1" in the resource grouping 234, the backpack interface can be switched to present only the virtual resources belonging to "Category 1".
[0061] In addition, in some alternative embodiments, when the user selects the group label 261-1 of "Category 1" in the resource grouping 234, the resource panel 220 can automatically switch to present the tab page 225 corresponding to "Category 1" to match the category of the virtual resources presented in the backpack interface.
[0062] In some alternative embodiments, if the user does not select resource group 234, when the user selects any virtual resource in virtual resource set 260, electronic device 110 automatically switches the tab page presented in resource panel 220 to the tab page corresponding to the category of the virtual resource selected by the user. This automatic switching technical solution allows the user to directly add the selected virtual resource to resource panel 220 without manually selecting a tab page.
[0063] Through the above-described automatic switching process, users do not need to manually switch between tabs displayed in resource panel 220 when adding virtual resources to resource panel 220. Users can directly add virtual resources to the tabs of the corresponding categories. The embodiments of the present disclosure simplify the user's operation process and improve user interaction efficiency.
[0064] In some scenarios, electronic device 110 may receive a selection of at least one virtual resource in virtual resource set 260, and, based on the received selection, add the at least one virtual resource to a corresponding preset area of resource panel 220. In some embodiments, when adding a virtual resource to resource panel 220, the preset area corresponding to the added virtual resource is determined based on a configuration operation.
[0065] Specifically, the user may first click on a virtual resource in the virtual resource collection 260, and then click on a preset area in the resource panel 220 to add the selected virtual resource to the resource panel 220. For example, the user may first click on a virtual resource 262 in the virtual resource collection 260, and then click on the preset area 240-1 in the resource panel 220 to add the virtual resource 262 to the preset location 240-1 in the resource panel 220. Alternatively, the user may also add the virtual resource to the resource panel 220 by first clicking on the preset area 240-1 in the resource panel 220, and then clicking on the virtual resource 262 in the virtual resource collection 260.
[0066] In addition, in some embodiments, the user can also add multiple virtual resources to the resource panel 220 at the same time. For example, the user can first select multiple virtual resources to be added in the virtual resource collection 260, and then the selected multiple virtual resources can be automatically added by the electronic device 110 to the preset area in the resource panel 220. Alternatively, the user can also manually select different slots in the preset area (i.e., preset area) to add multiple virtual resources to be added to the resource panel 220. Through these flexible adding methods described above, the embodiments of the present disclosure can effectively reduce the number of user operations, thereby improving the efficiency of adding virtual resources to the resource panel 220.
[0067] In this way, the embodiments of the present disclosure can reduce the user's learning cost for placement operations and improve the fluency of the user's placement operations by unifying the placement operations of multiple virtual objects corresponding to multiple resource categories, thereby increasing the interactive efficiency of the user's placement operations.
[0068] Example Process
[0069] Figure 3 FIG. 3 is a flow chart illustrating an example process 300 for interacting with a virtual scene according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 3. The process 300 is described below.
[0070] like Figure 3 As shown, in box 310, the electronic device 110 presents an interactive interface associated with the virtual scene, the interactive interface includes a resource panel, the resource panel includes multiple tabs corresponding to multiple resource categories, and each tab includes multiple preset areas.
[0071] In block 320 , the electronic device 110 adds at least one virtual resource in the virtual resource set associated with the current user to a corresponding preset area of the resource panel based on the received configuration operation.
[0072] In block 330 , the electronic device 110 places a virtual object corresponding to the target virtual resource into the virtual scene based on the selection of the target virtual resource displayed in the resource panel.
[0073] In some embodiments, adding at least one virtual resource to a corresponding preset area of a resource panel includes: presenting a collection of virtual resources associated with the current user in response to triggering a resource control; receiving a selection of at least one virtual resource in the collection of virtual resources; and based on the selection, adding at least one virtual resource to the corresponding preset area of the resource panel.
[0074] In some embodiments, the preset area corresponding to the at least one virtual resource is determined based on a configuration operation.
[0075] In some embodiments, in response to triggering the resource control, presenting the virtual resource collection associated with the current user includes presenting multiple resource groups corresponding to multiple resource categories, each resource group including virtual resources in the virtual resource collection corresponding to a corresponding resource category.
[0076] In some embodiments, process 300 further includes, in response to selecting a target resource category in the plurality of tabs, switching to a target tab corresponding to the target resource category; and presenting a set of virtual resources corresponding to the target resource category in the target tab.
[0077] In some embodiments, the plurality of resource categories include: construction-type materials corresponding to different voxel levels; and non-construction-type materials.
[0078] In some embodiments, the virtual scene includes a two-dimensional scene and / or a three-dimensional scene, and the virtual object includes a two-dimensional prefab and / or a three-dimensional prefab placed in the two-dimensional scene and / or the three-dimensional scene.
[0079] In some embodiments, the operation type of the interactive operation for placing the target virtual object into the virtual scene is determined based on the resource category of the target virtual resource.
[0080] Example devices and equipment
[0081] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 41 shows a schematic structural block diagram of an example apparatus 400 for interacting with a virtual scene according to certain embodiments of the present disclosure. Apparatus 400 may be implemented as or included in electronic device 110. Each module / component in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0082] like Figure 4 As shown, the device 400 includes: a presentation module 410, configured to: present an interactive interface associated with a virtual scene, the interactive interface including a resource panel, the resource panel including multiple tabs corresponding to multiple resource categories, each tab including multiple preset areas; an adding module 420, configured to: add at least one virtual resource in a virtual resource set associated with the current user to a corresponding preset area of the resource panel based on a received configuration operation; and a placement module 430, configured to: place a virtual object corresponding to a target virtual resource into the virtual scene based on a selection of a target virtual resource displayed in the resource panel.
[0083] In some embodiments, the adding module 420 is further configured to: present a virtual resource collection associated with the current user in response to triggering a resource control; receive a selection of at least one virtual resource in the virtual resource collection; and based on the selection, add at least one virtual resource to a corresponding preset area of the resource panel.
[0084] In some embodiments, the preset area corresponding to the at least one virtual resource is determined based on a configuration operation.
[0085] In some embodiments, the presentation module 410 is further configured to present a plurality of resource groups corresponding to a plurality of resource categories, each resource group including virtual resources corresponding to a corresponding resource category in the virtual resource set.
[0086] In some embodiments, the device 400 also includes a switching module, which is configured to: switch to a target tab corresponding to the target resource category in response to selection of a target resource category in multiple tabs; and present a group of virtual resources corresponding to the target resource category in the target tab.
[0087] In some embodiments, the plurality of resource categories include: construction-type materials corresponding to different voxel levels; and non-construction-type materials.
[0088] In some embodiments, the virtual scene includes a two-dimensional scene and / or a three-dimensional scene, and the virtual object includes a two-dimensional prefab and / or a three-dimensional prefab placed in the two-dimensional scene and / or the three-dimensional scene.
[0089] In some embodiments, the operation type of the interactive operation for placing the target virtual object into the virtual scene is determined based on the resource category of the target virtual resource.
[0090] The units included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0091] like Figure 5 As shown, electronic device 500 is in the form of a general electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of electronic device 500.
[0092] The electronic device 500 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 500.
[0093] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5As shown in FIG, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. Memory 520 may include a computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0094] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0095] Input device 550 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 560 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 500 may also communicate with one or more external devices (not shown) via communication unit 540 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with electronic device 500, or with any device that allows electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0096] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0097] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0098] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0099] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0100] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0101] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A virtual scene interaction method, comprising: Presenting an interactive interface associated with the virtual scene, the interactive interface comprising a resource panel, the resource panel comprising a plurality of tabs corresponding to a plurality of resource categories, each tab comprising a plurality of preset areas; Based on the received configuration operation, adding at least one virtual resource in the virtual resource set associated with the current user to a corresponding preset area of the resource panel; as well as Based on the selection of the target virtual resource displayed in the resource panel, a virtual object corresponding to the target virtual resource is placed in the virtual scene.
2. The method according to claim 1, wherein adding the at least one virtual resource to a corresponding preset area of the resource panel comprises: In response to triggering a resource control, presenting the set of virtual resources associated with the current user; receiving a selection of the at least one virtual resource in the set of virtual resources; as well as Based on the selection, the at least one virtual resource is added to the corresponding preset area of the resource panel. 3 . The method according to claim 2 , wherein the preset area corresponding to the at least one virtual resource is determined based on the configuration operation.
4. The method of claim 2, wherein in response to triggering a resource control, presenting the set of virtual resources associated with the current user comprises: A plurality of resource groups corresponding to the plurality of resource categories are presented, each resource group including virtual resources in the virtual resource set corresponding to a corresponding resource category.
5. The method according to claim 1, further comprising: In response to a selection of a target resource category among the plurality of tab pages, switching to a target tab page corresponding to the target resource category; as well as A group of virtual resources corresponding to the target resource category is presented in the target tab page.
6. The method of claim 1, wherein the plurality of resource categories comprises: Construction materials corresponding to different voxel levels; and Non-construction materials.
7. The method according to claim 1, wherein the virtual scene comprises a two-dimensional scene and / or a three-dimensional scene, and the virtual object comprises a two-dimensional prefab and / or a three-dimensional prefab placed in the two-dimensional scene and / or the three-dimensional scene. 8 . The method according to claim 1 , wherein an operation type of the interactive operation for placing the target virtual object into the virtual scene is determined based on a resource category of the target virtual resource.
9. A device for interaction of a virtual scene, comprising: A presentation module, configured to present an interactive interface associated with a virtual scene, the interactive interface comprising a resource panel, the resource panel comprising a plurality of tabs corresponding to a plurality of resource categories, each tab comprising a plurality of preset areas; an adding module, configured to add at least one virtual resource in the virtual resource set associated with the current user to a corresponding preset area of the resource panel based on the received configuration operation; as well as The placement module is configured to place a virtual object corresponding to the target virtual resource in the virtual scene based on the selection of the target virtual resource displayed in the resource panel.
10. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Information processing method, information processing device, storage medium and electronic equipment
CN109701274A
Interaction method and device, computer equipment and storage medium
CN116943150A
Game editing method, game editing device, program product, and electronic device
CN118491091A