CN-121988040-A - Combination generation method, program product and electronic device
Abstract
The method for generating the combination comprises the steps of responding to a triggering operation of quickly generating the combination, displaying a top view interface, determining at least one independent building module on a constructable area, displaying a preselection frame corresponding to the at least one independent building module on the top view interface, responding to a selection operation of the preselection frame, determining a target combination area, and responding to a storage operation, and storing the building structures in the target combination area as a combination preset scheme. Therefore, through intelligent preselection of the top view and frame editing obtained immediately, the creation and storage operations of large-scale building combinations are simplified, and the efficiency and the accuracy are improved.
Inventors
- LENG TIANYANG
- ZHANG XINYAN
- CHEN KUI
Assignees
- 网易(上海)网络有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260116
Claims (15)
- 1. A method of combinatorial generation, the method comprising: Responding to a triggering operation of a shortcut generation combination, and displaying a top view interface, wherein the top view interface comprises a building structure on a current constructable area; Determining at least one individual building module on the constructable area; displaying a pre-selected frame corresponding to the at least one independent building module on the overhead view interface; Determining a target combination area in response to a selection operation of the pre-selection frame; and responding to the preservation operation, and preserving the building structures in the target combination area as a combination preset scheme.
- 2. The method of claim 1, wherein said determining at least one individual building module on said constructable area comprises: And identifying the mutually associated building components as an independent building module according to the association relation between the building components.
- 3. The method of claim 1, wherein the pre-selection box is displayed with a highlighting effect and/or the pre-selection box corresponds to a text prompt.
- 4. The method of claim 1, further comprising, after said determining the target combined region: displaying an editing point, wherein the editing point is used for editing the target combination area; in response to an editing operation, the range and/or position of the target combined area is adjusted.
- 5. The method of claim 4, wherein the editing operation comprises a zoom operation and/or a move operation.
- 6. The method of claim 4 or 5, wherein the target combined area is adsorbed onto an adjacent grid line when the editing operation is finished.
- 7. The method of claim 1, further comprising, after said determining the target combined region: and displaying a preview view of the building structure in the target combination area.
- 8. The method of claim 7, wherein the preview view is displayed in a predetermined area of the top view interface and is responsive to a viewing angle adjustment operation.
- 9. The method of claim 1, wherein the save operation comprises: and storing the building structure in the target combination area as a combination preset scheme, and recording attribute information of the combination preset scheme, wherein the attribute information comprises at least one of required materials, occupied area and material rules.
- 10. The method according to claim 1, wherein the method further comprises: Displaying the saved combination preset scheme in a building column; and in response to the placement operation of the combination preset scheme, placing the building structure corresponding to the combination preset scheme on the constructable area.
- 11. The method of claim 10, further comprising, after the placing operation: And carrying out overall movement, recovery, replication or de-grouping operation on the building structure corresponding to the combination preset scheme.
- 12. The method of claim 1, wherein the self-contained building module comprises at least one building component in a building structure, the building component comprising at least one of a structural component, furniture, trim.
- 13. The method of claim 1, wherein the constructable area is a foundation in a game.
- 14. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 13.
- 15. An electronic device, comprising: A processor; a memory for storing executable instructions of the processor; Wherein the processor is configured to perform the method of any one of claims 1 to 13 via execution of the executable instructions.
Description
Combination generation method, program product and electronic device Technical Field The present disclosure relates to the field of computer technology, and in particular, to a combination generating method, a program product, and an electronic device. Background In some build-type games, the creation and saving of complex building combinations by players typically relies on manual pointing or framing of parts. These methods are cumbersome and inefficient to operate in the face of large-scale buildings or complex scenes, especially with poor experience on mobile devices. Although some schemes provide a one-key selection function, flexibility is often lacking, and the requirement of players on fine editing of local structures cannot be met. The related technical scheme mainly has the problems of high operation cost, limited selection range, inconvenient modification, lack of intelligent prejudgment and the like. For example, large-scale frame selection is limited by screen size, the accuracy is not enough, and one-key full selection can not be locally adjusted, so that a player is forced to perform unnecessary scene movement, and the whole flow is not visual and efficient. Disclosure of Invention The present disclosure provides a combination generating method, program product, and electronic device to at least partially solve the above-described problems in the related art. According to a first aspect of the disclosure, a combination generating method is provided, and the method includes the steps of responding to a trigger operation of quickly generating a combination, displaying a top view interface, wherein the top view interface comprises a building structure on a current constructable area, determining at least one independent building module on the constructable area, displaying a preselected frame corresponding to the at least one independent building module on the top view interface, responding to a selection operation of the preselected frame, determining a target combination area, and responding to a storage operation, and storing the building structure in the target combination area as a combination preset scheme. According to a second aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect described above and possible implementations thereof. According to a third aspect of the present disclosure, there is provided an electronic device comprising a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to perform the method of the first aspect and possible implementations thereof via execution of the executable instructions. A combination generating method in at least one embodiment of the present disclosure includes displaying a top view interface including building structures on a current constructable area in response to a trigger operation for quickly generating a combination, determining at least one independent building module on the constructable area, displaying a pre-selected frame corresponding to the at least one independent building module on the top view interface, determining a target combination area in response to a selection operation of the pre-selected frame, and storing the building structures in the target combination area as a combination preset scheme in response to a storage operation. Therefore, through intelligent preselection of the top view and frame editing obtained immediately, the creation and storage operations of large-scale building combinations are simplified, and the efficiency and the accuracy are improved. Drawings FIG. 1 illustrates a schematic diagram of a system architecture in an exemplary embodiment of the present disclosure; FIG. 2 illustrates a flow chart of a combination generation method in an exemplary embodiment of the present disclosure; FIG. 3 illustrates a schematic diagram of a graphical user interface in an exemplary embodiment of the present disclosure; FIG. 4a shows a schematic diagram of a graphical user interface in an exemplary embodiment of the present disclosure; FIG. 4b shows a schematic diagram of a graphical user interface in an exemplary embodiment of the present disclosure; FIG. 4c illustrates a schematic diagram of a graphical user interface in an exemplary embodiment of the present disclosure; FIG. 5 illustrates a schematic diagram of a graphical user interface in an exemplary embodiment of the present disclosure; Fig. 6 illustrates a schematic structure of an electronic device in an exemplary embodiment of the present disclosure. Detailed Description Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings. In order that those skilled in the art will better understand the present disclosure, a technical solution in the embodiments of the present disclosure will be clea