Building method, device and equipment of virtual defense tower and storage medium

By setting up augmentation positions for the virtual defense towers, so that they can cooperate with the augmentation effect, it solves the problem of continuously building more defense towers in tower defense gameplay to cope with the problem of enhancing the enemy's resource requirements, and achieves stronger defense effects and lower equipment resource requirements.

CN119499671APending Publication Date: 2025-02-25SHENZHEN TENCENT FEITAI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311086514.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-24
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In tower defense gameplay, as the game difficulty increases, the number and attack capabilities of enemies increase, players need to continuously build more virtual defense towers to resist enemy attacks, resulting in an increase in equipment processing resources.

Method used

By setting an amplification position for the virtual defense tower, the second virtual defense tower located at the amplification position can be subject to the amplification effect of the first virtual defense tower, thereby achieving coordination between the virtual defense towers and forming a stronger defensive effect without having to build more virtual defense towers.

Benefits of technology

It reduces the requirements for equipment processing resources, improves the game's defense effect, and allows users to more intuitively plan the layout of the virtual defense tower.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119499671A_ABST
    Figure CN119499671A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual defense tower construction method and device, equipment and a storage medium, and relates to the technical field of computers and the Internet. The method comprises the following steps: in response to an operation of selecting to build a first virtual defense tower, displaying the first virtual defense tower in a to-be-built state in a virtual environment; in response to an operation of moving the first virtual defense tower, moving the first virtual defense tower to a first position of the virtual environment; displaying an amplification position of a first virtual defense tower determined based on the first position in the virtual environment, wherein a second virtual defense tower located at the amplification position is subjected to an amplification effect of the first virtual defense tower; in response to an operation confirming the construction of the first virtual defense tower, the first virtual defense tower in a constructed state is displayed in the virtual environment. According to the method, a more powerful defense effect is achieved through cooperation between the virtual defense towers, a larger number of virtual defense towers do not need to be built at a time, and the requirement for processing resources of equipment can be lowered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the fields of computer and Internet technology, and in particular to a method, device, equipment and storage medium for building a virtual defense tower. Background Art

[0002] Tower defense gameplay refers to a type of real-time strategy video game gameplay in which players build virtual defense towers and other similar buildings in a virtual environment to prevent the enemy from reaching the fortress.

[0003] In the tower defense gameplay of general war strategy games, players collect resources and use the collected resources to build new virtual defense towers to resist the enemy's attack. As the game difficulty increases, the number and attack capabilities of the enemy will increase, and players need to continuously build more virtual defense towers to resist the enemy's attack.

[0004] However, the above method requires the device to maintain and display an increasing number of virtual defense towers, which places high demands on the processing resources of the device. Summary of the invention

[0005] The embodiment of the present application provides a method, device, equipment and storage medium for building a virtual defense tower. The technical solution provided by the embodiment of the present application is as follows:

[0006] According to one aspect of an embodiment of the present application, a method for constructing a virtual defense tower is provided, the method comprising:

[0007] In response to an operation of selecting to build a first virtual defense tower, displaying the first virtual defense tower in a state to be built in a virtual environment;

[0008] In response to an operation of moving the first virtual defense tower, moving the first virtual defense tower to a first position of the virtual environment;

[0009] Displaying the amplified position of the first virtual defense tower determined based on the first position in the virtual environment, and a second virtual defense tower located at the amplified position receives the amplified effect of the first virtual defense tower;

[0010] In response to confirming the operation of building the first virtual defense tower, the first virtual defense tower in a built state is displayed in the virtual environment.

[0011] According to one aspect of an embodiment of the present application, a device for constructing a virtual defense tower is provided, the device comprising:

[0012] A defense tower display module, configured to display the first virtual defense tower in a to-be-built state in a virtual environment in response to an operation of selecting to build the first virtual defense tower;

[0013] a defense tower moving module, configured to move the first virtual defense tower to a first position of the virtual environment in response to an operation of moving the first virtual defense tower;

[0014] an amplification position display module, used for displaying in the virtual environment the amplification position of the first virtual defense tower determined based on the first position, and a second virtual defense tower located at the amplification position is amplified by the first virtual defense tower;

[0015] The defense tower construction module is used to display the first virtual defense tower in a constructed state in the virtual environment in response to the operation of confirming the construction of the first virtual defense tower.

[0016] According to one aspect of an embodiment of the present application, a terminal device is provided, the terminal device comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above method.

[0017] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above method.

[0018] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above method.

[0019] The technical solution provided by the embodiments of the present application includes at least the following beneficial effects:

[0020] By setting an amplification position for the virtual defense tower, the second virtual defense tower located at the amplification position of the first virtual defense tower can be affected by the amplification effect of the first virtual defense tower, thereby forming a stronger defense effect through cooperation between the virtual defense towers without having to blindly build more virtual defense towers. This helps to reduce the requirements for the processing resources of the device.

[0021] In addition, in the process of building virtual defense towers, by displaying the amplification position of the virtual defense towers under construction in the virtual environment, users can intuitively and clearly see which virtual defense towers are located at the amplification position. The interface is intuitive and easy to understand, making it easy for users to match more effective defense tower formations. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0023] Figure 2 is a flow chart of a method for constructing a virtual defense tower provided by an embodiment of the present application;

[0024] Figure 3 is a schematic diagram of a defense tower selection interface provided by an embodiment of the present application;

[0025] Figure 4 is a schematic diagram of a first virtual defense tower in a state to be built and its amplification position provided by an embodiment of the present application;

[0026] Figure 5 It is a schematic diagram of the amplification effect of the first virtual defense tower in a state to be built provided by an embodiment of the present application;

[0027] Figure 6 It is a schematic diagram of a first virtual defense tower generating a defense amplification effect provided by an embodiment of the present application;

[0028] Figure 7 is a schematic diagram of the distribution of the amplification positions of the first virtual defense tower provided by an embodiment of the present application;

[0029] Figure 8 is a schematic diagram of a first virtual defense tower and its amplification position provided by an embodiment of the present application;

[0030] Fig. 9 is a schematic diagram of a second virtual defense tower being selected provided by an embodiment of the present application;

[0031] Fig.10 is a flow chart of a method for constructing a virtual defense tower provided by another embodiment of the present application;

[0032] Fig.11 is a schematic diagram showing first prompt information provided by an embodiment of the present application;

[0033] Fig.12 is a schematic diagram showing second prompt information provided by an embodiment of the present application;

[0034] Fig.13 is a schematic diagram of a first virtual defense tower before and after rotation provided by an embodiment of the present application;

[0035] Fig.14 is a schematic diagram of the amplification position of the first virtual defense tower provided by an embodiment of the present application;

[0036] Fig.15 is a schematic diagram of a basic amplification effect of a first virtual defense tower provided by an embodiment of the present application;

[0037] Fig.16 is a schematic diagram of the superimposed amplification effect of the first virtual defense tower provided by an embodiment of the present application;

[0038] Fig.17 is a schematic diagram of the overlapping amplification position of the first virtual defense tower provided by an embodiment of the present application;

[0039] Fig.18 is a schematic diagram of the linkage amplification effect of the first virtual defense tower provided by an embodiment of the present application;

[0040] Fig.19 is a flow chart of a method for constructing a virtual building provided by an embodiment of the present application;

[0041] Fig. 20 is a block diagram of a device for constructing a virtual defense tower provided by one embodiment of the present application;

[0042] Fig.21 This is a structural block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0044] Please refer to Figure 1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment may include: a terminal device 10 and a server 20.

[0045] The terminal device 10 includes, but is not limited to, mobile phones, tablet computers, intelligent voice interaction devices, game consoles, wearable devices, multimedia playback devices, PCs (Personal Computers), vehicle-mounted terminals, smart home appliances, AR (Augmented Reality) devices, VR (Virtual Reality) devices and other electronic devices. The client of the target application (such as a game application) can be run in the terminal device 10. Optionally, the target application can be an application that needs to be downloaded and installed, or it can be in the form of a web page or a small program, which is not limited in the embodiments of the present application.

[0046] In the embodiment of the present application, the target application may be, but is not limited to, a war strategy game application, a tower defense game application, a real-time strategy game (RTS) application, a turn-based strategy game application, a grand strategy game application, a city construction and management game application, a war strategy game application, a business strategy game application, a strategy game (Simulation Game, SLG) application, a social application, an interactive entertainment application, a simulation program, a VR application, an AR application, a three-dimensional map application, a virtual reality game application, an augmented reality game application, and the like.

[0047] In some embodiments, the target application is a war strategy game application. War strategy games are a type of game whose basic elements include war confrontation, plunder expansion, strategy selection, etc. The main gameplay of war strategy games is to compete for territory or plunder resources between various forces on a large sandbox map. The gameplay design of the game is mainly based on PVP (Player Versus Player) and strategic confrontation, focusing on social attributes. In war strategy games, city construction gameplay is the most important gameplay and development content in the early stage. By upgrading and unlocking virtual buildings, the functions in the game can be gradually enabled.

