CN112774202A - Virtual space construction method and device, electronic equipment and computer readable storage medium - Google Patents

Virtual space construction method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112774202A
CN112774202A CN202110088727.XA CN202110088727A CN112774202A CN 112774202 A CN112774202 A CN 112774202A CN 202110088727 A CN202110088727 A CN 202110088727A CN 112774202 A CN112774202 A CN 112774202A
Authority
CN
China
Prior art keywords
target
building
rendering
virtual space
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110088727.XA
Other languages
Chinese (zh)
Inventor
徐兴存
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110088727.XA priority Critical patent/CN112774202A/en
Publication of CN112774202A publication Critical patent/CN112774202A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present disclosure provides a virtual space construction method, apparatus, electronic device, and computer-readable storage medium, wherein the method comprises: displaying a target construction template of a virtual space to be constructed; the target construction template includes a plurality of structural units constructing the virtual space; determining a target structural unit from the plurality of structural units based on the virtual building material that the target character has stocked; and filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space. In the embodiment of the disclosure, the target construction template of the virtual space is displayed, the target structural unit is determined from the plurality of structural units of the target construction template, the target structural unit is filled and rendered by using the virtual construction material, and the rendered virtual space is generated, so that the construction operation of the virtual space can be simplified, the complexity of the construction operation of the virtual space is reduced, and better virtual space construction experience is provided for a user.

Description

