Virtual building upgrading method and device, computer storage medium, and electronic device

By matching the map area of ​​the building model to be upgraded in the game scene map, obtaining location information, and displaying the upgrade information of the building model to be upgraded in the specified location, the problem of low fit during virtual buildings is solved and the game screen effect is improved Experience with players.

CN114028814BActive Publication Date: 2025-02-14NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111346537.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2025-02-14
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

In the prior art, gamers cannot clearly define the positional relationship between the building to be upgraded and the game scene when upgrading virtual buildings, resulting in a low fit, which reduces the display effect of the game screen and player experience.

Method used

By responding to the operations on the virtual building upgrade control, determine the building model to be upgraded, and match its corresponding map area in the game scene map to obtain location information. Then display the building model to be upgraded in the game scene map and display its upgrade information at the specified location.

Benefits of technology

It improves the fit between the building model to be upgraded and the game scene map, improves the display effect of the game screen, and enhances the player's experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114028814B_ABST
    Figure CN114028814B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the field of computer technology, and relates to a virtual building upgrade method and device, a computer storage medium, and an electronic device. The method includes: responding to an upgrade operation acting on a virtual building upgrade control, determining a building model to be upgraded; in a game scene map, matching a map area corresponding to the building model to be upgraded to determine the position information of the map area relative to the game scene map; displaying the game scene map, and displaying the building model to be upgraded at the position information to upgrade the building model to be upgraded. In the present disclosure, the position information is the information of the map area corresponding to the building model to be upgraded relative to the game scene map. Based on this, by displaying the building model to be upgraded at the position information, the user can clearly understand the position of the building model to be upgraded relative to the game scene map, thereby improving the display effect of the building model to be upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a virtual building upgrade method and device, a computer-readable storage medium, and an electronic device. Background Art

[0002] With the development of computer technology, various virtual games have emerged. In many virtual games, game players are required to improve the level of their camp, team or gang by upgrading virtual buildings.

[0003] In the related art, when game players are upgrading virtual buildings, usually only the virtual buildings to be upgraded are displayed to the game players. This display method makes it impossible for game players to clearly understand the positional relationship between the virtual buildings to be upgraded and the corresponding game scenes, thereby reducing the fit between the virtual buildings to be upgraded and the game scenes, reducing the display effect of the game screen, and resulting in a low experience for game players.

[0004] In view of this, there is an urgent need in the art to develop a new virtual building upgrading method and device.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a virtual building upgrade method, a virtual building upgrade device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent overcoming the problem of low fit between the virtual building to be upgraded and the game scene caused by related technologies.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of an embodiment of the present invention, a virtual building upgrade method is provided, the method comprising: determining a building model to be upgraded in response to an upgrade operation acting on a virtual building upgrade control; matching a map area corresponding to the building model to be upgraded in a game scene map to determine position information of the map area relative to the game scene map; displaying the game scene map, and displaying the building model to be upgraded at the position information to upgrade the building model to be upgraded.

[0009] In an exemplary embodiment of the present invention, displaying the building model to be upgraded at the location information includes: determining a current upgrade level corresponding to the building model to be upgraded, and determining a level effect corresponding to the current upgrade level; based on the level effect, displaying the building model to be upgraded at the location information, and displaying building information corresponding to the building model to be upgraded in an area corresponding to the location information.

[0010] In an exemplary embodiment of the present invention, after the building model to be upgraded is displayed at the location information, the method further includes: responding to a selection operation on the building model to be upgraded, determining a game player corresponding to the upgrade operation; determining an authority level corresponding to the game player, and matching a game function corresponding to the authority level; determining whether the game function includes an upgrade function for the building model to be upgraded to obtain a judgment result, and adjusting the game scene map according to the judgment result.

[0011] In an exemplary embodiment of the present invention, adjusting the game scene map according to the judgment result includes: if the judgment result is that the game function includes the upgrade function, determining a detail map corresponding to the game scene map; displaying upgrade information corresponding to the building model to be upgraded and the detail map; wherein the detail map and the upgrade information do not overlap with each other.

[0012] In an exemplary embodiment of the present invention, the display of the upgrade information corresponding to the building model to be upgraded and the zoomed map includes: determining other information to be displayed simultaneously with the game scene map, and hiding the other information while displaying the upgrade information and the detail map; wherein the other information does not include the building model to be upgraded displayed in the game scene map; generating a confirmation control for confirming the upgrade of the building model to be upgraded, and generating an exit control.