[0048] In some embodiments, the target application provides a tower defense gameplay. There is a virtual environment in the target application, and the user can build a virtual defense tower in the virtual environment to resist attacks from certain virtual objects, thereby realizing the tower defense gameplay.

[0049] In an embodiment of the present application, a virtual environment is a scene displayed (or provided) when the client of a target application (such as a game application) is running on a terminal device. The virtual environment refers to an environment created for virtual objects to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. In an embodiment of the present application, the virtual environment is also used to build a virtual defense tower, and there is a location in the virtual environment for the construction of a virtual defense tower.

[0050] The above-mentioned virtual defense tower refers to a virtual element in the form of a mechanical device, a defensive object, a building, etc. built by the player in the target application. In the embodiment of the present application, the display form of the virtual defense tower is not limited. The virtual defense tower can be displayed in three-dimensional form or in two-dimensional form, and the embodiment of the present application does not limit this. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual defense tower is a three-dimensional stereo model. Each virtual defense tower has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional environment. The action effects of the virtual defense tower include but are not limited to: at least one of rotation, attack, firing, adding a defense shield, launching lightning, shooting, freezing, throwing, etc. In some embodiments, the virtual defense tower can also be implemented as a 2.5-dimensional or 2-dimensional model, which is not limited in the present application.

[0051] A virtual object refers to an interactive element in a target application. Taking the target application as a game application as an example, a virtual object refers to a virtual character controlled by a user or a server in the game application. A virtual object can be in the form of a person, an animal, a cartoon or other forms, which is not limited in the embodiments of the present application. A virtual object can be displayed in a three-dimensional form or in a two-dimensional form, which is not limited in the embodiments of the present application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional stereo model, such as a three-dimensional stereo model created based on animation skeleton technology. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment. The activities of the virtual object include but are not limited to: adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, etc. Indicatively, the virtual object is a virtual character, such as a simulated character or an animated character. In some implementations, the virtual object can also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present application. The virtual object can be controlled by a server or by a user through a client, which is not limited in the present application.

[0052] The server 20 is used to provide background services for the client of the target application in the terminal device 10. For example, the server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but is not limited to these.

[0053] The terminal device 10 and the server 20 can communicate with each other via a network, which can be a wired network or a wireless network.

[0054] Please refer to Figure 2 , which shows a flow chart of a method for building a virtual defense tower provided by an embodiment of the present application. The execution subject of each step of the method can be Figure 1 The terminal device 10 in the implementation environment of the scheme shown, for example, the execution subject of each step can be the client of the target application. In the following embodiments, for the convenience of description, only the execution subject of each step is described as the "client". The method can include at least one of the following steps (210-240):

[0055] Step 210, in response to the operation of selecting to build a first virtual defense tower, displaying the first virtual defense tower in a state to be built in the virtual environment.

[0056] In an embodiment of the present application, the first virtual defense tower is a virtual defense tower used to provide an amplification effect for the second virtual defense tower, and the first virtual defense tower and the second virtual defense tower are two different virtual defense towers.

[0057] In some embodiments, the first virtual defense tower has no attack capability, and by providing an amplification effect for the second virtual defense tower, cooperation between the virtual defense towers is achieved to form a stronger defense effect and increase the advantage in the game.

[0058] In some embodiments, the amplification effect includes at least one of a defense amplification effect and an attack amplification effect. The first virtual defense tower may provide only a defense amplification effect, or only an attack amplification effect, or both a defense amplification effect and an attack amplification effect.

[0059] In some embodiments, the first virtual defense tower can provide a defense amplification effect for the second virtual defense tower, and the defense capability of the second virtual defense tower affected by the defense amplification effect will be improved. For example, the second virtual defense tower obtains a certain amount of defense value, such as a defense value that is a certain proportion of its own health value.

[0060] In some embodiments, the first virtual defense tower can provide an attack amplification effect for the second virtual defense tower, and the attack capability of the second virtual defense tower affected by the attack amplification effect will be improved. For example, the attack amplification effect can increase the probability of a virtual object being damaged after being attacked, cause continuous damage to the virtual object, limit the action capability of the virtual object, stop the combat behavior of the virtual object, and make the virtual object bear more damage.

[0061] In some embodiments, the virtual environment includes at least one of the following elements: a buildable area, a path, a terrain, an obstacle, a building, etc., wherein the buildable area is an area for building a virtual defense tower. Optionally, the scene of the virtual environment may be, but is not limited to, any one of grassland, desert, snow, jungle, etc.

[0062] In some embodiments, the operation of selecting to build a first virtual defense tower refers to an operation performed by a user to trigger the construction of a first virtual defense tower, and the operation can select to build a first virtual defense tower from at least one virtual defense tower. The first virtual defense tower is a selected virtual defense tower from the at least one virtual defense tower.

[0063] In some embodiments, a defense tower selection interface is displayed, in which at least one virtual defense tower selection item is displayed. The user can select the virtual defense tower to be built from the at least one virtual defense tower. For example, the operation of selecting to build on the first virtual defense tower can be that the user clicks on the selection item of the first virtual defense tower. After selecting the first virtual defense tower to be built, the first virtual defense tower enters a state to be built, and the first virtual defense tower in a state to be built is displayed in a virtual environment. The state to be built refers to a state in which the virtual defense tower is determined to be built, but the construction location has not yet been determined in the virtual environment. In the state to be built, the user can select the construction location of the virtual defense tower in the virtual environment.

[0064] For example, Figure 3 As shown, Figure 3 A schematic diagram of a defense tower selection interface 30 is shown. The defense tower selection interface 30 displays at least one virtual defense tower selection item 31. The user can click on any virtual defense tower selection item 31 to trigger the selection of the virtual defense tower. In addition, the defense tower selection interface 30 also displays a preview image 32 of the currently selected virtual defense tower, description information 33 of the currently selected virtual defense tower, and a construction control 34. The description information 33 includes information such as the name, description, floor space, and construction cost of the virtual defense tower. After clicking on the construction control 34, the selected virtual defense tower enters the waiting state and switches to the Figure 4 The defense tower construction interface 40 is shown.

[0065] like Figure 4 As shown, a virtual environment is displayed in the defense tower construction interface 40, and a first virtual defense tower 41 to be constructed is displayed in the virtual environment. Figure 4 As shown, the defense tower construction interface 40 also displays other controls for controlling the first virtual defense tower. Figure 4As shown, it includes a cancel construction control 42, a rotation control 43, and a confirmation construction control 44. The user clicks the cancel construction control 42 to trigger the operation of canceling the construction of the first virtual defense tower 41, and the first virtual defense tower 41 exits the waiting state. The user clicks the rotation control 43 to control the increase position of the first virtual defense tower 41 to rotate, and the details can be seen below. The user clicks the confirmation construction control 44 to trigger the operation of confirming the construction of the first virtual defense tower 41.

[0066] Step 220: In response to the operation of moving the first virtual defense tower, the first virtual defense tower is moved to a first position of the virtual environment.

[0067] In some embodiments, the operation of moving the first virtual defense tower refers to an operation performed by a user to adjust the placement of the first virtual defense tower in the virtual environment. The first position refers to the position to which the first virtual defense tower is moved based on the operation of moving the first virtual defense tower.

[0068] In some embodiments, after clicking on the first virtual defense tower, clicking on the first position controls the first virtual defense tower to move to the first position. In some embodiments, the first virtual defense tower is moved to the first position by dragging the first virtual defense tower to the first position. There are many ways to move the first virtual defense tower to the first position, including but not limited to the above-mentioned ways. The method used to move the first virtual defense tower is not limited in this application.

[0069] In some embodiments, the virtual defense tower is built on the ground of the virtual environment, the ground of the virtual environment is divided into a plurality of grids, and each virtual defense tower may occupy one or more grids in the virtual environment.

[0070] Step 230, displaying the amplified position of the first virtual defense tower determined based on the first position in the virtual environment, and the second virtual defense tower located at the amplified position receives the amplified effect of the first virtual defense tower.

[0071] In the embodiment of the present application, the second virtual defense tower is another virtual defense tower different from the first virtual defense tower. When the second virtual defense tower is located at the amplification position of the first virtual defense tower, the second virtual defense tower can obtain the amplification effect of the first virtual defense tower.

[0072] In some embodiments, the second virtual defense tower belongs to an attack type virtual defense tower, that is, a type of virtual defense tower with the ability to attack virtual objects. The second virtual defense tower can usually attack virtual objects in different ways and cause different damage. Exemplarily, the second virtual defense tower attacks a long-distance virtual object through long-range shooting attack props, such as bows and arrows, magic, catapults and other attack props. At this time, the attack range of the second virtual defense tower is large. Exemplarily, the second virtual defense tower attacks a close-range virtual object through melee attack props, such as hammers, swords, spears and other attack props. At this time, the attack range of the second virtual defense tower is small. Optionally, the second virtual defense tower causes range damage to the virtual object through magic attacks, and different types of magic attacks may produce special effects. The attack method of the second virtual defense tower belonging to the attack type can be one of the above methods or other methods, which are not limited in this application.

