Method, device and equipment for configuring virtual building unit and storage medium
By configuring target functions for multiple functionalities of virtual building units on a graphical user interface, the problem of single functionality in existing technologies is solved, multi-functional integration is achieved, and the operability of the game and the player experience are improved.
Patent Information
- Application Number
- CN202311670336.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-12-05
AI Technical Summary
In existing building games, the virtual building units have limited functionality, requiring players to configure a large number of units to achieve various functions, resulting in cumbersome configuration.
The terminal provides a graphical user interface, allowing players to configure target functions for multiple functionalities of the virtual building unit on the configuration interface, thus integrating various functions.
It enhances players' ability to customize virtual building units, thereby improving the game's operability and player experience.
Smart Images

Figure CN117732081B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game technology, and more specifically, to a method, apparatus, device, and storage medium for configuring virtual building units. Background Technology
[0002] With the rapid development of the internet and the gaming industry, games have become an indispensable element of people's leisure and entertainment.
[0003] In the existing technology, there are some building games that provide players with virtual blocks of various shapes. Players can build or place virtual blocks of different shapes in the game scene to generate virtual buildings with the desired shape or virtual maps with the desired shape and function.
[0004] However, each virtual building unit in this construction method has a limited function. If players want to configure multiple functions in the virtual game scene, they need to configure a large number of virtual building units in the virtual game scene to achieve multiple functions. Summary of the Invention
[0005] The purpose of this application is to address the shortcomings of the prior art by providing a configuration method, apparatus, device, and storage medium for virtual building units, thereby solving the problem of cumbersome configuration of multiple functions in the prior art.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, one embodiment of this application provides a method for configuring a virtual building unit, which provides a graphical user interface through a terminal, the graphical user interface displaying a virtual building scene, the method comprising: In response to a configuration trigger event for the first virtual building unit, the configuration interface of the first virtual building unit is displayed on the graphical user interface; In response to the configuration operation input through the configuration interface, corresponding target functions are configured for the multiple functional surfaces of the first virtual building unit.
[0007] Secondly, another embodiment of this application provides a configuration device for a virtual building unit, the device comprising: a display module and a configuration module, wherein: The display module is configured to display the configuration interface of the first virtual building unit on the graphical user interface in response to a configuration trigger event for the first virtual building unit. The configuration module is used to configure corresponding target functions for the multiple functional surfaces of the first virtual building unit in response to the configuration operation input through the configuration interface.
[0008] Thirdly, another embodiment of this application provides a configuration device for a virtual building unit, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the configuration device for the virtual building unit is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any of the methods described in the first aspect above.
[0009] Fourthly, another embodiment of this application provides a storage medium storing a computer program, which, when executed by a processor, performs the steps of any of the methods described in the first aspect above.
[0010] The beneficial effects of this application are as follows: By using the configuration method of the virtual building unit provided in this application, players can configure different target functions for multiple functional surfaces of the first virtual building unit. This configuration method allows players to achieve the configuration of multiple target functions by configuring one first virtual building unit, thereby realizing that multiple functions can be integrated into one first virtual building unit. This allows even the smallest unit of the first virtual building unit to achieve multiple functions simultaneously, thereby improving the player's custom configuration of the virtual building unit, improving the operability of the game, and improving the player's game experience. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A flowchart illustrating a method for configuring a virtual building unit according to an embodiment of this application; Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of this application; Figure 3 A schematic diagram of a graphical user interface provided for another embodiment of this application; Figure 4 A flowchart illustrating a configuration method for a virtual building unit provided in another embodiment of this application; Figure 5 A schematic diagram of a graphical user interface provided for another embodiment of this application; Figure 6 A flowchart illustrating a configuration method for a virtual building unit provided in another embodiment of this application; Figure 7 A schematic diagram of the configuration device for a virtual building unit provided in an embodiment of this application; Figure 8 A schematic diagram of the configuration device for a virtual building unit provided in another embodiment of this application; Figure 9 This is a schematic diagram of the configuration device for a virtual building unit provided in an embodiment of this application. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.
[0014] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0015] In one embodiment of this application, the configuration method for the virtual building unit can run on a local terminal device or a server. When the configuration method for the virtual building unit runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and client devices.
[0016] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of the configuration method for virtual building units are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the player, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0017] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0018] Furthermore, the flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed in order or performed simultaneously. Moreover, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0019] The following explanation, using several specific application examples, illustrates a method for configuring a virtual building unit provided in this application.
[0020] In one possible implementation, embodiments of the present invention provide a method for configuring a virtual building unit. Figure 1 This is a flowchart illustrating a configuration method for a virtual building unit according to an embodiment of this application. A graphical user interface (GUI) is provided via a terminal, displaying a virtual building scene, such as... Figure 1 As shown, the method includes: S101: In response to a configuration trigger event for the first virtual building unit, display the configuration interface of the first virtual building unit on the graphical user interface.
[0021] In the embodiments of this application, the virtual building scene may have a preset number of minimum units of land. Players can place the first virtual building unit on the preset number of minimum units of land. If the land occupied by the first virtual building unit exceeds the area of the virtual building scene, the first virtual building unit cannot be built in the virtual building scene.
[0022] The number of plots in a virtual building scene can be related to the current level of the virtual building scene. The higher the level of the virtual building scene, the more plots it has. Players can obtain more areas to build virtual structures by upgrading the level of the virtual building scene. It should be understood that the above embodiments are only illustrative. The number of plots in a virtual building scene may be related to the level of the virtual building scene, the level of the player's virtual character in the game, or the player may be able to obtain more plots in the virtual building scene by exchanging virtual resources in the game scene. All of these can be flexibly adjusted according to the user's needs and are not limited to the embodiments given above.
[0023] Figure 2 A graphical user interface diagram provided for an embodiment of this application, such as... Figure 2 As shown, the configuration interface may include, for example, multiple action surfaces included in the first virtual building unit, and the configuration information corresponding to each action surface.
[0024] In some possible embodiments, different virtual building units may include different numbers of working faces. For example, if the virtual building unit is a virtual hexahedron, then the virtual building unit may have 6 working faces (each of the 6 faces of the virtual hexahedron is a working face); if the virtual building unit is a virtual hurdle, then the virtual hurdle may have 2 working faces (the front and back of the virtual hurdle); if the virtual building unit is a virtual triangle, then the virtual triangle may have 3 working faces (each of the 3 faces of the virtual triangle is a working face).
[0025] Alternatively, in some other possible embodiments, the surface that comes into contact with the virtual construction scene is generally considered an inactive surface, that is, it is not included in the scope of the active surfaces. In this case, if the virtual construction unit is a virtual hexahedron, then the active surfaces corresponding to the virtual construction unit can be, for example, 5 (the surface of the virtual hexahedron that comes into contact with the virtual construction scene is not included in the active surfaces); if the virtual construction unit is a virtual hurdle, then the active surfaces corresponding to the virtual hurdle can be, for example, 2 (the front and back of the virtual hurdle); if the virtual construction unit is a virtual triangle, then the active surfaces of the virtual triangle can be, for example, 2 (the surface of the virtual triangle that comes into contact with the virtual construction scene is not included in the active surfaces). It should be understood that the above embodiments are only illustrative examples. The specific number of active surfaces of the first virtual building and the correspondence between the active surfaces of the first virtual building and the first virtual building can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0026] Players can acquire virtual building blocks in various ways, such as: unlocking some virtual building blocks after reaching a certain game level; unlocking some virtual building blocks after successfully completing a preset task; unlocking some virtual building blocks after reaching a certain membership level; or exchanging virtual building blocks using in-game virtual resources. It should be understood that the above embodiments are merely illustrative examples, and the specific methods for acquiring physical building blocks can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0027] In some possible embodiments, the virtual building unit may include multiple unlocking stages, and different unlocking stages may correspond to unlocking different virtual building units. For example, the higher the level of the unlocking stage, the rarer the virtual building unit that is unlocked; or, the higher the difficulty of the task performed by the player, the rarer the virtual building unit that is unlocked. It should be understood that the above embodiments are only illustrative examples, and the specific way of unlocking virtual building units can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0028] S102: In response to the configuration operation input through the configuration interface, configure the corresponding target functions for the multiple action surfaces of the first virtual building unit.
[0029] Among them, continue as Figure 2 As shown, each action surface (A action surface, B action surface, C action surface, D action surface, E action surface, F action surface) of the first virtual structure may include an input box, and the player can configure the corresponding target function for the action surface corresponding to the input box by directly inputting in the input box.
[0030] The input operation can be, for example, input by the player on the touch screen of the terminal device, or input by the player through an external device, such as an external keyboard; or input by the player through voice input. It should be understood that the above embodiments are only illustrative examples, and the specific way of inputting the target function in the input box can be flexibly adjusted according to the user's needs, and is not limited to the above embodiments.
[0031] or, Figure 3 A graphical user interface diagram provided for another embodiment of this application, such as... Figure 3 As shown, the configuration interface may include, for example, the identification information of each functional surface corresponding to the first virtual building unit, and after the identification information of each functional surface, a function selection list corresponding to each functional surface may be displayed.
[0032] In some other possible embodiments, a target function can be configured for a target action surface in response to a selection operation of a target function from a function list for each target action surface.
[0033] like Figure 3 As shown, the player has identified surface A as the target surface among the various surfaces and expanded the function list of surface A. The function list includes multiple optional functions, such as: bounce, stain, teleport, be hit, shrink, enlarge, etc. The player can select the target function as the configuration function of surface A from the multiple optional functions in the function list.
[0034] The selected target function can be displayed in the function list in a way that is different from other functions. For example, the selected target function can be highlighted in the function list; or the selected target function can be grayed out in the function list; or, the unselected functions can be grayed out in the function list, and the selected target function can be displayed in the function list in a preset color, etc. Of course, the above embodiments are only illustrative examples. The specific display method of the selected target function in the function list, the content of the multiple functions included in the function list, and the display order of each function in the function list can be flexibly adjusted according to the user's needs and are not limited to the above embodiments.
[0035] By using the configuration method of the virtual building unit provided in this application, players can configure different target functions for multiple functionalities of the first virtual building unit. This configuration method allows players to achieve multiple target functions by configuring one first virtual building unit, thus enabling multiple functions to be integrated into one first virtual building unit. This allows even the smallest unit of the first virtual building unit to perform multiple functions simultaneously, thereby improving the player's custom configuration of the virtual building unit, enhancing the operability of the game, and improving the player's gaming experience.
[0036] Continue as Figure 3 As shown in the embodiments of this application, in addition to the functions of each face (functional face), the attributes of the first virtual building unit also include the size of the first virtual building unit. That is to say, in the player's configuration process, in addition to configuring the corresponding target functions for each face of the first virtual building unit, the size attribute value of the first virtual building unit can also be configured to adjust the size of the first virtual building unit.
[0037] The size attributes of different first virtual building units may vary. For example, when the first virtual building unit is a cube, its size attributes may include length, width, and height. When the first virtual building unit is a sphere, its size attributes may include diameter or radius. When the first virtual building unit is a triangular prism, its size attributes may include height and base length. It should be understood that the above embodiments are merely illustrative examples. The specific size attributes of the first virtual building unit can be determined based on its shape and the game's pre-configuration, and are not limited to those given in the above embodiments.
[0038] The size of the virtual building unit can be configured based on the smallest unit in the virtual building scene. For example, if the smallest unit in the virtual building scene is 5 units long, then when configuring the size of the first virtual building unit, it needs to be configured in increments of 5 units. For example, only sizes like 5, 10, 15, etc., can be configured. In other words, the size needs to be configured as a positive integer multiple of the smallest unit length, with the smallest unit length as a reference. If the smallest unit in the virtual building scene is 1 unit long, then when configuring the size of the first virtual building unit, its length, width, and height attributes can be configured as any positive integer. It should be understood that the above embodiments are only illustrative examples. The specific configuration of the virtual building units and the unit length of the smallest unit in the virtual building scene can be flexibly adjusted according to user needs and are not limited to the above embodiments.
[0039] In the embodiments of this application, if the number of plots occupied by the size setting of the first virtual building unit exceeds the number of plots in the virtual building scene, a prompt message will pop up on the graphical user interface to indicate that the first virtual building unit cannot be placed in the target building area.
[0040] It should be noted that, for the aforementioned situations where virtual structures cannot be placed, players can choose to expand the virtual building scene by consuming a certain amount of preset game resources so that the first virtual building unit can be placed in the expanded virtual building scene; or, they can modify the first virtual building unit so that the modified first virtual building unit can be placed in the virtual building scene.
[0041] In some other possible embodiments, if the number of plots occupied by the first virtual building unit exceeds the number of plots in the virtual building scene, the size of the first virtual building unit can be modified so that the number of plots occupied by the modified virtual building can be placed within the plots of the virtual building scene. It should be understood that the above embodiments are only illustrative examples. The handling method when the first virtual building unit cannot be placed in a specific virtual building scene can be flexibly adjusted according to the user's needs and is not limited to the above embodiments.
[0042] Optionally, based on the above embodiments, this application embodiment may also provide a configuration method for a virtual building unit, and the implementation process of the above method will be illustrated below with reference to the accompanying drawings. Figure 4 This is a flowchart illustrating a method for configuring a virtual building unit according to another embodiment of this application. Figure 5 A graphical user interface diagram for another embodiment of this application, such as... Figure 5 As shown, the graphical user interface also includes a list of virtual building units, such as... Figure 4 As shown, the method may further include: S111: In response to a selection operation entered in the list of virtual building units, determine the first virtual building unit.
[0043] Continue as Figure 5 As shown, the graphical user interface includes a virtual building scene corresponding to the current game scene. Players can build virtual building units in this virtual building scene. For example, a list of virtual building units can be provided on the right side of the graphical user interface. The list displays different virtual building unit icons and the remaining available quantity of each virtual building unit. Players can select the first virtual building unit from the list. It should be understood that the above embodiments are only illustrative examples. The specific virtual building unit list can also be displayed on the left side, top boundary, bottom boundary, or any other arbitrary position of the graphical user interface. The position of the specific virtual building unit list displayed on the graphical user interface can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0044] S112: In response to the placement operation of the first virtual building unit in the virtual building scene, generate the first virtual building unit in the virtual building scene according to the end position of the placement operation.
[0045] After selecting a first virtual building unit, players can place it in the virtual building scene by dragging it in sequence, based on the ending position of the drag operation. This will display the first virtual building unit in the virtual building scene. Alternatively, in other possible embodiments, players can directly move the first virtual building unit after selection. The player can then control the first virtual building unit to move within the virtual building scene. If the player moves to a target location, they can click / double-click the target location to place the first virtual building unit there, thus displaying it in the virtual building scene. It should be understood that the above embodiments are merely illustrative, and the specific method of placing the first virtual unit can be flexibly adjusted according to user needs and is not limited to the methods described in the above embodiments.
[0046] During the game, players can build virtual structures or virtual maps by placing multiple virtual building units in the virtual building scene, or by building multiple virtual building units.
[0047] In the embodiments of this application, a configuration trigger event for the first virtual building unit is generated in response to the placement operation of the first virtual building unit in the virtual building scene. That is, after the first virtual building unit is successfully placed in the virtual building scene, the configuration trigger operation for the first virtual building unit is triggered directly by default, and the configuration interface corresponding to the first virtual building unit is directly displayed on the graphical user interface. It should be understood that the above embodiments are only illustrative examples, and the specific way to trigger the configuration trigger operation of the first virtual building unit can be flexibly adjusted according to the user's needs and is not limited to the above embodiments. For example, the configuration trigger event for the first virtual building unit can also be generated in response to the trigger operation of the configuration control of the first virtual building unit; or, it can be a configuration trigger event triggered in response to the double-click operation of the first virtual building unit, or a configuration trigger event triggered in response to the click operation of the preset configuration control after selecting the first virtual building unit. The specific triggering method of the configuration trigger event can be flexibly adjusted according to the user's needs and is not limited to the above embodiments.
[0048] In some possible embodiments, the virtual building scenario may include multiple virtual building units. The display method of the multiple virtual building units in the virtual building scenario may be related to the configuration type of the virtual building unit. For example, the display color of the virtual building units under different configuration types may be different.
[0049] The configuration type can include, for example, a configurable type or a non-configurable type. A configurable type means that the function of the current virtual building unit can be customized by the player, while a non-configurable type means that the function of the current virtual building unit cannot be customized by the player. For example, a non-configurable type virtual building unit may not have any function and is a normal virtual building unit. Alternatively, a non-configurable type virtual building unit may have a fixed function, which is a preset function of the game and cannot be customized by the player.
[0050] For example, the configuration type of each virtual building unit can be determined first based on its functional configuration information. Then, in the virtual building scene, each virtual building unit is displayed in the display mode corresponding to its configuration type. This allows players to directly determine whether a virtual building unit can be customized by its color, enabling them to quickly select a configurable virtual building unit from among multiple virtual building units for detailed configuration.
[0051] For example, the display color of configurable virtual building units can be the default color of virtual building units. For instance, if the default color of a virtual building unit is yellow, then configurable virtual building units will be displayed in yellow in the virtual building scene. The display color of non-configurable virtual building units can be grayed out in the virtual building scene. Alternatively, configurable virtual building units can be highlighted in the virtual building scene. It should be understood that the above embodiments are only illustrative examples. The display methods and colors of different types of virtual building units in a specific virtual building scene can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments. Players only need to be able to intuitively determine the configuration type of different virtual building units in the virtual game scene through the display methods of different virtual building units.
[0052] The configurable types may include, for example, whether the size of the virtual building unit can be configured, and whether the functions of each surface of the virtual building unit can be configured. In other words, the types of virtual building units may include, for example, four types: configurable size but no configurable function, non-configurable size and no configurable function, non-configurable size but configurable function, and configurable size and configurable function. Different types of virtual building units may have different display methods so that players can intuitively determine the configuration type of the virtual building unit by the display color of each virtual building unit. It should be understood that the above embodiments are only illustrative examples. The specific configuration types and the corresponding display methods can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0053] By using the method described above to determine different display methods based on different configuration types, players can intuitively determine the configuration type of each virtual building unit in the virtual game scene based on the display method. They can directly select configurable virtual building units and configure their content. For non-configurable virtual building units, such as virtual loop doors with fixed functions, virtual touch drop boards with local fixed functions, or virtual floors, players can intuitively determine that they are non-configurable based on their display method, thus eliminating the need to configure or modify their content. This improves the efficiency of players in configuring each virtual building unit and avoids the need for players to manually try configuring each virtual building unit one by one to determine whether each virtual building unit is configurable, thereby improving the intuitiveness and gaming experience of players.
[0054] In some possible embodiments, to improve the intuitiveness of the player's gameplay, the virtual building list can display each virtual unit with different colors based on its configuration type. For example, configurable virtual building units could be displayed in green, while non-configurable virtual building units could be displayed in yellow. Players can directly select the virtual building unit of the desired configuration type from the virtual building list to quickly choose the appropriate virtual building unit to place in the virtual building scene. For example, if a player needs to place a virtual building unit that can be configured with multiple functions in the virtual building scene, they can directly select a configurable virtual building unit from the virtual building list and place it in the virtual building scene. Non-configurable virtual building units can be left unselected, thereby improving the player's building efficiency.
[0055] Alternatively, a virtual building list of virtual units under different configuration types can be provided. For example, different configuration types can be displayed at the top of the virtual building list: such as configurable type and non-configurable type. If the player selects the configurable type, only configurable virtual building units will be displayed in the virtual building list. The player can view and select from the multiple configurable virtual building units displayed in the virtual building list. If the player selects the non-configurable type, only non-configurable virtual units will be displayed in the virtual building list. The player can view and select from the multiple non-configurable virtual building units displayed in the virtual building list. It should be understood that the above embodiments are only illustrative examples. The specific display method of the virtual building list and the display method of each virtual unit in the virtual building list can be flexibly adjusted according to the user's needs and is not limited to the above embodiments.
[0056] Optionally, based on the above embodiments, this application embodiment may also provide a configuration method for a virtual building unit, and the implementation process of the above method will be illustrated below with reference to the accompanying drawings. Figure 6 This is a flowchart illustrating a method for configuring virtual building units according to another embodiment of this application. The graphical user interface also includes a list of virtual building units, such as... Figure 6 As shown, after S102, the method may further include: S121: In response to the configuration confirmation operation for the first virtual building unit, according to the target function configured on each working surface of the first virtual building unit, display the icon of the corresponding target function on each working surface of the first virtual building unit.
[0057] The correspondence between each target function and icon is preset by the game, or it can be configured according to the player's settings. For example, the icon corresponding to the launch function can be a spring icon or a springboard icon; the icon corresponding to the teleport function can be an arrow icon or a lightning bolt icon; the icon corresponding to the zoom function can be a balloon icon; the icon corresponding to the hit function can be a small hammer, a mace icon, or a hammer icon; the icon corresponding to the dyeing function can be a dye vat icon or a palette icon, etc. It should be understood that the above embodiments are only illustrative examples, and the specific correspondence between each function and icon can be flexibly adjusted according to the user's needs, and is not limited to the above embodiments.
[0058] For example, if the target function configured on side A of the first virtual building unit is the "launch" function, then a spring icon can be displayed on side A of the first virtual building unit in the virtual building scene to indicate that the target function configured on side A of the first virtual building unit is the "launch" function; if the target function configured on side B of the first virtual building unit is the "teleport" function, then an arrow icon can be displayed on side B of the first virtual building unit in the virtual building scene; if the target function configured on side C of the first virtual building unit is the "dye" function, then a color palette / dye vat icon can be displayed on side C of the first virtual building unit in the virtual building scene; if the target function configured on side D of the first virtual building unit is the "being hit" function, then a small hammer icon can be displayed on side D of the first virtual building unit in the virtual building scene.
[0059] In other possible embodiments, the functional details of each target function can also be configured. For example, the specific launch direction and launch distance of the launch function can be configured, such as launching two units to the left or launching three units forward; the color of the coloring function can be configured, such as coloring red, black, or seven colors; or the teleportation direction and teleportation distance of the teleportation function can be configured, such as teleporting to a fixed plot coordinate or teleporting five units to the left; the specific configuration method for each target function can be, for example, in response to the configuration operation for each target function, configuring the functional details of each target function. The specific configuration method and configuration content can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0060] For example, a details control can be displayed on the configuration interface. In response to a click on the details control, the user can enter the configuration interface for each function detail to configure it. Alternatively, in response to a double-click on a configured target function, the user can enter the configuration interface for the function details of that target function. It should be understood that the above embodiments are merely illustrative examples. The specific configuration methods for the function details of each target function and the methods for triggering the configuration of function details can be flexibly adjusted according to the user's needs and are not limited to those given in the above embodiments.
[0061] To further achieve a one-to-one match between target functions and their corresponding icons, thereby improving the intuitiveness of icon display, in some other possible embodiments, the icon corresponding to the target function can be determined based on the detailed information of the target function configured on each functional surface.
[0062] For example, if the target function configured on the B side of the first virtual building unit is the teleportation function, then according to the teleportation direction configured by the player, an arrow icon consistent with the teleportation direction will be displayed on the B side of the first virtual building unit in the virtual building scene. For example, if the current teleportation direction is to the right, an arrow icon pointing to the right will be displayed on the B side of the first virtual building unit; if the current teleportation direction is to the left, an arrow icon pointing to the left will be displayed on the B side of the first virtual building unit.
[0063] Alternatively, if the target function configured on the C-side of the first virtual building unit is a coloring function, then, for example, a color palette / dye vat icon of the target color can be displayed on the C-side of the first virtual building unit in the virtual building scene according to the target color corresponding to the coloring function. For example, if the target color is red, then a red color palette / dye vat icon can be displayed on the C-side of the first virtual building unit in the virtual building scene. It should be understood that the above embodiments are only illustrative examples. The specific target functions include the function types and the correspondence between the target functions and the icons of the target functions, which can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0064] By using the configuration method of the virtual building unit provided in this application, players can not only configure the functions of multiple surfaces of the first virtual building unit separately, but also configure the size of the first virtual building unit and the functional details of each function, thereby increasing the player's operability in the game. This allows players to customize the configuration of the first virtual building unit with multiple functions in the virtual building scene, improving the playability of the game.
[0065] The configuration device for the virtual building unit provided in this application will be explained below with reference to the accompanying drawings. This configuration device for the virtual building unit can perform the above-described... Figures 1-6 The configuration method for any virtual building unit, its specific implementation, and its beneficial effects are as described above, and will not be repeated below.
[0066] Figure 7 This is a schematic diagram of the configuration device for a virtual building unit provided in an embodiment of this application, as shown below. Figure 7 As shown, the device includes: a display module 201 and a configuration module 202, wherein: Display module 201 is used to display the configuration interface of the first virtual building unit on the graphical user interface in response to a configuration trigger event for the first virtual building unit. The configuration module 202 is used to configure corresponding target functions for multiple functional surfaces of the first virtual building unit in response to the configuration operation input through the configuration interface.
[0067] Optionally, based on the above embodiments, this application embodiment may also provide a configuration device for a virtual building unit, as described below with reference to the accompanying drawings. Figure 7 The implementation process of the given device is illustrated with examples. Figure 8 This is a schematic diagram of the configuration device for a virtual building unit provided in another embodiment of this application, as shown below. Figure 8 As shown, the graphical user interface also includes a list of virtual building units. The device further includes: a determination module 203 and a generation module 204, wherein: The determination module 203 is used to determine the first virtual building unit in response to a selection operation entered in the list of virtual building units; The generation module 204 is used to respond to the placement operation of the first virtual building unit in the virtual building scene and generate the first virtual building unit in the virtual building scene according to the end position of the placement operation.
[0068] Optionally, the generation module 204 is specifically used to generate a configuration trigger event for the first virtual building unit in response to the placement operation of the first virtual building unit in the virtual building scene.
[0069] Optionally, the generation module 204 is specifically used to generate a configuration trigger event for the first virtual building unit in response to a trigger operation of the configuration control for the first virtual building unit.
[0070] Optionally, the configuration module 202 is specifically used to determine the configuration type of each virtual building unit based on the functional configuration information of each virtual building unit; The display module 201 is specifically used to display each virtual building unit in a virtual building scenario according to the configuration type of each virtual building unit and the display method corresponding to the configuration type of each virtual building unit.
[0071] Optionally, the display module 201 is specifically used to respond to the configuration confirmation operation for the first virtual building unit and display the corresponding target function icon on each working surface of the first virtual building unit according to the target function configured on each working surface of the first virtual building unit.
[0072] Optionally, the configuration module 202 is specifically used to configure the size of the first virtual building unit in response to a configuration operation input through the configuration interface.
[0073] Optionally, the configuration module 202 is specifically used to configure the function details of each target function in response to the configuration operation for each target function.
[0074] Optionally, the configuration interface includes: identification information of each action surface and a function selection list corresponding to each action surface. The configuration module 202 is specifically used to respond to the selection operation of the target function in the function list of the target action surface in each action surface, and to configure the target function for the target action surface.
[0075] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0076] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0077] Figure 9 This is a schematic diagram of the configuration device for a virtual building unit provided in an embodiment of this application. The configuration device for the virtual building unit can be integrated into a terminal device or a chip of a terminal device.
[0078] like Figure 9 As shown, the configuration devices of the virtual building unit include: processor 501, bus 502 and storage medium 503.
[0079] Processor 501 is used to store programs, and processor 501 calls the programs stored in storage medium 503 to execute the above-mentioned programs. Figures 1-6 The corresponding method embodiment. Specifically, the steps of the processor 501 executing the above-described configuration method for the virtual building unit include: In response to a configuration trigger event for the first virtual building unit, the configuration interface of the first virtual building unit is displayed on the graphical user interface; In response to the configuration operation input through the configuration interface, corresponding target functions are configured for the multiple functional surfaces of the first virtual building unit.
[0080] In some embodiments, the graphical user interface further includes a list of virtual building units, and the processor 501 is further configured to perform: In response to a selection operation entered in the list of virtual building units, the first virtual building unit is determined; In response to a placement operation of the first virtual building unit in the virtual building scene, the first virtual building unit is generated in the virtual building scene according to the end position of the placement operation.
[0081] In some embodiments, before executing the configuration trigger event for the first virtual building unit and displaying the configuration interface of the first virtual building unit on the graphical user interface, the processor 501 is further configured to perform: In response to the placement operation of the first virtual building unit in the virtual building scene, a configuration trigger event is generated for the first virtual building unit.
[0082] In some embodiments, before executing the configuration trigger event for the first virtual building unit and displaying the configuration interface of the first virtual building unit on the graphical user interface, the processor 501 is further configured to perform: In response to a trigger operation on the configuration control of the first virtual building unit, a configuration trigger event for the first virtual building unit is generated.
[0083] In some embodiments, the virtual construction scenario includes multiple virtual construction units, and the processor 501 is further configured to perform: Based on the functional configuration information of each virtual building unit, determine the configuration type of each virtual building unit; In the virtual building scenario, each virtual building unit is displayed according to its configuration type and the display method corresponding to its configuration type.
[0084] In some embodiments, after the processor 501 executes the configuration operation in response to input through the configuration interface and configures corresponding target functions for the multiple functional surfaces of the first virtual building unit, it is further configured to execute: In response to the configuration confirmation operation for the first virtual building unit, an icon corresponding to the target function is displayed on each of the functional surfaces of the first virtual building unit according to the target function configured on each of the functional surfaces of the first virtual building unit.
[0085] In some embodiments, processor 501 is further configured to perform: In response to the configuration operation input through the configuration interface, the size of the first virtual building unit is configured.
[0086] In some embodiments, processor 501 is further configured to perform: In response to configuration operations for each of the target functions, configure the function details for each of the target functions.
[0087] In some embodiments, the configuration interface includes: identification information for each functional surface and a function selection list corresponding to each functional surface. When the processor 501 executes the configuration operation in response to input through the configuration interface to configure corresponding target functions for the multiple functional surfaces of the first virtual building unit, it is also used to execute: In response to the selection operation of a target function from the function list for each of the target action surfaces, the target function is configured for the target action surface.
[0088] By using the configuration device of the virtual building unit provided in this application, players can configure different target functions on multiple functional surfaces of the first virtual building unit. This configuration method allows players to achieve multiple target functions by configuring one first virtual building unit, thus enabling multiple functions to be integrated into one first virtual building unit. This allows even the smallest unit of the first virtual building unit to perform multiple functions simultaneously, thereby improving the player's custom configuration of the virtual building unit, enhancing the operability of the game, and improving the player's gaming experience.
[0089] Optionally, this application also provides a program product, such as a storage medium storing a computer program, including a program that executes the embodiments corresponding to the above-described methods when run by a processor.
[0090] The specific steps for the processor to execute the configuration method of the above-mentioned virtual building unit include: In response to a configuration trigger event for the first virtual building unit, the configuration interface of the first virtual building unit is displayed on the graphical user interface; In response to the configuration operation input through the configuration interface, corresponding target functions are configured for the multiple functional surfaces of the first virtual building unit.
[0091] In some embodiments, the graphical user interface further includes a list of virtual building units, and the processor is further configured to perform: In response to a selection operation entered in the list of virtual building units, the first virtual building unit is determined; In response to a placement operation of the first virtual building unit in the virtual building scene, the first virtual building unit is generated in the virtual building scene according to the end position of the placement operation.
[0092] In some embodiments, before the processor executes the configuration trigger event in response to the first virtual building unit and displays the configuration interface of the first virtual building unit on the graphical user interface, it is further configured to execute: In response to the placement operation of the first virtual building unit in the virtual building scene, a configuration trigger event is generated for the first virtual building unit.
[0093] In some embodiments, before the processor executes the configuration trigger event in response to the first virtual building unit and displays the configuration interface of the first virtual building unit on the graphical user interface, it is further configured to execute: In response to a trigger operation on the configuration control of the first virtual building unit, a configuration trigger event for the first virtual building unit is generated.
[0094] In some embodiments, the virtual building scenario includes multiple virtual building units, and the processor is further configured to execute: Based on the functional configuration information of each virtual building unit, determine the configuration type of each virtual building unit; In the virtual building scenario, each virtual building unit is displayed according to its configuration type and the display method corresponding to its configuration type.
[0095] In some embodiments, after the processor performs the configuration operation in response to input through the configuration interface and configures corresponding target functions for the multiple functional surfaces of the first virtual building unit, it is further configured to perform: In response to the configuration confirmation operation for the first virtual building unit, an icon corresponding to the target function is displayed on each of the functional surfaces of the first virtual building unit according to the target function configured on each of the functional surfaces of the first virtual building unit.
[0096] In some embodiments, the processor is also configured to perform: In response to the configuration operation input through the configuration interface, the size of the first virtual building unit is configured.
[0097] In some embodiments, the processor is also configured to perform: In response to configuration operations for each of the target functions, configure the function details for each of the target functions.
[0098] In some embodiments, the configuration interface includes: identification information for each functional surface and a function selection list corresponding to each functional surface. When the processor executes the configuration operation in response to input through the configuration interface to configure corresponding target functions for the multiple functional surfaces of the first virtual building unit, it is also used to execute: In response to the selection operation of a target function from the function list for each of the target action surfaces, the target function is configured for the target action surface.
[0099] Using the storage medium provided in this application, players can configure different target functions for multiple functional surfaces of the first virtual building unit. This configuration method allows players to configure multiple target functions by configuring one first virtual building unit, thereby integrating multiple functions into one first virtual building unit. This enables even the smallest unit of the first virtual building unit to perform multiple functions simultaneously, thereby improving the player's custom configuration of the virtual building unit, enhancing the operability of the game, and improving the player's gaming experience.
[0100] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0101] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0102] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0103] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for configuring a virtual building unit, characterized in that, The method includes providing a graphical user interface via a terminal, which displays a virtual construction scene, and the method further includes: In response to a configuration trigger event for the first virtual building unit, a configuration interface for the first virtual building unit is displayed on the graphical user interface; the configuration interface includes: identification information for each functional surface and a function selection list corresponding to each functional surface; In response to the selection operation of a target function from the function list for each of the target action surfaces, the target function is configured for the target action surface; In response to the configuration confirmation operation for the first virtual building unit, an icon corresponding to the target function is displayed on each of the functional surfaces of the first virtual building unit according to the target function configured on each of the functional surfaces of the first virtual building unit.
2. The method as described in claim 1, characterized in that, The graphical user interface also includes a list of virtual building units, and the method further includes: In response to a selection operation entered in the list of virtual building units, the first virtual building unit is determined; In response to a placement operation of the first virtual building unit in the virtual building scene, the first virtual building unit is generated in the virtual building scene according to the end position of the placement operation.
3. The method as described in claim 2, characterized in that, In response to a configuration trigger event for the first virtual building unit, before displaying the configuration interface of the first virtual building unit on the graphical user interface, the method further includes: In response to the placement operation of the first virtual building unit in the virtual building scene, a configuration trigger event is generated for the first virtual building unit.
4. The method as described in claim 1, characterized in that, In response to a configuration trigger event for the first virtual building unit, before displaying the configuration interface of the first virtual building unit on the graphical user interface, the method further includes: In response to a trigger operation on the configuration control of the first virtual building unit, a configuration trigger event for the first virtual building unit is generated.
5. The method as described in claim 1, characterized in that, The virtual construction scene includes multiple virtual construction units, and the method further includes: Based on the functional configuration information of each virtual building unit, determine the configuration type of each virtual building unit; In the virtual building scenario, each virtual building unit is displayed according to its configuration type and the display method corresponding to its configuration type.
6. The method as described in claim 1, characterized in that, The method further includes: In response to the configuration operation input through the configuration interface, the size of the first virtual building unit is configured.
7. The method as described in claim 1, characterized in that, The method further includes: In response to configuration operations for each of the target functions, configure the function details for each of the target functions.
8. A configuration device for a virtual building unit, characterized in that, The device includes: a display module and a configuration module, wherein: The display module is used to display the configuration interface of the first virtual building unit on a graphical user interface in response to a configuration trigger event for the first virtual building unit; the configuration interface includes: identification information of each functional surface and a function selection list corresponding to each functional surface; The configuration module is configured to configure the target function for the target action surface in response to a selection operation of a target function from the function list of each target action surface. The display module is specifically used to respond to the configuration confirmation operation for the first virtual building unit and display the corresponding target function icon on each of the functional surfaces of the first virtual building unit according to the target function configured on each of the functional surfaces of the first virtual building unit.
9. A configuration device for a virtual building unit, characterized in that, The device includes a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the configuration device of the virtual building unit is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1-7.
10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, performs the method described in any one of claims 1-7.
Citation Information
Patent Citations
Virtual building material splicing method and device in game, equipment and storage medium
CN114939274A
Method and device for controlling view display, storage medium and electronic device
CN115105832A