[0013] In an exemplary embodiment of the present invention, the method further includes: in response to an operation acting on the exit control, hiding the upgrade information; hiding the detail map, and restoring the display of the game scene map.

[0014] In an exemplary embodiment of the present invention, the method further includes: if the judgment result is that the game function does not include the upgrade function, displaying a floating layer corresponding to the building model to be upgraded; and displaying upgrade information corresponding to the building model to be upgraded in the floating layer.

[0015] According to a second aspect of an embodiment of the present invention, a virtual building upgrading device is provided, the device comprising: a response module, configured to respond to an upgrading operation acting on a virtual building upgrading control and determine a building model to be upgraded; a matching module, configured to match a map area corresponding to the building model to be upgraded in a game scene map to determine position information of the map area relative to the game scene map; an upgrading module, configured to display the game scene map and display the building model to be upgraded at the position information to upgrade the building model to be upgraded.

[0016] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the virtual building upgrade method of any of the above exemplary embodiments is implemented.

[0017] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the virtual building upgrading method in any of the above exemplary embodiments is implemented.

[0018] It can be seen from the above technical solutions that the virtual building upgrade method, virtual building upgrade device, computer storage medium and electronic device in the exemplary embodiments of the present invention have at least the following advantages and positive effects:

[0019] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the location information is information about the map area corresponding to the building model to be upgraded relative to the game scene map. Based on this, by displaying the building model to be upgraded at the location information, the user can clearly understand the position of the building model to be upgraded relative to the game scene map, thereby improving the display effect of the building model to be upgraded; on the other hand, not only the building model to be upgraded is displayed, but also the game scene map is displayed, which improves the display effect of the game screen and improves the fit between the building model to be upgraded and the game scene map.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0022] Figure 1A schematic diagram of a process flow of a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0023] Figure 2 A schematic diagram showing a display effect of a game scene map and a building model to be upgraded in a virtual building upgrade method in an embodiment of the present disclosure;

[0024] Figure 3 A schematic diagram of a process of displaying a building model to be upgraded at the location information in a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0025] Figure 4 A schematic diagram of the process after displaying the building model to be upgraded at the location information in the virtual building upgrade method in the embodiment of the present disclosure is schematically shown;

[0026] Figure 5 A schematic diagram of a process of adjusting a game virtual scene map according to a judgment result in a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0027] Figure 6 A diagram schematically showing the display effect of upgrade information and detail map in the virtual building upgrade method in an embodiment of the present disclosure;

[0028] Figure 7 A schematic diagram of a process of displaying upgrade information and a detail map corresponding to a building model to be upgraded in a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0029] Figure 8 A schematic diagram of a game interface after hiding other information, generating a confirmation control, and exiting a control in a virtual building upgrade method according to an embodiment of the present disclosure is schematically shown;

[0030] Fig. 9 A schematic diagram of a process of restoring the display of a game scene map in a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0031] Fig.10 A schematic diagram of a process of displaying a floating layer corresponding to a building model to be upgraded in a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0032] Fig.11 A schematic diagram of a game interface after a floating layer is displayed in a virtual building upgrade method according to an embodiment of the present disclosure is schematically shown;

[0033] Fig.12 A schematic diagram of the structure of a virtual building upgrading device in an embodiment of the present disclosure is shown;

[0034] Fig.13 An electronic device for a virtual building upgrade method in an embodiment of the present disclosure is schematically shown;

[0035] Fig.14 A computer-readable storage medium for a virtual building upgrade method in an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0036] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0037] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0038] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0039] In view of the problems existing in the related technologies, the present disclosure proposes a virtual building upgrading method. Figure 1 A schematic diagram of the process of the virtual building upgrade method is shown, Figure 1 As shown, the virtual building upgrade method includes at least the following steps:

[0040] Step S110: In response to an upgrade operation on the virtual building upgrade control, determine a building model to be upgraded.

[0041] Step S120. In the game scene map, match the map area corresponding to the building model to be upgraded to determine the position information of the map area relative to the game scene map.

[0042] Step S130: Display the game scene map, and display the building model to be upgraded at the location information, so as to upgrade the building model to be upgraded.

[0043] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the location information is information about the map area corresponding to the building model to be upgraded relative to the game scene map. Based on this, by displaying the building model to be upgraded at the location information, the user can clearly understand the position of the building model to be upgraded relative to the game scene map, thereby improving the display effect of the building model to be upgraded; on the other hand, not only the building model to be upgraded is displayed, but also the game scene map is displayed, which improves the display effect of the game screen and improves the fit between the building model to be upgraded and the game scene map.