[0073] In some embodiments, the second virtual defense tower is an auxiliary type of virtual defense tower, that is, a type of virtual defense tower that can provide an amplification effect for other virtual defense towers, but the amplification effect generated by the second virtual defense tower cannot be the same type as the amplification effect generated by the first virtual defense tower. Exemplarily, the amplification effect generated by the first virtual defense tower is a defense amplification effect, and the amplification effect generated by the second virtual defense tower is also a defense amplification effect. At this time, the first virtual defense tower cannot add a defense amplification effect to the second virtual defense tower. Exemplarily, the amplification effect generated by the first virtual defense tower is a defense amplification effect, and the amplification effect generated by the second virtual defense tower is an attack amplification effect. At this time, the first defense tower can add a defense amplification effect to the second virtual defense tower.

[0074] In some embodiments, the first virtual defense tower is an auxiliary type virtual defense tower, and the second virtual defense tower is an attack type virtual defense tower.

[0075] In some embodiments, the first virtual defense tower is an auxiliary type virtual defense tower, and the second virtual defense tower is also an auxiliary type virtual defense tower. Optionally, the amplification effect generated by the second virtual defense tower cannot be of the same type as the amplification effect generated by the first virtual defense tower.

[0076] In some embodiments, the first virtual defense tower is an auxiliary type virtual defense tower, and the second virtual defense tower is a special type virtual defense tower. The special type of virtual defense tower refers to a type of virtual defense tower that does not directly attack a virtual object but can produce a negative effect on the virtual object. The negative effect includes but is not limited to at least one of a stun effect, a poisoning effect, and the like.

[0077] In some embodiments, the amplification effect provided by the auxiliary type virtual defense tower includes at least one of a defense amplification effect and an attack amplification effect. A virtual defense tower that provides a defense amplification effect may be called a shield generator or other names, which is not limited in this application. A virtual defense tower that provides an attack amplification effect may be called an aura tower or other names, which is not limited in this application. A virtual defense tower that provides a defense amplification effect and a virtual defense tower that provides an attack amplification effect may simultaneously assist a virtual defense tower of the same attack type. A virtual defense tower of an attack type may be called an attack tower or other names, which is not limited in this application.

[0078] In some embodiments, the virtual defense towers that provide attack amplification effects include: a first type of virtual defense tower, a second type of virtual defense tower, and a third type of virtual defense tower. The first type of virtual defense tower is a virtual defense tower that can produce a first amplification effect. The second type of virtual defense tower is a virtual defense tower that can produce a second amplification effect. The third type of virtual defense tower is a virtual defense tower that can produce a third amplification effect. The first amplification effect, the second amplification effect, and the third amplification effect are three different amplification effects.

[0079] In some embodiments, the first amplification effect is used to increase the attack power of the virtual defense tower affected by the amplification effect, and it can cause additional damage to the virtual object. The second amplification effect is used to increase the attack power of the virtual defense tower affected by the amplification effect, and it can produce a deceleration effect on the virtual object. The third amplification effect is used to increase the attack power of the virtual defense tower affected by the amplification effect, and it can produce an effect of reducing the hit rate of the virtual object.

[0080] For example, Figure 5 As shown, the first virtual defense tower 52 is a first type of virtual defense tower with a flame amplification effect, which is the first amplification effect. The second virtual defense tower 51 is a virtual defense tower that attacks by magic. The first virtual defense tower 52 is placed at the first position, and at this time the second virtual defense tower 51 is at an amplification position of the first virtual defense tower 52. The second virtual defense tower 51 is subject to a flame amplification effect (assuming that it currently only has this one amplification effect), and its single attack power is increased by 10%. Each attack has a 5% probability of causing additional burning damage to the virtual object that lasts for 3s. The virtual object that suffers the burning damage suffers a certain amount of additional damage every 0.5.

[0081] Exemplarily, the first virtual defense tower is a second-type virtual defense tower with a freezing amplification effect, that is, the second amplification effect. The second virtual defense tower is a virtual defense tower that attacks by bows and arrows. The first virtual defense tower is placed at the first position, and at this time the second virtual defense tower is at an amplification position of the first virtual defense tower. The second virtual defense tower is affected by a freezing amplification effect (assuming that it currently only has this one amplification effect), and its single attack power is increased by 10%. Each attack has a 5% probability of causing an additional 3s of deceleration damage to the virtual object, and the speed of the virtual object affected by the deceleration damage is reduced by 20%.

[0082] Exemplarily, the first virtual defense tower is a third-type virtual defense tower with an arc amplification effect, that is, the third amplification effect. The second virtual defense tower is a virtual defense tower that attacks by bows and arrows. The first virtual defense tower is placed at the first position, and at this time the second virtual defense tower is at an amplification position of the first virtual defense tower. The second virtual defense tower is affected by an arc amplification effect (assuming that it currently only has this one amplification effect), and its single attack power is increased by 10%. Each attack has a 5% probability of causing additional tremor damage to the virtual object that lasts for 3s, and the attack hit rate of the virtual object affected by the tremor damage is reduced by 20%.

[0083] Exemplarily, the first virtual defense tower is a virtual defense tower with a defense amplification effect, and the first virtual defense tower has four amplification positions, such as Figure 6 As shown, the first virtual defense tower with a defense amplification effect can increase the defense value of the first virtual defense tower and the second virtual defense tower without a defense amplification effect (assuming that it currently only has this one amplification effect). The defense value is determined by the maximum health of the virtual defense tower itself and the level of the first virtual defense tower. The virtual defense tower with a defense effect can increase its defense value by 10%, and the virtual defense tower with a defense amplification has a shield effect 61 on its surface.

[0084] In some embodiments, the ground of the virtual environment is divided into multiple grids, and the first position is the first grid among the multiple grids; the amplification position of the first virtual defense tower determined based on the first position is displayed in the virtual environment, including: displaying at least one amplification position of the first virtual defense tower determined based on the first grid in the virtual environment, each amplification position occupies at least one grid.

[0085] The ground of a virtual environment refers to the area in the virtual environment where virtual buildings can be constructed. Virtual buildings include, but are not limited to, at least one of the following: virtual defense towers, virtual fortresses, and virtual walls. Virtual buildings all have a certain volume, and therefore will occupy a certain space in the virtual environment. The ground of the virtual environment is divided into sub-areas of equal size, where a sub-area is a grid. A grid corresponds to a certain space in the virtual environment, and construction space is allocated to virtual buildings in units of grids. The first grid refers to the grid allocated to the first virtual defense tower, and may also correspond to the size of the space allocated to the first virtual defense tower in the virtual environment. When dividing the ground of the virtual environment, it may be divided into squares, rectangles, or other shapes, which are not limited in the present application. For example, Figure 3 As shown, the grid in the virtual environment is a square, and the selected virtual defense tower is an arc tower. The description information 33 includes that the arc tower occupies 4 grids, and the floor area is the number of grids required when building in the virtual environment. A virtual building can occupy one grid or multiple grids, which can be set according to the properties of the virtual building, and is not limited in this application. The grids occupied by the building can be connected or disconnected, which is not limited in this application.

[0086] The amplification position of the first virtual defense tower refers to the position where the first virtual defense tower can produce an amplification effect. The amplification position determines the range in which the first virtual defense tower can produce an amplification effect, and the range is expressed in grids. Different amplification positions of the first virtual defense tower can occupy the same number of grids, or they can occupy different numbers of grids. The amplification positions of the first virtual defense tower can be distributed in a connected area with the first virtual defense tower as the center, or they can be discretely distributed according to a certain rule with the first virtual defense tower as the center, or they can be distributed not with the first virtual defense tower as the center. For example, each amplification position occupies 4 grids, such as Figure 7 As shown in the sub-figure (a) of , the amplification positions of the first virtual defense tower are connected with the first virtual defense tower as the center to form a 3×5 rectangular amplification range, that is, distributed in pieces; Figure 7 As shown in sub-figure (b), the amplification positions of the first virtual defense tower are dispersed and radiated outward from the first virtual defense tower as the center. The number and distribution of the grids occupied by the amplification positions can be set according to different virtual defense towers and are not limited in this application.

[0087] Through the above method, the ground of the virtual environment is divided into multiple grids, and construction space is allocated for the virtual defense tower, so that the layout of the virtual environment is neat and clear, which helps users to accurately control the location of the construction of the virtual defense tower.

[0088] In some embodiments, displaying at least one amplified position of a first virtual defense tower determined based on a first grid in a virtual environment includes marking and displaying grids corresponding to at least one amplified position of a first virtual defense tower determined based on the first grid in the virtual environment.

