An interactive control method and device, computer equipment and storage medium
By displaying locked elements and applying animation effects in match-3 puzzle games, the problem of inconsistent element transformation results was solved, resulting in clear interface feedback for element elimination and combination, thus improving the user interaction experience.
Patent Information
- Application Number
- CN202611424274.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-20
AI Technical Summary
In match-3 puzzle games, how can we present a clear and coherent result of element changes based on the arrangement of elements on the board after the user places elements, especially how to handle element objects and their displayed content in the game interface when the arrangement of elements changes?
By displaying the game's interactive interface, the first composite element in a locked state is shown and a locking animation is displayed. Elements are placed in response to drag operations, unlocked elements in a full row or column are eliminated, the locked elements are kept on display, and they are combined into a second composite element under certain conditions, displaying a locking animation.
It achieves seamless interface feedback for element elimination and combination processing, making it easier for users to identify locked objects and their combination results, thus improving the smoothness and consistency of user interaction.
Smart Images

Figure CN123127675A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer interaction technology, and in particular to an interactive control method, device, computer equipment and storage medium. Background Technology
[0002] Match-3 puzzle games typically display a game board and interactive elements through a user interface, changing the arrangement of elements based on user actions. During gameplay, the interface needs to show the placement of elements and the board's changes after each action, allowing for continued user interaction.
[0003] As the arrangement of elements on the board changes, the game interface needs to process the element objects and their displayed content accordingly. How to present a clear and consistent result of element changes based on the arrangement of elements on the board after the user places them is a problem that needs to be solved in this type of game interaction. Summary of the Invention
[0004] In view of this, this application provides an interactive control method, apparatus, computer device, and storage medium.
[0005] Specifically, this application is implemented through the following technical solution: In a first aspect, this application provides an interactive control method, the method comprising: The game interactive interface is displayed, which includes a game board and an element candidate area, wherein the element candidate area is used to display at least one element to be placed. The game board displays a first composite element that is locked, and a locking animation is shown on the first composite element; In response to a drag operation targeting a element to be placed in the element candidate region, the target element to be placed is placed in the target placement region indicated by the drag operation on the game board. If at least one row or column in the game board is filled with elements, eliminate all elements in the filled row or column except the first composite element, and maintain the display of the first composite element in the game board. When the first composite element meets the preset combination conditions with other elements, the first composite element is combined with the other elements to form a second composite element, and the second composite element in a locked state is displayed at the position of the elements participating in the combination, and the second composite element displays the locking animation.
[0006] In one possible implementation, the method further includes: In response to the fulfillment of preset mode switching conditions, the first game mode is switched to the second game mode; In the second game mode, the game board from the first game mode before the mode switch is displayed, and the positions and colors of the existing elements on the game board remain unchanged; The locked state and locking animation of the first composite element are displayed in the second game mode.
[0007] In one possible implementation, displaying a first composite element in a locked state on the game board and exhibiting a locking animation on the first composite element includes: If there are composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, the largest composite element will be used as the first composite element, the first composite element in a locked state will be displayed, and the locking animation will be displayed on the first composite element. In the case where there are multiple composite elements of the same size and the largest size, one of the multiple composite elements is randomly selected as the first composite element.
[0008] In one possible implementation, displaying a first composite element in a locked state on the game board and exhibiting a locking animation on the first composite element includes: If there are no composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, in response to the drag operation of the element to be placed in the element candidate area, the element to be placed is placed on the game board. After the first combination to form at least one composite element, the first composite element is determined from the first at least one composite element formed, the first composite element in a locked state is displayed, and the locking animation is displayed on the first composite element.
[0009] In one possible implementation, after displaying the first composite element in a locked state, the method further includes: Update the elements to be placed displayed in the element candidate area so that the constituent units of each updated element to be placed have the same color as the first composite element; Before and after updating the display content of the element candidate area, the position and color of the existing elements on the game board remain unchanged.
[0010] In one possible implementation, the method further includes: When at least a portion of the first composite element is located in a row or column filled with elements, the locking animation displayed on the first composite element is switched to a protection animation during the process of eliminating other elements in the row or column. After the elimination is completed, the locking animation is restored on the first composite element.
[0011] In one possible implementation, the method further includes: When switching to the second game mode, or when the first composite element in a locked state is first displayed, a countdown is started and the countdown is displayed in the game interaction interface; The second game mode ends when the countdown ends or when the size of the currently locked composite element meets the preset size condition.
[0012] In one possible implementation, eliminating elements other than the first composite element from a row or column filled with elements includes: If at least a portion of a composite element in an unlocked state is located in a row or column filled with elements, the entire unlocked composite element is eliminated when the elements in the row or column are eliminated.
[0013] In one possible implementation, the preset combination conditions include: the first composite element and the other elements have the same color, and are arranged adjacently and together fill an area with a preset shape; The other elements include at least one of the basic elements and the formed composite elements.
[0014] Secondly, this application provides an interactive control device, the device comprising: The interface display module is used to display the game interaction interface, which includes a game board and an element candidate area, and the element candidate area is used to display at least one element to be placed. A lock display module is used to display a first composite element in a locked state on the game board and to display a lock animation on the first composite element; An element placement module is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element elimination module is used to eliminate all elements except the first composite element in the row or column filled with elements when at least one row or column in the game board is filled with elements, while maintaining the display of the first composite element in the game board. The element combination module is used to combine the first composite element with the other elements into a second composite element when the first composite element meets the preset combination conditions with the other elements, and to display the second composite element in a locked state at the position of the elements participating in the combination, with the locking animation displayed on the second composite element.
[0015] Thirdly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the interactive control method as described in the first aspect or any possible implementation of the first aspect.
[0016] Fourthly, this application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the interactive control method as described in the first aspect or any possible implementation of the first aspect.
[0017] This embodiment of the application, in response to a drag-and-drop operation targeting a specific element, places the element in the target placement area indicated by the drag-and-drop operation. This allows the user to directly establish a correspondence between the operation position and the display result by dragging and specifying the placement position of the element. When a row or column is filled with elements, all elements except the first composite element are eliminated, while the first composite element remains displayed. When the first composite element participates in a combination, a second composite element in a locked state is displayed, and a locking animation effect is shown on the second composite element. Thus, by preserving the element display and correspondingly presenting the locking state and animation effect before and after combination, the results of elimination and combination processing provide a coherent interface feedback, making it easy for the user to identify the locked object and its combination result, and to continue drag-and-drop interaction accordingly. Attached Figure Description
[0018] Figure 1 A flowchart illustrating the interactive control method provided in an embodiment of this application; Figure 2 A schematic diagram illustrating the game interface and drag-and-drop functionality provided in an embodiment of this application; Figure 3 A schematic diagram of the interface for locking composite element retention and protection animation provided in the embodiments of this application; Figure 4 A schematic diagram of the interface for locking composite elements to participate in the combination, provided in an embodiment of this application; Figure 5 A schematic diagram of the interface for switching game modes and updating candidate elements provided in an embodiment of this application; Figure 6 A schematic diagram of the interface for the overall elimination of non-locking composite elements provided in an embodiment of this application; Figure 7 This is a schematic diagram of the architecture of the interactive control device provided in the embodiments of this application; Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0019] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0020] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0021] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0022] The interactive control method provided in this application is executed by an electronic device running a game. The electronic device receives user operations through a display interface and controls the display of elements on the game board. The corresponding interaction process is described below with reference to the accompanying drawings, in which the board size, element positions, and display styles are used for illustration.
[0023] Figure 1 This is a flowchart illustrating the interactive control method provided in an embodiment of this application. The method includes the following steps: S101. Display the game interaction interface, which includes a game board and an element candidate area, wherein the element candidate area is used to display at least one element to be placed. S102. Display a first composite element in a locked state on the game board, and display a locking animation on the first composite element; S103. In response to a drag operation on a target element to be placed in the element candidate area, the target element to be placed is placed in the target placement area indicated by the drag operation on the game board. S104. If at least one row or column in the game board is filled with elements, eliminate all elements in the filled row or column except the first composite element, and maintain the display of the first composite element in the game board. S105. When the first composite element and other elements meet the preset combination conditions, the first composite element and the other elements are combined into a second composite element, and the second composite element in a locked state is displayed at the position of the elements participating in the combination, and the second composite element displays the locking animation.
[0024] Figure 1 S104 and S105 are two processing branches that meet the corresponding conditions respectively. The connection relationship itself does not require that combination or elimination must be performed first. S102 indicates the display steps after a locked object already exists; if there are no composite elements when entering the corresponding gameplay, the user can place elements to form a lockable object. This preliminary process will be explained later.
[0025] In step S101, the game board is used to display elements that have already been placed, and the element candidate area is used to display at least one element that is yet to be placed. The two areas are presented separately on the interface, making it easier for the user to determine the draggable object and its intended placement location. The element candidate area can be located below the board; this relative position is an example of the interface layout.
[0026] Figure 2 This is a schematic diagram illustrating the game interface and drag-and-drop functionality provided in an embodiment of this application. Figure 2 In (a), the user drags a single element from the candidate area to an empty space on the disk; Figure 2 (b) shows the content displayed after the element is placed. Figure 2 This diagram is used to illustrate the general drag-and-drop process and does not imply that the object must be locked before each placement. It only shows the correspondence between the drag position and the placement result.
[0027] The elements in this application are virtual objects that participate in game interaction. Their appearance can be two-dimensional shapes such as circles and rounded rectangles, or three-dimensional shapes such as spheres. Basic elements are used to describe basic constituent objects, composite elements are used to describe objects that are presented as a whole after multiple elements are combined, and elements to be placed are used to describe objects that have not yet been placed in the candidate area. These names do not limit the virtual objects to have a square appearance.
[0028] The game board can include multiple board units arranged in rows and columns. The attached diagram shows an 8x8 layout as an example. A basic element can correspond to one board unit, while a composite element can correspond to multiple board units. An element to be placed can include one or more component units, and the relative positions of these component units determine the board position occupied by the element after placement.
[0029] The displayed outline of an element is distinguished from its logical footprint on the disk. When using a circular or spherical appearance, the white space around the edge of an element does not indicate that the corresponding disk cell is empty. Whether elements are adjacent, whether they jointly fill a certain area, and whether rows and columns are filled can be determined based on the disk cell corresponding to the element; seamless splicing of the visible outline of an element or covering all pixels of the corresponding area is not required. The attached diagram uses light and dark gray to represent different color attributes, and uses A and B as auxiliary identifiers; the actual interface color is not limited to gray.
[0030] In step S102, the first composite element is the composite element currently set to a locked state. The locked state corresponds to a processing method in which it is retained when eliminated and remains locked after being combined. The electronic device displays a locking animation on this element, making it visually distinguishable from elements in an unlocked state on the panel.
[0031] The locking animation can use a dynamic display of a lock-shaped pattern. The lock-shaped pattern in the attached image represents a single moment of the animation; the pattern is not required to remain fixed throughout the entire process. A locked state does not mean that the element cannot be grouped, nor does it mean that the locked object needs to be reselected from the panel after each drag.
[0032] In step S103, the electronic device determines the target placement area indicated by the user based on the drag operation targeting the element to be placed, places the element in the area, and displays it there. The user directly specifies the position on the disk by dragging, and the arrangement of the placed elements is determined by that position and the existing elements on the disk, serving as the basis for subsequent combination or elimination processing.
[0033] In step S104, at least one row or column being filled means that all disk cells in the corresponding row or column are occupied by elements. Whether the colors are the same does not affect the determination of a full row or column. The occupied disk cells can be either basic elements or composite elements.
[0034] When a filled row or column overlaps with the first composite element, the electronic device eliminates the display of other elements in that row or column while maintaining the complete display of the first composite element on the disk. Even if the row or column only covers a portion of the first composite element, the entire first composite element is preserved, and the remainder is not truncated. Other elements that did not participate in the elimination can remain in their original positions and do not automatically move down due to the elimination.
[0035] Figure 3 This is a schematic diagram of the interface for locking composite element retention and protection animation provided in the embodiments of this application. Figure 3 In (a), the fifth row from top to bottom is filled, and the first 2×2 composite element of color A spans the fourth and fifth rows and displays a lock pattern. Figure 3 (b) shows the timing of the protective dynamics during the elimination process. Figure 3 (c) shows the result after processing: all placeholders and displays of the first composite element are retained, other elements in the fifth row are eliminated, and other un-eliminated basic elements outside the row retain their original positions. Figure 3 The unlocked composite element with color B on the right is eliminated using the overall elimination method described later, so its portion in the fourth row is also eliminated.
[0036] In step S105, when the first composite element meets the preset combination conditions with other elements, the electronic device combines these elements into a second composite element and displays the second composite element at the location of the elements involved in the combination, while simultaneously displaying a locked state and a locking animation. The second composite element is the name of the combination result and does not represent a preset level or a hierarchy independent of the combination relationship.
[0037] After the combination is complete, the first composite element and the other elements involved in this combination will no longer be displayed as independent objects, but will be displayed as a whole by the second composite element that covers their shared space. In subsequent interactions, this second composite element will continue to participate in retention and combination processes as the currently locked composite element. When it participates in combination again, the currently locked composite element can be regarded as the first composite element in the next combination, and the result of the next combination can be regarded as the corresponding second composite element, without needing to reselect other objects on the board as the locked objects.
[0038] Figure 4 This is a schematic diagram of the interface for locking composite elements to participate in the combination, provided in an embodiment of this application. Figure 4 (a) shows the disk surface after placement and before combination, with the 2×2 first composite element and the five basic elements of the same color to its right and bottom occupying a 3×3 area; Figure 4 (b) shows the 3×3 second composite element formed by the combination, and continues to display the lock pattern on the second composite element. In both sub-figures, the base element of color B outside the combined area remains in its original position.
[0039] The aforementioned locking interaction can be used as a gameplay mode that can be entered directly, or it can be enabled after another game mode is running. In the latter case, in response to meeting the preset mode switching conditions, the first game mode is switched to the second game mode; in the second game mode, the game board from the first game mode before the mode switch is displayed, and the positions and colors of the existing elements remain unchanged. The locked state and locking animation of the first composite element are displayed in the second game mode.
[0040] The first game mode is a basic match-3 elimination mode, while the second game mode offers the option to retain and combine the locked objects mentioned above. The difference lies in how the locked objects are handled and displayed; switching modes does not require rearranging existing board elements. The preset mode switching condition can be reaching a specified score, after which the second game mode is entered.
[0041] Figure 5 This is a schematic diagram of the interface for switching game modes and updating candidate elements provided in an embodiment of this application. Figure 5 (a) and (b) correspond to the scene before and after the switch, respectively. The elements on the disk in the two sub-images maintain the same position and color attributes. Figure 5 (b) Lock the display of existing larger composite elements and display the updated candidate elements in the same grayscale. This candidate update corresponds to the color setting implementation method described below.
[0042] In the implementation of the direct-entry lock-in gameplay, the board can display initial elements placed according to preset initial board information or randomly generated, without having to go through the first game mode. Initial elements can include basic elements and composite elements. If composite elements exist, the lock-in object can be determined from them; if not, the corresponding object is first formed by the user placing and combining them.
[0043] For a board screen switched from the first game mode, if composite elements already existed before the switch, then after switching to the second game mode, the largest of these composite elements will be used as the first composite element, displaying its locked state and locking animation. If multiple composite elements have the same size and are all the largest size, then one of these largest composite elements will be randomly selected as the first composite element.
[0044] Size is used to characterize the disk area covered by the composite element. In examples using similar regular shapes, sizes can be compared based on the number of disk cells covered; for example, a 3×3 composite element is larger than a 2×2 composite element. Figure 5 Select the existing 3×3 composite element as the locked object, while the other 2×2 composite element remains unlocked. When using non-square composite areas, comparisons can be made based on the number of disk cells covered. For multiple objects of equal size, a random selection rule determines one locked object instead of locking all of them.
[0045] If there are no composite elements on the board before the mode switch, the game will still respond to drag-and-drop operations on the candidate area after entering the second game mode, placing the element on the game board. After at least one composite element is formed for the first time, the first composite element is determined from the at least one composite element formed initially, its locked state is displayed, and a locking animation is shown.
[0046] At this point, before the first combination occurs, users can continue dragging and dropping; it's not required that every drag will create a composite element. Dragging after a locked object already exists and dragging before the first locked object is formed are different stages within the same gameplay. If multiple composite elements are formed simultaneously, one can be selected from the largest object; if multiple largest objects are the same size, one can be randomly selected. Locked objects are continued from the combination results in subsequent combinations, rather than being repeatedly selected after each drag.
[0047] To ensure that the colors of subsequent candidate elements correspond to the currently locked object, after displaying the first locked composite element, the elements to be placed displayed in the element candidate area are updated so that the constituent units of each updated element to be placed have the same color as the first composite element. Before and after updating the content displayed in the candidate area, the positions and colors of existing elements on the disk remain unchanged.
[0048] Even if an element to be placed has multiple constituent units, these constituent units will all have the same uniform color after the update. This uniform color is the color of the currently locked composite element, and it affects the candidate area and subsequently provided candidate elements, not all existing elements on the board. Therefore, different colored elements on the board will not be changed to the same color simply due to mode switching or candidate area updates, nor will it trigger combinations caused by the uniform color change of existing elements.
[0049] Figure 5 In candidate region (a), elements of different gray levels are visible. Figure 5 (b) All candidate elements are represented in the same grayscale as the locked object; however, the base elements and unlocked composite elements of color B in the disk remain in their original light grayscale. This update maintains the color correspondence between the candidate content and the locked object while preserving the continuity of the disk display.
[0050] When eliminating rows and columns containing locked objects, the preserved state can be further represented by animations. Specifically, if at least a portion of the first composite element is located in a filled row or column, the locking animation displayed on the first composite element is switched to a protective animation during the elimination of other elements in that row or column; after the elimination is complete, the locking animation is restored on the first composite element.
[0051] The protective animation can be displayed as a small shield, such as... Figure 3 As shown in (b). Figure 3 (a) and Figure 3(c) The lock-shaped patterns correspond to the locking animations before and after elimination, respectively. Both the shield and lock-shaped patterns are selected as illustrations in the animation effects; switching the animations does not change the occupancy and locking state of the first composite element. When a filled row or column does not involve a locked object, it is not necessary to switch the animation of that object solely due to elimination in other positions.
[0052] For implementing locked interaction via mode switching, a countdown can be started when switching to the second game mode, or when the first locked composite element is first displayed, and this countdown can be displayed in the game interface. The second game mode ends when the countdown ends, or when the size of the currently locked composite element meets a preset size condition.
[0053] The two countdown start points mentioned above are optional. If you choose to start when switching modes, the countdown can begin even if there are no composite elements at that time; if you choose to start when the locked composite element is first displayed, the countdown will begin after the corresponding locked object is formed and displayed. Once a locked composite element has been combined, the second composite element will continue to keep it locked, and the countdown will not necessarily restart due to this combination.
[0054] The preset size conditions can correspond to the target size specified by the system. For example, when the board is 8×8, the second game mode can end when the currently locked objects combine to form an 8×8 or 7×7 composite element. These two sizes are configurable examples and do not require both to be achieved simultaneously. The target size specified by the system is different from the maximum size of the current board used to select objects when entering the mode: the latter compares existing objects, while the former is used to determine whether to end the mode.
[0055] After the second game mode ends, the currently locked composite element can be unlocked, and the multi-color provisioning method for subsequent candidate elements can be restored. Multi-color can be represented by different candidate elements each having a different color, or by the same candidate element containing constituent units of different colors. The positions and colors of existing elements on the board do not change due to the restoration of candidate colors.
[0056] In another termination method, the current board can be cleared and the game restarted. This method, along with the method of retaining the current board and unlocking, are both optional implementations. If a timer is started when switching modes and no locked object is formed by the timer expires, the second game mode can be terminated directly, without requiring the existence of an unlockable object.
[0057] Except for locked objects, unlocked composite elements can continue to be subject to the overall elimination rule. If at least a portion of an unlocked composite element is located in a filled row or column, the entire unlocked composite element is eliminated when elements in that row or column are eliminated.
[0058] Figure 6 This is a schematic diagram of the interface for the overall elimination of non-locking composite elements provided in an embodiment of this application. Figure 6 Only the overall elimination sub-process that does not involve locked objects is shown. Figure 6 In (a), the unlocked 2×2 composite element spans the fourth row and the filled fifth row. After elimination, the portion of the composite element in the fourth row disappears along with the other elements in the fifth row, resulting in... Figure 6 The result shown in (b) cannot be determined based on... Figure 6 Apply the same rules to locked composite elements.
[0059] To achieve the aforementioned differential elimination, first identify the disk cells in the filled rows and columns that are not locked composite elements, and then include all covering cells of the unlocked composite elements that overlap with these cells in the elimination target. Locked and unlocked composite elements each have their own placeholders at any given time; expanding the elimination range of unlocked objects does not change the retention rules of locked objects. This process also corresponds to... Figure 3 The result is that locked objects are completely preserved and unlocked objects are completely eliminated.
[0060] For the aforementioned combination process, the preset combination conditions may specifically include: the first composite element has the same color as other elements, and they are arranged adjacently and jointly fill an area with a preset shape. The other elements include at least one of the basic elements and the already formed composite elements.
[0061] Therefore, locked composite elements can be combined with base elements of the same color, other composite elements of the same color, or both. Existing composite elements participating in the combination are judged based on their overall footprint. If they are the same color but separated in position, or if the area they occupy does not conform to the preset shape, the above combination conditions are not met.
[0062] The preset shape can be a square, or a non-square rectangle, etc. This shape defines the shared area occupied by the grouped elements and does not need to match the display appearance of the individual elements. For example, Figure 4 The square placeholder illustrates a 2x2 to 3x3 combination; if a non-square rectangle is used, the locked 2x2 composite element and adjacent basic elements of the same color can jointly fill the 2x3 area and be displayed as a whole. This rectangle example is used to illustrate the optional configuration of the preset shape and does not limit all combination sizes.
[0063] After being combined, the original smaller composite element no longer exists independently; the combined result remains as a larger, locked composite element. The second composite element can also be combined with other elements of the same color. This continuous combination is not an increase in the level of the composite element, but rather an update of the participating objects and their space; different composite elements can display corresponding dynamic effects, and the current locked state is continuously presented through corresponding animations.
[0064] When a single placement satisfies both elimination and combination conditions, in one implementation, elimination is performed first, and then the combination conditions are determined based on the resulting disk surface. During elimination, the currently locked object is retained, and other corresponding objects are eliminated. If the remaining elements still satisfy the combination conditions along with the locked object, the combination result and locking animation are then displayed. Elements that have already been eliminated will not participate in subsequent combinations.
[0065] If a locked object already covers a filled row or column, there may be no other elements to be eliminated in that row or column. In this case, the locked object remains visible, and its components are not deleted to perform elimination. If the current size also meets the mode termination condition, it can be handled according to the aforementioned termination mechanism. The above boundary cases do not change the distinction between "locked objects are retained, and unlocked objects are eliminated according to the corresponding rules".
[0066] In the continuous interaction example, the user first creates multiple composite elements on the base board. Once the score reaches the switching condition, the largest object is locked. A candidate area then provides elements of the same color as the locked object. The user adds elements by dragging to adjacent positions. When a row or column is full, the locked object is retained and other objects are eliminated. When the combination condition is met, the locked object's space is expanded. The corresponding mode ends when the countdown ends or the locked object reaches a preset size. Each step in this example can be configured as described above, and it is not required that all implementations use score switching as the entry point.
[0067] Corresponding to the embodiments of the aforementioned interactive control method, this application also provides embodiments of the interactive control device.
[0068] Embodiments of the interactive control device of this application can be applied to electronic devices running games. The device can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, the processor of the electronic device reads and executes computer program instructions in the memory to implement the functions of the corresponding modules.
[0069] Figure 7 A schematic diagram of the architecture of the interactive control device provided in an embodiment of this application. The device includes: The interface display module 701 is used to display the game interaction interface, which includes a game board and an element candidate area, and the element candidate area is used to display at least one element to be placed. The lock display module 702 is used to display a first composite element in a locked state on the game board and to display a lock animation on the first composite element; The element placement module 703 is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element elimination module 704 is used to eliminate elements other than the first composite element in the row or column filled with elements when at least one row or column in the game board is filled with elements, and to maintain the display of the first composite element in the game board. The element combination module 705 is used to combine the first composite element with the other elements into a second composite element when the first composite element meets the preset combination conditions with the other elements, and to display the second composite element in a locked state at the position of the elements participating in the combination, and the second composite element displays the locking animation.
[0070] In one possible implementation, the interface display module 701 is further configured to: In response to the fulfillment of preset mode switching conditions, the first game mode is switched to the second game mode; In the second game mode, the game board from the first game mode before the mode switch is displayed, and the positions and colors of the existing elements on the game board remain unchanged; The locked state and locking animation of the first composite element are displayed in the second game mode.
[0071] In one possible implementation, the locking display module 702 is specifically used for: If there are composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, the largest composite element will be used as the first composite element, the first composite element in a locked state will be displayed, and the locking animation will be displayed on the first composite element. In the case where there are multiple composite elements of the same size and the largest size, one of the multiple composite elements is randomly selected as the first composite element.
[0072] In one possible implementation, the element placement module 703 is further configured to: If there are no composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, in response to the drag operation of the element to be placed in the element candidate area, the element to be placed is placed on the game board. The locking display module 702 is specifically used for: After the first combination to form at least one composite element, the first composite element is determined from the first at least one composite element formed, the first composite element in a locked state is displayed, and the locking animation is displayed on the first composite element.
[0073] In one possible implementation, after displaying the first composite element in a locked state, the interface display module 701 is further configured to: Update the elements to be placed displayed in the element candidate area so that the constituent units of each updated element to be placed have the same color as the first composite element; Before and after updating the display content of the element candidate area, the position and color of the existing elements on the game board remain unchanged.
[0074] In one possible implementation, the locking display module 702 is further configured to: When at least a portion of the first composite element is located in a row or column filled with elements, the locking animation displayed on the first composite element is switched to a protection animation during the process of eliminating other elements in the row or column. After the elimination is completed, the locking animation is restored on the first composite element.
[0075] In one possible implementation, the interface display module 701 is further configured to: When switching to the second game mode, or when the first composite element in a locked state is first displayed, a countdown is started and the countdown is displayed in the game interaction interface; The second game mode ends when the countdown ends or when the size of the currently locked composite element meets the preset size condition.
[0076] In one possible implementation, the element elimination module 704 is specifically used for: If at least a portion of a composite element in an unlocked state is located in a row or column filled with elements, the entire unlocked composite element is eliminated when the elements in the row or column are eliminated.
[0077] In one possible implementation, the preset combination conditions include: the first composite element and the other elements have the same color, and are arranged adjacently and together fill an area with a preset shape; The other elements include at least one of the basic elements and the formed composite elements.
[0078] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0079] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0080] This application also provides a computer-readable storage medium storing a computer program that can be used to execute the interactive control method described in the above embodiments.
[0081] This application also provides a computer device, Figure 8 The schematic diagram of the computer device provided in the embodiments of this application shows that, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to implement the interactive control method described in the above embodiments. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0082] The embodiments of the subject matter and functional operation described in this specification can be implemented in the following ways: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or combinations thereof. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible, non-transitory program carrier for execution by a data processing apparatus or for controlling the operation of a data processing apparatus. Alternatively or additionally, the program instructions may be encoded on artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information and transmit it to a suitable receiving device for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or combinations thereof.
[0083] The processing and logic flow described in this specification can be executed by one or more programmable computers that execute one or more computer programs to perform corresponding functions by operating on input data and generating output. The processing and logic flow can also be executed by dedicated logic circuitry—such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits), and the device can also be implemented as dedicated logic circuitry.
[0084] Suitable computers for executing computer programs include, for example, general-purpose and / or special-purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit receives instructions and data from read-only memory and / or random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as disks, magneto-optical disks, or optical disks, or the computer will be operatively coupled to such mass storage devices to receive data from or transfer data to them, or both. However, a computer is not required to have such devices. Furthermore, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.
[0085] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.
[0086] While this specification contains numerous specific implementation details, these should not be construed as limiting the scope of any invention or the scope of the claims, but rather are primarily intended to describe features of specific embodiments of a particular invention. Certain features described in the various embodiments herein may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in various embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation thereof.
[0087] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0088] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0089] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An interactive control method, characterized in that, The method includes: The game interactive interface is displayed, which includes a game board and an element candidate area, wherein the element candidate area is used to display at least one element to be placed. The game board displays a first composite element that is locked, and a locking animation is shown on the first composite element; In response to a drag operation targeting a element to be placed in the element candidate region, the target element to be placed is placed in the target placement region indicated by the drag operation on the game board. If at least one row or column in the game board is filled with elements, eliminate all elements in the filled row or column except the first composite element, and maintain the display of the first composite element in the game board. When the first composite element meets the preset combination conditions with other elements, the first composite element is combined with the other elements to form a second composite element, and the second composite element in a locked state is displayed at the position of the elements participating in the combination, and the second composite element displays the locking animation.
2. The method according to claim 1, characterized in that, The method further includes: In response to the fulfillment of preset mode switching conditions, the first game mode is switched to the second game mode; In the second game mode, the game board from the first game mode before the mode switch is displayed, and the positions and colors of the existing elements on the game board remain unchanged; The locked state and locking animation of the first composite element are displayed in the second game mode.
3. The method according to claim 2, characterized in that, The step of displaying a first composite element in a locked state on the game board and displaying a locking animation on the first composite element includes: If there are composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, the largest composite element will be used as the first composite element, the first composite element in a locked state will be displayed, and the locking animation will be displayed on the first composite element. In the case where there are multiple composite elements of the same size and the largest size, one of the multiple composite elements is randomly selected as the first composite element.
4. The method according to claim 2, characterized in that, The step of displaying a first composite element in a locked state on the game board and displaying a locking animation on the first composite element includes: If there are no composite elements on the game board of the first game mode before the mode switch, after switching to the second game mode, in response to the drag operation of the element to be placed in the element candidate area, the element to be placed is placed on the game board. After the first combination to form at least one composite element, the first composite element is determined from the first at least one composite element formed, the first composite element in a locked state is displayed, and the locking animation is displayed on the first composite element.
5. The method according to claim 1, characterized in that, After displaying the first composite element which is in a locked state, the method further includes: Update the elements to be placed displayed in the element candidate area so that the constituent units of each updated element to be placed have the same color as the first composite element; Before and after updating the display content of the element candidate area, the position and color of the existing elements on the game board remain unchanged.
6. The method according to claim 1, characterized in that, The method further includes: When at least a portion of the first composite element is located in a row or column filled with elements, the locking animation displayed on the first composite element is switched to a protection animation during the process of eliminating other elements in the row or column. After the elimination is completed, the locking animation is restored on the first composite element.
7. The method according to claim 2, characterized in that, The method further includes: When switching to the second game mode, or when the first composite element in a locked state is first displayed, a countdown is started and the countdown is displayed in the game interaction interface; The second game mode ends when the countdown ends or when the size of the currently locked composite element meets the preset size condition.
8. The method according to claim 1, characterized in that, The elimination of elements other than the first composite element in a row or column filled with elements includes: If at least a portion of a composite element in an unlocked state is located in a row or column filled with elements, the entire unlocked composite element is eliminated when the elements in the row or column are eliminated.
9. The method according to claim 1, characterized in that, The preset combination conditions include: the first composite element and the other elements have the same color, and are arranged adjacently and together fill an area with a preset shape; The other elements include at least one of the basic elements and the formed composite elements.
10. An interactive control device, characterized in that, The device includes: The interface display module is used to display the game interaction interface, which includes a game board and an element candidate area, and the element candidate area is used to display at least one element to be placed. A lock display module is used to display a first composite element in a locked state on the game board and to display a lock animation on the first composite element; An element placement module is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element elimination module is used to eliminate all elements except the first composite element in the row or column filled with elements when at least one row or column in the game board is filled with elements, while maintaining the display of the first composite element in the game board. The element combination module is used to combine the first composite element with the other elements into a second composite element when the first composite element meets the preset combination conditions with the other elements, and to display the second composite element in a locked state at the position of the elements participating in the combination, with the locking animation displayed on the second composite element.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the interactive control method according to any one of claims 1 to 9.
12. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the interactive control method according to any one of claims 1 to 9.