Virtual space construction method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a virtual space building method and apparatus, an electronic device, and a computer-readable storage medium.
Background
A family building scenario is typically included in existing survivability games, in which a building system for building buildings is provided for game players, and the game players can build selected buildings within the building system. In the case of the conventional construction system, a developer desires to improve the degree of freedom of building construction in the construction system of the game, and in this case, a more free construction mode can be provided for a game player. In this mode of construction, the game player can freely build a building, thereby enabling the player to more freely design various and distinct building structures. For example, a game player may collect various materials and then make the materials into a corresponding building. For example, the materials of walls, floors, tables and chairs are collected, so that a building is built.
However, a high-degree-of-freedom building system will break the building at a finer granularity, for example, breaking a building into the granularity of walls, floors, tables, chairs, etc. For most game players, the higher degree of freedom can improve the operation complexity of the survival game, increase the operation difficulty of the game players and influence the game experience of the game players.
Disclosure of Invention
The embodiment of the disclosure at least provides a virtual space building method and device, electronic equipment and a computer readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a virtual space building method, including: displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space; determining a target structural unit from the plurality of structural units based on the virtual building material that the target character has stocked; and filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
In an alternative embodiment, the target building template for displaying a virtual space to be built includes: acquiring candidate building templates in a building template library based on the virtual space to be built and/or the role identification of the target role; determining a target construction template selected by the target role from the candidate construction templates; and displaying the target building template.
In an alternative embodiment, determining the target construction template selected by the target character from the candidate construction templates comprises: displaying rendering effect graphs corresponding to the candidate building templates; and responding to the selection operation of the target role for any rendering effect graph, and taking the candidate building template corresponding to the rendering effect graph as the target building template.
In an optional embodiment, the method further comprises: before a target building template of a virtual space to be built is displayed, a building template to be shared drawn by a target game player is acquired; generating a rendering effect graph of the building template to be shared; and storing the rendering effect graph of the building template to be shared in a building template library.
In an optional embodiment, before the filling rendering of the target structural unit with the virtual building material to generate a rendered virtual space, the method further comprises: responding to a first trigger operation of the target role, and judging whether the target structural unit comprises all the structural units of the virtual space; if so, filling and rendering the target structure unit by using the virtual building material to generate a rendered virtual space; if not, periodically acquiring newly-added and stored virtual building materials of the target role, and updating the target structural unit according to the newly-added and stored virtual building materials.
In an alternative embodiment, said determining a target structural unit from a plurality of said structural units based on virtual building material already stocked by the target character comprises: acquiring preset associated data, wherein the preset associated data is used for representing virtual building material information corresponding to each structural unit of a building template; acquiring construction material information required by each structural unit of the target construction template based on the preset associated data; and matching the virtual building materials reserved by the target character with each structural unit according to the building material information required by each structural unit to determine the target structural unit.
In an optional embodiment, the method further comprises: generating and displaying rendering prompt identifiers of other structural units except the target structural unit according to the preset incidence relation; the rendering prompt identification comprises: filling building material information required for rendering the other structural units.
In an alternative embodiment, the filling and rendering the target structure unit with the virtual building material to generate the rendered virtual space includes: responding to at least one rendering operation of the target role aiming at the target structural unit, and determining a structural unit to be rendered corresponding to each rendering operation; the structural unit to be rendered is a part of or all of the structural units in the target structural unit; performing filling rendering on the structural unit to be rendered according to rendering information in the rendering operation to generate the rendered virtual space; the rendering information includes at least one of: the virtual building material information comprises identification information of the structural units to be rendered, rendering sequence of the structural units to be rendered, and virtual building material information for rendering the structural units to be rendered.
In a second aspect, embodiments of the present disclosure provide a construction apparatus comprising: a display unit for displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space; a determination unit for determining a target structural unit from the plurality of structural units according to the virtual construction material that the target character has stocked; and the filling and rendering unit is used for filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
Compared with the building mode that a building system in the prior art is more free for game players, the virtual space building method, the virtual space building device, the electronic equipment and the computer-readable storage medium provided by the embodiments of the disclosure show the target building template of the virtual space to be built, and further, according to the virtual building material reserved by the target character, the target structure unit in the target building template is filled and rendered to obtain the rendered virtual space, so that the virtual space building operation of the game players can be simplified, the complexity of the virtual space building operation of the game players is reduced, and better virtual space building experience is provided for the game players.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
FIG. 1 is a flow chart illustrating a method for constructing a virtual space according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating an effect of a target building template before filling rendering provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an effect of a target building template after filling rendering provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a display of a rendering prompt identifier according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating a rendering effect diagram of a virtual space provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a virtual space building apparatus provided by an embodiment of the present disclosure;
fig. 7 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The structural elements of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research shows that aiming at the existing building system, a more free building mode is provided for game players. In this mode of construction, the game player can freely build a building, thereby enabling the player to more freely design various and distinct building structures. However, a high degree of freedom building system would break down my building granularity to a finer degree. For most game players, the higher degree of freedom can improve the operation complexity of the survival game, increase the operation difficulty of the game players and influence the game experience of the game players.
Based on the above research, the present disclosure provides a virtual space building method, in the embodiment of the present disclosure, by displaying a target building template of a virtual space to be built, and further, according to a virtual building material that a target character has stored, performing filling rendering on a target structure unit in the target building template to obtain a rendered virtual space, a building operation of a game player on the virtual space can be simplified, complexity of the building operation of the game player on the virtual space is reduced, and a better building experience of the virtual space is provided for the game player.
To facilitate understanding of the present embodiment, a detailed description is first given of a virtual space building method disclosed in the embodiments of the present disclosure, and an execution subject of the virtual space building method provided in the embodiments of the present disclosure is generally an electronic device with certain computing capability, where the electronic device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the virtual space construction method may be implemented by a processor calling computer readable instructions stored in a memory.
Referring to fig. 1, a flowchart of a virtual space building method provided in an embodiment of the present disclosure is shown, where the method includes steps S101 to S105, where:
s101: displaying a target construction template of a virtual space to be constructed; wherein the target construction template comprises a plurality of structural units for constructing the virtual space.
In the disclosed embodiment, a game player can select a target construction template of a virtual space to be constructed in a construction system of a survival-type game. The virtual space to be constructed may be a virtual building space, where the building includes a house and/or a construction, and the construction is an engineering building, such as a bridge, a fence, a road, and the like.
The target construction template includes a plurality of structural units for constructing a virtual space, for example, the plurality of structural units may be structural units such as walls, floors, tables, chairs, and the like. When the target building template is displayed in the building system of the survival-type game, the display effect of the target building template before the filling rendering is performed may be a display effect of a transparent material. In addition, other display effects may be provided, and the present disclosure is not particularly limited thereto. For example, as shown in fig. 2, it is indicated by the symbol "diagonal line" that the structural unit in the target build template does not perform the fill rendering operation.
S103: determining a target structural unit from the plurality of structural units based on the virtual building material that the target character has stocked.
The target character is a game character created by a game player in a survival type game. In the survivability class game, the game player may stock the corresponding virtual building materials for the target character, and the virtual building materials may be stored in a virtual material library of a building system of the survivability class game. The virtual building material reserved by the target character may be a material purchased by the target character in a virtual store, a virtual building material obtained in the process of playing a game task, or a virtual building material preset in a survival game, which is not specifically limited in this disclosure.
In the disclosed embodiment, after the target building template is presented, the target character can select a target structural unit from a plurality of structural units of the target building template for rendering. It should be noted that, the target structural unit is understood herein as a structural unit satisfying a fill rendering condition among the structural units of the target building template, where the fill rendering condition refers to a condition that a virtual building material for performing a fill rendering on the target structural unit is included in a virtual building material already reserved by the target character.
S105: and filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
In the disclosed embodiment, after the rendering material is determined, the target structural unit may be fill rendered by the virtual build material. After the filling rendering of the target building template shown in fig. 2, the rendered virtual space shown in fig. 3 can be obtained. The target structural unit may be all structural units of the virtual space, or may also be a partial structural unit of the virtual space, which is not specifically limited by the present disclosure.
It should be understood that a plurality of construction scenarios are included in the construction system of the survival-type game, wherein different construction scenarios may be set according to the level of the game player. For example, for a primary game player, a primary building scene may be set for its correspondence, and for a premium game player, a premium building scene may be set for its correspondence. Considering that the building capability of the primary game player is weak, for the primary game player, the virtual space building method described in the embodiment of the present disclosure may be adopted in the primary building scene to build the virtual space, and by the virtual space building method described in the above steps, the building operation of the game player on the virtual space may be simplified, the complexity of the building operation of the game player on the virtual space may be reduced, and a better building experience of the virtual space may be provided for the game player.
For the primary building scene, the primary game player can enter a building mode of the primary building scene in a building system of the survival game. Next, the primary game player may select an object construction template of the virtual space to be constructed and present the object construction template. Then, the primary game player may determine a target structure unit to be rendered among the plurality of structure units of the target building template according to the virtual building material that has been reserved for the corresponding target character, and perform filling rendering on the target structure unit by using the virtual building material, thereby generating a rendered virtual space.
In the embodiment of the disclosure, by the above-described virtual space construction method, the construction operation of the game player on the virtual space can be simplified, the complexity of the construction operation of the game player on the virtual space is reduced, and a better construction experience of the virtual space is provided for the game player.
For a high-level building scene, a high-level game player can also obtain a building template to be shared drawn by the target game player before displaying a target building template of a virtual space to be built; generating a rendering effect graph of the building template to be shared; and storing the rendering effect graph of the building template to be shared in a building template library. In particular, for advanced game players (i.e., target game players) in the survivability class game, new build templates may be drawn under advanced build scenarios. And when the advanced game player selects to share the new building template to other game players, determining the new building template as the building template to be shared. After the building template to be shared by the advanced game players is obtained, the building system of the survival game can automatically generate a corresponding rendering effect map for the building template to be shared, and store the rendering effect map in a building template library, as shown in fig. 5, so as to share the building template to be shared to other game players.
In the embodiment of the present disclosure, when the building template to be shared is shared with other game players, the advanced game player may set identification information of the game player to be shared. For example, a premium game player may set a visible user list of the rendered effect map in which the shared game player specified by the premium game player is included. In addition, the advanced game player can set that all users in the survival game have the right to render the building template to be shared.
It should be noted that, in the embodiment of the present disclosure, a high-level game player may further design a new building template in a building system of a survivorship game, then perform filling rendering on the new building template in the manner described in the above steps S101 to S105 to generate a rendered virtual space, and then may generate a rendering effect map of the rendered virtual space, and store the rendering effect map of the building template to be shared in a building template library, so as to implement sharing the new building template to other game players, so that other game players perform filling rendering of materials on the designed building template.
As can be seen from the above description, in the embodiment of the present disclosure, first, a game player determines a virtual space to be built, and further determines and displays a target building template of the virtual space. In an alternative embodiment, the above process may be described in detail as the following steps, specifically including:
(1) acquiring a candidate building template in a building template library based on the virtual space to be built and/or the role identification of the target role;
(2) determining a target building template selected by the target role from the candidate building templates;
(3) and displaying the target building template.
In the disclosed embodiment, the virtual space may be classified into various types, for example, into a defense base and a general house. At this time, at least one corresponding candidate construction template may be set in the construction template library for different types of virtual spaces according to the classification information of the virtual spaces. After determining the type information of the virtual space to be constructed, the game player selects a candidate construction template corresponding to the type information from the construction template library.
For example, a virtual space identifier may be correspondingly set for each building template in the building template library, and the virtual space identifier is used to indicate the type information of the virtual space to which the candidate building template belongs. For example, the type information of the virtual space includes: the type 1 and the type 2, wherein the type 1 includes a virtual space 1 and a virtual space 2, and the type 2 includes a virtual space 3 and a virtual space 4, then the virtual space identifier may be used to characterize the type to which the candidate building template belongs and the virtual space to which the candidate building template belongs under the type. For example, the virtual space identification may be used to characterize the virtual space 1 in type 1 to which the candidate as-built template belongs.
For each target character, a corresponding character identifier can be set for each target character, and each target character is used for distinguishing each game character through the character identifier. Other game roles in the survival game can share the built building template with the target role. At this time, a mapping relationship may be established between the building template shared by the other game characters and the character identifier of the target character, so as to determine a candidate building template corresponding to the target character according to the mapping relationship.
As can be seen from the above description, when a target construction template is selected from the candidate construction templates, a candidate construction template a1 corresponding to type information may be obtained in the construction template library according to the type information of the virtual space to be constructed, and/or a candidate construction template a2 may be obtained in the construction template according to the role identification of the target role. Then, a target build template selected by the target character is determined among the candidate build templates a1 and/or a candidate build template a 2. In the disclosed embodiment, after the target building template is determined, the target building template may be displayed on a display interface of the building system of the survivorship game.
When the target building template selected by the target role is determined from the candidate building templates, a rendering effect graph corresponding to the candidate building template can be displayed firstly, wherein the rendering effect graph is an effect schematic diagram of a corresponding virtual space generated after the candidate building template is rendered through the virtual building material. The target character can select any rendering effect graph from the displayed rendering effect graphs, and at the moment, the construction system of the survival game responds to the selection operation of the target character aiming at any rendering effect graph, and takes the candidate template corresponding to the rendering effect graph as the target construction template.
In the embodiment of the disclosure, a simple construction mode can be provided for the primary game player by selecting the candidate construction templates in the construction template library and determining the target construction template selected by the target character from the candidate construction templates, so that the construction operation of the primary game player on the virtual space is simplified, the complexity of the construction operation of the game player on the virtual space is reduced, and the game experience of the game player is further improved.
It should be noted that, for some candidate building templates in the building template library, the target role needs to purchase the candidate building templates through the virtual gold to have the usage rights of the candidate building templates. Therefore, in the embodiment of the present disclosure, after the target building template selected by the target character is determined, it may be further verified whether the target character has the authority to load the target building template. And if the target building template has the corresponding authority, allowing the target building template to be loaded and displayed, otherwise, generating prompt information of loading failure to the game player controlling the target character, and displaying information such as purchase amount of the target building template in the prompt information.
In the embodiment of the present disclosure, after presenting the target construction template of the virtual space to be constructed, the user may determine the target structural unit from the plurality of structural units according to the virtual construction material that the target character has stocked.
In an alternative embodiment, step S103, determining a target structural unit from a plurality of said structural units according to the virtual building material already reserved by the target character, comprises the steps of:
step S1031, acquiring preset associated data, wherein the preset associated data are used for representing virtual building material information corresponding to each structural unit of the building template;
step S1032, acquiring virtual building material information required by each structural unit of the target building template based on the preset associated data;
step S1033, matching the virtual construction material reserved by the target character with each of the structural units according to the virtual construction material information required by each of the structural units, and determining a target structural unit.
In the embodiment of the present disclosure, preset association data is preset, and the preset association data includes an association relationship between each structural unit in the building template and the virtual building material information, wherein the virtual building material information may be a material type and/or a material amount of the virtual building material, for example, the material type may be wood, stone material, or the like.
After the preset association data is obtained, a target structural unit capable of performing a filling rendering operation can be determined in the plurality of structural units of the target building template by combining the preset association data and the virtual building material already reserved by the target role.
Specifically, the virtual building material information required for rendering each structural unit in the target building template may be determined according to information indicated in the preset correlation data. Then, matching the virtual construction material that the target character has stocked with each of the structural units according to the virtual construction material information that each of the structural units requires, to determine a renderable target structural unit among the plurality of structural units, wherein it can be understood that the virtual construction material that the renderable target structural unit requires is contained in the virtual construction material that the target character has stocked.
It should be understood that the preset association relationship may be a preset target association relationship, and the target role may modify the preset association relationship. For example, the target role may modify the preset association relationship according to the preference of the target role and the amount and/or kind of the virtual building materials already stored in the target role, and the specific modification manner is not specifically limited by the present disclosure.
In the embodiment of the present disclosure, after the target structural unit is determined in the above-described manner, the target structural unit may be filled and rendered by using a virtual building material, so as to generate the rendered virtual space. After the virtual construction material is rendered to the target construction unit of the target construction template, at this time, the display state of the target construction unit is changed. For example, the corresponding display effect is switched to the actual material of the virtual building material for rendering the target structural unit. For example, as shown in FIGS. 2 and 3, FIG. 2 is a schematic representation before rendering of the target build template, and FIG. 3 is a schematic representation after rendering of the target build template.
According to the description, the preset associated data and the virtual building material reserved by the target character are combined to determine the target structural unit capable of executing the filling rendering operation in the plurality of structural units of the target building template, so that the renderable target structure can be rapidly determined from the plurality of structural units, the construction operation of the virtual space is further simplified, and better virtual space construction experience is provided for game players.
After the target structural unit is determined, a corresponding display identifier can be added to the target structural unit on the display interface, and the display identifier is used for prompting a game player that the structural unit is a structural unit which can execute a filling rendering operation.
In the embodiment of the present disclosure, a rendering prompt identifier of the other structural unit except the target structural unit may be generated and displayed according to the preset association relationship; the rendering prompt identification comprises: filling building material information required for rendering the other structural units.
And aiming at all unrendered structural units in the target building template, a rendering prompt identifier can be correspondingly set. Or, a rendering prompt identifier is correspondingly set for each unrendered structural unit, or a rendering prompt identifier is correspondingly set for unrendered structural units of the same type. Displaying according to the rendering prompt identifier: building material information required for the corresponding unrendered structural unit. Wherein the construction material information includes: material type information and/or material quantity information. For example, as shown in fig. 4, a rendering prompt identifier is set for an unrendered structural unit: XXX virtual building materials are needed.
It should be noted that, in the embodiment of the present disclosure, in the process of rendering the target structural unit, if the target character selects a non-renderable structural unit, the display color of the non-renderable structural unit may be modified to another specified color, for example, to be transparent to red.
It should be understood that the non-renderable structural unit can be understood as a structural unit which is preset in the target building template and cannot be subjected to rendering operation; a non-renderable structural unit may also be a structural unit that does not contain corresponding virtual build material.
In the embodiment of the present disclosure, after determining a target structural unit from a plurality of structural units according to a virtual building material that a target character has stocked, the target structural unit may be subjected to filling rendering by using the virtual building material, so as to generate the rendered virtual space.
In an alternative embodiment, step S105, performing a filling rendering on the target structure unit by using the virtual building material, and generating the rendered virtual space, includes the following processes:
firstly, in response to at least one rendering operation of the target role for the target structural unit, determining a structural unit to be rendered corresponding to each rendering operation; the structural unit to be rendered is a part of or all of the structural units in the target structural unit.
Then, according to the rendering information in the rendering operation, performing filling rendering on the structural unit to be rendered to generate the rendered virtual space; the rendering information includes at least one of: the virtual building material information comprises identification information of the structural units to be rendered, rendering sequence of the structural units to be rendered, and virtual building material information for rendering the structural units to be rendered.
In the embodiment of the present disclosure, when the target structural unit is filled and rendered by using the virtual building material, the target role may select a one-key rendering operation or may also select a step-by-step rendering operation, where the one-key rendering operation means that the user clicks a material rendering button once (that is, one rendering operation), so that all structural units in the target building template may be filled and rendered. The step-by-step rendering operation refers to sequentially performing fill rendering on a plurality of target structural units on the target building template by clicking a material rendering button a plurality of times (i.e., a plurality of rendering operations). The one-key rendering and the step rendering will be described in the following cases.
The first condition is as follows: rendering in steps, in which case the rendering operation comprises: selection operation of the structural unit and click operation of the material rendering button.
In this case, it is assumed that the target building template includes the structural unit 1, the structural unit 2, and the structural unit 3. First, the target build template is presented. Thereafter, a target structural unit is determined from the plurality of structural units based on the virtual construction material that the target character has stocked. Next, the target role can perform a fill rendering on the target building block in steps. For example, the target structural unit to be rendered selected by the target character is structural unit 1. At this time, the construction system of the survival game determines the virtual construction material corresponding to the construction element 1 in response to the selection operation of the construction element 1 acting on the displayed target construction template. Next, the target character clicks a material rendering button, and after detecting the click operation, the construction system of the survivorship game may perform filling rendering on the structural unit 1 according to the virtual construction material in response to the click operation.
After the structural unit 1 is rendered, the structural unit 2 and the structural unit 3 can be rendered, respectively. It should be understood that, regarding the structural unit 2 and the structural unit 3, the rendering process for the structural unit 2 and the structural unit 3 is the same as that for the structural unit 1, and is not described one by one here.
Case two: a one-key rendering operation, in which case the rendering operation includes: clicking operation of a material rendering button.
In this case, before the filling rendering of the target structural unit with the virtual building material to generate the rendered virtual space, it may be further determined whether the target structural unit includes all of the structural units of the virtual space in response to a first trigger operation of the target character. Wherein the first trigger operation may be an operation of triggering all the structural units in the one-key rendering target build template.
After the first trigger operation is detected, it may be determined whether or not a virtual construction material for rendering all the construction units is included in the virtual construction materials that the target character has stocked, by determining whether or not the target construction unit includes all the construction units of the virtual space. If so, a step of fill rendering the target structural unit with the virtual build material may be performed, thereby generating a rendered virtual space. And if not, periodically acquiring newly-added and stored virtual building materials of the target role, updating the target structural unit according to the newly-added and stored virtual building materials, and executing the step of filling and rendering the target structural unit by using the virtual building materials until the updated target structural unit contains all structural units of the virtual space.
And when the target structure unit is filled and rendered by using the virtual building material to generate the rendered virtual space, firstly, displaying a target building template. And then, the target role can click a material rendering button on a display interface in the construction system, and the construction system responds to the click operation of the material rendering button, determines the virtual construction material corresponding to each structural unit in the virtual construction materials stored in the target role, and performs rendering operation on the corresponding structural unit through the virtual construction material to obtain the rendered virtual space.
For the one-key rendering operation, if the virtual building material of the target character inventory can satisfy the rendering of all the target structural units, the one-key rendering operation may be set. By setting one-key rendering operation, the building rate of the virtual space can be further improved, the building time of the virtual space is shortened, and the efficiency of building the virtual space by a user is improved on the basis of simplifying the building operation of the virtual space and reducing the complexity of the building operation of the virtual space.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, a virtual space construction device corresponding to the virtual space construction method is further provided in the embodiments of the present disclosure, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the virtual space construction method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 6, a schematic diagram of a virtual space building apparatus provided in an embodiment of the present disclosure is shown, the apparatus including: a display unit 61, a determination unit 62 and a filling rendering unit 63; wherein the content of the first and second substances,
a display unit 61 for displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space;
a determining unit 62 for determining a target structural unit from the plurality of structural units based on the virtual construction material that has been stocked by the target character;
and a filling and rendering unit 63, configured to perform filling and rendering on the target structure unit by using the virtual building material, so as to generate the rendered virtual space.
In the embodiment of the disclosure, by displaying the target building template of the virtual space to be built, and further, according to the virtual building material reserved by the target character, the target structure unit in the target building template is filled and rendered to obtain the rendered virtual space, so that the building operation of the game player on the virtual space can be simplified, the complexity of the building operation of the game player on the virtual space is reduced, and better building experience of the virtual space is provided for the game player.
In a possible embodiment, the display unit 61 is further configured to: acquiring candidate building templates in a building template library based on the virtual space to be built and/or the role identification of the target role; determining a target construction template selected by the target role from the candidate construction templates; and displaying the target building template.
In a possible embodiment, the display unit 61 is further configured to: displaying rendering effect graphs corresponding to the candidate building templates; and responding to the selection operation of the target role for any rendering effect graph, and taking the candidate building template corresponding to the rendering effect graph as the target building template.
In one possible embodiment, the apparatus is further configured to: before a target building template of a virtual space to be built is displayed, a building template to be shared drawn by a target game player is acquired; generating a rendering effect graph of the building template to be shared; and storing the rendering effect graph of the building template to be shared in a building template library.
In one possible embodiment, the apparatus is further configured to: before the filling and rendering of the target structural unit by using the virtual building material and the generation of the rendered virtual space, responding to a first trigger operation of the target role, and judging whether the target structural unit comprises all structural units of the virtual space; if so, filling and rendering the target structure unit by using the virtual building material to generate a rendered virtual space; if not, periodically acquiring newly-added and stored virtual building materials of the target role, and updating the target structural unit according to the newly-added and stored virtual building materials.
In a possible implementation, the determining unit 62 is further configured to: acquiring preset associated data, wherein the preset associated data is used for representing virtual building material information corresponding to each structural unit of a building template; acquiring virtual building material information required by each structural unit of the target building template based on the preset associated data; and matching the virtual building materials reserved by the target role with each structural unit according to the virtual building material information required by each structural unit to determine the target structural unit.
In one possible embodiment, the apparatus is further configured to: generating and displaying rendering prompt identifiers of other structural units except the target structural unit according to the preset incidence relation; the rendering prompt identification comprises: filling building material information required for rendering the other structural units.
In a possible implementation, the padding rendering unit 63 is further configured to: responding to at least one rendering operation of the target role aiming at the target structural unit, and determining a structural unit to be rendered corresponding to each rendering operation; the structural unit to be rendered is a part of or all of the structural units in the target structural unit; performing filling rendering on the structural unit to be rendered according to rendering information in the rendering operation to generate the rendered virtual space; the rendering information includes at least one of: the virtual building material information comprises identification information of the structural units to be rendered, rendering sequence of the structural units to be rendered, and virtual building material information for rendering the structural units to be rendered.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Corresponding to the virtual space building method in fig. 1, an embodiment of the present disclosure further provides an electronic device 700, as shown in fig. 7, which is a schematic structural diagram of the electronic device 700 provided in the embodiment of the present disclosure, and includes:
a processor 71, a memory 72, and a bus 73; the memory 72 is used for storing execution instructions and includes a memory 721 and an external memory 722; the memory 721 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 71 and the data exchanged with the external memory 722 such as a hard disk, the processor 71 exchanges data with the external memory 722 through the memory 721, and when the electronic device 700 operates, the processor 71 communicates with the memory 72 through the bus 73, so that the processor 71 executes the following instructions:
displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space;
determining a target structural unit from the plurality of structural units based on the virtual building material that the target character has stocked;
and filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
The disclosed embodiments also provide a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the virtual space building method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, where instructions included in the program code may be used to execute the steps of the virtual space building method in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (11)