[0089] The above-mentioned marking and displaying of the grid corresponding to the amplification position refers to marking the grid corresponding to the amplification position on the ground of the virtual environment, so that the user can more intuitively know the location of the amplification position of the first virtual defense tower. There are many ways to mark and display the grid corresponding to the amplification position, which may include but are not limited to at least one of the following display methods: highlight mark, transparent area, icon, symbol, text prompt, color mark, etc. Exemplarily, the grid occupied by the amplification position of the first virtual defense tower is drawn with a highlighted border to display the position and range in which the first virtual defense tower can produce an amplification effect.

[0090] Alternatively, if Figure 8 As shown, it shows a schematic diagram of the first virtual defense tower and its amplification position. When a first virtual defense tower is built in a virtual environment, all grids of the virtual environment are displayed, including grids of the buildable area. When the first virtual defense tower is placed in the first grid, the amplification position of the first virtual defense tower is displayed.

[0091] Through the above method, based on the first grid, that is, the current location of the first virtual defense tower, at least one amplification position of the first virtual defense tower is displayed, which clearly shows the amplification range of the first virtual defense tower to the user, helping the user to determine the appropriate location for building the first virtual defense tower.

[0092] Optionally, when the first virtual defense tower is built in the virtual environment, only the grids occupied by the first virtual defense tower and the grids occupied by its amplification positions are displayed in the virtual environment. When the first virtual defense tower is built, there is a situation where the virtual defense tower cannot be built at the amplification position. The amplification position where the virtual defense tower cannot be built can be displayed in the virtual environment, but it needs to be displayed differently from the amplification position where the virtual defense tower can be built.

[0093] Through the above method, the increase positions of buildable and non-buildable virtual defense towers are distinguished in different display methods, and the range in which the virtual defense towers can be currently built is clearly displayed to the user, which helps the user think about the construction method of the virtual defense tower.

[0094] In some embodiments, after the first virtual defense tower is moved to a first position, at least one amplified position based on the first position is displayed in the virtual environment; after the first virtual defense tower is moved from the first position to a third position, at least one amplified position based on the third position is displayed in the virtual environment. In particular, due to the different terrains and obstacles at different positions in the virtual environment, the number of amplified positions based on the first position and the amount of amplified position data based on the third position may be the same or different; the amplified positions displayed relative to the first virtual defense tower may be the same or different. However, it should be noted that, in terms of the relative position of the first virtual defense tower, the amplified positions based on the first position and the amplified positions based on the third position are subsets of all amplified positions.

[0095] It should be noted that the amplification range, amplification rules, amplification size, and additional damage generated by each amplification effect on the attack are set by technical personnel. The values ​​in the above examples can be adjusted without restriction.

[0096] Step 240, in response to confirming the operation of building the first virtual defense tower, displaying the first virtual defense tower in a built state in the virtual environment.

[0097] The constructed state refers to the state of a virtual defense tower after it has been constructed in the virtual environment. Under a virtual defense tower in the constructed state, the user can select the virtual defense tower to put it into the pending construction state. Optionally, if no virtual defense tower is currently in the pending construction state, all virtual defense towers in the constructed state are displayed in the virtual environment. The virtual defense tower may be the first virtual defense tower, the second virtual defense tower, or other virtual defense towers.

[0098] In some embodiments, after the first virtual defense tower or the second virtual defense tower is selected, at least one augmentation position of an auxiliary type virtual defense tower in a constructed state is displayed in the virtual environment.

[0099] Exemplarily, the virtual defense tower at the first position is selected, and the display effect of the virtual defense tower after selection is as follows: Fig. 9 As shown, Fig. 9 It includes a first virtual defense tower 91, four unselected second virtual defense towers 92 and a selected second virtual defense tower 93. The figure shows three controls: cancel construction control 94, rotation control 95 and completion construction control 96. The increase position 97 of the first virtual defense tower 91 is also shown. After clicking the cancel construction control 94, all operations on the second virtual defense tower 93 are canceled and it exits the waiting state; after clicking the rotation control 95, the second virtual defense tower 93 is controlled to rotate 90 degrees clockwise or counterclockwise; after clicking the completion construction control 96, the operations on the second virtual defense tower 93 are saved and it exits the waiting state.

[0100] The technical solution provided in the embodiment of the present application sets an amplification position for the virtual defense tower. The second virtual defense tower located at the amplification position of the first virtual defense tower can be affected by the amplification effect of the first virtual defense tower, thereby achieving a stronger defense effect through cooperation between the virtual defense towers without having to blindly build more virtual defense towers. This helps to reduce the requirements for the processing resources of the device.

[0101] In addition, in the process of building virtual defense towers, by displaying the amplification position of the virtual defense towers under construction in the virtual environment, users can intuitively and clearly see which virtual defense towers are located at the amplification position. The interface is intuitive and easy to understand, making it easy for users to match more effective defense tower formations.

[0102] In addition, in conventional tower defense gameplay, the functions of virtual defense towers are independent of each other. Players only need to consume a certain amount of resources to build virtual defense towers, and do not need to consider the layout between virtual defense towers. The gameplay strategy is relatively limited and lacks depth. When facing high-intensity enemies, all players can do is increase the number and level of virtual defense towers, rather than thinking about how to further utilize the terrain and make good use of the characteristics between virtual defense towers for coordination. This solution adds an auxiliary mechanism for the amplification effect of virtual defense towers. Virtual defense towers need to cooperate to form a stronger defense effect. Players use their own thinking to match virtual defense towers to meet different battlefield needs.

[0103] Next, a method for constructing a second virtual defense tower at the amplification position of an already constructed first virtual defense tower is described.

[0104] Please refer to Fig.10 , which shows a flow chart of a method for building a virtual defense tower provided by another embodiment of the present application. The execution subject of each step of the method can be Figure 1 The terminal device 10 in the implementation environment of the scheme shown, for example, the execution subject of each step can be the client of the target application. In the following embodiments, for the convenience of description, only the execution subject of each step is introduced as the "client". The method may include at least one of the following steps (1010-1030):

[0105] Step 1010, in response to the operation of selecting to build a second virtual defense tower, displaying the second virtual defense tower in a state to be built in the virtual environment.

[0106] In some embodiments, the operation of selecting to build a second virtual defense tower is an operation performed by a user to trigger the construction of a second virtual defense tower, and the operation can select to build a second virtual defense tower from at least one virtual defense tower. The second virtual defense tower is a selected virtual defense tower from the at least one virtual defense tower.

[0107] In some embodiments, a second virtual defense tower is selected for construction based on the type of virtual object and the terrain conditions in the virtual environment. Exemplarily, when the virtual object is characterized by fast movement and it is necessary to prevent the virtual object from destroying the city or fortress, a second virtual defense tower that can attack remotely and has high damage can be considered. Exemplarily, when the virtual object is characterized by a large number but low health, a second virtual defense tower that can issue a range attack can be considered. Exemplarily, when the virtual object is characterized by high health but slow movement, a second virtual defense tower that can attack at close range and deal a critical hit can be considered. Different second virtual defense towers can be selected for resistance for virtual objects with different characteristics.

[0108] Step 1020: In response to the operation of moving the second virtual defense tower, move the second virtual defense tower to a second position of the virtual environment.

[0109] In some embodiments, in response to the operation of moving the second virtual defense tower, the increased position of the first virtual defense tower built in the virtual environment is displayed. The player controls the movement of the second virtual defense tower in the same way as the first virtual defense tower, which will not be described in detail here.

[0110] In some embodiments, the second position is one of the augmented positions of the first virtual defense tower that has been built in the displayed virtual environment. Exemplarily, when the player drags the second virtual defense tower to move, the augmented positions of all the first virtual defense towers that have been built are displayed in the virtual environment, and the second virtual defense tower is moved to one of the augmented positions, which is the second position.

[0111] Through the above method, the user can move the second virtual defense tower to a suitable position, which helps the user plan the construction method of the virtual defense tower.

[0112] Step 1030, when the second position overlaps with any amplification position of the first virtual defense tower, display a first prompt message, the first prompt message being used to prompt that building a second virtual defense tower at the second position will be affected by the amplification effect of the first virtual defense tower.

[0113] The overlap of the second position with any amplification position of the first virtual defense tower means that the player builds the second virtual defense tower on the amplification position of the first virtual defense tower. After the construction is completed, the second virtual defense tower will be affected by the amplification effect of the first virtual defense tower.

[0114] In some embodiments, the first prompt information includes a connection line between the first virtual defense tower and the second virtual defense tower.

[0115] Through the above method, it is clearly shown to the user that the second virtual defense tower can be amplified by the first virtual defense tower.

[0116] In some other embodiments, the first prompt information may also be a special effect displayed on the second virtual defense tower, such as a halo effect, a glow effect, a flame effect, a freezing effect, a lightning effect, etc.; the first prompt information may also be a prompt about the amplification effect of the first virtual defense tower, such as "will be amplified by flame", etc. The embodiment of the present application does not limit the display method of the first prompt information.

