CN113082701A - Game city construction method and electronic equipment - Google Patents

Game city construction method and electronic equipment Download PDF

Info

Publication number
CN113082701A
CN113082701A CN202110408953.1A CN202110408953A CN113082701A CN 113082701 A CN113082701 A CN 113082701A CN 202110408953 A CN202110408953 A CN 202110408953A CN 113082701 A CN113082701 A CN 113082701A
Authority
CN
China
Prior art keywords
building
operation area
model
area
level
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.)
Granted
Application number
CN202110408953.1A
Other languages
Chinese (zh)
Other versions
CN113082701B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110408953.1A priority Critical patent/CN113082701B/en
Publication of CN113082701A publication Critical patent/CN113082701A/en
Application granted granted Critical
Publication of CN113082701B publication Critical patent/CN113082701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method for building a game city and electronic equipment. Wherein, the method comprises the following steps: responding to the upgrading event of the first level, and providing a building operation area corresponding to the second level by the graphical user interface; the building operation area corresponding to the second level comprises sub models of a second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model; the method has the advantages that the target submodel is displayed according to the position relation associated with the completed first building model, the problem that the building model is set randomly in a game to cause a chaotic building process is solved, a player can intuitively sense the urban construction process in the urban construction game conveniently, and the game experience of the player is improved.

Description