[0044] The following is a detailed description of each step of the virtual building upgrade method.

[0045] In step S110, in response to an upgrade operation on a virtual building upgrade control, a building model to be upgraded is determined.

[0046] In an exemplary embodiment of the present disclosure, a virtual building upgrade control refers to a control in a virtual game, and when the control is upgraded, the building model to be upgraded and the game scene map can be determined. If the virtual game is a computer-side virtual game, the game player can use a mouse to upgrade the virtual building upgrade control. If the virtual game is a mobile-side virtual game, the game player can directly use his hands to upgrade the virtual building upgrade control. The game player can also use a stylus to upgrade the virtual building upgrade control. This exemplary embodiment does not specifically limit this.

[0047] The building model to be upgraded refers to a model in the virtual game that corresponds to the virtual building to be upgraded by the game player. Specifically, the virtual building model to be upgraded can be a plane model or a three-dimensional model, and this exemplary embodiment does not make any special limitation on this.

[0048] The game scene map refers to the scene map in the virtual game that the user is currently playing. It is worth noting that if there are multiple game scenes in the virtual game, the game scene map and the building model to be upgraded correspond to the game players. For example, in a massively multiplayer online role-playing game, the game player needs to upgrade the building model to be upgraded in order to improve the level of the game player's guild. At this time, the game scene map can be the game scene map corresponding to the game player's guild. Similarly, the building model to be upgraded can be the building model to be upgraded corresponding to the game player's guild.

[0049] In addition, in some virtual games, all game players may enter the same game scene map after touching the virtual building upgrade control, and the building models to be upgraded for the game players are also the same, but the current upgrade levels of the building models to be upgraded corresponding to different game players are different.

[0050] For example, in a massively multiplayer online role-playing game, after a game player performs an upgrade operation on a virtual building upgrade control, a game scene map A corresponding to the game player's guild and five building models to be upgraded are determined. Specifically, the five building models to be upgraded include building model 1 to be upgraded, building model 2 to be upgraded, building model 3 to be upgraded, building model 4 to be upgraded, and building model 5 to be upgraded.

[0051] In this exemplary embodiment, after responding to the upgrade operation acting on the virtual building upgrade control, it is necessary to determine the game scene map and the building model to be upgraded, which avoids the situation in the prior art where only the building model to be upgraded is determined, making it possible to subsequently display the building model to be upgraded at the location information.

[0052] In step S120, in the game scene map, the map area corresponding to the building model to be upgraded is matched to determine the position information of the map area relative to the game scene map.

[0053] In an exemplary embodiment of the present disclosure, there are many map areas in the game scene map, and one or more buildings to be upgraded may be included in the map area. The building to be upgraded refers to a virtual building that exists in the game scene map and corresponds to the building model to be upgraded. Usually, the game scene map is a plan view, and the building to be upgraded at this time can represent a top view of the building to be upgraded.

[0054] The difference between the building model to be upgraded and the building to be upgraded is that the building model to be upgraded can be a three-dimensional building model, a model with a complete building structure, and is no longer just a floor plan of a virtual building.

[0055] The location information refers to location information corresponding to a map area, and there is a building to be upgraded in the map area.

[0056] Based on this, in the process of determining the location information, the map area where the building to be upgraded is located is first matched in the game scene map, and then the location information of the map area relative to the game scene map is determined. The location information describes the positional relationship between the building to be upgraded and the game scene map.

[0057] For example, in game scene map A, the map area corresponding to building model 1 to be upgraded is area A1-1, the map area corresponding to building model 2 to be upgraded is area A1-2, the map area corresponding to building model 3 to be upgraded is area A1-3, the map area corresponding to building model 4 to be upgraded is area A1-4, and the map area corresponding to building model 5 to be upgraded is area A1-5. Based on this, it can be determined that the position information of map area A1-1 relative to game scene map A is (20, 20), the position information of map area A1-2 relative to game scene map A is (20, 40), the position information of map area A1-3 relative to game scene map A is (10, 5), the position information of map area A1-4 relative to game scene map A is (40, 35), and the position information of map area A1-5 relative to game scene map A is (25, 25).

[0058] In this exemplary embodiment, by matching the map area corresponding to the building model to be upgraded in the game scene map, the position information of the map area relative to the game scene map can be determined, and then in the subsequent process of displaying the building model to be upgraded, not only the building model to be upgraded is displayed, but also the position of the building model to be upgraded in the game scene map is clarified, thereby improving the fit between the building model to be upgraded and the game scene map, improving the display effect of the building model to be upgraded, and improving the gaming experience of the game players.