[0117] Exemplarily, the second position overlaps with an amplification position of the first virtual defense tower, and after the second virtual defense tower is moved to the second position, Fig.11 As shown, there is an electric current-like line 1103 between the first virtual defense tower 1101 and the second virtual defense tower 1102, and the line 1103 indicates that if the second virtual defense tower 1102 is built at this location, it will be amplified by the first virtual defense tower 1101, and other second virtual defense towers 1104 that have been built and are amplified by the first virtual defense tower 1101 also have similar connection effects.

[0118] In some embodiments, step 1030 also includes: in response to confirming the operation of building a second virtual defense tower, displaying the second virtual defense tower in a constructed state in the virtual environment; if the second virtual defense tower is built on any amplification position of the first virtual defense tower, displaying a second prompt message, and the second prompt message is used to prompt that the second virtual defense tower is affected by the amplification effect of the first virtual defense tower.

[0119] The second prompt information is the increase relationship between the first virtual defense tower and the second virtual defense tower displayed in the virtual environment after the construction is completed. The second prompt information can be the same as the first prompt information, or it can be a special effect displayed on the second virtual defense tower, such as a halo special effect, a halo special effect, a flame special effect, a freezing special effect, a lightning special effect, etc., or it can be a connection between the first virtual defense tower and the second virtual defense tower. The first prompt information can be the same as the second prompt information, or it can be different. The display effects of the first prompt information and the second prompt information can be the above effects, or they can be other information with prompting effects, which are not limited in this application.

[0120] For example, when the second virtual defense tower is built on the amplification position of the first virtual defense tower, Fig.12As shown, the second virtual defense tower 1201 in the figure is a second virtual defense tower that has just been built. At this time, the second virtual defense tower 1201 is connected to the first virtual defense tower by a straight line, and the straight line is the second prompt information 1203 mentioned above.

[0121] For example, when the second virtual defense tower is not built on any amplification position of the first virtual defense tower, Fig.12 As shown, the second virtual defense tower 1202 in the figure is a second virtual defense tower that has just been built. At this time, the second virtual defense tower 1202 does not display the second prompt information 1203.

[0122] Through the above method, the second prompt information is displayed between the first virtual defense tower and the second virtual defense tower that is subject to the amplification effect. This can show the user the amplification status between the currently built virtual defense towers, which helps the user adjust and create new virtual defense towers according to the game situation.

[0123] Next, the rotation operation of selecting the first virtual defense tower is introduced and explained.

[0124] In some embodiments, after step 210, the method further includes: in response to an operation of rotating the amplification position, rotating the amplification position of the first virtual defense tower with the first position as the center.

[0125] In some embodiments, the operation of rotating the amplification position refers to an operation performed by a user to control the direction of the amplification position. The operation can determine a suitable position of the amplification position by controlling the amplification position to rotate a certain angle.

[0126] The amplification positions of the first virtual defense tower may be centrally symmetrically distributed or not. When the amplification positions of the first virtual defense tower are not centrally symmetrically distributed, when the first virtual defense tower is rotated, that is, when its amplification position is rotated, the range covered by its amplification position is different, and the virtual defense towers amplified are also different.

[0127] In some embodiments, in response to the operation of rotating the amplification position, the amplification position of the first virtual defense tower is rotated by a first angle in a clockwise direction with the first position as the center; or, in response to the operation of rotating the amplification position, the amplification position of the first virtual defense tower is rotated by a second angle in a counterclockwise direction with the first position as the center. The first angle and the second angle may be the same or different. For example, the first angle and the second angle are both 90 degrees.

[0128] In some embodiments, the first virtual defense tower has multiple amplification positions, and the formation of the multiple amplification positions of the first virtual defense tower remains unchanged before and after the rotation. The formation of the amplification positions of the first virtual defense tower refers to the arrangement of the multiple amplification positions, which may include but is not limited to at least one of the following formations: a concentrated formation, a dispersed formation, a tandem formation, a cross formation, etc. Optionally. The formation of the amplification positions of the first virtual defense tower is set by a technician and will not change after setting, and will translate or rotate as a whole following the movement and rotation of the first virtual defense tower.

[0129] Through the above method, more different combinations of virtual defense towers are provided to users, and the defense capability is improved through cooperation.

[0130] For example, the first virtual defense tower has three amplification positions, which are located on three grids next to the first virtual defense tower. There are also three second virtual defense towers next to the first virtual defense tower. Fig.13 As shown in the sub-figure (a), the first virtual defense tower has three amplification positions, which are located directly above, to the right, and below the first virtual defense tower. At this time, there is a second virtual defense tower at the amplification position directly above and at the amplification position on the right, and the second virtual defense tower on the left of the first virtual defense tower is not at the amplification position. It is obvious that if the current amplification position is rotated 90 degrees counterclockwise, the three second virtual defense towers can be amplified by the first virtual defense tower; after rotating the first virtual defense tower 90 degrees counterclockwise, we get Fig.13 In sub-figure (b), the three second virtual defense towers are respectively located at the three amplification positions of the first virtual defense tower, and can all be affected by the amplification effect of the first virtual defense tower.

[0131] The technical solution provided in the embodiment of the present application determines the amplification range of the first virtual defense tower by rotating the amplification position, which helps the user to better and more flexibly plan the construction location of the virtual defense tower to maximize the amplification effect.

[0132] Next, the amplification rules of the first virtual defense tower are introduced and explained.

[0133] Basic amplification rules:

[0134] When the second position of the second virtual defense tower overlaps with only one amplification position of the first virtual defense tower, the second virtual defense tower will only receive one layer of amplification effect, such as Fig.13 The sub-figures (a) and (b) show the effect.

[0135] In some embodiments, a first virtual defense tower can provide an amplification effect to any second virtual defense tower in its amplification position, but a first virtual defense tower with an attack amplification effect cannot provide an amplification effect to any first virtual defense tower; a first virtual defense tower with a defense amplification effect can provide a defense amplification effect to a first virtual defense tower with an attack amplification effect, but cannot provide an amplification effect to other first virtual defense towers with defense amplification effects.

[0136] For example, Fig.14 As shown, it shows a schematic diagram of an amplification of a first virtual defense tower with a defense amplification effect. The first virtual defense tower includes four defense amplification positions: defense amplification position A, defense amplification position B, defense amplification position C and defense amplification position D. The defense amplification position is an amplification position that can provide a defense amplification effect. At this time, a second virtual defense tower is built on defense amplification position A, a first virtual defense tower with a defense amplification effect is built on defense amplification position B, and a first virtual defense tower with an attack amplification effect is built on defense amplification position C. The effect after the above three virtual defense towers are built is as follows Fig.15 As shown, the virtual defense towers at defense amplification position A and defense amplification position C are affected by the defense amplification effect, which becomes invalid at defense amplification position B. The virtual defense towers affected by the defense amplification effect are all connected to the first virtual defense tower that provides the defense amplification effect.

[0137] like Fig.16 As shown, the first virtual defense tower 1601 and all virtual defense towers 1602 affected by its amplification effect display the second prompt information 1603 between them.

[0138] Amplification effect stacking rules:

[0139] Each second virtual defense tower can obtain the amplification effect of multiple first virtual defense towers; the first virtual defense tower with an attack amplification effect can obtain the amplification effect of multiple first virtual defense towers with a defense amplification effect.

[0140] In some embodiments, when a second virtual defense tower is built at the overlapping amplification positions of multiple first virtual defense towers, the second virtual defense tower is affected by the amplification effect of multiple first virtual defense towers; wherein the overlapping amplification position refers to the amplification positions of multiple first virtual defense towers that are at the same position in the virtual environment.

[0141] Each built first virtual defense tower has a certain number of boosting positions in the virtual environment. Different first virtual defense towers have multiple overlapping boosting positions on the same grid. Fig.17 As shown, there is an overlapping amplification position between the two first virtual defense towers.

[0142] In some embodiments, when displaying the boosting position, the corresponding third prompt information is displayed at the overlapping boosting position, and the third prompt information is used to prompt the superposition effect of the overlapping boosting position. Fig.17 The figure shows the amplification position marks of two constructed first virtual defense towers, and the marks on the overlapping amplification positions are darker.

[0143] In some embodiments, if multiple first virtual defense towers have the same type of amplification effect, the amplification effect received by the second virtual defense tower is: the superposition effect of the amplification effects of the same type determined based on the number of the multiple first virtual defense towers; or, if multiple first virtual defense towers have different types of amplification effects, the amplification effect received by the second virtual defense tower is: the superposition effect of different types of amplification effects.

[0144] Exemplarily, the second virtual defense tower is built on a position where two layers of flame overlap and amplify, that is, the second virtual defense tower is affected by two layers of flame overlapping and amplifying effect. One layer of flame amplification effect increases the single attack power by 10%, and each attack has a 5% probability of causing additional burning damage to the virtual object that lasts for 3s. The virtual object that suffers the burning damage suffers a certain amount of additional damage every 0.5, then the two layers of flame overlapping and amplifying effect increase the single attack power by 20%, and each attack has a 10% probability of causing additional burning damage to the virtual object that lasts for 3s.

[0145] Exemplarily, when the second virtual defense tower is built on an overlapping amplification position of a layer of freezing amplification plus a layer of arc amplification, the second virtual defense tower will be affected by two different amplification effects, namely, a layer of freezing amplification effect and a layer of arc amplification effect.

[0146] In some embodiments, when the number of superimposed layers of the same type of amplification effect is less than the first threshold, the superimposed effect of the same type of amplification effect is a normal superimposed effect; when the number of superimposed layers of the same type of amplification effect reaches the first threshold, the superimposed effect of the same type of amplification effect is an enhanced superimposed effect; wherein the ability of the enhanced superimposed effect is greater than that of the normal superimposed effect, and within the first period after the enhanced superimposed effect is triggered, the normal superimposed effect and the enhanced superimposed effect cannot be triggered again. The first threshold may be a preset value, which is set by a technician, and this application does not limit this.

[0147] The enhanced stacking effect refers to an additional effect of the same type that is triggered multiple times when the same virtual object is attacked by the same type of amplification effect, and the effect is triggered when the number of times reaches the first threshold. The attack of the same type of amplification effect can come from different second virtual defense towers or from the same second virtual defense tower.

[0148] Exemplarily, the first threshold is 5 layers, and the amplification effect is a flame amplification effect. The flame amplification effect increases the single attack power by 10%, and each attack has a 5% probability of causing additional burning damage to the virtual object that lasts for 3s. The virtual object that suffers the burning damage receives a certain amount of additional damage every 0.5 seconds. When the same virtual object is attacked by flame amplification five times, the enhanced stacking effect is triggered, that is, the burning damage evolves into ignition damage, and the ignition damage instantly causes a large amount of damage to the virtual object.

[0149] Exemplarily, the first threshold is 5 layers, and the amplification effect is a freezing amplification effect. The freezing amplification effect increases the single attack power by 10%, and each attack has a 5% probability of causing an additional 3s of deceleration damage to the virtual object. The speed of the virtual object that suffers the deceleration damage decreases by 20%. When the same virtual object is attacked by five freezing amplification attacks, the enhanced stacking effect is triggered, that is, the deceleration damage evolves into freezing damage, and the virtual object that suffers the freezing damage cannot move within 3s.

[0150] Exemplarily, the first threshold is 5 layers, and the amplification effect is a tremor amplification effect. The tremor amplification effect increases the single attack power by 10%, and each attack has a 5% probability of causing additional tremor damage to the virtual object that lasts for 3 seconds. The attack hit rate of the virtual object that suffers tremor damage decreases by 20%. When the same virtual object is attacked by tremor amplification five times, the enhanced stacking effect is triggered, that is, the tremor damage evolves into disarming damage, and the virtual object cannot attack within 3 seconds.

[0151] Exemplarily, the first threshold is 2 layers, and the amplification effect is a defense amplification effect. The defense amplification effect can provide the virtual defense tower with 15% of its maximum health as defense value at a time. The defense value reduced by the attack will be restored after a period of time. Each virtual defense tower can stack up to two layers of defense amplification effect, that is, the increased defense value is at most 30% of its maximum health.

[0152] The technical solution provided in the embodiment of the present application allows the second virtual defense tower to be affected by the superimposed amplification effect. By superimposing the same type of amplification effects, additional superimposed effects can be triggered. This provides users with more ideas for virtual defense tower combinations and increases the depth of game strategy. By controlling the size of the first threshold, the number of superimposed layers of the amplification effect is limited, which is conducive to maintaining the balance of the game.

[0153] Amplification linkage effect:

[0154] Attacks with different types of amplification effects can produce interactive effects on the same virtual object, namely, the amplification linkage effect. The linkage effect is usually triggered when the elements are not mutually exclusive and the states can be superimposed. If attacks with mutually exclusive elements attack the same virtual object, the linkage effect will not be triggered.

[0155] In some embodiments, for the first type of amplification effect and the second type of amplification effect, if the first type and the second type are not mutually exclusive, the first type of amplification effect and the second type of amplification effect have a linkage effect, and the linkage effect means that when the virtual object is attacked by the second defense tower that is affected by the first type of amplification effect, the virtual object attacked by the second defense tower that is affected by the second type of amplification effect will generate additional gain.

[0156] For example, Fig.18 As shown, the figure includes three types of first virtual defense towers, namely, a first virtual defense tower 1801 capable of producing a flame amplification effect, a first virtual defense tower 1802 capable of producing a freezing amplification effect, and a first virtual defense tower 1803 capable of producing an arc amplification effect, and also includes a second virtual defense tower that is amplified by the three types of first virtual defense towers. When a virtual object is subjected to tremor damage, the second virtual defense tower attacks the virtual object with a freezing amplification effect, and the probability of the virtual object triggering deceleration damage increases. If the enhanced superposition effect of freezing is triggered, the freezing damage evolved from the deceleration damage increases the freezing time of the virtual object; when the virtual object is subjected to burning damage, the second virtual defense tower attacks the virtual object with an arc amplification effect, and the probability of the virtual object triggering tremor damage increases. If tremor damage is triggered, the hit rate of the virtual object's attack is further reduced; when the virtual object is subjected to freezing damage, the second virtual defense tower attacks the virtual object with a flame amplification effect. At this time, the two attacks will not trigger a linkage effect because the ice element and the fire element are mutually exclusive.

[0157] The technical solution provided in the embodiment of the present application generates interaction on the same virtual object through attacks with different types of amplification effects, namely a linkage effect, triggering additional damage to the virtual object. This enables the virtual defense towers to become stronger and stronger through cooperation, and has a more obvious client performance, rather than just a numerical addition, making the cooperation between the virtual defense towers very intuitive and easy to understand.

[0158] Please refer to Fig.19 , which shows a flowchart of a method for constructing a virtual building provided by an embodiment of the present application. The execution subject of each step of the method may be Figure 1 The terminal device 10 in the implementation environment of the scheme shown. For example, the execution subject of each step can be the client of the target application. In the following method embodiment, for the convenience of description, only the execution subject of each step is introduced as the "client". The method may include at least one of the following steps (1910-1930):

[0159] Step 1910, in the city construction stage for the virtual environment, displaying the virtual buildings constructed in the virtual environment, the virtual buildings including: a first virtual building and a second virtual building for protecting the first virtual building.

[0160] The city construction stage refers to the game stage of building a base in a virtual environment, which is used to establish and strengthen one's own power. In this stage, users need to plan the location and layout of each virtual building in the base, and reasonably build various virtual buildings to form a self-sufficient and well-defended base.

[0161] Users can build virtual buildings during the city construction stage, which can be divided into first virtual buildings and second virtual buildings according to their functions. The first virtual building refers to the user's base in the game. The base generally refers to the main stronghold of a camp or a player in the game. In such a stronghold, there are the main facilities, main characters, etc. of the camp or the player, which undertakes the operation tasks of the camp or the player. Through the base, users can carry out production, supply, trading and other behaviors, and can also gain additional combat advantages in their own base. The second virtual building refers to a building used to protect the first virtual building. Optionally, the second virtual building includes: a tower defense building used to protect the first virtual building, and the tower defense building is used to resist the enemy's attack on the first virtual building. For example, the second virtual building can be the virtual defense tower introduced above.

[0162] In the city construction stage, users develop their own bases and improve their strength in the game by building the first virtual building in the virtual environment; and they protect the first virtual building by building the second virtual building in the virtual environment. This method is equivalent to integrating tower defense gameplay into the city construction gameplay. The so-called tower defense gameplay refers to a type of gameplay that builds tower defense buildings in the virtual environment to prevent the enemy from reaching the base in the game. Compared with the boring and single city construction process, this also enriches the diversity of gameplay and operations in the city construction process.

[0163] In addition, during the city construction phase, users can collect virtual resources required to build virtual buildings in the virtual environment, and then use the virtual resources to build virtual buildings. The application does not limit the types of virtual resources, such as virtual trees, virtual ores, etc.

[0164] Step 1920: In response to satisfying the start condition of the invasion phase, displaying the attack process of the first virtual object on the virtual building.

[0165] The invasion phase refers to a game phase interspersed between the city construction phases. In the invasion phase, the first virtual object will attack the virtual building. In some embodiments, the first virtual object refers to a virtual object controlled by the target application, such as an AI (Artificial Intelligence) virtual object, which can attack the virtual building according to the control strategy of the target application. In some embodiments, the first virtual object refers to a virtual object controlled by other users, which can attack the virtual building according to the control of other users.