Game city construction method and electronic equipment
Technical Field
The invention relates to the technical field of games, in particular to a method for building a game city and electronic equipment.
Background
In the existing game urban construction, various building models are listed mainly through a building tree diagram or an ordered list, a player can check corresponding upgrading relations and upgrading conditions by clicking the building models, and the building models are constructed according to the levels of the building models, although the urban construction can be realized by the method, the physical states and the changing relations of the building models cannot be displayed, if in the construction process, the player can randomly set the position of each building model for a plurality of building models at the current level, and if the plurality of building models are randomly and disorderly arranged in a construction area, the player cannot obviously perceive the urban construction process; moreover, players also need to check the upgrading relation and upgrading conditions of each building model, so that the urban construction operation process is complicated, and the game requirements of the players cannot be met.
Disclosure of Invention
In view of the above, the present invention provides a method for urban construction of a game and an electronic device, so as to alleviate the above technical problems, facilitate players to intuitively perceive the urban construction process in the urban construction game, simplify the construction operation of the players, and improve the game experience of the players.
In a first aspect, an embodiment of the present invention provides a method for building a game city, in which a terminal device provides a graphical user interface of a game, where the content displayed by the graphical user interface includes a building presentation area and a building operation area, and the building presentation area is used to present a completed first building model, and the method includes: responding to the upgrading event of the first level, and providing a building operation area corresponding to the second level by the graphical user interface; the building operation area corresponding to the second level comprises the submodel of the second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model; and responding to the selected operation aiming at the target sub-model, and displaying the target sub-model in the building presentation area according to the associated position relation.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the building operation area includes a building operation area corresponding to each level, and the step of providing, by the graphical user interface, a building operation area corresponding to a second level includes: and the graphical user interface switches the first building operation area corresponding to the first level into the second building operation area corresponding to the second level.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the step of displaying the target sub-model in the building presentation area according to the associated position relationship includes: displaying the target sub-model at a position corresponding to the associated position relation in the building presentation area according to the preview state; monitoring whether the display duration of the preview state reaches a preset duration or not; if yes, changing the state of the target sub-model from the preview state to the finished state; and the finished state is used for representing the target submodel and displaying the target submodel through the materialized state.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the building operation area is further configured with an operation area switching control, and the method further includes: responding to the switching operation aiming at the operation area switching control, and switching the first building operation area into a second building operation area; and displaying the second building operation area in the building operation area of the graphical user interface.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the operation region switching control includes an operation bar and a movable control disposed on the operation bar; the designated position in the operation bar corresponds to the level of the building operation area; responding to the switching operation aiming at the operation area switching control, and switching the first building operation area to the second building operation area, wherein the step comprises the following steps: responding to the movement operation aiming at the movable control, and moving the movable control according to the movement operation; and in response to the end of the moving operation, determining the building operation area of the level corresponding to the position of the movable control at the end as a second building operation area.
With reference to the third or fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after the step of displaying the second building operation area in the building operation area of the graphical user interface, the method further includes: responding to the preview operation aiming at the second building operation area, and acquiring a preview image of a second building model of the second building operation area; and displaying a preview image of the second building model of the second building operation area in the building presentation area.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the content displayed on the graphical user interface further includes an operation area expansion control, and the method further includes: and responding to the expansion operation aiming at the operation area expansion control, and displaying the first building operation area and the second building operation area in the graphical user interface.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, wherein the step of displaying the first building operation area and the second building operation area in the graphical user interface includes: and displaying the first building operation area and the second building operation area in a floating mode on the completed first building model in the graphical user interface.
With reference to the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the method further includes: responding to game map loading operation of a game, and acquiring a game map; dividing the game map into a plurality of virtual areas in response to a dividing operation for the game map; wherein the virtual area corresponds to a level of the building operating area.
In a second aspect, an embodiment of the present invention further provides a device for building a game city, where a terminal device provides a graphical user interface of a game, where the content displayed by the graphical user interface includes a building presentation area and a building operation area, and the building presentation area is used to present a completed first building model, and the device includes: the providing module is used for responding to the upgrading event of the first level, and the graphical user interface provides a building operation area corresponding to the second level; the building operation area corresponding to the second level comprises sub models of a second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model; and the display module is used for responding to the selected operation aiming at the target sub-model and displaying the target sub-model in the building presentation area according to the associated position relation.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method in the first aspect when executing the computer program.
In a fourth aspect, the present invention further 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 of the method in the first aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a game urban construction method and electronic equipment, wherein a target sub-model is displayed according to a position relation associated with a completed first building model, so that the problem that the building model is randomly set in a game to cause a disordered construction process is solved, and a player can intuitively perceive the urban construction process in an urban construction game conveniently; and in the building process, building the building model in the corresponding building operation area according to the level upgrading event, so that the condition that a player checks the building model in the same building operation area for multiple times in the building process is avoided, the upgrading relation and the upgrading condition of the building operation area are determined, the building process of the player is simplified, and the game experience of the player is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a building tree according to an embodiment of the present invention;
FIG. 2 is a schematic view of a game city according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graphical user interface provided by an embodiment of the present invention;
FIG. 4 is a flow chart of a method for building a game city according to an embodiment of the present invention;
fig. 5 is a schematic diagram of switching operation areas of a building according to an embodiment of the present invention;
FIG. 6 is a flow chart of another method for building a game city according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a graphical user interface provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of another graphical user interface provided by an embodiment of the present invention;
FIG. 9 is a flow chart of a city game building apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing urban construction game mainly comprises two schemes: the first scheme is mainly to list building models through a building tree diagram or an ordered list, as shown in fig. 1, the building model contained in the 0 th level is an urban main mansion model, the building model contained in the first level comprises a school yard model and a local residence model, and a player can check corresponding upgrading relations and upgrading conditions by clicking the building model of each level and construct the building models according to the upgrading relations and the upgrading conditions; the second scheme can visually display the physical state and the relative relationship between the building models in the urban construction process, as shown in fig. 2, the relative position relationship between the pharmacy, the resident house and the like and the main house of the city on the physical structure, but the upgrading relationship and the upgrading condition between the building models cannot be displayed, and a player needs to have better game experience.
Therefore, the existing urban construction game mainly adopts a first scheme, although the scheme can realize urban construction, players cannot obviously perceive the urban construction process because the physical state and the change relationship of a building model cannot be displayed; moreover, players also need to check the upgrading relation and upgrading conditions of each building model, so that the urban construction operation process is complicated, and the game requirements of the players cannot be met. Aiming at the problem, the embodiment of the invention provides a game urban construction method and electronic equipment, which realize that a player intuitively senses the urban construction process in an urban construction game, simplify the construction process of the player and improve the game experience of the player.
To facilitate understanding of the present embodiment, a detailed description will be given below of a method for building a game city according to an embodiment of the present invention. The method for building the game city can be operated on terminal equipment or a server, wherein the terminal equipment comprises but is not limited to a mobile terminal, a computer, a palm computer and the like. In practical applications, the manner in which the terminal device provides the graphical user interface to the user or the player includes various manners, such as rendering the graphical user interface to be displayed on a display screen of the terminal device, or providing the graphical user interface to the user or the player through holographic projection.
As shown in fig. 3, the content displayed on the graphical user interface 3 includes a building presentation area 31 and a building operation area 32, in practical applications, the building presentation area 31 is used to present a completed first building model (not shown), the building operation area 32 includes building operation areas (not shown) corresponding to a plurality of levels, the building operation areas of the plurality of levels are arranged according to a level sequence, the building operation areas of each level may be the same or different, and may be specifically set according to practical situations, and the embodiment of the present invention is not limited herein.
Based on the terminal device, an embodiment of the present invention provides a method for building a game city, as shown in fig. 4, the method includes the following steps:
step S402, responding to the upgrading event of the first level, and providing a building operation area corresponding to the second level by the graphical user interface;
specifically, the building operation area corresponding to each level includes the building model corresponding to the level, and in practical applications, each building model may include a plurality of sub models, for example, for a first building operation area corresponding to a first level, a plurality of sub models constituting a first building model are included, and after the first building model is built, an upgrade event of the first level is generated, so that a player unlocks the second level, and the building is completed according to a second building operation area corresponding to the second level. It should be noted that the sub-models may include multiple types, such as a residential building model and a commercial building model, and after the building of each type of the first building model is completed, it indicates that the building of the first building model is completed, that is, an upgrade event of a first level is generated; in each level of building operation area, the types of the sub-models of the corresponding building models may be the same or different, and this is not limited to be described in the embodiment of the present invention.
For the upgrading event of the first level, the processor of the terminal device responds to the upgrading event, and switches a first building operation area corresponding to the first level into a second building operation area corresponding to the second level in the graphical user interface, wherein the second building operation area corresponding to the second level comprises a sub-model of a second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model; therefore, when the player builds the second building model according to the second building operation area, the submodel of the second building model is built according to the position relation associated with the completed first building model, the problem that the building model is randomly set in a game to cause a chaotic building process is solved, and the player can intuitively know the urban building process in the urban building game.
This is illustrated here for ease of understanding. As shown in fig. 5, 5-a is a first building operation area corresponding to a first level, which includes multiple types of submodels of the first building model, where three types of submodels, namely, submodel I, submodel II, and submodel III, are shown, a player realizes building of the first building model by selecting a submodel of the first building model in the first building operation area, and when the submodels of the first building model are all built, the terminal device responds to an upgrade event of the first level, and switches the first building operation area corresponding to the first level to a second building operation area corresponding to a second level in the graphical user interface, so as to obtain the graphical user interface in 5-b, where the building presentation area displays the completed first building model, and the second building operation area includes multiple submodels of the second building model, where submodels IV, II, and III are shown, The submodel V and the submodel VI facilitate the player to build the second building model according to the submodel of the second building model and display the submodel in the building presentation area according to the position relation associated with the first building model, thereby avoiding the problem that the building model is randomly arranged in the game to cause the building process to be more disordered, and further facilitating the player to intuitively perceive the urban building process in the urban building game. It should be noted that the types of the six seed models shown in fig. 5 may be the same or different, and the number of each type of sub model may be set according to actual situations.
Wherein, for each of the above levels, the method further comprises: responding to game map loading operation of a game, and acquiring a game map; dividing the game map into a plurality of virtual areas in response to a dividing operation for the game map; wherein the virtual area corresponds to a level of the building operating area. Specifically, the game map may also be referred to as an overall urban area of an urban building, after the terminal device acquires the game map, the game map is divided into a plurality of virtual areas, such as N virtual areas, according to a preset division rule, the sequence of the divided virtual areas is matched with the levels, for example, the virtual areas corresponding to the first level are ranked from low to high according to the levels, and the virtual areas corresponding to the first level are named as first areas. The division rule is related to the play setting of the game, and the play setting information of each urban construction game is different, and the corresponding rule is different, and is specifically set according to the actual situation.
And for the matched plurality of virtual areas, the building operation areas corresponding to the virtual areas are also matched with the corresponding levels, so that when the player selects a target sub-model in a second building operation area corresponding to the second level, the target sub-model is displayed in a second virtual area of the building presentation area according to the position relation associated with the completed first building model. In addition, the building operation areas corresponding to the virtual areas are arranged in sequence from low to high according to the corresponding level relation in the building operation area of the graphical user interface, and unlocking is performed in sequence according to the upgrading relation, if the building grade condition of the current virtual area reaches the upgrading condition, the next virtual area can be unlocked, namely when building model building in the building operation area corresponding to the current virtual area is completed, the upgrading event of the current level is responded, the building operation area is switched from the current building operation area to the next building operation area corresponding to the next level, so that unlocking is performed according to the level relation through the building operation areas, and the orderliness of the urban building process is guaranteed.
Therefore, in the urban construction process, the scheme of matching the virtual areas, the levels and the building operation areas also avoids that a player repeatedly checks the upgrading relation and the upgrading condition of each building model, and only needs to complete the construction of the sub-models in the building operation areas, and then automatically unlocks the next building operation area so as to construct the next corresponding virtual area according to the next building operation area, thereby simplifying the urban construction process of the player and improving the urban construction efficiency and the experience of the player.
And S404, responding to the selection operation aiming at the target sub-model, and displaying the target sub-model in the building presentation area according to the associated position relation.
And for a plurality of submodels of the second building model in the second building operation area, when a player selects a certain target submodel, displaying the target submodel in the building presentation area according to the position relationship associated with the completed first building model, so that in the building presentation area, based on the completed first building model, displaying the target submodel according to the relative relationship between the building models on a certain physical structure, wherein the relative relationship comprises but is not limited to the relative position relationship, the dependency relationship and the like, and can be specifically set according to the actual situation.
According to the urban game building method provided by the embodiment of the invention, the target sub-model is displayed according to the position relation associated with the completed first building model, so that the problem that the building model is randomly set in the game to cause a relatively disordered building process is solved, and a player can intuitively perceive the urban building process in the urban building game conveniently; and in the building process, building the building model in the corresponding building operation area according to the level upgrading event, so that the condition that a player checks the building model in the same building operation area for multiple times in the building process is avoided, the upgrading relation and the upgrading condition of the building operation area are determined, the building process of the player is simplified, and the game experience of the player is improved.
On the basis of fig. 4, another method for constructing a game city according to an embodiment of the present invention is further provided, where the execution subject is a terminal device, and the method focuses on describing a process of displaying a target sub-model in a building presentation area according to an associated positional relationship, as shown in fig. 6, the method includes the following steps:
step S602, responding to the upgrading event of the first level, and providing a building operation area corresponding to the second level by the graphical user interface;
the building operation area corresponding to the second level comprises sub models of a second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model.
Step S604, responding to the selection operation aiming at the target submodel, and displaying the target submodel at the position corresponding to the associated position relation in the building presentation area according to the preview state;
for example, when the player selects the submodel IV in the second submodel, as shown in fig. 7, the submodel IV is displayed in the building presentation area through the virtualization state (i.e., the model corresponding to the dotted line in the drawing), and the completed first building model is represented by the materialized state, i.e., the solid line in the drawing, so that the player can intuitively perceive the process of building the target submodel according to the completed first building model according to the preview state.
Step S606, monitoring whether the display duration of the preview state reaches the preset duration;
for the target submodel of the preview state, the terminal device also monitors whether the display duration of the preview state reaches a preset duration, wherein the process can be monitored in real time through the progress bar, if the length of the progress bar is the preset duration, the progress bar is empty when the preview state starts, so that the progress bar is gradually filled according to the display duration of the preview state until the representation of the filled progress bar reaches the preset duration; the display duration may also be directly displayed, and when the display duration reaches a preset duration, a prompt message may be generated to prompt the player, etc., and the specific monitoring process may be set according to an actual situation, which is not limited in the embodiments of the present invention.
In step S608, if yes, the status of the target sub-model is changed from the preview status to the completed status.
When the display duration of the preview state reaches the preset duration, the terminal device directly changes the target submodel from the preview state to the completed state, wherein the completed state is used for representing that the target submodel is displayed through the materialized state, so that the building of the target submodel is completed, the target submodel is displayed according to the position relation associated with the completed first building model, the problem that the building model is randomly arranged in a game to cause a building process to be disordered is avoided, and therefore a player can visually know the urban building process in an urban building game conveniently.
Optionally, the building operation area of the graphical user interface is further configured with an operation area switching control, and the method further includes: responding to the switching operation aiming at the operation area switching control, and switching the first building operation area into a second building operation area; and displaying the second building operation area in the building operation area of the graphical user interface. In practical application, as shown in fig. 8, the operation area switching control may be disposed on the right side of the building operation area of the graphical user interface, and since the building operation areas corresponding to the respective levels in the building operation area are sequentially arranged according to the levels, a player can conveniently view the building operation areas of the respective levels through the operation area switching control and switch the building operation areas; it should be noted that the operation area switching control may also be set in other positions of the building operation area, and a specific setting position may be set according to an actual situation, which is not limited in this embodiment of the present invention.
The operation area switching control comprises an operation bar and a movable control arranged on the operation bar, and the specified position in the operation bar corresponds to the level of the building operation area. Specifically, the terminal device responds to the movement operation aiming at the movable control and moves the movable control according to the movement operation; and in response to the end of the moving operation, determining the building operation area of the level corresponding to the position of the movable control at the end as a second building operation area. As shown in fig. 8, the movable control is a rectangular control disposed on the operation bar, the position of the movable control (a solid-line rectangular control) is a first building operation area at a first level, when the moving operation is finished, the building operation area at the level corresponding to the position of the movable control at the end is determined as a second building operation area (not shown), it should be noted that if the building operation areas at other levels are checked, the movable control only needs to be moved to the position corresponding to the level, and the building operation area corresponding to the level can be displayed in the building operation area on the graphical user interface, which is not described in detail herein.
In addition, a plurality of movable controls may be further provided on the operation bar, and the player may further directly click a certain movable control on the operation bar, and use the building operation area at the level corresponding to the position of the selected movable control as the target building operation area to be viewed, and the process of specifically determining the target building operation area may refer to the above-mentioned embodiment, which is not described in detail herein.
Further, after the second building operation area is displayed in the building operation area of the graphical user interface, the method further includes: responding to the preview operation aiming at the second building operation area, and acquiring a preview image of a second building model of the second building operation area; and displaying a preview image of the second building model of the second building operation area in the building presentation area. Specifically, for the second building operation area, the player can also obtain a preview of the second building model of the second building operation area through a preview operation, and display the preview in the building presentation area according to the position relationship between the second building model and the completed first building model, so that the player can visually check the relative position relationship between the second building model and the first building model of the second building operation area on the physical structure, and further the urban building perception of the player is improved. It should be noted that, for the target building models of the target building operation areas at the other levels, the target building models may also be displayed according to the preview, which may specifically refer to the foregoing embodiment, and details of the embodiment of the present invention are not described again.
Optionally, the content displayed by the graphical user interface further includes an operation area expansion control, and the method further includes: and responding to the expansion operation aiming at the operation area expansion control, and displaying the first building operation area and the second building operation area in the graphical user interface. Specifically, after the first building model is built, as shown in fig. 8, if the player expands the operating area expanding control, at this time, the first building operating area and the second building operating area are displayed in a floating manner on the completed first building model in the graphical user interface, so that the player can conveniently view the sub-model types of the second building model in the second building area, and the like. It should be noted that, if there are N-1 levels of building operation areas behind the current first building operation area, when responding to the expansion operation of the operation area expansion control, the first building operation area and the N-1 levels of building operation areas behind the first building operation area are displayed in the graphical user interface and are suspended and covered on the first building model, and the specific number of building operations to be displayed may be set according to actual situations, for example, only 3 or more building operation areas are displayed for each expansion, which is not limited in the embodiments of the present invention.
And, the method further comprises: and (3) in response to the folding operation of the operation area unfolding control, folding the unfolded first building operation area and the second building operation area, namely hiding the built first building operation area in the building operation area at the moment, and displaying the second building operation area in the building operation area of the graphical user interface so that the player continues to build the second building model according to the second building operation area.
In addition, as shown in fig. 8, in the building process of a plurality of sub models of the first building model, if a certain sub model I is not yet built, at this time, the certain sub model I in fig. 8 is a UI (User Interface) tab of an un-built building unit, and is displayed through a first preset state, so that the player can build the sub model, where the first preset state may be a preset color state, such as red or blue; the display mode can also be a preset display state, such as display according to preset brightness; after the building is completed, the submodel I is changed into a UI tab of the built building unit and is displayed through a second preset state, wherein the second preset state can be a preset color state, such as displaying through gray, and the like, and can also be displayed according to lower preset brightness, and the like, and whether the building of a certain submodel is completed or not can be distinguished by a player through the first preset state and the second preset state, so that the urban building operation of the player is simplified, and the urban building effect is improved.
Optionally, as shown in fig. 8, the first building operation area includes a display area of each type of sub-model, a progress bar of each sub-model is further displayed in the display area of each sub-model, the progress bar is used for representing the total number and the completed number of the sub-models, for example, a progress bar I is provided in the display area of the sub-model I, where the progress bar I is used for representing the building progress of the sub-model I, for example, the number of the sub-models I is 5, and the number of currently completed building is 3, then the progress bar I may be displayed through numbers such as 3/5 or displayed through a filling range of the progress bar, and the like, so that a player can visually view the sub-models that have not been built yet.
In addition, because the building model corresponding to each level is built and completed by the upgrading event of each level, according to the progress bar I, the progress bar II and the progress bar III, a player can conveniently check the upgrading condition of the first level, and can generate the upgrading event of the first level according to the upgrading condition so as to unlock the second building operation area of the second level. In addition, as shown in fig. 8, the building operation area is further provided with an unlocking prompt control, so that a player can check the upgrade condition of the current level through the unlocking prompt control and unlock the building operation area of the next level and the like according to the prompt information.
Optionally, after the target sub-model is displayed in the building presentation area according to the associated position relationship, the method further includes: monitoring whether all the submodels of the second building model complete the building operation; and if so, determining that the upgrading event of the second level occurs, and unlocking a third building operation area corresponding to the third level. Specifically, the second building model comprises a plurality of types of submodels, after a certain submodel is built, the display information of the progress bar of the submodel is modified, whether all the submodels of the second building model complete the building operation is determined according to the progress bar of each type of submodel in the second building model, when all the progress bars display that all the submodels complete the building operation, the building of the second building model is determined to be completed, a third building operation area corresponding to the third level is unlocked, and the like is performed until the whole urban building process is completed.
It should be noted that, when a third building model of a third building operation area is constructed, each sub-model in the third building model is configured with a position relationship associated with a completed model, where the completed model includes a completed first building model and a completed second building model, that is, in the urban construction process, when a currently constructed sub-model is displayed according to the position relationship associated with the completed building model, the completed building model refers to the completed building model corresponding to all levels before the current level.
Optionally, as shown in fig. 8, a benefit control is further configured in the building operation area, so that the player can check the benefit of the virtual area corresponding to the current level by clicking the benefit control, that is, the numerical value sum brought by the building model corresponding to the current level is added, which is not described in detail herein.
Therefore, according to the urban game building method provided by the embodiment of the invention, the total urban area of the game is divided into a plurality of virtual areas, each virtual area corresponds to different levels, and is built in sequence according to the upgrade relationship of the levels, in the building process, the building operation area of each level comprises the submodel corresponding to the building model, and each submodel is displayed according to the position relationship associated with the completed building model, so that the problem that the building model is randomly set in the game to cause the building process to be disordered is avoided, and a player can intuitively perceive the urban building process in the urban building game; and in the building process, building the building model in the corresponding building operation area according to the level upgrading event, so that a player is prevented from viewing the building model in the same building operation area for multiple times in the building process to determine the upgrading relation and the upgrading condition of the building operation area, the relative position relation on the physical structure between the building models is displayed in the building presentation area of the graphical user interface, and the interactive interface for displaying the upgrading conditions of all levels in the building operation area is used for simplifying the building process of the player and improving the game experience of the player.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a device for building a game city, which provides a graphical user interface of a game through a terminal device, where the content displayed by the graphical user interface includes a building presentation area and a building operation area, and the building presentation area is used for presenting a completed first building model. As shown in fig. 9, the apparatus includes a providing module 91 and a display module 92; the functions of each module are as follows:
a providing module 91, configured to respond to the upgrade event of the first level, and provide, by the graphical user interface, a building operation area corresponding to the second level; the building operation area corresponding to the second level comprises sub models of a second building model of the second level; each sub-model is configured with a positional relationship associated with the first building model;
and the display module 92 is used for responding to the selected operation aiming at the target sub-model and displaying the target sub-model in the building presentation area according to the associated position relation.
According to the game urban construction device provided by the embodiment of the invention, the target sub-model is displayed according to the position relation associated with the completed first building model, so that the problem that the building model is randomly arranged in the game to cause a relatively disordered building process is solved, and a player can intuitively perceive the urban construction process in the urban construction game conveniently; and in the building process, building the building model in the corresponding building operation area according to the level upgrading event, so that the condition that a player checks the building model in the same building operation area for multiple times in the building process is avoided, the upgrading relation and the upgrading condition of the building operation area are determined, the building process of the player is simplified, and the game experience of the player is improved.
In one possible embodiment, the building operation areas include building operation areas corresponding to each level, and the graphical user interface provides building operation areas corresponding to a second level, including: and the graphical user interface switches the first building operation area corresponding to the first level into the second building operation area corresponding to the second level.
In another possible embodiment, the displaying the target sub-model in the building presentation area according to the associated position relationship includes: displaying the target sub-model at a position corresponding to the associated position relation in the building presentation area according to the preview state; monitoring whether the display duration of the preview state reaches a preset duration or not; if yes, changing the state of the target sub-model from the preview state to the finished state; and the finished state is used for representing the target submodel and displaying the target submodel through the materialized state.
In another possible embodiment, the building operation area is further configured with an operation area switching control, and the apparatus further includes: responding to the switching operation aiming at the operation area switching control, and switching the first building operation area into a second building operation area; and displaying the second building operation area in the building operation area of the graphical user interface.
In another possible embodiment, the operation region switching control includes an operation bar and a movable control disposed on the operation bar; the designated position in the operation bar corresponds to the level of the building operation area; responding to the switching operation aiming at the operation area switching control, and switching the first building operation area to the second building operation area, wherein the switching operation comprises the following steps: responding to the movement operation aiming at the movable control, and moving the movable control according to the movement operation; and in response to the end of the moving operation, determining the building operation area of the level corresponding to the position of the movable control at the end as a second building operation area.
In another possible embodiment, after displaying the second building operation area in the building operation area of the graphical user interface, the apparatus further comprises: responding to the preview operation aiming at the second building operation area, and acquiring a preview image of a second building model of the second building operation area; and displaying a preview image of the second building model of the second building operation area in the building presentation area.
In another possible embodiment, the content displayed by the graphical user interface further includes an operation area expansion control, and the apparatus further includes: and responding to the expansion operation aiming at the operation area expansion control, and displaying the first building operation area and the second building operation area in the graphical user interface.
In another possible embodiment, displaying the first building operating area and the second building operating area in a graphical user interface includes: and displaying the first building operation area and the second building operation area in a floating mode on the completed first building model in the graphical user interface.
In another possible embodiment, the apparatus further comprises: responding to game map loading operation of a game, and acquiring a game map; dividing the game map into a plurality of virtual areas in response to a dividing operation for the game map; wherein the virtual area corresponds to a level of the building operating area.
The urban game building device provided by the embodiment of the invention has the same technical characteristics as the urban game building method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the invention also provides electronic equipment which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the game city construction method.
Referring to fig. 10, the electronic device includes a processor 100 and a memory 101, the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned method for building a playground.
Further, the electronic device shown in fig. 10 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The Memory 101 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Enhanced Industry Standard Architecture) bus, or the like. The above-mentioned bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 10, but this does not indicate only one bus or one type of bus.
Processor 100 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 100. The Processor 100 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The present embodiments also provide a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the above-described arcade construction method.
The method, the apparatus, and the computer program product for building a game city provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
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 addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention 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 the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features 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 invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for constructing a game city, wherein a graphical user interface of a game is provided through a terminal device, the content displayed by the graphical user interface comprises a building presentation area and a building operation area, the building presentation area is used for presenting a completed first building model, and the method comprises the following steps:
responding to the upgrading event of the first level, and providing a building operation area corresponding to the second level by the graphical user interface; wherein the building operation area corresponding to the second level comprises sub-models of a second building model of the second level; each of the sub-models is configured with a positional relationship associated with the first building model;
and responding to the selected operation aiming at the target sub-model, and displaying the target sub-model in the building presentation area according to the associated position relation.
2. The method of claim 1, wherein the building operating areas include building operating areas corresponding to each level, and wherein the step of providing a second level of building operating areas by the graphical user interface comprises:
and the graphical user interface switches the first building operation area corresponding to the first level into the second building operation area corresponding to the second level.
3. The method of claim 1, wherein the step of displaying the target sub-model in the building presentation area according to the associated positional relationship comprises:
displaying the target sub-model at a position corresponding to the associated position relation in the building presentation area according to a preview state;
monitoring whether the display duration of the preview state reaches a preset duration or not;
if yes, changing the state of the target sub-model from the preview state to a finished state; the preview state is used for representing the target submodel to be displayed through a virtualization state, and the finished state is used for representing the target submodel to be displayed through a materialization state.
4. The method of claim 2, wherein the building operating zone is further configured with an operating zone switching control, the method further comprising:
responding to switching operation aiming at the operation area switching control, and switching the first building operation area into the second building operation area;
displaying the second building operation area in a building operation area of the graphical user interface.
5. The method of claim 4, wherein the operating region switching control comprises an operating bar and a movable control disposed on the operating bar; the designated position in the operation bar corresponds to the level of the building operation area;
responding to the switching operation aiming at the operation area switching control, and switching the first building operation area to the second building operation area, wherein the step comprises the following steps:
responding to a movement operation aiming at the movable control, and moving the movable control according to the movement operation;
and in response to the end of the moving operation, determining the building operation area of the level corresponding to the position of the movable control at the end as a second building operation area.
6. The method of claim 4 or 5, wherein after the step of displaying the second building operating area in the building operating area of the graphical user interface, the method further comprises:
responding to the preview operation aiming at the second building operation area, and acquiring a preview image of a second building model of the second building operation area;
displaying a preview of a second building model of the second building operation area in the building presentation area.
7. The method of claim 2, wherein the content displayed by the graphical user interface further comprises an operator area expansion control, the method further comprising:
displaying the first building operating zone and the second building operating zone in the graphical user interface in response to an expansion operation for the operating zone expansion control.
8. The method of claim 1, further comprising:
responding to the game map loading operation of the game, and acquiring the game map;
dividing the game map into a plurality of virtual areas in response to a dividing operation for the game map; wherein the virtual area corresponds to a level of the building operating area.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of the preceding claims 1-8 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the method of any of the preceding claims 1-8.
CN202110408953.1A 2021-04-15 2021-04-15 Game urban construction method and electronic equipment Active CN113082701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110408953.1A CN113082701B (en) 2021-04-15 2021-04-15 Game urban construction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110408953.1A CN113082701B (en) 2021-04-15 2021-04-15 Game urban construction method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113082701A true CN113082701A (en) 2021-07-09
CN113082701B CN113082701B (en) 2024-04-12