[0059] In step S130, the game scene map is displayed, and the building model to be upgraded is displayed at the location information, so as to upgrade the building model to be upgraded.

[0060] In an exemplary embodiment of the present disclosure, after the location information is determined, the game scene map is displayed, and then the building model to be upgraded is displayed at the location information, and then the game player upgrades the building model to be upgraded according to his own needs.

[0061] For example, Figure 2 The game scene map and the display effect diagram of the building model to be upgraded are schematically shown. Figure 2 As shown, map 210 is a displayed game scene map, model 220 is building model 1 to be upgraded, model 230 is building model 2 to be upgraded, model 240 is building model 3 to be upgraded, model 250 is building model 4 to be upgraded, and model 260 is building model 5 to be upgraded, wherein the positions of model 220, model 230, model 240, model 250 and model 260 are determined by the position information.

[0062] In an alternative embodiment, Figure 3 The figure shows a flow chart of displaying the building model to be upgraded at the location information in the virtual building upgrade method. Figure 3 As shown, the method includes at least the following steps: In step S310, the current upgrade level corresponding to the building model to be upgraded is determined, and the level special effect corresponding to the current upgrade level is determined.

[0063] Among them, the current upgrade level is the building level at which the building model to be upgraded is when it is displayed. Assuming that there are 10 building levels in total, level 1 is the lowest level and level 10 is the highest level, the current upgrade level can be any one of the 10 levels.

[0064] Assuming that the game player has upgraded the building level of the building model 1 to be upgraded to level 5 before exiting the virtual game last time, the level of the building model 1 to be upgraded this time is level 5. If the virtual game stipulates that no matter what level the game player has upgraded the building model to before exiting the virtual game last time, when entering the virtual game again, the building level of the building model to be upgraded starts from level 1, then the current upgrade level is level 1 at this time.

[0065] The level special effect is a special effect corresponding to the current upgrade level. The level special effect can be a structural special effect of the building model to be upgraded corresponding to the current upgrade level. For example, the lower the current upgrade level, the simpler the structure of the building model to be upgraded. The level special effect can also be a model effect special effect corresponding to the current upgrade level. For example, the lower the current upgrade level, the weaker the shine of the building model to be upgraded. This exemplary embodiment does not make any special limitation on this.

[0066] For example, there are 5 building models to be upgraded, namely building model 1 to be upgraded, building model 2 to be upgraded, building model 3 to be upgraded, building model 4 to be upgraded and building model 5 to be upgraded. It is determined that the current upgrade level corresponding to building model 1 to be upgraded is level 1, and the level special effect corresponding to level 1 is level 1 building structure. It is determined that the current upgrade level corresponding to building model 2 to be upgraded is level 4, and the level special effect corresponding to level 4 is level 4 building structure. It is determined that the current upgrade level corresponding to building model 3 to be upgraded is level 2, and the level special effect corresponding to level 2 is level 2 building structure. It is determined that the current upgrade level corresponding to building model 4 to be upgraded is level 1, and the level special effect corresponding to level 1 is level 1 building structure. It is determined that the current upgrade level corresponding to building model 5 to be upgraded is level 1, and the level special effect corresponding to level 1 is level 1 building structure.

[0067] In step S320, based on the level effect, the building model to be upgraded is displayed at the location information, and the building information corresponding to the building model to be upgraded is displayed in the area corresponding to the location information.

[0068] The building information refers to information related to the building model to be upgraded. Specifically, the building information may be the name of the building model to be upgraded or the current upgrade level of the building model to be upgraded. This exemplary embodiment does not specifically limit this.

[0069] The corresponding area may be an area above the building model to be upgraded, an area below the building model to be upgraded, or an area in any direction of the building model to be upgraded, which is not particularly limited in this exemplary embodiment.

[0070] For example, based on the location information, building model 1 to be upgraded is displayed according to the level 1 building structure, building model 2 to be upgraded is displayed according to the level 4 building structure, building model 3 to be upgraded is displayed according to the level 2 building structure, building model 4 to be upgraded is displayed according to the level 1 building structure, and building model 5 to be upgraded is displayed according to the level 1 building structure. In addition, the names of the 5 building models to be upgraded are displayed above each of the 5 building models to be upgraded.