1. A virtual space construction method, comprising:
displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space;
determining a target structural unit from the plurality of structural units based on the virtual building material that the target character has stocked;
and filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
2. The method of claim 1, wherein the target construction template showing the virtual space to be constructed comprises:
acquiring candidate building templates in a building template library based on the virtual space to be built and/or the role identification of the target role;
determining a target construction template selected by the target role from the candidate construction templates;
and displaying the target building template.
3. The method of claim 2, wherein determining the target build template selected by the target character from the candidate build templates comprises:
displaying rendering effect graphs corresponding to the candidate building templates;
and responding to the selection operation of the target role for any rendering effect graph, and taking the candidate building template corresponding to the rendering effect graph as the target building template.
4. The method of claim 1, further comprising:
before a target building template of a virtual space to be built is displayed, a building template to be shared drawn by a target game player is acquired;
generating a rendering effect graph of the building template to be shared;
and storing the rendering effect graph of the building template to be shared in a building template library.
5. The method according to any one of claims 1 to 4, wherein before performing the filling rendering of the target structural unit with the virtual building material to generate a rendered virtual space, the method further comprises:
responding to a first trigger operation of the target role, and judging whether the target structural unit comprises all the structural units of the virtual space;
if so, filling and rendering the target structure unit by using the virtual building material to generate a rendered virtual space;
if not, periodically acquiring newly-added and stored virtual building materials of the target role, and updating the target structural unit according to the newly-added and stored virtual building materials.
6. The method of claim 1, wherein said determining a target structural unit from a plurality of said structural units based on virtual building material already stocked by the target character comprises:
acquiring preset associated data, wherein the preset associated data is used for representing virtual building material information corresponding to each structural unit of a building template;
acquiring virtual building material information required by each structural unit of the target building template based on the preset associated data;
and matching the virtual building materials reserved by the target role with each structural unit according to the virtual building material information required by each structural unit to determine the target structural unit.
7. The method of claim 6, further comprising:
generating and displaying rendering prompt identifiers of other structural units except the target structural unit according to the preset incidence relation; the rendering prompt identification comprises: filling the virtual building material information required for rendering the other structural units.
8. The method of claim 1, wherein the filling rendering of the target structural unit with the virtual building material to generate the rendered virtual space comprises:
responding to at least one rendering operation of the target role aiming at the target structural unit, and determining a structural unit to be rendered corresponding to each rendering operation; the structural unit to be rendered is a part of or all of the structural units in the target structural unit;
performing filling rendering on the structural unit to be rendered according to rendering information in the rendering operation to generate the rendered virtual space; the rendering information includes at least one of: the virtual building material information comprises identification information of the structural units to be rendered, rendering sequence of the structural units to be rendered, and virtual building material information for rendering the structural units to be rendered.
9. A virtual space building apparatus, comprising:
a display unit for displaying a target construction template of a virtual space to be constructed; wherein the target construction template includes a plurality of structural units constructing the virtual space;
a determination unit for determining a target structural unit from the plurality of structural units according to the virtual construction material that the target character has stocked;
and the filling and rendering unit is used for filling and rendering the target structure unit by using the virtual building material to generate the rendered virtual space.
10. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the virtual space building method of any of claims 1 to 8.
11. A computer-readable storage medium, having stored thereon a computer program for executing the steps of the virtual space construction method according to any one of claims 1 to 8 when being executed by a processor.
CN202110088727.XA 2021-01-22 2021-01-22 Virtual space construction method and device, electronic equipment and computer readable storage medium Pending CN112774202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110088727.XA CN112774202A (en) 2021-01-22 2021-01-22 Virtual space construction method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110088727.XA CN112774202A (en) 2021-01-22 2021-01-22 Virtual space construction method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112774202A true CN112774202A (en) 2021-05-11