Family

ID=76678149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110408953.1A Active CN113082701B (en) 2021-04-15 2021-04-15 Game urban construction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN113082701B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5767378B1 (en) * 2014-09-03 2015-08-19 株式会社コロプラ Computer program for controlling objects in virtual space and computer-implemented method
US9186588B1 (en) * 2013-02-28 2015-11-17 Kabam, Inc. Game with an area of effect for structures impacting a surrounding area
JP2018092339A (en) * 2016-12-01 2018-06-14 株式会社コロプラ Game program, method, and information processing apparatus
CN108245885A (en) * 2017-12-29 2018-07-06 网易(杭州)网络有限公司 Information processing method, device, mobile terminal and storage medium
CN109821241A (en) * 2019-01-11 2019-05-31 广州要玩娱乐网络技术股份有限公司 Method of construction, device, storage medium and the terminal of multiple Virtual Buildings
CN111298431A (en) * 2020-02-26 2020-06-19 网易(杭州)网络有限公司 Construction method and device in game
CN111773701A (en) * 2020-07-29 2020-10-16 网易(杭州)网络有限公司 Method and device for building water surface platform in game, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9186588B1 (en) * 2013-02-28 2015-11-17 Kabam, Inc. Game with an area of effect for structures impacting a surrounding area
JP5767378B1 (en) * 2014-09-03 2015-08-19 株式会社コロプラ Computer program for controlling objects in virtual space and computer-implemented method
JP2018092339A (en) * 2016-12-01 2018-06-14 株式会社コロプラ Game program, method, and information processing apparatus
CN108245885A (en) * 2017-12-29 2018-07-06 网易(杭州)网络有限公司 Information processing method, device, mobile terminal and storage medium
CN109821241A (en) * 2019-01-11 2019-05-31 广州要玩娱乐网络技术股份有限公司 Method of construction, device, storage medium and the terminal of multiple Virtual Buildings
CN111298431A (en) * 2020-02-26 2020-06-19 网易(杭州)网络有限公司 Construction method and device in game
CN111773701A (en) * 2020-07-29 2020-10-16 网易(杭州)网络有限公司 Method and device for building water surface platform in game, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113082701B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN109794064A (en) Interact plot implementation method, device, terminal and storage medium
CN110694271B (en) Camera gesture control method and device in game scene and electronic equipment
US10583364B2 (en) Communication system, method for controlling communication system, and program
CN111298431B (en) Construction method and device in game
JP2016097192A (en) Program, control method, and information processor
CN108159692A (en) Information processing method, device, electronic equipment and storage medium
CN113082700A (en) Information interaction method and device and electronic equipment
CN113900570B (en) Game control method, device, equipment and storage medium
CN112755516A (en) Interaction control method and device, electronic equipment and storage medium
CN114443945A (en) Display method of application icons in virtual user interface and three-dimensional display equipment
CN113713396B (en) Method and device for displaying checkpoint information, computer equipment and storage medium
CN113082701B (en) Game urban construction method and electronic equipment
CN111632371A (en) Method and device for selecting target and electronic equipment
CN113786607A (en) Interface display method, device, terminal and storage medium
JP2023502074A (en) Generating server-based help maps in video games
CN116139485A (en) Virtual resource exchange method and device, electronic equipment and storage medium
CN111617475B (en) Interactive object construction method, device, equipment and storage medium
CN115562556A (en) Interface display method, device, terminal and storage medium
CN112138394B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN113891138A (en) Interactive operation prompting method and device, storage medium and electronic equipment
CN112138389A (en) Game role recommendation display method, system and equipment
CN111388994A (en) Method, device, equipment and storage medium for processing virtual props in game
US11465038B2 (en) Method of puzzle game and game system using the method
CN116212376A (en) Game information display control method and device and electronic equipment
CN116421973A (en) Game path finding method, game path finding device, electronic equipment and machine-readable storage medium

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
GR01 Patent grant
GR01 Patent grant