[0071] In this exemplary embodiment, the building model to be upgraded is displayed according to the level effects corresponding to the current upgrade level, which not only improves the display effect of the building model to be upgraded, but also allows the game player to clearly know the current upgrade level of the building model to be upgraded at this time, thereby improving the game experience of the game player.

[0072] In an alternative embodiment, Figure 4 The flowchart of the virtual building upgrade method after displaying the building model to be upgraded at the location information is shown. Figure 4 As shown, the method includes at least the following steps: In step S410, in response to a selection operation on a building model to be upgraded, a game player corresponding to the upgrade operation is determined.

[0073] The selection operation refers to an operation of determining the target model to be upgraded in the building model to be upgraded. The selection operation may be a touch operation performed by a user through a finger, or a touch operation performed by a user with the aid of a mouse or a stylus, and this exemplary embodiment does not specifically limit this. The game player refers to the player who is going to upgrade the building model to be upgraded this time.

[0074] It is worth noting that after the selection operation is performed, the display effect of the building model to be upgraded corresponding to the selection operation can be changed. Specifically, the selected building model to be upgraded can be changed to a highlighted state based on the level special effect, or the color of the selected building model to be upgraded can be distinguished from that of the unselected building models to be upgraded based on the level special effect. This exemplary embodiment does not make any special limitation to this.

[0075] For example, when a click operation is performed on the building model 1 to be upgraded, it is determined that the game player corresponding to the upgrade operation is B.

[0076] In step S420, the authority level corresponding to the game player is determined, and the game function corresponding to the authority level is matched.

[0077] Among them, the authority level refers to the level information corresponding to the game player. Different game players can have different authority levels, and different authority levels correspond to different game functions. For example, for game players with lower authority levels, they may only be able to complete some small games to obtain more gold coins. For game players with higher authority levels, they can perform game functions such as upgrading building models to be upgraded. For game players at a higher level, they can not only upgrade building models to be upgraded, but also upgrade other equipment in the game scene.

[0078] For example, it is determined that the authority level corresponding to game player B is level 7, and the game functions matching the authority level 7 include three items, namely, obtaining gold coins, upgrading the building model to be upgraded, and upgrading weapons.

[0079] In step S430, it is determined whether the game function includes an upgrade function for the building model to be upgraded to obtain a determination result, and the game scene map is adjusted according to the determination result.

[0080] Among them, the judgment results include two results. Specifically, the first judgment result is that the game function includes an upgrade function for the building model to be upgraded, and the second judgment result is that the game function does not include an upgrade function for the building model to be upgraded. The game scene map can be adjusted according to the judgment result.

[0081] For example, the judgment result is that the game function corresponding to the game player B includes an upgrade function for the building model 1 to be upgraded, and the game scene map A is adjusted based on the judgment result.

[0082] In this exemplary embodiment, the game scene map is adjusted according to the judgment result, and the logic of adjusting the game scene map is improved.

[0083] In an alternative embodiment, Figure 5 The flowchart of the virtual building upgrade method for adjusting the game virtual scene map according to the judgment result is shown. Figure 5 As shown, the method includes at least the following steps: In step S510, if the judgment result is that the game function includes an upgrade function, a detail map corresponding to the game scene map is determined.

[0084] Among them, the detailed map refers to a picture that displays more detailed content of the game scene map. Specifically, it can be a map obtained by advancing the game scene map with the center point of the game scene map as the focus point, or it can be a map obtained by advancing the game scene map with the selected building model to be upgraded as the focus point. This exemplary embodiment does not make any special limitation to this.

[0085] For example, if the judgment result is that the game function corresponding to game player B includes an upgrade function, then a detail map B corresponding to the game scene map A is determined. The detail map B can be a picture after the game scene map A is advanced with the center point of the game scene map A as the focus point.

[0086] In step S520, the upgrade information and the detail map corresponding to the building model to be upgraded are displayed; wherein the detail map and the upgrade information do not overlap with each other.

[0087] Among them, the upgrade information refers to the information corresponding to the selected building model to be upgraded. Specifically, it can be the current upgrade level of the building model to be upgraded, it can be the effect displayed when the building model to be upgraded is upgraded, and it can be the upgrade condition of the building model to be upgraded. This exemplary embodiment does not make any special limitations on this.

[0088] Non-overlapping means that the upgrade information cannot block the detail map, and the detail map cannot block the upgrade information.

[0089] For example, the upgrade information corresponding to the selected building model to be upgraded includes the current upgrade level of the building model to be upgraded, the effect displayed when the building model to be upgraded is upgraded, and the upgrade condition of the building model to be upgraded.