Family

ID=75758603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110088727.XA Pending CN112774202A (en) 2021-01-22 2021-01-22 Virtual space construction method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112774202A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108245894A (en) * 2017-12-29 2018-07-06 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN110152297A (en) * 2019-05-17 2019-08-23 网易(杭州)网络有限公司 Edit methods and device, storage medium, the electronic equipment of virtual resource
CN110170166A (en) * 2015-08-24 2019-08-27 鲸彩在线科技(大连)有限公司 A kind of game data generates, method for uploading and device
CN110215712A (en) * 2019-05-17 2019-09-10 网易(杭州)网络有限公司 Edit methods and device, storage medium, the electronic equipment of virtual resource
CN111921203A (en) * 2020-08-21 2020-11-13 腾讯科技(深圳)有限公司 Interactive processing method and device in virtual scene, electronic equipment and storage medium
CN111939565A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Virtual scene display method, system, device, equipment and storage medium
CN112121420A (en) * 2020-09-22 2020-12-25 北京冰封互娱科技有限公司 Image display method and device, storage medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110170166A (en) * 2015-08-24 2019-08-27 鲸彩在线科技(大连)有限公司 A kind of game data generates, method for uploading and device
CN108245894A (en) * 2017-12-29 2018-07-06 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN110152297A (en) * 2019-05-17 2019-08-23 网易(杭州)网络有限公司 Edit methods and device, storage medium, the electronic equipment of virtual resource
CN110215712A (en) * 2019-05-17 2019-09-10 网易(杭州)网络有限公司 Edit methods and device, storage medium, the electronic equipment of virtual resource
CN111921203A (en) * 2020-08-21 2020-11-13 腾讯科技(深圳)有限公司 Interactive processing method and device in virtual scene, electronic equipment and storage medium
CN111939565A (en) * 2020-08-28 2020-11-17 腾讯科技(深圳)有限公司 Virtual scene display method, system, device, equipment and storage medium
CN112121420A (en) * 2020-09-22 2020-12-25 北京冰封互娱科技有限公司 Image display method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN107222315B (en) User information display method and system based on voice communication platform
CN110251937B (en) Game object control method and device
WO2022247592A1 (en) Virtual prop switching method and apparatus, terminal, and storage medium
CN110215695B (en) Game object selection method and device
CN111672122B (en) Interface display method, device, terminal and storage medium
CN110908880B (en) Buried point code injection method, event reporting method and related equipment thereof
CN111135579A (en) Game software interaction method and device, terminal equipment and storage medium
CN113975788A (en) Entry indexing method and device, computer equipment and storage medium
CN103902281A (en) Providing a common virtual item repository in a virtual space
EP3546038A1 (en) Information processing program, information processing system, information processing apparatus, and information processing method
CN111773695A (en) Display control method and device in game
CN108804584A (en) Method for exhibiting data, device, equipment and storage medium
CN113713396A (en) Method and device for displaying checkpoint information, computer equipment and storage medium
CN112807670A (en) Interaction method and device for virtual card game, electronic equipment and storage medium
CN110727384B (en) Unread message quantity statistical method and device and electronic equipment
WO2023197788A1 (en) Interaction method and apparatus, computer device, and readable storage medium
CN110365682B (en) Anti-cheating method and device
CN112774202A (en) Virtual space construction method and device, electronic equipment and computer readable storage medium
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN113806197A (en) Page loading duration calculation method and device
KR102637796B1 (en) Method and system for processing chat rooms based on level of usage and non-transitory computer readable recording media
KR101601466B1 (en) Computer program and mobile device having a function of conceal or uncover an icon shown on background of a card in trading card game
CN113181640A (en) Menu bar display method and device, electronic equipment and storage medium
CN113101647B (en) Information display method, device, equipment and storage medium
JP6052925B2 (en) Server apparatus, server apparatus control method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination