Interactive control method, device and electronic equipment for a game
By responding to building model level upgrade events in the SLG game, the resource attributes of connected plots are identified and updated, solving the problem of low-level plots not being occupied, and improving the utilization rate of the game scene and players' interest in occupying them.
Patent Information
- Application Number
- CN202210938031.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-08-05
AI Technical Summary
In SLG games, a large proportion of low-level plots are not occupied, resulting in low utilization of the game map, wasted computing resources, and players lose interest in occupying low-level plots.
By responding to building model level upgrade events, connected plots are identified and resource attributes are updated, guiding players to connect occupied plots. The upgrade attributes of the building model affect the changes in the resource attributes of connected plots, displaying resource attribute update prompts, and showcasing changes in plot connectivity status through special effects and dynamic models.
It increased players' interest in capturing lower-level plots, improved the utilization of the game map, enriched the gameplay of connecting plots, and enhanced the overall gaming experience.
Smart Images

Figure CN115487510B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a method, device and electronic equipment for interactive control of games. Background Art
[0002] In SLG (Simulation Game) games, the game scene is divided into multiple plots, and the plots have different levels. When the player's character level is low, they can only occupy low-level plots. During the game, the character level gradually increases, and then they can occupy high-level plots. When the character level is high, low-level plots are less meaningful to the player, and low-level plots also take up the player's quota of occupied land, causing the player to lose interest in occupying low-level plots; however, in the game scene, low-level plots occupy a large proportion. If a large number of low-level plots are not occupied and are idle, the map utilization rate of the game scene will be low, wasting computing resources. Summary of the Invention
[0003] In view of this, an object of the present invention is to provide a method, device and electronic device for interactive control of a game, so as to improve the map utilization rate of the game scene.
[0004] In a first aspect, an embodiment of the present invention provides an interactive control method for a game, providing a graphical user interface through a terminal device; a scene screen of a game scene is displayed in the graphical user interface; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model; the method includes: in response to a model level upgrade event of the first building model, determining a first plot where the first building model is located, and determining connected plots of the first plot; wherein the connected plots are directly or indirectly connected to the first plot; and updating resource attributes of the connected plots based on the building attributes of the upgraded first building model.
[0005] The above method also includes, in response to the increase of connected plots, determining a target plot whose connectivity status has changed from the connected plots; wherein the target plot and the first plot where the first building model is located are converted from a non-connected state to a directly or indirectly connected state; based on the building attributes of the first building model, updating the resource attributes of the target plot; and displaying a prompt message that the resource attributes of the target plot have been updated.
[0006] The above-mentioned step of determining the target plot whose connectivity status has changed from the connected plots in response to the increase of the connected plots includes: in response to the occupation event of the second plot, determining that the second plot is directly or indirectly connected to the first plot, determining the second plot as a newly added connected plot, and determining the second plot as the target plot whose connectivity status has changed.
[0007] The above-mentioned step of determining the target plot whose connectivity status has changed from the connected plots in response to the increase of the connected plots includes: in response to the occupation event of the second plot, determining that the second plot is directly or indirectly connected to the first plot, and the second plot is connected to the third plot; wherein, before the occupation event of the second plot is triggered, the third plot is not connected to the first plot; determining the second plot and the third plot as newly added connected plots, and determining the second plot and the third plot as target plots whose connectivity status has changed.
[0008] After the above-mentioned step of determining the target plot whose connectivity status has changed from the connected plots in response to the increase of the connected plots, the above-mentioned method further includes: displaying the target plot in a first display format; the first display format is used to indicate: the target plot and the first plot are converted from a non-connected state to a directly or indirectly connected state.
[0009] After the above step of determining the target block whose connectivity status has changed from the connected blocks in response to the increase of connected blocks, the above method also includes: controlling the preset dynamic model to move in the block area containing the target block; wherein the blocks in the block area are directly or indirectly connected.
[0010] The above-mentioned step of controlling the preset dynamic model to move in the plot area including the target plot includes: in response to the dynamic model moving to the fourth plot in the plot area, and a road model is set on the fourth plot, determining the model setting direction of the road model on the fourth plot, and determining the moving direction of the dynamic model based on the model setting direction; and controlling the dynamic model to move along the moving direction.
[0011] After the above-mentioned step of determining the target block whose connectivity status has changed from the connected blocks in response to the increase of connected blocks, the above-mentioned method further includes: determining the special effect starting block from the scene picture; wherein the special effect starting block includes: the first block, or the edge block farthest from the target block, the edge block being directly or indirectly connected to the first block; controlling the preset streamer special effect to move from the starting block until it reaches the target block.
[0012] The above-mentioned step of updating the resource attributes of the target plot based on the building attributes of the first building model includes: updating the land resource output of the target plot based on the building attributes of the first building model, and updating the model-level attributes of the second building model on the target plot.
[0013] The above-mentioned first plot and the connected plots are all non-enemy plots; the above-mentioned non-enemy plots include a first number of plots; the above-mentioned non-enemy plots are preset with a maximum number of plots; the above-mentioned method also includes: in response to the designated model setting operation of the fifth plot in the non-enemy plots, setting a designated building model on the fifth plot; counting the second number of non-enemy plots; wherein, the fifth plot is not included in the plots corresponding to the second number.
[0014] The above-mentioned designated building model includes a road model; the above-mentioned step of setting the designated building model on the fifth plot in response to the designated model setting operation of the fifth plot in the non-enemy plot includes: determining the plot status of the adjacent plots of the fifth plot in response to the designated model setting operation of the fifth plot in the non-enemy plot; wherein the plot status includes: the relative position of the adjacent plot and the fifth plot, and / or, the model setting direction of the road model on the adjacent plot; based on the plot status, determining the model setting direction of the road model; based on the model setting direction, setting the road model on the fifth plot.
[0015] The above-mentioned first plot and connected plots are all non-enemy plots; the above-mentioned method also includes: displaying directly or indirectly connected plots in non-enemy plots in a first display format; displaying directly or indirectly connected plots in enemy plots in a second display format; wherein the first display format is different from the second display format.
[0016] In a second aspect, an embodiment of the present invention provides an interactive control device for a game, which provides a graphical user interface through a terminal device; a scene screen of a game scene is displayed in the graphical user interface; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model; the device includes: a first determination module, which is used to determine the first plot where the first building model is located in response to a model level upgrade event of the first building model, and determine the connected plots of the first plot; wherein the connected plots are directly or indirectly connected to the first plot; and a resource attribute update module, which is used to update the resource attributes of the connected plots based on the building attributes of the upgraded first building model.
[0017] In a third aspect, an embodiment of the present invention provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned interactive control method of the game.
[0018] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above-mentioned game.
[0019] The embodiments of the present invention bring the following beneficial effects:
[0020] The interactive control method, device, and electronic device for the aforementioned game provide a graphical user interface (GUI) via a terminal device; the GUI displays a scene image of a game scene; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model. The method includes: in response to a model level upgrade event for the first building model, determining the first plot where the first building model is located, and determining connected plots to the first plot; wherein the connected plots are directly or indirectly connected to the first plot; and updating the resource attributes of the connected plots based on the building attributes of the upgraded first building model. In this method, when a building model in the scene is upgraded, the resource attributes of other plots connected to the plot where the building model is located are updated. This method can guide players to connect already occupied plots, increase players' interest in occupying lower-level plots, and improve the utilization rate of the game scene map.
[0021] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0022] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A flowchart of a method for interactive control of a game provided by an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of a first display format provided by an embodiment of the present invention;
[0026] Figure 3 A schematic diagram of a streamer special effect provided by an embodiment of the present invention;
[0027] Figure 4 A schematic diagram of another streamer special effect provided by an embodiment of the present invention;
[0028] Figure 5 A schematic diagram of a road model provided by an embodiment of the present invention;
[0029] Figure 6 A schematic diagram of a land parcel state provided by an embodiment of the present invention;
[0030] Figure 7 A schematic structural diagram of an interactive control device for a game provided by an embodiment of the present invention;
[0031] Figure 8 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present invention.
[0033] In war strategy games, the areas to be fought over in the game scene are usually displayed in the form of plots. For example, in a game scene like Ratetu, the scene is divided into multiple plots. Players compete for resources by occupying individual plots. The plots are pre-set to different levels, and the resource production gains brought by each level of plot are different. It is generally designed to let players start from low-level plots with fewer resources, and gradually improve their character levels so that they can occupy more high-level plots with high resources. However, as the player's game character grows, the low-level plots gradually reduce the playability. At the same time, most war strategy games will limit the number of plots occupied by players, resulting in players having low interest in occupying low-level plots in the later stages of the game, resulting in low map utilization.
[0034] Based on this, the embodiments of the present invention provide a method, device, and electronic device for interactive control of games. This technology can be applied in games or other virtual scenes, and in particular, can be applied to the interactive control of combat strategy games.
[0035] In one embodiment of the present invention, the interactive game control method can be run on a local terminal device or a server. When the interactive game control method is run on a server, the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
[0036] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interactive control method of the game are completed on the cloud gaming server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud gaming server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0037] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0038] In one possible implementation, an embodiment of the present invention provides an interactive control method for a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interactive system mentioned above. A graphical user interface is provided through the touch terminal device, and the graphical user interface can display interface content, such as a game scene screen, a communication interaction window, etc., according to the type of application started. In this embodiment, a scene screen of a game scene is displayed in the graphical user interface, and the game scene includes a plurality of plot units. Players can build city buildings and facilities such as main cities or sub-cities on the plot units. At least some of the plurality of plot units are non-enemy plots. In actual implementation, the non-enemy plots can be our plots and ally plots, or can be only one of our plots or ally plots.
[0039] To facilitate understanding of this embodiment, a game interactive control method disclosed in an embodiment of the present invention is first described in detail. Figure 1As shown, a graphical user interface is provided via a terminal device, and the graphical user interface displays a scene image of a game scene. The game scene includes multiple plot units, and at least some of the multiple plot units have first building models. During the game, the plot units can be divided into: local plots and non-enemy plots, and non-enemy plots include friendly plots and allied plots. The first building model can be a city building model such as a main city and sub-city built by the friendly side and / or the allied side. The interactive control method of the game includes the following steps:
[0040] Step S102: In response to a model level upgrade event of the first building model, determining a first parcel where the first building model is located, and determining a connected parcel of the first parcel; wherein the connected parcel is directly or indirectly connected to the first parcel;
[0041] The aforementioned first building models include city building models, such as main cities or sub-cities, built by our team or allies on the land parcel. These first building models also have different levels. Generally speaking, the higher the level, the more resources the city building facilities can obtain. The aforementioned first land parcel is the land parcel where the first building model is located, and this land parcel can be composed of one or more land units.
[0042] When the model level of the first building model is upgraded, for example, the player consumes resources to upgrade the level of his main city or sub-city, in response to the model level upgrade event of the first building model, all plots that are directly or indirectly connected to the first plot are searched and determined among non-enemy plots through the first plot where the first building model is located.
[0043] In this step, after the model level of the first building model is upgraded, the first plot where the first building model is located and all plots directly or indirectly connected to the first plot are determined.
[0044] Step S104: updating the resource attributes of the connected plots based on the upgraded building attributes of the first building model;
[0045] Many objects in the game scene represent resources, such as camps, equipment or soldiers, warehouses, and vegetation. Different plots may contain different types of resources, such as military buildings and minerals. Resource attributes can range from building level to mineral output. Players must continuously acquire and upgrade resource attributes throughout the game, using these resources to build their territory.
[0046] Similarly, the building attributes of the first building model include: the model level of the first building model, the level of related technologies in the first building model, etc. When the attributes of the first building model are upgraded, the resource attributes of all plots directly or indirectly connected to the first plot determined in the above step are updated based on the upgraded building attributes of the first building model.
[0047] In this step, the changes in the building attributes of the first building model are correlated with the resource attributes of the connected plots. When the building model in the scene is upgraded, the resource attributes of other plots connected to the plot where the building model is located will be updated. This method can guide players to connect occupied plots, increase players' interest in occupying low-level plots, and improve the utilization rate of the game scene map.
[0048] The interactive control method of the above-mentioned game provides a graphical user interface through a terminal device; a scene screen of a game scene is displayed in the graphical user interface; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model; the method includes: in response to a model level upgrade event of the first building model, determining the first plot where the first building model is located, and determining the connected plots of the first plot; wherein the connected plots are directly or indirectly connected to the first plot; based on the building properties of the upgraded first building model, updating the resource properties of the connected plots; under this method, when the building model in the scene is upgraded, the resource properties of other plots connected to the plot where the building model is located will be updated; this method can guide players to connect occupied plots, increase players' interest in occupying low-level plots, and improve the utilization rate of the game scene map.
[0049] In addition, changes in resource attributes on a plot are also related to the connectivity status of the plot.
[0050] Specifically, in response to an increase in connected plots, a target plot whose connectivity state has changed is determined from the connected plots; wherein the target plot is transformed from a disconnected state to a state of direct or indirect connectivity with the first plot where the first building model is located;
[0051] The aforementioned connectivity status refers to the connectivity between the land parcel and the land parcel where the first building model is located, including direct connectivity, indirect connectivity, and disconnected connectivity. Direct connectivity means that the land parcel is adjacent to the land parcel where the first building model is located; indirect connectivity means that the land parcel can be connected to the land parcel where the first building model is located via our land parcel or an ally's land parcel; and disconnected connectivity means that the land parcel cannot be connected to the land parcel where the first building model is located via our land parcel or an ally's land parcel. During the game, the land parcel's connectivity status may change, including: transitioning from a directly or indirectly connected state to a disconnected state, or vice versa. It is worth noting that the land parcel's influence on connectivity is only related to its relative position to the land parcel where the first building model is located, and has nothing to do with the parcel's level.
[0052] In response to the addition of connected land parcels, the connectivity state of the land parcels changes, and a target land parcel whose connectivity state changes is determined from the connected land parcels. Here, the target land parcel refers to a land parcel that changes from a non-connected state to a state of direct or indirect connectivity with the first land parcel;
[0053] Furthermore, based on the building attributes of the first building model, the resource attributes of the target plot are updated; and a prompt message indicating that the resource attributes of the target plot have been updated is displayed.
[0054] Specifically, a search is performed for a first land parcel that is directly or indirectly connected to the target land parcel, a first building model is found, and based on the architectural attributes of the first building model, the resource attributes of the target land parcel are updated and a prompt indicating that the resource attributes have been updated is displayed. This prompt can take the form of one or more combinations of text, icons, sound effects, and other prompts to indicate changes in resource attributes. For example, when the resource attributes of the target land parcel are increased, an upward arrow icon will dynamically flash on the target land parcel; when the resource attributes of the target land parcel are decreased, a downward arrow icon will dynamically flash on the target land parcel.
[0055] In this method, when the number of connected plots increases, the resource attributes of the target plot are updated and prompt information is displayed according to the building attributes of the first building model. In this method, the connectivity changes of the plots are correlated with the changes in the resource attributes on the plots. Even low-level plots can increase the resource building level and resource output of all target plots through the connection of plots, thereby increasing players' interest in occupying low-level plots and further improving the utilization rate of the game scene map.
[0056] The following embodiments provide specific implementations for determining the target plot. Here, there may be one or more target plots that affect the connectivity with the first plot.
[0057] In one specific embodiment, in response to an occupation event of the second plot, it is determined that the second plot is directly or indirectly connected to the first plot, the second plot is determined as a newly added connected plot, and the second plot is determined as a target plot whose connectivity status has changed.
[0058] That is, when a new plot is occupied and is directly or indirectly connected to the first plot where the first building model is located, the new plot is determined as a newly added connected plot, that is, a target plot whose connectivity status has changed.
[0059] In another specific method, in response to an occupation event of a second plot, the first plot where the first building model is located is determined; it is determined that the second plot is directly or indirectly connected to the first plot, and the second plot is connected to a third plot in a non-enemy plot; wherein, before the occupation event of the second plot is triggered, the third plot is not connected to the first plot; the second plot and the third plot are determined as newly added connected plots, and the second plot and the third plot are determined as target plots whose connectivity status has changed.
[0060] The third plot can be a single non-enemy plot, or multiple adjacent non-enemy plots connected via other non-enemy plots. Here, the second plot is adjacent to the third non-enemy plot, but the third plot is disconnected from the first plot where the first building model is located. Once the second plot is captured by our side, it becomes directly or indirectly connected to the first plot. Both the second and third plots can then be directly or indirectly connected to the first plot, making them both target plots.
[0061] The above describes a method for determining a target plot from non-enemy plots after a specified event is triggered. Furthermore, after determining the target plot, special effects can be displayed for the connectivity status of the target plot to enrich the visual effect and increase the player's interest in connecting the plots.
[0062] The following embodiments provide specific implementations for displaying special effects for the target plot and related areas after the target plot is determined. It should be noted that, in actual implementation, the following special effects display methods may be used in a single manner or in combination. Here, the target plot includes any newly added plots that are directly or indirectly connected to the first plot, and are non-enemy plots.
[0063] In a special effect display mode, a target plot is displayed in a first display format; the first display format is used to indicate that the target plot and the first plot are converted from a disconnected state to a directly or indirectly connected state.
[0064] The first display format here can be one or more combinations of text prompts, sound prompts, target land pattern changes, target land color distinctions, etc. For example, Figure 2 A schematic diagram of a first display format is provided. Here, the first display format uses a text prompt, displaying the text prompt "Connection Achieved" on the target plot in the game scene, indicating that the target plot has transitioned from being disconnected to being directly or indirectly connected to the first plot. The shaded area in the figure represents a plot occupied by the player and connected to the first plot. From the player's perspective, this area can also be displayed with special effects such as a sound prompt, a changing plot pattern, and a color change.
[0065] In another special effect display mode, the preset dynamic model can also be controlled to move in a plot area containing the target plot; wherein the plots in the plot area are directly or indirectly connected to each other.
[0066] The aforementioned land area containing the target plot can be understood as all plots, including the target plot, that are directly or indirectly connected to the first plot where the first building model is located. The aforementioned dynamic model is an animated object within the virtual environment. Depending on the map scene, this animated object can be a virtual person, a virtual animal, an animated character, or other types. In this method, the preset dynamic model is controlled to move within the target plot area containing the newly added plot.
[0067] Furthermore, in response to the dynamic model moving to the fourth plot in the target plot area and a road model being set on the fourth plot, the model setting direction of the road model on the fourth plot is determined, and the moving direction of the dynamic model is determined based on the model setting direction; the dynamic model is controlled to move along the moving direction.
[0068] That is, when the dynamic model moves to a plot with a road model in the target plot area, it is necessary to determine the model setting direction of the road model on the plot and control the moving direction of the dynamic model according to the model setting direction.
[0069] There is also a special effects display method, which requires determining the special effects starting block from the scene picture. The special effects starting block includes: the first block, or the edge block farthest from the target block, and the edge block is directly or indirectly connected to the first block; controlling the preset streamer special effect to move from the starting block until it reaches the target block.
[0070] Specifically, it is possible to determine whether the first plot is within the scene image based on the Manhattan distance or the Euclidean distance, determine the starting plot of the special effect based on the determination result, and control the preset streamer special effect to move from the starting plot until it reaches the target plot. In one way, based on the determination result, it is determined that the first plot is within the scene image on the screen, and the starting plot of the special effect is the first plot. Figure 3 As shown, the light effect is controlled to move from the first block until it reaches the target block. In another way, according to the judgment result, it is determined that the first block is not within the scene image of the screen, then the edge block farthest from the target block and directly or indirectly connected to the first block is found, and the edge block is used as the starting block of the special effect, as shown in FIG. Figure 4 As shown, the preset streamer effect is controlled to move from the edge plot until it reaches the target plot.
[0071] The above-mentioned special effects display method allows players to present wonderful visual effects after connecting the soil blocks, thereby enhancing the gaming experience, mobilizing the players' enthusiasm for occupying plots of land, and further improving the map utilization rate of the game scene.
[0072] The following embodiments provide specific implementation methods for updating the resource attributes of a target land parcel.
[0073] Based on the building attributes of the first building model, the land resource yield of the target plot is updated, and the model-level attributes of the second building model on the target plot are updated.
[0074] Here, the target plot's land resource yield can be understood as the output of resources produced and acquired using the target plot, such as the output of timber, iron ore, stone, and grain produced on the target plot. The model level attribute of the second building model on the target plot can be the level of the warehouse, mine, lumberyard, camp, and other building facilities built on the target plot. As you can see, the higher the facility level and resource yield, the more resources the player has for building their territory.
[0075] When the properties of the first building model are updated, or the connectivity status of the non-enemy plots changes, the land resource output of the target plot is updated accordingly based on the model level of the first building model, the level of related technology in the first building model, etc., and the model level properties of the second building model on the target plot are updated.
[0076] In this way, the connectivity status of the plots is correlated with the resource attributes of the plots, which enriches the gameplay of connecting the plots, increases players' interest in occupying low-level resource plots, and improves the utilization rate of the scene map.
[0077] In war strategy games, most of them limit the number of plots that players can occupy, reducing the players' enthusiasm for grabbing plots. Based on this, the method of the present invention also provides an improvement direction.
[0078] Here, the first plot and the connected plots are all non-enemy plots; the non-enemy plots include a first number of plots.
[0079] Specifically, the non-enemy plots include a first number of plots; the non-enemy plots are preset with a maximum number of plots; in response to a designated model setting operation of a fifth plot in the non-enemy plots, a designated building model is set on the fifth plot; a second number of plots in the non-enemy plots is counted; wherein, the fifth plot is not included in the plots corresponding to the second number of plots.
[0080] The first number is the number of non-enemy plots before the designated model setting operation is performed, and the second number is the number of non-enemy plots after the designated model setting operation is performed. The fifth plot is the plot on which the designated model setting operation is performed, and can be a non-enemy plot directly or indirectly connected to the first plot, or any other non-enemy plot.
[0081] In other words, there's a limit on the number of non-enemy plots you can occupy. You can set a specific building model on a non-enemy plot by performing a designated model setting operation on it, such as a road, bridge, or other building facility model. This will convert the plot into a building facility like a road or bridge, and the plot containing the building facility will not be included when counting the number of occupied non-enemy plots.
[0082] In this way, when setting the road model, it is necessary to determine the direction of the road model. Specifically, in response to the specified model setting operation of the fifth block in the non-enemy block, the block status of the adjacent blocks of the fifth block is determined, and the model setting direction of the road model is determined according to the block status. Then, according to the model setting direction, the road model is set on the fifth block.
[0083] In actual implementation, the model setting direction can be determined based on the relative position of the adjacent plot and the fifth plot and the model setting direction of the road model on the adjacent plot, or the model setting direction can be determined only based on the relative position of the adjacent plot and the fifth plot or the model setting direction of the road model on the adjacent plot.
[0084] In one embodiment, Figure 5 As shown, there are two preset road models, A and B. The directions indicated by the two models are different. The specific model to be used depends on the model setting direction. In one method, when there is a road facility model on an adjacent plot, the direction vector can be used to represent the model setting direction of the road model on the adjacent plot according to the relative position of the adjacent plot and the fifth plot. The road model on the fifth plot is determined by the direction vector calculation result. For example, Figure 6 In the plot state shown, there are six adjacent road facilities around the fifth plot. The direction vector can be used to represent the model setting direction of the road models on the six surrounding plots. The road models are connected with unit vectors (for example: 1, 1-1, 1 1, -1...), and all vectors are added to obtain a vector (x, y). If |x| ≥ |y|, model A is selected as the road model on the fifth plot, otherwise model B is selected. In another way, if there are no road facilities on the adjacent plots of the fifth plot, the model setting direction is determined by the relative position of the adjacent plots and the fifth plot. For example, when there is a non-enemy plot to the upper right of the fifth plot, the model setting direction is determined to be northeast, and model A is selected as the road model on the fifth plot.
[0085] In this approach, by placing a designated building model on any non-enemy plot, that plot does not occupy any player plots. This allows players to connect plots without giving up their plots, expanding the "paving" (paving) range and enhancing player interaction. Furthermore, the use of models of buildings and facilities such as roads and bridges faithfully replicates the concept of paving and transporting resources in real life, aligning with players' understanding of the saying "build roads first to get rich."
[0086] To stimulate competition for land, players can also see the connectivity status of other players' land. Specifically, directly or indirectly connected plots of land in non-enemy plots are displayed in a first display format, while directly or indirectly connected plots of land in enemy plots are displayed in a second display format. The first display format and the second display format are different.
[0087] Here, the display format can be one or more combinations of text prompts, audio prompts, changes in plot patterns, and plot colors, with the first display format being different from the second display format. In actual implementation, different display formats can also be used to differentiate the connectivity status of friendly and enemy plots. In one embodiment, green is the color of directly or indirectly connected plots within friendly plots, red is the color of directly or indirectly connected plots within enemy plots, and blue is the color of directly or indirectly connected plots within friendly plots.
[0088] This method stimulates players to compete for land, further promoting the improvement of map utilization in game scenes.
[0089] This embodiment also provides another specific embodiment of the interactive control method for a game. Taking the game scene of an SLG game as an example, the interactive control process of the game is introduced in detail:
[0090] 1) The player selects the plot to be connected, first performs the "Capture the plot" operation, and waits for the troops to occupy the plot.
[0091] 2) After the troops have occupied a certain plot, when the non-enemy plot in the scene screen changes from a disconnected state to a connected state, a connecting light effect visible only to the player will be played on the plot. Here, it is necessary to determine whether the main city or city of the ally player closest to the occupied plot is within the scene screen. Based on the judgment result, the light effect logic will play in two cases:
[0092] A. If you are in the scene, the block where the alliance player's main city or city is located is the starting block of the special effect. The preset streamer special effect is controlled to move from this block until it reaches the newly occupied block.
[0093] B. If it is not on the screen, find an edge plot on the screen that is connected to the newly occupied plot and is the farthest away as the starting point, and control the preset streamer effect to move from the edge plot until it reaches the newly occupied plot.
[0094] 3) After playing the streamer effect, the plot connection effect will be played on the newly connected plot, indicating that the plot has entered the "connected state". At this time, a dynamically flashing "arrow" icon will appear on the plot, indicating that the plot resource output has increased.
[0095] 4) At the same time, when the blocks are connected, a "transport team" composed of virtual animals will appear on the connected blocks and walk along the route. There will be different types of "transport teams" depending on the map scene.
[0096] 5) When a player's own land block outside of their field of view changes from a disconnected state to a connected state, the block will be recorded as "not playing special effects." When the block first enters the player's field of view, press Flowing Light Effects → Connected Land Effects → Dynamic Flashing Arrow Icon to display it.
[0097] 6) When the number of player plots is affected by connected plots, you can select any low-level resource plot among the connected plots to build a "road" model.
[0098] 7) After the road model setting operation is performed on any plot of land, the text "Road Sign" will be displayed on the plot and the corresponding road model will be displayed.
[0099] 8) To stimulate the competition for land among players, players can see the connectivity status of other players' plots in the game. There are three color states: green for yourself, red for the enemy, and blue for friends.
[0100] In addition, it can also be designed that the output of connected land resources and the upper limit of road construction will increase with the level of related urban construction technology.
[0101] For example, it can be set as:
[0102] Level 1 - Resource production increased by 15%, road construction limit 5;
[0103] Level 2 - Resource production increased by 18%, road building limit 10;
[0104] Level 3 - Resource production increased by 21%, road building limit 20;
[0105] Level 4 - Resource production increased by 23%, road building limit 35;
[0106] Level 5 - Resource production increased by 25%, road building limit 50.
[0107] In this way, the connectivity of plots is given a non-mandatory purpose, allowing players to rediscover the fun of coloring; enriching the connection gameplay between plots, increasing players' interest in occupying low-level resource plots, and improving map utilization.
[0108] Corresponding to the above method embodiment, see Figure 7The schematic diagram of an interactive control device for a game is shown, wherein a graphical user interface is provided through a terminal device; the graphical user interface displays a scene image of a game scene; the game scene includes a plurality of plot units; at least some of the plurality of plot units have a first building model; the device includes:
[0109] A first determining module 702 is configured to, in response to a model level upgrade event of a first building model, determine a first parcel where the first building model is located, and determine connected parcels of the first parcel; wherein the connected parcels are directly or indirectly connected to the first parcel;
[0110] The resource attribute updating module 704 is configured to update the resource attributes of the connected plots based on the upgraded building attributes of the first building model;
[0111] In this way, when the building model in the scene is upgraded, the resource attributes of other plots connected to the plot where the building model is located will be updated; this method can guide players to connect occupied plots, increase players' interest in occupying low-level plots, and improve the utilization rate of the game scene map.
[0112] The above-mentioned device also includes a first display module, which is used to determine the target plot whose connectivity status has changed from the connected plots in response to the increase of connected plots; wherein the target plot and the first plot where the first building model is located are converted from a non-connected state to a directly or indirectly connected state; based on the building attributes of the first building model, the resource attributes of the target plot are updated; and a prompt message that the resource attributes of the target plot have been updated is displayed.
[0113] The above-mentioned first display module is also used to determine, in response to the occupation event of the second plot, that the second plot is directly or indirectly connected to the first plot, determine the second plot as a newly added connected plot, and determine the second plot as the target plot whose connectivity status has changed.
[0114] The above-mentioned first display module is also used to determine, in response to the occupation event of the second block, that the second block is directly or indirectly connected to the first block, and that the second block is connected to the third block; wherein, before the occupation event of the second block is triggered, the third block is not connected to the first block; determine the second block and the third block as newly added connected blocks, and determine the second block and the third block as target blocks whose connectivity status has changed.
[0115] The above-mentioned device also includes a second display module, which is used to display the target plot in a first display format; the first display format is used to indicate that: the target plot and the first plot are converted from a disconnected state to a directly or indirectly connected state.
[0116] The above-mentioned device also includes a first control module for controlling the preset dynamic model to move in a land area including the target land area; wherein the land areas in the land area are directly or indirectly connected to each other.
[0117] The above-mentioned first control module is also used to respond to the dynamic model moving to the fourth plot in the plot area, and a road model is set on the fourth plot, determine the model setting direction of the road model on the fourth plot, determine the moving direction of the dynamic model based on the model setting direction; and control the dynamic model to move along the moving direction.
[0118] The above-mentioned device also includes a second control module, which is used to determine the starting block of the special effect from the scene picture; wherein the starting block of the special effect includes: the first block, or the edge block farthest from the target block, and the edge block is directly or indirectly connected to the first block; control the preset streamer special effect to move from the starting block until it reaches the target block.
[0119] The first display module is further configured to update the land resource yield of the target plot and the model-level attributes of the second building model on the target plot based on the building attributes of the first building model.
[0120] The above-mentioned first plot and the connected plots are all non-enemy plots; the above-mentioned non-enemy plots include a first number of plots; the above-mentioned non-enemy plots are preset with a maximum number of plots; the above-mentioned device also includes a first statistical module, which is used to respond to the designated model setting operation of the fifth plot in the non-enemy plots, and set a designated building model on the fifth plot; count the second number of non-enemy plots; wherein, the fifth plot is not included in the plots corresponding to the second number.
[0121] The above-mentioned designated building model includes a road model; the above-mentioned first statistical module is also used to determine the plot status of the adjacent plots of the fifth plot in response to the designated model setting operation of the fifth plot in the non-enemy plot; wherein the plot status includes: the relative position of the adjacent plot and the fifth plot, and / or, the model setting direction of the road model on the adjacent plot; based on the plot status, determine the model setting direction of the road model; based on the model setting direction, set the road model on the fifth plot.
[0122] The above-mentioned first plot and connected plots are all non-enemy plots; the above-mentioned device also includes a third display module, which is used to display the directly or indirectly connected plots in the non-enemy plots in a first display format; and to display the directly or indirectly connected plots in the enemy plots in a second display format; wherein the first display format is different from the second display format.
[0123] This embodiment further provides an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned interactive control method for the game. The electronic device can be a server or a terminal device.
[0124] See also Figure 8 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions that can be executed by the processor 100. The processor 100 executes the machine executable instructions to implement the interactive control method of the above game.
[0125] Furthermore, Figure 8 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0126] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0127] The processor 100 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 100 or software instructions. The above processor 100 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 101. The processor 100 reads the information in the memory 101 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.
[0128] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: providing a graphical user interface through the terminal device; a scene screen of the game scene is displayed in the graphical user interface; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model; the method includes: in response to a model level upgrade event of the first building model, determining the first plot where the first building model is located, and determining the connected plots of the first plot; wherein the connected plots are directly or indirectly connected to the first plot; based on the building properties of the upgraded first building model, updating the resource attributes of the connected plots.
[0129] In this way, when the building model in the scene is upgraded, the resource attributes of other plots connected to the plot where the building model is located will be updated; this method can guide players to connect occupied plots, increase players' interest in occupying low-level plots, and improve the utilization rate of the game scene map.
[0130] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the increase of connected plots, determining the target plot whose connectivity status has changed from the connected plots; wherein the target plot and the first plot where the first building model is located are converted from a disconnected state to a directly or indirectly connected state; based on the building properties of the first building model, updating the resource attributes of the target plot; and displaying a prompt message that the resource attributes of the target plot have been updated.
[0131] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the occupation event of the second block, determine that the second block is directly or indirectly connected to the first block, determine the second block as a newly added connected block, and determine the second block as the target block whose connectivity status has changed.
[0132] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the occupation event of the second block, determine that the second block is directly or indirectly connected to the first block, and the second block is connected to the third block; wherein, before the occupation event of the second block is triggered, the third block is not connected to the first block; determine the second block and the third block as newly added connected blocks, and determine the second block and the third block as target blocks whose connectivity status has changed.
[0133] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: displaying the target plot in a first display format; the first display format is used to indicate: the target plot and the first plot are converted from a disconnected state to a directly or indirectly connected state.
[0134] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: controlling the preset dynamic model to move in the plot area containing the target plot; wherein the plots in the plot area are directly or indirectly connected.
[0135] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the dynamic model moving to the fourth block in the block area, and a road model is set on the fourth block, determining the model setting direction of the road model on the fourth block, and determining the moving direction of the dynamic model based on the model setting direction; controlling the dynamic model to move along the moving direction.
[0136] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: determining the starting block of the special effect from the scene screen; wherein the starting block of the special effect includes: the first block, or the edge block farthest from the target block, and the edge block is directly or indirectly connected to the first block; controlling the preset streamer special effect to move from the starting block until it reaches the target block.
[0137] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: based on the building attributes of the first building model, updating the land resource output of the target plot, and updating the model-level attributes of the second building model on the target plot.
[0138] The above-mentioned first plot and the connected plots are all non-enemy plots; the above-mentioned non-enemy plots include a first number of plots; the above-mentioned non-enemy plots are preset with a maximum number of plots; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the designated model setting operation of the fifth plot in the non-enemy plots, setting a designated building model on the fifth plot; counting the second number of non-enemy plots; wherein, the fifth plot is not included in the plots corresponding to the second number.
[0139] The above-mentioned designated building model includes a road model; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the designated model setting operation of the fifth block in the non-enemy block, determine the block status of the adjacent blocks of the fifth block; wherein the block status includes: the relative position of the adjacent block and the fifth block, and / or, the model setting direction of the road model on the adjacent block; based on the block status, determine the model setting direction of the road model; based on the model setting direction, set the road model on the fifth block.
[0140] The above-mentioned first plot and connected plots are all non-enemy plots; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: displaying directly or indirectly connected plots in non-enemy plots in a first display format; displaying directly or indirectly connected plots in enemy plots in a second display format; wherein the first display format is different from the second display format.
[0141] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above game.
[0142] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can realize the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: providing a graphical user interface through a terminal device; a scene screen of a game scene is displayed in the graphical user interface; the game scene includes multiple plot units; at least some of the multiple plot units have a first building model; the method includes: in response to a model level upgrade event of the first building model, determining the first plot where the first building model is located, and determining the connected plots of the first plot; wherein the connected plots are directly or indirectly connected to the first plot; based on the building properties of the upgraded first building model, updating the resource attributes of the connected plots;.
[0143] In this way, when the building model in the scene is upgraded, the resource attributes of other plots connected to the plot where the building model is located will be updated; this method can guide players to connect occupied plots, increase players' interest in occupying low-level plots, and improve the utilization rate of the game scene map.
[0144] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the increase of connected plots, determining a target plot whose connectivity status has changed from the connected plots; wherein the target plot and the first plot where the first building model is located are converted from a disconnected state to a directly or indirectly connected state; based on the building properties of the first building model, updating the resource attributes of the target plot; and displaying a prompt message that the resource attributes of the target plot have been updated.
[0145] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the occupation event of the second plot, determining that the second plot is directly or indirectly connected to the first plot, determining the second plot as a newly added connected plot, and determining the second plot as the target plot whose connectivity status has changed.
[0146] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the occupation event of the second plot, determining that the second plot is directly or indirectly connected to the first plot, and the second plot is connected to the third plot; wherein, before the occupation event of the second plot is triggered, the third plot is not connected to the first plot; determining the second plot and the third plot as newly added connected plots, and determining the second plot and the third plot as target plots whose connectivity status has changed.
[0147] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: displaying the target plot in a first display format; the first display format is used to indicate: the target plot and the first plot are converted from a disconnected state to a directly or indirectly connected state.
[0148] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: controlling the preset dynamic model to move in the land area containing the target land; wherein the land blocks in the land area are directly or indirectly connected.
[0149] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: in response to the dynamic model moving to the fourth block in the block area, and a road model is set on the fourth block, determining the model setting direction of the road model on the fourth block, and determining the moving direction of the dynamic model based on the model setting direction; controlling the dynamic model to move along the moving direction.
[0150] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: determining the special effect starting block from the scene screen; wherein the special effect starting block includes: the first block, or the edge block farthest from the target block, and the edge block is directly or indirectly connected to the first block; controlling the preset streamer special effect to move from the starting block until it reaches the target block.
[0151] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: based on the building attributes of the first building model, updating the land resource output of the target plot, and updating the model-level attributes of the second building model on the target plot.
[0152] The above-mentioned first plot and the connected plots are all non-enemy plots; the above-mentioned non-enemy plots include a first number of plots; the above-mentioned non-enemy plots are preset with a maximum number of plots; the machine-executable instructions stored in the above-mentioned machine-readable storage medium can realize the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the designated model setting operation of the fifth plot in the non-enemy plots, setting a designated building model on the fifth plot; counting the second number of non-enemy plots; wherein, the fifth plot is not included in the plots corresponding to the second number.
[0153] The above-mentioned designated building model includes a road model; the machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the designated model setting operation of the fifth block in the non-enemy block, determine the block status of the adjacent blocks of the fifth block; wherein the block status includes: the relative position of the adjacent blocks and the fifth block, and / or, the model setting direction of the road model on the adjacent block; based on the block status, determine the model setting direction of the road model; based on the model setting direction, set the road model on the fifth block.
[0154] The above-mentioned first plot and connected plots are all non-enemy plots; the machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: displaying directly or indirectly connected plots in non-enemy plots in a first display format; displaying directly or indirectly connected plots in enemy plots in a second display format; wherein the first display format is different from the second display format.
[0155] The computer program product of the interactive game control method, device, electronic device and storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments and will not be repeated here.
[0156] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0157] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0158] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0159] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0160] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for interactive control of a game, characterized in that: Providing a graphical user interface through the terminal device; the graphical user interface displays a scene screen of the game scene; The game scene includes a plurality of plot units; At least some of the plurality of plot units have a first building model; the method comprising: In response to a model level upgrade event of the first building model, determining a first parcel where the first building model is located, and determining a connected parcel of the first parcel; wherein the connected parcel is directly or indirectly connected to the first parcel; and both the first parcel and the connected parcel are non-enemy parcels; Based on the upgraded building attributes of the first building model, the resource attributes of the connected plots are updated.
2. The method according to claim 1, characterized in that The method further comprises: In response to the increase of the connected plots, determining a target plot whose connectivity state has changed from the connected plots; wherein the target plot and the first plot where the first building model is located are changed from a disconnected state to a state of direct or indirect connectivity; Based on the building attributes of the first building model, the resource attributes of the target plot are updated; and a prompt message indicating that the resource attributes of the target plot have been updated is displayed.
3. The method according to claim 2, characterized in that In response to the increase of the connected land blocks, the step of determining a target land block whose connectivity status has changed from the connected land blocks includes: In response to an occupation event of a second plot, it is determined that the second plot is directly or indirectly connected to the first plot, the second plot is determined as a newly added connected plot, and the second plot is determined as a target plot whose connectivity status has changed.
4. The method according to claim 2, characterized in that In response to the increase of the connected land blocks, the step of determining a target land block whose connectivity status has changed from the connected land blocks includes: In response to an occupation event of a second parcel, determining that the second parcel is directly or indirectly connected to the first parcel, and that the second parcel is connected to a third parcel; wherein, before the occupation event of the second parcel is triggered, the third parcel is not connected to the first parcel; The second plot and the third plot are determined as the newly added connected plots, and the second plot and the third plot are determined as the target plots whose connectivity status has changed.
5. The method according to claim 2, characterized in that After the step of determining a target land parcel whose connectivity status has changed from the connected land parcels in response to the increase of the connected land parcels, the method further includes: The target plot is displayed in a first display format; the first display format is used to indicate that the target plot and the first plot are transformed from a disconnected state to a directly or indirectly connected state.
6. The method according to claim 2, characterized in that After the step of determining a target land parcel whose connectivity status has changed from the connected land parcels in response to the increase of the connected land parcels, the method further includes: The preset dynamic model is controlled to move in a land area including the target land area; wherein the land areas in the land area are directly or indirectly connected to each other.
7. The method according to claim 6, characterized in that The step of controlling the preset dynamic model to move in a land area including the target land includes: In response to the dynamic model moving to a fourth plot in the plot area, and a road model being set on the fourth plot, determining a model setting direction of the road model on the fourth plot, and determining a moving direction of the dynamic model based on the model setting direction; The dynamic model is controlled to move along the moving direction.
8. The method according to claim 2, characterized in that After the step of determining a target land parcel whose connectivity status has changed from the connected land parcels in response to the increase of the connected land parcels, the method further includes: Determining a special effect starting plot from the scene image; wherein the special effect starting plot includes: the first plot, or an edge plot farthest from the target plot, the edge plot being directly or indirectly connected to the first plot; The preset streamer special effect is controlled to move from the special effect starting point block until it reaches the target block.
9. The method according to claim 2, characterized in that The step of updating the resource attributes of the target plot based on the building attributes of the first building model includes: Based on the building attributes of the first building model, the land resource yield of the target plot is updated, and the model-level attributes of the second building model on the target plot are updated.
10. The method according to claim 1, characterized in that The first land parcel and the connected land parcel are both non-enemy land parcels; the non-enemy land parcels include a first number of land parcels; a maximum number of land parcels is preset for the non-enemy land parcels; and the method further includes: In response to a designated model setting operation for a fifth plot among the non-enemy plots, setting a designated building model on the fifth plot; A second number of the non-enemy plots is counted; wherein the plots corresponding to the second number do not include the fifth plot.
11. The method according to claim 10, characterized in that The designated building model includes a road model; and in response to the designated model setting operation for the fifth plot among the non-enemy plots, the step of setting the designated building model on the fifth plot includes: In response to a designated model setting operation for a fifth parcel among the non-enemy parcels, determining a parcel status of a parcel adjacent to the fifth parcel; wherein the parcel status includes: a relative position of the adjacent parcel to the fifth parcel, and / or a model setting direction of a road model on the adjacent parcel; Based on the land parcel status, a model setting direction of the road model is determined; and based on the model setting direction, the road model is set on the fifth land parcel.
12. The method according to claim 1, characterized in that The method further comprises: The directly or indirectly connected plots in the non-enemy plots are displayed in a first display format; the directly or indirectly connected plots in the enemy plots are displayed in a second display format; wherein the first display format is different from the second display format.
13. An interactive control device for a game, characterized in that: Providing a graphical user interface through the terminal device; the graphical user interface displays a scene screen of the game scene; The game scene includes a plurality of plot units; At least some of the plurality of plot units have a first building model; the device comprises: a first determining module configured to, in response to a model level upgrade event of the first building model, determine a first parcel where the first building model is located, and determine a connected parcel of the first parcel; wherein the connected parcel is directly or indirectly connected to the first parcel; and both the first parcel and the connected parcel are non-enemy parcels; The resource attribute updating module is used to update the resource attributes of the connected plots based on the upgraded building attributes of the first building model.
14. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of the game according to any one of claims 1 to 12.
15. A machine-readable storage medium, characterized in that The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method for a game according to any one of claims 1 to 12.
Citation Information
Patent Citations
Game interaction control method and device, equipment and medium
CN114307129A