[0090] Based on this, Figure 6 The display effect diagram of the upgrade information and the detailed map is schematically shown as follows: Figure 6 As shown, map 610 is a detailed map. Obviously, compared with Figure 2 For map 210 in the figure, the detail map is obtained by advancing map 210 with the center of map 210 as the focus point. Area 620 is an area for displaying upgrade information, including area 621 for displaying the current upgrade level, area 622 for displaying the effect of the upgrade, and area 623 for displaying the upgrade conditions. Area 630 displays other information, which refers to information not related to the upgrade of the building model to be upgraded.

[0091] In this exemplary embodiment, when the judgment result is that the game function includes an upgrade function, the detail map and the upgrade information are displayed, and the detail map and the upgrade information do not overlap with each other, thereby ensuring that the building model to be upgraded can be upgraded in the subsequent situation where the position of the building model to be upgraded can be clearly seen in the detail map.

[0092] In an alternative embodiment, Figure 7 The figure shows a flow chart of displaying the upgrade information and detail map corresponding to the building model to be upgraded in the virtual building upgrade method. Figure 7 As shown, the method includes at least the following steps: in step S710, determine other information to be displayed simultaneously with the game scene map, and hide the other information while displaying the upgrade information and the detail map; wherein the other information does not include the building model to be upgraded displayed in the game scene map.

[0093] Among them, other information refers to the information displayed in the virtual game when the game scene map is displayed. It is worth noting that other information does not include the display of building models to be upgraded. Specifically, other information can be the introduction information of the game players, the guild introduction information of the game players' guild, or other information that is not related to the upgrading of the building models to be upgraded. This exemplary embodiment does not make any special limitations on this.

[0094] For example, other information to be displayed simultaneously with the game scene map A is determined. Specifically, the other information includes the guild introduction information C of the "Axe Gang" to which the game player belongs. Based on this, while displaying the upgrade information and the detailed map, the guild introduction information C is hidden.

[0095] In step S720, a confirmation control for confirming the upgrade of the building model to be upgraded is generated, and an exit control is generated.

[0096] Among them, when the confirmation control is operated, the selected building model to be upgraded will start to be upgraded. When the exit control is touched, it will return to the state where only the game scene map and the building model to be upgraded are displayed.

[0097] For example, Figure 8 Schematically shows a schematic diagram of the game interface after hiding other information, generating a confirmation control and an exit control, such as Figure 8 As shown, compared with Figure 6 For example, other information displayed in area 630 is hidden, control 810 is an exit control, and control 820 is a confirmation control.

[0098] In this exemplary embodiment, on the one hand, while displaying the upgrade information and the detailed map, other information is hidden to avoid obstruction of the building model to be upgraded by other information during the subsequent upgrade process; on the other hand, a confirmation control is generated to avoid erroneous upgrades of the upgrade objects due to misoperation of the game players, and an exit control is generated so that after the game players know the upgrade information, they can learn about the upgrade information of other building models to be upgraded, thereby increasing the flexibility of selecting the building model to be upgraded.

[0099] In an alternative embodiment, Fig. 9 A schematic diagram of the process of restoring the game scene map display in the virtual building upgrade method is shown, such as Fig. 9 As shown, the method at least includes the following steps: In step S910, in response to an operation acting on an exit control, the upgrade information is hidden.

[0100] When the exit control is operated, the upgrade information is hidden.

[0101] For example, Figure 8 As shown, when the exit control 810 is touched, the upgrade information displayed in the area 620 is hidden.

[0102] In step S920, the detail map is hidden and the display of the game scene map is restored.

[0103] Among them, not only the upgrade information needs to be hidden, but also the detail map needs to be hidden and the display of the game scene map needs to be restored.

[0104] For example, Figure 8 As shown, when the control 810 is touched, not only the upgrade information displayed in the area 620 is hidden, but also the detail map 610 needs to be hidden, and the game scene map A is displayed in the game interface, that is, Figure 8 Changes to Figure 2 .

[0105] In this exemplary embodiment, in response to the operation on the exit control, both the upgrade information and the detail map are hidden, and the display of the game scene map is restored, so that after the game player learns the upgrade information, he can also learn the upgrade information of other building models to be upgraded, thereby increasing the flexibility of selecting the building models to be upgraded.