[0166] The conditions for starting the invasion phase refer to the pre-set conditions for starting the invasion phase. For example, when a user completes certain specified tasks in a virtual environment, such as defeating a specific boss, opening a treasure map, building a specific building, etc., or reaches a set threshold condition, such as the accumulation of virtual resources reaches a certain threshold, the proportion of occupied map area reaches a certain threshold, etc., it means that the conditions for starting the invasion phase are met.

[0167] After the conditions for starting the invasion phase are met, the invasion phase is started. In the invasion phase, the first virtual object will attack the constructed virtual building, and the client will display the attack process of the first virtual object on the virtual building in the display screen of the virtual environment.

[0168] In some embodiments, during the invasion phase, the user is not allowed to build virtual buildings in the virtual environment, including not allowing the user to build the first virtual building and the second virtual building in the virtual environment. That is, during the invasion phase, the user cannot continue to build virtual buildings and can only use the built virtual buildings to defend against the first virtual object. This requires the user to build virtual buildings with reasonable formations in advance during the city construction phase to resist the attack of the first virtual object.

[0169] In some embodiments, during the invasion phase, the user is allowed to build a virtual building in the virtual environment, including allowing the user to build a first virtual building and a second virtual building in the virtual environment. That is, during the invasion phase, the user can continue to build virtual buildings, and the user can build virtual buildings in a targeted manner according to the attack path of the first virtual object to resist the attack of the first virtual object.

[0170] In some embodiments, during the invasion phase, the user is not allowed to build a first virtual building in the virtual environment, but is allowed to build a second virtual building in the virtual environment. That is, during the invasion phase, the user cannot continue to build a base, but can still build a tower defense building in a targeted manner according to the attack path of the first virtual object to resist the attack of the first virtual object.

[0171] Step 1930, in response to the end condition of the invasion phase being met, the city construction phase is entered again, and the newly constructed virtual building is displayed in the virtual environment.

[0172] The end condition of the invasion phase refers to a pre-set condition for ending the invasion phase. For example, the end condition of the invasion phase includes defeating all invaders (such as the first virtual object), continuously defending until the time requirement, completing a specific task, defending key buildings, and the like.

[0173] In the embodiment of the present application, the invasion stage is interspersed with the city construction stage. Moreover, in the embodiment of the present application, the number of times the invasion stage is opened is not limited. For example, the invasion stage can be opened multiple times, and the city construction stage and the invasion stage are alternated one by one. Exemplarily, during the first city construction stage, if the opening conditions of the invasion stage are met, the first invasion stage is entered; when the first invasion stage meets the end conditions, the second city construction stage is entered; during the second city construction stage, if the opening conditions of the invasion stage are met, the second invasion stage is entered; when the second invasion stage meets the end conditions, the third city construction stage is entered; and so on. The maximum number of times the invasion stage is opened may be pre-specified or not, and this application does not limit this. In addition, when there are multiple invasion stages, the form, quantity, ability, etc. of the first virtual object in different invasion stages may be the same or different, and this application does not limit this.

[0174] After entering the city construction stage again, the user can continue to build virtual buildings in the virtual environment, such as updating the virtual buildings that have been built, or building new virtual buildings. The client displays the newly built virtual buildings in the virtual environment in the display screen of the virtual environment.

[0175] The technical solution provided in the embodiment of the present application improves the driving force of city construction by adding a mechanism for virtual objects to invade and attack virtual buildings during the city construction process. Since the user's virtual building is always threatened by the attack of virtual objects, the user will be motivated to build virtual buildings as soon as possible to better resist the threat, that is, to strengthen the user's motivation to actively build and improve virtual buildings, effectively solving the problem of low efficiency of city construction caused by the original boring and single city construction process, and improving the construction efficiency of virtual buildings.

[0176] In addition, the embodiment of the present application incorporates tower defense gameplay into the city construction gameplay, which enriches the diversity of gameplay and operations in the city construction process compared to the boring and single city construction process. This fully enhances the strategy and fun of city construction. Users need to think about how to reasonably arrange virtual buildings to better resist the attack of virtual objects, such as using terrain passes.

[0177] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0178] Please refer to Fig. 20 , which shows a block diagram of a virtual defense tower construction device provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set in the terminal device. Fig. 20 As shown, the device 2000 may include a defense tower display module 2010, a defense tower moving module 2020, an increase position display module 2030 and a defense tower building module 2040.

[0179] The defense tower display module 2010 is used to display the first virtual defense tower in a state to be built in the virtual environment in response to the operation of selecting to build the first virtual defense tower.

[0180] The defense tower moving module 2020 is used to move the first virtual defense tower to a first position in the virtual environment in response to an operation of moving the first virtual defense tower.

[0181] The amplification position display module 2030 is used to display the amplification position of the first virtual defense tower determined based on the first position in the virtual environment, and the second virtual defense tower located at the amplification position is affected by the amplification effect of the first virtual defense tower.

[0182] The defense tower construction module 2040 is used to display the first virtual defense tower in a constructed state in the virtual environment in response to confirming the operation of constructing the first virtual defense tower.

[0183] In some embodiments, the ground of the virtual environment is divided into a plurality of grids, and the first position is a first grid among the plurality of grids. The boost position display module 2030 is used to display at least one boost position of the first virtual defense tower determined based on the first grid in the virtual environment, and each boost position occupies at least one grid.

[0184] In some embodiments, the boost position display module 2030 is used to mark and display the grids corresponding to at least one boost position of the first virtual defense tower determined based on the first grid in the virtual environment.

[0185] In some embodiments, the device 2000 further includes an amplification bit rotation module ( Fig. 20(not shown) is used to rotate the amplification position of the first virtual defense tower around the first position in response to the operation of rotating the amplification position.

[0186] In some embodiments, the amplification position rotation module is used to: in response to the operation of rotating the amplification position, rotate the amplification position of the first virtual defense tower by a first angle in a clockwise direction with the first position as the center; or, in response to the operation of rotating the amplification position, rotate the amplification position of the first virtual defense tower by a second angle in a counterclockwise direction with the first position as the center.

[0187] In some embodiments, the first virtual defense tower has a plurality of amplification positions, and before and after the rotation, the formation of the plurality of amplification positions of the first virtual defense tower remains unchanged.

[0188] In some embodiments, the device 2000 further includes a first prompt module ( Fig. 20 not shown).

[0189] The defense tower display module 2010 is further used to display the second virtual defense tower in a to-be-built state in the virtual environment in response to an operation of selecting to build the second virtual defense tower.

[0190] The defense tower moving module 2020 is further used to move the second virtual defense tower to a second position of the virtual environment in response to an operation of moving the second virtual defense tower.

[0191] The first prompt module is used to display a first prompt message when the second position overlaps with any amplification position of the first virtual defense tower, and the first prompt message is used to prompt that building the second virtual defense tower at the second position will be affected by the amplification effect of the first virtual defense tower.

[0192] In some embodiments, the first prompt information includes a connection line between the first virtual defense tower and the second virtual defense tower.

[0193] In some embodiments, the device 2000 further includes a second prompt module ( Fig. 20 not shown).

[0194] The defense tower construction module 2040 is further used to display the second virtual defense tower in a constructed state in the virtual environment in response to an operation of confirming the construction of the second virtual defense tower.

[0195] The second prompt module is used to display a second prompt message if the second virtual defense tower is built on any amplification position of the first virtual defense tower, and the second prompt message is used to prompt that the second virtual defense tower is affected by the amplification effect of the first virtual defense tower.

[0196] In some embodiments, when the second virtual defense tower is built at the overlapping amplification position of multiple first virtual defense towers, the second virtual defense tower is affected by the amplification effect of the multiple first virtual defense towers; wherein the overlapping amplification position refers to the amplification position of the multiple first virtual defense towers that is at the same position in the virtual environment.

[0197] In some embodiments, if the multiple first virtual defense towers have the same type of amplification effect, the amplification effect received by the second virtual defense tower is: the superposition effect of the amplification effects of the same type determined based on the number of the multiple first virtual defense towers; or, if the multiple first virtual defense towers have different types of amplification effects, the amplification effect received by the second virtual defense tower is: the superposition effect of the different types of amplification effects.

[0198] In some embodiments, when the number of stacking layers of the same type of amplification effect is less than a first threshold, the stacking effect of the same type of amplification effect is a normal stacking effect; when the number of stacking layers of the same type of amplification effect reaches the first threshold, the stacking effect of the same type of amplification effect is an enhanced stacking effect; wherein the ability of the enhanced stacking effect is greater than that of the normal stacking effect, and within a first time period after the enhanced stacking effect is triggered, the normal stacking effect and the enhanced stacking effect cannot be triggered again.

[0199] In some embodiments, for a first type of amplification effect and a second type of amplification effect, if the first type and the second type are not mutually exclusive, the first type of amplification effect and the second type of amplification effect have a linkage effect, and the linkage effect means that when a virtual object is attacked by a second defense tower that is affected by the first type of amplification effect, the virtual object will generate additional gain when attacked by the second defense tower that is affected by the second type of amplification effect.

[0200] In some embodiments, the first virtual defense tower is an auxiliary type virtual defense tower, and the second virtual defense tower is an attack type virtual defense tower.

[0201] In some embodiments, the device 2000 further includes an environment display module ( Fig. 20(not shown) is used for: in the city construction stage for the virtual environment, displaying the virtual building constructed in the virtual environment, the virtual building comprising: a first virtual building and a second virtual building for protecting the first virtual building, the second virtual building comprising the virtual defense tower; in response to meeting the start condition of the invasion stage, displaying the attack process of the first virtual object against the virtual building; in response to meeting the end condition of the invasion stage, entering the city construction stage again, and displaying the virtual building newly constructed in the virtual environment.

[0202] The technical solution provided in the embodiment of the present application sets an amplification position for the virtual defense tower. The second virtual defense tower located at the amplification position of the first virtual defense tower can be affected by the amplification effect of the first virtual defense tower, thereby achieving a stronger defense effect through cooperation between the virtual defense towers without having to blindly build more virtual defense towers. This helps to reduce the requirements for the processing resources of the device.

[0203] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0204] Please refer to Fig.21 , which shows a block diagram of a terminal device 2100 provided in one embodiment of the present application. The terminal device 2100 may be Figure 1 The terminal device 10 in the implementation environment shown is used to implement the method for building a virtual defense tower provided in the above embodiment. Specifically:

[0205] Typically, the terminal device 2100 includes: a processor 2110 and a memory 2120 .

[0206] The processor 2110 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 2110 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2110 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2110 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2110 may also include an AI processor for processing computing operations related to machine learning.

[0207] The memory 2120 may include one or more computer-readable storage media, which may be non-transitory. The memory 2120 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2120 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-mentioned method of building a virtual defense tower.

[0208] In some embodiments, the terminal device 2100 may further optionally include: a peripheral device interface 2130 and at least one peripheral device. The processor 2110, the memory 2120 and the peripheral device interface 2130 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2130 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2140, a display screen 2150, an audio circuit 2160 and a power supply 2170.

[0209] Those skilled in the art will understand that Fig.21 The structure shown in the figure does not constitute a limitation on the terminal device 2100, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0210] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is executed by a processor, a method for building a virtual defense tower is implemented. Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives) or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0211] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for building a virtual defense tower.