[0106] In an alternative embodiment, Fig.10 The flowchart of displaying the floating layer corresponding to the building model to be upgraded in the virtual building upgrade method is shown as follows: Fig.10 As shown, the method includes at least the following steps: In step S1010, if the judgment result is that the game function does not include an upgrade function, a floating layer corresponding to the building model to be upgraded is displayed.

[0107] Among them, when the judgment result is that the game function does not include the upgrade function, it proves that the game player at this time does not have the authority to upgrade the building model to be upgraded, and then a floating layer is displayed at this time. The floating layer display is displayed above the game scene map, and its function is only to display information.

[0108] For example, Fig.11 The schematic diagram of the game interface after the floating layer is displayed is shown schematically. Fig.11 As shown, layer 1110 is a floating layer corresponding to the building model to be upgraded that is displayed when the judgment result is that the game function does not include an upgrade function.

[0109] In step S1020, the upgrade information corresponding to the building model to be upgraded is displayed in the floating layer.

[0110] The floating layer is only used to display information, and the information is the upgrade information. Specifically, the upgrade information may be the current upgrade level of the building model to be upgraded, the display effect of the building model to be upgraded during the upgrade, or the upgrade condition of the building model to be upgraded. This exemplary embodiment does not specifically limit this.

[0111] For example, in Fig.11 The illustrated layer 1110 displays the upgrade information corresponding to the building model to be upgraded.

[0112] In this exemplary embodiment, on the one hand, the situation in the prior art where, when the judgment result is that the game function does not include the upgrade function, the user is prompted with a prompt message indicating that he has no permission is avoided, thereby improving the gaming experience of the game players; on the other hand, even when the judgment result is that the game function does not include the upgrade function, the game players can also obtain the upgrade information displayed in the floating layer, which helps the game players prepare for subsequent upgrades, thereby improving the efficiency of the game players in upgrading the building models to be upgraded.

[0113] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the location information is information about the map area corresponding to the building model to be upgraded relative to the game scene map. Based on this, by displaying the building model to be upgraded at the location information, the user can clearly understand the position of the building model to be upgraded relative to the game scene map, thereby improving the display effect of the building model to be upgraded; on the other hand, not only the building model to be upgraded is displayed, but also the game scene map is displayed, which improves the display effect of the game screen and improves the fit between the building model to be upgraded and the game scene map.

[0114] The following is a detailed description of the virtual building upgrade method in the embodiment of the present disclosure in conjunction with an application scenario.

[0115] In a massively multiplayer online role-playing game, when a user touches a virtual building upgrade control in a game interface, the game scene map A and building models 1, 2 and 3 to be upgraded are first determined, and then a map area A1-1 corresponding to building model 1 to be upgraded, a map area A1-2 corresponding to building model 2 to be upgraded and a map area A1-3 corresponding to building model 3 to be upgraded are matched in the game scene map A, and then the position information (20, 20) of the map area A1-1 relative to the game scene map A, the position information (10, 5) of the map area A1-2 relative to the game scene map A, and the position information (26, 30) of the map area A1-3 relative to the game scene map A are determined.

[0116] Based on this, the game scene map is displayed, and building model 1 to be upgraded, building model 2 to be upgraded, and building model 3 to be upgraded are displayed according to the location information to ensure that the game players upgrade the subsequent building models to be upgraded.

[0117] In this application scenario, on the one hand, the location information is the information of the map area corresponding to the building model to be upgraded relative to the game scene map. Based on this, by displaying the building model to be upgraded at the location information, the user can clearly understand the position of the building model to be upgraded relative to the game scene map, thereby improving the display effect of the building model to be upgraded; on the other hand, not only the building model to be upgraded is displayed, but also the game scene map is displayed, which improves the display effect of the game screen and improves the fit between the building model to be upgraded and the game scene map.

[0118] In addition, in an exemplary embodiment of the present disclosure, a virtual building upgrading device is also provided. Fig.12 The schematic diagram of the structure of the virtual building upgrade device is shown in FIG. Fig.12 As shown, the virtual building upgrading device 1200 may include: a response module 1210, a matching module 1220 and an upgrading module 1230. Among them:

[0119] The response module 1210 is configured to respond to the upgrade operation acting on the virtual building model upgrade control and determine the building model to be upgraded; the matching module 1220 is configured to match the map area corresponding to the building model to be upgraded in the game scene map to determine the position information of the map area relative to the game scene map; the upgrade module 1230 is configured to display the game scene map and display the building model to be upgraded at the position information to upgrade the building model to be upgraded.

[0120] The specific details of the above-mentioned virtual building upgrading device 1200 have been described in detail in the corresponding virtual building upgrading method, so they will not be repeated here.

[0121] It should be noted that although several modules or units of the virtual building upgrading device 1200 are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units for embodiment.

[0122] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0123] Refer to the following Fig.13 13 to 14. An electronic device 1300 according to such an embodiment of the present invention is described. Fig.13 The electronic device 1300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0124] like Fig.13 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include, but are not limited to: at least one processing unit 1310, at least one storage unit 1320, a bus 1330 connecting different system components (including the storage unit 1320 and the processing unit 1310), and a display unit 1340.

[0125] The storage unit stores program codes, which can be executed by the processing unit 1310, so that the processing unit 1310 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0126] The storage unit 1320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1321 and / or a cache memory unit 1322 , and may further include a read-only memory unit (ROM) 1323 .

[0127] The storage unit 1320 may also include a program / utility 1324 having a set (at least one) of program modules 1325, such program modules 1325 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the reality of a network environment.

[0128] Bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0129] The electronic device 1300 may also communicate with one or more external devices 1370 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and / or communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1360. As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via a bus 1330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0130] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0131] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0132] refer to Fig.14 As shown, a program product 1400 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0133] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0134] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0135] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0136] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0137] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A virtual building upgrade method, characterized in that: The method comprises: In response to an upgrade operation on a virtual building upgrade control, a building model to be upgraded is determined; In the game scene map, matching the map area corresponding to the building model to be upgraded to determine the position information of the map area relative to the game scene map; Displaying the game scene map, and displaying the building model to be upgraded at the location information, so as to upgrade the building model to be upgraded; After displaying the building model to be upgraded at the location information, the method further includes: In response to a selection operation on the building model to be upgraded, determining a game player corresponding to the upgrade operation; Determining the authority level corresponding to the game player, and matching the game function corresponding to the authority level; It is determined whether the game function includes an upgrade function for the building model to be upgraded to obtain a determination result, and the game scene map is adjusted according to the determination result.

2. The virtual building upgrade method according to claim 1, characterized in that: The step of displaying the building model to be upgraded at the location information includes: Determine a current upgrade level corresponding to the building model to be upgraded, and determine a level effect corresponding to the current upgrade level; Based on the level special effect, the building model to be upgraded is displayed at the position information, and the building information corresponding to the building model to be upgraded is displayed in the area corresponding to the position information.

3. The virtual building upgrade method according to claim 1, characterized in that: The adjusting the game scene map according to the judgment result includes: If the judgment result is that the game function includes the upgrade function, determining a detail map corresponding to the game scene map; The upgrade information and the detail map corresponding to the building model to be upgraded are displayed; wherein the detail map and the upgrade information do not overlap with each other.

4. The virtual building upgrade method according to claim 3, characterized in that: The displaying of the upgrade information corresponding to the building model to be upgraded and the detailed map includes: Determine other information to be displayed simultaneously with the game scene map, and hide the other information while displaying the upgrade information and the detail map; wherein the other information does not include the building model to be upgraded displayed in the game scene map; A confirmation control is generated for confirming the upgrade of the building model to be upgraded, and an exit control is generated.

5. The virtual building upgrade method according to claim 4, characterized in that: The method further comprises: In response to an operation on the exit control, hiding the upgrade information; The detail map is hidden, and the display of the game scene map is restored.

6. The virtual building upgrade method according to claim 1, characterized in that: The method further comprises: If the judgment result is that the game function does not include the upgrade function, displaying a floating layer corresponding to the building model to be upgraded; The upgrade information corresponding to the building model to be upgraded is displayed in the floating layer.

7. A virtual building upgrading device, characterized in that: include: A response module is configured to respond to an upgrade operation on a virtual building upgrade control and determine a building model to be upgraded; A matching module is configured to match a map area corresponding to the building model to be upgraded in a game scene map to determine position information of the map area relative to the game scene map; An upgrading module is configured to display the game scene map and display the building model to be upgraded at the location information to upgrade the building model to be upgraded; After displaying the building model to be upgraded at the location information, the device further comprises: in response to a selection operation on the building model to be upgraded, determining a game player corresponding to the upgrade operation; Determine the authority level corresponding to the game player, and match the game function corresponding to the authority level; determine whether the game function includes an upgrade function for the building model to be upgraded to obtain a determination result, and adjust the game scene map according to the determination result.

8. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the virtual building upgrading method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the virtual building upgrading method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Building processing method and device in virtual scene, electronic equipment and storage medium

    CN113209612A