[0212] It should be noted that the relevant data collection and processing in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained, and subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0213] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0214] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for constructing a virtual defense tower, characterized in that: The method comprises: In response to an operation of selecting to build a first virtual defense tower, displaying the first virtual defense tower in a state to be built in a virtual environment; In response to an operation of moving the first virtual defense tower, moving the first virtual defense tower to a first position of the virtual environment; Displaying the amplified position of the first virtual defense tower determined based on the first position in the virtual environment, and a second virtual defense tower located at the amplified position receives the amplified effect of the first virtual defense tower; In response to confirming the operation of building the first virtual defense tower, the first virtual defense tower in a built state is displayed in the virtual environment.

2. The method according to claim 1, characterized in that The ground of the virtual environment is divided into a plurality of grids, and the first position is a first grid among the plurality of grids; The step of displaying, in the virtual environment, the increased position of the first virtual defense tower determined based on the first position includes: At least one amplification position of the first virtual defense tower determined based on the first grid is displayed in the virtual environment, and each amplification position occupies at least one grid.

3. The method according to claim 2, characterized in that The step of displaying at least one increased position of the first virtual defense tower determined based on the first grid in the virtual environment includes: In the virtual environment, the grids corresponding to at least one amplification position of the first virtual defense tower determined based on the first grid are marked and displayed.

4. The method according to claim 1, characterized in that: After displaying the increased position of the first virtual defense tower determined based on the first position in the virtual environment, the method further includes: In response to the operation of rotating the amplification position, the amplification position of the first virtual defense tower is rotated with the first position as the center.

5. The method according to claim 4, characterized in that In response to the operation of rotating the amplification position, rotating the amplification position of the first virtual defense tower with the first position as the center, comprises: In response to the operation of rotating the amplification position, the amplification position of the first virtual defense tower is rotated by a first angle in a clockwise direction with the first position as the center; or, In response to the operation of rotating the amplification position, the amplification position of the first virtual defense tower is rotated by a second angle in a counterclockwise direction with the first position as the center.

6. The method according to claim 4, characterized in that The first virtual defense tower has a plurality of amplification positions, and before and after the rotation, the formation of the plurality of amplification positions of the first virtual defense tower remains unchanged.

7. The method according to claim 1, characterized in that After displaying the first virtual defense tower in the constructed state in the virtual environment, the method further includes: In response to an operation of selecting to build the second virtual defense tower, displaying the second virtual defense tower in a state to be built in the virtual environment; In response to an operation of moving the second virtual defense tower, moving the second virtual defense tower to a second position of the virtual environment; When the second position overlaps with any amplification position of the first virtual defense tower, a first prompt message is displayed, wherein the first prompt message is used to prompt that building the second virtual defense tower at the second position will be affected by the amplification effect of the first virtual defense tower.

8. The method according to claim 7, characterized in that The first prompt information includes a connection line between the first virtual defense tower and the second virtual defense tower.

9. The method according to claim 7, characterized in that: The method further comprises: In response to confirming the operation of building the second virtual defense tower, displaying the second virtual defense tower in a built state in the virtual environment; If the second virtual defense tower is built on any amplification position of the first virtual defense tower, a second prompt message is displayed, and the second prompt message is used to prompt that the second virtual defense tower is affected by the amplification effect of the first virtual defense tower.

10. The method according to claim 1, characterized in that When the second virtual defense tower is built at the overlapping amplification position of multiple first virtual defense towers, the second virtual defense tower is affected by the amplification effect of the multiple first virtual defense towers; wherein the overlapping amplification position refers to the amplification position of the multiple first virtual defense towers that is located at the same position in the virtual environment.

11. The method according to claim 10, characterized in that If the plurality of first virtual defense towers have the same type of amplification effect, the amplification effect received by the second virtual defense tower is: a superposition effect of the amplification effects of the same type determined based on the number of the plurality of first virtual defense towers; or, If the multiple first virtual defense towers have different types of amplification effects, the amplification effect received by the second virtual defense tower is: the superposition effect of the different types of amplification effects.

12. The method according to claim 11, characterized in that When the number of superimposed layers of the same type of amplification effects is less than the first threshold, the superimposed effect of the same type of amplification effects is a common superimposed effect; When the number of stacked layers of the same type of amplification effect reaches the first threshold, the stacked effect of the same type of amplification effect is an enhanced stacked effect; The ability of the enhanced stacking effect is greater than that of the common stacking effect, and within a first period of time after the enhanced stacking effect is triggered, the common stacking effect and the enhanced stacking effect cannot be triggered again.

13. The method according to claim 1, characterized in that For the first type of amplification effect and the second type of amplification effect, if the first type and the second type are not mutually exclusive, the first type of amplification effect and the second type of amplification effect have a linkage effect, and the linkage effect means that when a virtual object is attacked by a second defense tower that is affected by the first type of amplification effect, the virtual object will generate additional gain when attacked by the second defense tower that is affected by the second type of amplification effect.

14. The method according to claim 1, characterized in that The first virtual defense tower is an auxiliary type virtual defense tower, and the second virtual defense tower is an attack type virtual defense tower.

15. The method according to claim 1, characterized in that The method further comprises: In the city construction stage for the virtual environment, displaying a virtual building constructed in the virtual environment, the virtual building comprising: a first virtual building and a second virtual building for protecting the first virtual building, the second virtual building comprising the virtual defense tower; In response to satisfying a start condition of the invasion phase, displaying an attack process of the first virtual object on the virtual building; In response to the end condition of the invasion phase being met, the city construction phase is entered again, and the virtual building newly constructed in the virtual environment is displayed.

16. A device for constructing a virtual defense tower, characterized in that: The device comprises: A defense tower display module, configured to display the first virtual defense tower in a to-be-built state in a virtual environment in response to an operation of selecting to build the first virtual defense tower; a defense tower moving module, configured to move the first virtual defense tower to a first position of the virtual environment in response to an operation of moving the first virtual defense tower; an amplification position display module, used for displaying in the virtual environment the amplification position of the first virtual defense tower determined based on the first position, and a second virtual defense tower located at the amplification position is amplified by the first virtual defense tower; The defense tower construction module is used to display the first virtual defense tower in a constructed state in the virtual environment in response to the operation of confirming the construction of the first virtual defense tower.

17. A terminal device, characterized in that: The terminal device comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method according to any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method according to any one of claims 1 to 15.

19. A computer program product, characterized in that The computer program product comprises a computer program, wherein the computer program is stored in a computer-readable storage medium, and a processor reads and executes the computer program from the computer-readable storage medium to implement the method according to any one of claims 1 to 15 above.