Card casting method, device, equipment, storage medium and program product

By introducing position selection controls into the game application interface, users can easily select and cast cards, solving the problem of inconvenient card casting in the existing technology, and achieving higher operational convenience and accuracy.

CN114432697BActive Publication Date: 2025-03-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210073064.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-21
Publication Date
2025-03-21
Estimated Expiration
2042-01-21

AI Technical Summary

Technical Problem

In the prior art, users need to manually drag the card to the target position, which leads to inconvenience in operation. Especially when operating with one hand, the drag distance is long, making it difficult to achieve convenient and precise card casting.

Method used

By displaying the position selection control, the user can select the target position instead of dragging the card directly. The method includes displaying the game application interface, displaying position selection controls in response to user operations, determining a target position and casting a card.

Benefits of technology

Simplifies user operations, shortens the time to select target positions and cast cards, and improves operational convenience and accuracy, especially in the case of one-handed operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114432697B_ABST
    Figure CN114432697B_ABST
Patent Text Reader

Abstract

The present application discloses a card casting method, device, equipment, storage medium and program product, which belongs to the field of Internet and computer technology. The method comprises: displaying a game application interface, in which a first card and multiple candidate positions corresponding to the first card are displayed; in response to a first operation on the first card, a position selection control is displayed; in response to a second operation on the position selection control, a target position is determined from multiple candidate positions; and the first card is cast at the target position. The present application simplifies the process of casting the first card at the target position by using the position selection control to determine the target position in the game application interface, and reduces the difficulty of casting the first card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of Internet and computer technology, and in particular to a card casting method, device, equipment, storage medium and program product. Background Art

[0002] In some cases, users need to cast cards displayed in the game application interface to advance the direction of the game.

[0003] In the related art, the user completes the operation of placing a card at a target position by dragging. First, the user needs to select a card by long pressing, clicking, etc. After selecting the card, the user needs to continue to long press, click, etc., and manually drag the card to the target position to complete the operation of placing the card.

[0004] However, in the related art, the method of manually dragging a card to a target position has a long dragging distance, which is not conducive to one-handed operation, resulting in low operational convenience. Summary of the invention

[0005] The present application provides a card casting method, device, equipment, storage medium and program product. The technical solution is as follows:

[0006] According to one aspect of an embodiment of the present application, a card casting method is provided, the method comprising:

[0007] Displaying a game application interface, wherein the game application interface displays a first card and a plurality of candidate positions corresponding to the first card;

[0008] In response to a first operation on the first card, displaying a position selection control;

[0009] In response to a second operation on the location selection control, determining the target location from the plurality of candidate locations;

[0010] Play the first card at the target location.

[0011] According to one aspect of an embodiment of the present application, a card placing device is provided, the device comprising:

[0012] An interface display module, used to display a game application interface, wherein the game application interface displays a first card and a plurality of candidate positions corresponding to the first card;

[0013] a control display module, configured to display a position selection control in response to a first operation on the first card;

[0014] a position determination module, configured to determine the target position from the plurality of candidate positions in response to a second operation on the position selection control;

[0015] A card placing module is used to place the first card at the target position.

[0016] According to one aspect of an embodiment of the present application, a terminal device is provided, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the card casting method as described above.

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

[0018] According to one aspect of an embodiment of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the card casting method as described above.

[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0020] Selecting the target position through the position selection control avoids the situation that the user can select the target position without dragging the operation, which helps to simplify the user operation. Since the display range of the position selection control is smaller than the game application interface, the operation distance of the second operation performed on the position selection control is short, which helps to shorten the time required to select the target position and cast the first card to the target position. Moreover, in the case of a long drag distance, using the drag operation to cast the card is not convenient for one-handed operation and the operation is difficult. In this method, the position selection control can be operated with one hand, avoiding the problem that the operation of casting the card is difficult and difficult to operate with one hand. At the same time, the second operation is performed in the position selection control. Compared with the need to drag the card to the target position, in the process of determining the target position, the method has less occlusion on the game application interface due to the user operation, which helps to avoid the situation where the user makes an operation error due to the operation occlusion and the first card is cast in the wrong position. In addition, selecting the target position through the position selection control has low requirements for operation accuracy, and the user does not need to drag the first card to the response area of ​​a candidate position to select the candidate position, which helps to simplify the user operation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 2 is a flow chart of a card casting method provided by an exemplary embodiment of the present application;

[0023] Figure 3 is a schematic diagram of a correspondence between trigger areas and candidate positions provided by an exemplary embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a correspondence between trigger areas and candidate positions provided by another exemplary embodiment of the present application;

[0025] Figure 5 is a schematic diagram of displaying a cancel selection prompt message provided by an exemplary embodiment of the present application;

[0026] Figure 6 is a schematic diagram of a display position of a position selection control provided by an exemplary embodiment of the present application;

[0027] Figure 7 is a schematic diagram of an operating method of a first operation provided by an exemplary embodiment of the present application;

[0028] Figure 8 is a schematic diagram of a display position of a position selection control provided by another exemplary embodiment of the present application;

[0029] Fig. 9 is a schematic diagram showing a deselection control provided by an exemplary embodiment of the present application;

[0030] Fig.10 is a schematic diagram of a method for displaying an indicator element provided by an exemplary embodiment of the present application;

[0031] Fig.11 is a schematic diagram of a method for displaying prompt information provided by an exemplary embodiment of the present application;

[0032] Fig.12 is a schematic diagram of a method for displaying a mapping indicator line provided by an exemplary embodiment of the present application;

[0033] Fig.13 is a schematic diagram of an operating method of a third operation provided by an exemplary embodiment of the present application;

[0034] Fig.14 is a schematic diagram of a method for displaying a first card provided by an exemplary embodiment of the present application;

[0035] Fig.15 is a schematic diagram of a card casting method provided by an exemplary embodiment of the present application;

[0036] Fig.16 is a block diagram of a card placing device provided by an exemplary embodiment of the present application;

[0037] Fig.17 It is a structural block diagram of a terminal device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

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

[0039] Figure 1 1 is a schematic diagram of a solution implementation environment provided by an exemplary embodiment of the present application. The solution implementation environment can be implemented as a computer system, such as an interface display system, a game application system. The solution implementation environment can include: a terminal device 10.

[0040] The terminal device 10 may be an electronic device such as a mobile phone, a tablet computer, a PC (Personal Computer), a multimedia player, a wearable device, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal, etc. In one example, a target application is running in the terminal device 10, and the target application may be a game application, and other applications that can provide game functions. For example, the game application in the terminal device 10 is a card game application. The client of the target application can determine the target position from multiple candidate positions and place the first card at the target position in response to the second operation on the position selection control.

[0041] When the target application is running in the terminal device 10 , the implementation environment of the solution may further include: a server 20 .

[0042] The server 20 can provide background services for the target application running on the terminal device 10. For example, the server 20 can be the background server of the target application. The server 20 can provide the terminal device 10 with a server 20 that can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, domain name services, and artificial intelligence platforms. The server 20 has at least data transmission, storage, and computing functions.

[0043] Next, taking the target application as a card game application as an example, the data transmission process between the terminal device 10 and the server 20 is introduced.

[0044] In one example, after the terminal device 10 places the first card at the target position, the terminal device 10 sends game data to the server 20. Optionally, the game data includes: attribute information of the first card and the target position. The server 20 receives the game data sent by the terminal device 10. The server 20 performs calculations based on the received game data to obtain calculation results, and sends the calculation results to the terminal device 10. The terminal device 10 changes the attribute information of other display elements in the game interface based on the received calculation results.

[0045] In another example, the terminal device 10 performs a calculation based on the attribute information and the target position of the first card, and changes the attribute information of other display elements in the game interface according to the calculation result obtained by the calculation. Optionally, the terminal device 10 can send the calculation result to the server 20. The server 20 receives the calculation result sent by the terminal device 10 and sends the calculation result to a certain terminal device. A client of the target application is installed in a certain terminal device, and the client and the client in the terminal device 10 are in the same game.

[0046] Figure 2 is a flowchart of a card casting method provided by an exemplary embodiment of the present application. For example, the execution subject of the method may be Figure 1 The terminal device 10 in the implementation environment of the solution, for example, the execution subject can be the client of the target application running on the terminal device 10. Figure 2 As shown, the method may include the following steps (210-240):

[0047] Step 210: displaying a game application interface, wherein the game application interface displays a first card and a plurality of candidate positions corresponding to the first card.

[0048] The game application interface is used to display the first card and at least one candidate position corresponding to the first card. In some embodiments, the game application interface is also used to display the game process, that is, in addition to displaying the first card and multiple candidate positions corresponding to the first card, the game application interface also has other display content. For example, if the target application is a card game application, the game application interface also displays game content related to the card game, such as virtual game elements, game scene screens, etc., where the virtual game elements include but are not limited to: the card casting object, the location area with specific functions (such as a fountain with healing function, a defense tower with range attack capability, etc.). The specific content displayed in the game application interface is determined according to the actual use scenario of the card casting method, and this application does not limit it here.

[0049] In some embodiments, the first card is used to change the properties (such as ability properties, forward direction, etc.) of the virtual game elements displayed in the game application interface. In some embodiments, in addition to displaying the first card and at least one candidate position corresponding to it, other cards are also displayed in the game application interface. Optionally, the other cards are of the same or similar type as the first card. For example, the first card, the second card, and the third card are displayed in the game application interface, wherein the first card, the second card, and the third card are all used to affect the properties of certain virtual game elements. In some embodiments, the candidate positions corresponding to the other cards are the same as the candidate positions corresponding to the first object, that is, other objects can also be placed in multiple candidate positions corresponding to the first object.

[0050] The multiple candidate positions corresponding to the first card are used to display or cast the first card. In other words, the candidate position is the casting point of the first card. The candidate position can be a point or an area. The first card is cast at the candidate position to play its role and affect the development of the game plot. The first object can change the properties of all or part of the virtual game elements in the action area corresponding to the candidate position. In some embodiments, the first card can be cast at multiple candidate positions corresponding to any first card. At least one candidate position corresponding to different cards can be the same; at least one candidate position corresponding to different first cards may not be completely the same. For example, the role of the first card A is to affect the properties of the virtual character in the game application interface (such as updating the forward direction of the virtual object), and the role of the first card B is to affect the properties of the location area of ​​a specific function (such as reducing the attack power of the defense tower). Then the action area of ​​the candidate position corresponding to the first card A includes at least one virtual character, and the action area of ​​the candidate position corresponding to the first card B includes at least one location area of ​​a specific function, so the candidate positions corresponding to the first card A and the first card B may not be completely the same.

[0051] In some embodiments, the candidate position corresponding to the first card is determined by the attribute information of the first card. The attribute information of the first card includes at least one of the following: the display size of the first card, the type of the first card, the object of action of the first card, etc. In some embodiments, the terminal device determines the corresponding candidate position according to the object of action of the first card, and the terminal device can also determine the candidate position corresponding to the first card according to the type of the first card. In some embodiments, in addition to determining at least one candidate position corresponding to the first card according to the attribute information of the first card, at least one candidate position can also be determined according to other information other than the content displayed in the game application interface. For example, the terminal device determines at least one candidate position corresponding to the first card in a certain stage according to the user's decision at different stages of the card game game. Assuming that the user's decision in a certain stage is to attack, the terminal device determines at least one position point in the game application interface that is suitable as an attack point as a candidate position.

[0052] Step 220: Display a position selection control in response to a first operation on a first card.

[0053] The terminal device displays a position selection control in response to a first operation on a first card. The first operation includes at least one of the following: click, long press, slide, gesture, voice, etc., which is not limited in this application. In some embodiments, the first operation is to long press the first card. After the terminal device recognizes the long press operation on the first card, the position selection control is displayed in the game application interface. In some embodiments, the terminal device determines whether the user has performed a long press event by detecting the duration of the long press event. For example, the specific algorithm for the terminal device to determine whether a long press event occurs is: record the time point t0 when the user presses the screen, and the time point t1 when the user releases the screen; calculate the long press screen duration t, where t=t1-t0; when t is greater than or equal to N seconds (N is a positive integer), the terminal device determines that a long press operation on the first card has been recognized. The size of N is determined by presetting, for example, N=2 is pre-set.

[0054] The position selection control is used to determine the target position corresponding to the first card. In some embodiments, the position selection control includes at least one trigger area. There is a corresponding relationship between the trigger area and the candidate position. In some embodiments, one trigger area corresponds to only one candidate position, but different trigger areas can correspond to the same candidate position. For example, the candidate positions displayed on the game application interface include: candidate position 1, candidate position 2, candidate position 3, and the direction indication control includes 4 trigger areas, namely trigger area 1, trigger area 2, trigger area 3 and trigger area 4. The candidate position corresponding to trigger area 1 is candidate position 2, the candidate position corresponding to trigger area 2 is candidate position 3, the candidate position corresponding to trigger area 3 is candidate position 1, and the candidate position corresponding to trigger area 4 is candidate position 2. In other words, the candidate position corresponding to a certain trigger area can be indirectly selected through the trigger area in the position selection control and the corresponding relationship between the trigger area and the candidate position.

[0055] In some embodiments, the display size of the position selection control can be determined by presetting or can be customized by the user. Optionally, the terminal device determines the display size of the position selection control with reference to the straight-line distance between the first card and the nearest candidate position. For example, the display size of the position selection control is smaller than the straight-line distance, or is close to the straight-line distance. In this case, the operation distance for the user to perform the second operation on the position selection control is shorter than the moving distance of directly dragging the first control to any candidate position, which helps to shorten the time it takes for the user to complete the card casting operation. The position selection control includes but is not limited to the roulette form and the button form. In some embodiments, the position selection control can be of any shape, such as a circle, a sector, a rectangle, etc. The display shape of the position selection control can be determined according to the actual display content in the game application interface, or it can be set by the user, and this application is not limited here.

[0056] In some embodiments, the position selection control is displayed on the upper layer of the first card. The position selection control can be displayed at any position in the game application interface. In order to reduce the occlusion of other display information in the game application interface caused by the display position selection control, the terminal device can display the position selection control at a position in the game application interface where there is no other display information. In other embodiments, the terminal device can adjust the display transparency of the position selection control so that the position display control does not completely cover other display information in the game application interface, so as to reduce the occlusion of other display information in the game application interface caused by the display position selection control. For details on determining the display position of the position selection control in the game application interface, please refer to the embodiments below.

[0057] Step 230 , in response to a second operation on the location selection control, determining a target location from a plurality of candidate locations.

[0058] In some embodiments, the second operation includes but is not limited to operations such as clicking, long pressing, sliding, gesture, and voice on the position selection control. In some embodiments, the operation method of the second operation is related to the display form of the position selection control. For example, when the display form of the position selection control is a roulette wheel, the second operation for the position selection control is to perform a continuous sliding operation within the identifiable area of ​​the position selection control. For another example, when the display form of the position selection control is a plurality of continuously arranged buttons, the second operation for the position selection control is to click a certain button, or to slide a plurality of continuously arranged buttons.

[0059] In some embodiments, the terminal device determines the target position in the first card in response to the second operation on the position selection control. For the specific process of determining the target position from multiple candidate positions according to the second operation, please refer to the following embodiments.

[0060] Step 240, place the first card at the target position.

[0061] In some embodiments, after determining the target position from multiple candidate positions through the second operation, the terminal device places the first card at the target position, so that the first card plays a role in the action area of ​​the target position, completing the first card placement process.

[0062] In summary, selecting the target position through the position selection control avoids the situation that the user cannot select the target position without dragging, which helps to simplify the user operation. Since the display range of the position selection control is smaller than the game application interface, the operation distance of the second operation performed on the position selection control is short, which helps to shorten the time required to select the target position and cast the first card to the target position. Moreover, in the case of a long drag distance, using the drag operation to cast the card is not convenient for one-handed operation and the operation is difficult. In this method, the position selection control can be operated with one hand, avoiding the problem that the operation of casting the card is difficult and difficult to operate with one hand. At the same time, the second operation is performed in the position selection control. Compared with the need to drag the card to the target position, in the process of determining the target position, the method has less occlusion on the game application interface due to the user operation, which helps to avoid the situation where the user makes an operation error due to the operation occlusion and the first card is cast in the wrong position. In addition, selecting the target position through the position selection control has low requirements for operation accuracy, and the user does not need to drag the first card to the response area of ​​a candidate position to select the candidate position, which helps to improve the convenience of operation.

[0063] The process of determining the target position is introduced and illustrated below through several embodiments.

[0064] In some embodiments, determining the target position from multiple candidate positions includes: the terminal device determines a target trigger area that matches the attribute information of the second operation from multiple trigger areas corresponding to the position selection control; the terminal device determines the candidate position corresponding to the target trigger area from the multiple candidate positions as the target position.

[0065] The trigger area refers to the area in the position selection control for responding to the second operation. In some embodiments, the position selection control corresponds to at least one trigger area for responding to the second operation. For example, the position selection control corresponds to two trigger areas, and the position selection control is divided vertically, wherein the left part obtained after the division corresponds to trigger area 1, and the right part corresponds to trigger area 2. In some embodiments, the one-to-one correspondence between multiple trigger areas and multiple candidate positions means that there is a corresponding candidate position for each trigger area. At the same time, one trigger area can only correspond to one candidate position, and one candidate position can only correspond to one trigger area. It can be seen that the number of candidate positions displayed in the game application interface is equal to the number of trigger areas corresponding to the position selection control.

[0066] In some embodiments, the correspondence between the trigger area and the candidate position is pre-set. To facilitate the user to determine the correspondence between the trigger area and the candidate position, the correspondence between the trigger area and the candidate position can be determined based on the correspondence between the trigger area and the position selection control, and the distribution of the candidate positions in the game application interface. Figure 3 As shown, it shows a correspondence between a trigger area and a candidate position, wherein the position selection control 310 corresponds to three trigger areas, and the game application interface displays three candidate areas of the first card. Figure 3 As shown, the three trigger areas are the first trigger area 311, the second trigger area 312 and the third trigger area 313 from left to right; the three candidate areas are the first candidate position 321, the second candidate position 322 and the third candidate position 323 from left to right. Then, according to the distribution relationship between the trigger areas and the candidate positions, it can be determined that the leftmost trigger area in the position selection control 310 corresponds to the leftmost candidate position in the game application interface, and so on, that is, the correspondence between the above three trigger areas and the three candidate positions is: the first trigger area 311 corresponds to the first candidate position 321, the second trigger area 312 corresponds to the second candidate position 322, and the third trigger area 313 corresponds to the third candidate position 323.

[0067] In some embodiments, the corresponding relationship between the trigger area and the candidate position is determined by the user. The user can adjust the corresponding relationship between the trigger area and the candidate position according to the operating habits. Figure 4, which shows another correspondence between trigger areas and candidate positions, wherein the position selection control 410 includes 4 trigger areas, and 4 candidate positions are displayed in the game application interface. Figure 4 As shown, the four trigger areas are distributed in a cross shape according to the plane quadrant distribution, and the four trigger areas are the first trigger area 411, the second trigger area 412, the third trigger area 413 and the fourth trigger area 414; the four candidate positions are the first candidate position 421, the second candidate position 422, the third candidate position 423 and the fourth candidate position 424. The user can pre-set a specific correspondence according to the operation habit, and the terminal device determines the correspondence between the four trigger areas and the four candidate positions according to the above specific correspondence: the first trigger area 411 corresponds to the first candidate position 421, the second trigger area 412 corresponds to the second candidate position 422, the third trigger area 413 corresponds to the fourth candidate position 424, and the fourth trigger area 414 corresponds to the third candidate position 423.

[0068] The attribute information of the second operation is used to describe information related to the second operation performed in the location selection control. The attribute information of the second operation includes at least one of the following: starting position point, ending position point, moving distance, direction information, starting time, ending time, and duration. Among them, the starting position point refers to the starting point where the second operation starts in the location selection control. The ending position point refers to the position point where the second operation ends in the location selection control, or the position point that triggers the second operation. The direction information refers to the triggering direction of the second operation in the location selection control. For example, if the terminal device detects that a second operation is vertically pointing to the lower edge of the game application interface, the terminal device determines that the direction information of the second operation is downward. In some embodiments, the direction information can also be determined based on the relative position relationship between the starting position point and the ending position point. For example, if the ending position point is above the starting position point, the direction information of the second operation is upward. The starting time refers to the time when the terminal device recognizes the second operation. The ending time refers to the time when the terminal device recognizes the end of the second operation, for example, the terminal device determines the time when the user's finger leaves the location selection control as the ending time.

[0069] In some embodiments, the attribute information of the second operation includes at least a trigger position point. The trigger position point refers to the position point at which the terminal device responds to the second operation. The trigger position point may be an end position point. For example, after the terminal device recognizes that the user performs the second operation on the position selection device, the position point at which the user's finger leaves the screen is used as the trigger position point. The terminal device determines the target position from at least one candidate position corresponding to the first card according to the end position point of the second operation. The trigger position point may also be the position point corresponding to when the user completes the second operation once.

[0070] In some embodiments, there is a one-to-one correspondence between the multiple triggering areas and the candidate positions. Therefore, after the target triggering area is determined according to the second operation, the candidate position corresponding to the target triggering area can be directly determined as the target position.

[0071] In other embodiments, there is no one-to-one correspondence between the trigger area and the candidate position, and the candidate position corresponding to the target trigger area cannot be directly used as the target position. For a method of determining the target position when there is no one-to-one correspondence between the trigger area and the candidate position, please refer to the following embodiment.

[0072] In some embodiments, the terminal device determines a target trigger area that matches the attribute information of the second operation from multiple trigger areas corresponding to the position selection control, including: determining the coordinate information of the trigger position point of the second operation based on the attribute information of the second operation, the coordinate information including the horizontal coordinate and the vertical coordinate of the trigger position point; determining a first trigger area set from multiple trigger areas according to the horizontal coordinate of the trigger position point; wherein each trigger area in the first trigger area set has at least one position point whose horizontal coordinate is the same as the horizontal coordinate of the trigger position point; determining a second trigger area set from multiple trigger areas according to the vertical coordinate of the trigger position point; wherein each trigger area in the second trigger area set has at least one position point whose vertical coordinate is the same as the vertical coordinate of the trigger position point; taking the intersection of the first trigger area set and the second trigger area set to determine the target trigger area. Below, taking the position selection control corresponding to 3 trigger areas and the second operation being a finger sliding operation as an example, the process of the terminal device determining the target trigger area that matches the attribute information of the second operation from multiple trigger areas corresponding to the position selection control is introduced. In this case, there is a one-to-one correspondence between multiple trigger areas and multiple candidate positions.

[0073] Coordinate information of the trigger position point = (coordinate information of the trigger position point on the x-axis, coordinate information of the trigger position point on the y-axis).

[0074] The position selection control corresponds to three trigger areas, namely the left area, the middle area and the right area.

[0075] in:

[0076] The left area of ​​the location selection control includes: the boundary of the left area of ​​the location selection control (i.e., each coordinate point constituting the boundary), and the boundary of the inner and outer areas of the left area formed by extending along the edge lines on the left and right sides of the boundary of the left area of ​​the location selection control with the center point of the location selection control as the origin until the edge of the game application interface;

[0077] The middle area of ​​the position selection control includes: the boundary of the middle area of ​​the position selection control (i.e., each coordinate point constituting the boundary), and the boundary of the inner and outer areas of the roulette wheel formed by extending along the edge lines on the left and right sides of the boundary of the middle area in the position selection control with the center point of the position selection control as the origin until the edge of the game application interface;

[0078] The right area of ​​the position selection control includes: the boundary of the right area of ​​the position selection control (that is, each coordinate point constituting this boundary), and the boundary of the inner and outer areas of the roulette wheel formed by extending along the edge lines on the left and right sides of the boundary of the right area inside the roulette wheel with the center point of the position selection control as the origin until the edge of the game application interface.

[0079] In some embodiments, the terminal device detects and determines the moving position of the second operation through the boundaries corresponding to each trigger area obtained as described above.

[0080] If the horizontal coordinate and the vertical coordinate of the trigger position point of the second operation are both within the boundary of the left area of ​​the position selection control (that is, each coordinate point constituting this boundary), the moving position detection of the second operation is determined to be passed;

[0081] Alternatively, if the horizontal coordinate and the vertical coordinate of the trigger position point of the second operation are both within the boundary of the middle area of ​​the position selection control (that is, each coordinate point constituting this boundary), the moving position detection of the second operation is determined to be passed;

[0082] Alternatively, if the horizontal coordinate and the vertical coordinate of the trigger position point of the second operation are both within the boundary of the right area of ​​the position selection control (that is, each coordinate point constituting this boundary), the moving position detection of the second operation is determined to be passed;

[0083] Alternatively, if the horizontal coordinate and the vertical coordinate of the trigger position point of the second operation cannot be distributed in the same trigger area at the same time, the mobile position detection of the second operation is judged to be unsuccessful. For example, if a trigger position point is on the boundary shared by the left area and the middle area, the terminal device determines that the mobile position detection of the second operation corresponding to the trigger position point is unsuccessful.

[0084] In some embodiments, the terminal device determines a first trigger area set based on the horizontal coordinate of the trigger position point of the second operation, wherein each trigger area in the first trigger area set has at least one position point whose horizontal coordinate is the same as the horizontal coordinate of the trigger position point. The terminal device determines a second trigger area set based on the vertical coordinate of the trigger position point of the second operation; wherein each trigger area in the second trigger area set has at least one position point whose vertical coordinate is the same as the vertical coordinate of the trigger position point. The terminal device takes the intersection of the first trigger area set and the second trigger area set to determine the target trigger area. For example, the first trigger area set includes trigger area 1 and trigger area 2; the second trigger area set includes trigger area 2 and trigger area 3. Since both the first trigger area set and the second trigger area set include trigger area 2, the terminal device uses trigger area 2 as the target trigger area.

[0085] In the following, when the trigger area and the candidate area do not correspond one-to-one, for example, the trigger area corresponds to multiple candidate locations, a method for determining the target location is introduced.

[0086] In some embodiments, a target position is determined based on a candidate position corresponding to a target trigger area among a plurality of candidate positions, including: in a case where the number of candidate positions corresponding to the target trigger area is more than one, in response to a third operation on a position selection control, determining the target position from more than one candidate positions according to attribute information of the third operation.

[0087] In some embodiments, there is more than one candidate position corresponding to a trigger area, that is, the number of candidate positions displayed on the game application interface is not equal to the number of trigger areas corresponding to the position selection control. For example, the number of candidate positions is greater than the number of trigger areas. In this case, the terminal device can first partition the candidate positions to obtain candidate partitions equal to the number of trigger areas, wherein any candidate partition includes at least one candidate position. In other words, the candidate positions corresponding to a trigger area belong to the same candidate partition, and more than one candidate position corresponding to the trigger area can be collectively referred to as a candidate partition. For example, the position selection control corresponds to a trigger area, and b candidate positions are displayed in the game application interface. The terminal device divides the above b candidate positions into a candidate partitions, where a and b are positive integers, and b>a. In some embodiments, there are at least two candidate partitions with the same number of candidate positions. For example, according to the previous embodiment, the first a-1 candidate partitions include [b / a] candidate positions ("[]" is a rounding symbol), and the a-th candidate partition includes bmoda candidate positions ("mod" is a remainder symbol). In other embodiments, the terminal device divides the game application interface into c areas, and all target locations displayed in a certain area belong to the same candidate partition.

[0088] In some embodiments, in order to reduce the number of times the user repeats the second operation, the number of candidate positions in the candidate partition is less than or equal to the number of trigger areas corresponding to the position selection control, that is, the total number of more than one candidate positions corresponding to a certain trigger area is less than the total number of trigger areas in the position selection control. For example, 15 candidate positions are displayed in the game application interface, and 4 trigger areas correspond to the position selection control. Then the terminal device can divide the 15 candidate positions into 4 candidate partitions, namely the first candidate partition, the second candidate partition, the third candidate partition and the fourth candidate partition. Among them, there are 4 candidate positions in the first candidate partition, the second candidate partition and the third candidate partition respectively, and the fourth candidate partition includes 3 candidate positions. Through the above method, no matter which candidate position of the 15 candidate positions the user wants to determine as the target candidate position, only 2 operations are required for the position selection control (the second operation for the position selection control and the third operation for the position selection control). In some embodiments, after partitioning the candidate positions, the terminal device establishes a corresponding relationship between the candidate partitions and the trigger areas. Please refer to the above embodiment for the specific process.

[0089] The terminal device responds to the third operation on the location selection control, and determines the target location from more than one candidate location according to the attribute information of the third operation. In some embodiments, the operation method of the third operation is similar to that of the second operation. For example, the second operation and the third operation are both sliding operations at the display position of the location selection control. In another embodiment, the second operation and the third operation refer to different operations. For example, when the second operation is sliding at the display position of the location selection control, the third operation can be clicking on any trigger area in the location selection control.

[0090] In the case where there is a one-to-one correspondence between the trigger area and the candidate partitions, the terminal device determines the target partition according to the attribute information of the second operation, that is, the terminal device determines more than one candidate position corresponding to the target trigger area according to the attribute information of the second operation. After determining the target partition, the user can perform a third operation on the position selection control. In response to the user's repeated third operation, the terminal device determines the target position in the target partition according to the attribute information of the third operation. In some embodiments, the method for determining the target partition according to the attribute information of the second operation is similar to the method for determining the target position according to the attribute information of the second operation, and the method for determining the target position according to the attribute information of the third operation is also similar to the method for determining the target position according to the attribute information of the second operation. Please refer to the above embodiments for details.

[0091] In this embodiment, the number of trigger areas is less than the number of target position areas. In this case, there are a large number of candidate positions in the game application interface where the first object can be placed, and in order not to block the screen, the display size of the position selection control is limited. If the terminal device directly establishes a one-to-one correspondence between the candidate positions and the trigger areas, it may cause some trigger areas to be smaller in size, which is inconvenient for the user to perform the second operation on the position selection control to select the target position. By making the trigger area correspond to more than one candidate position when performing the second operation, and determining the target candidate position from more than one candidate position determined by the second operation through the third operation, on the one hand, there is no need to change the size of the trigger area according to the number of candidate positions, which helps to reduce the amount of calculation of the terminal device; on the other hand, it is conducive to the user to correctly select the target position through the second operation and the third operation of the position selection control, making the operation of selecting the target position more convenient and quick.

[0092] The above two embodiments introduce a method of determining a target trigger area by a target trigger position point of a second operation and determining a target position based on the target trigger area. In other embodiments, the terminal device determines the target position according to a motion attribute of the second operation.

[0093] The terminal device displays a position selection control on the game application interface in response to a first operation on the first card. Optionally, the terminal device determines an initial position from at least one candidate position, and the initial position belongs to at least one candidate position. Subsequently, the terminal device determines a target position in response to a second operation on the position selection control.

[0094] In some embodiments, the terminal device determines the target position in response to the second operation on the position selection control, including: determining the target position when the second operation satisfies the motion condition.

[0095] The motion condition refers to a motion distance in a certain motion direction that is greater than or equal to a distance threshold. In some embodiments, the terminal device detects the motion distance and motion direction of the second operation. When the motion distance of the second operation along a certain motion direction exceeds the distance threshold, the terminal device determines the target position in at least one candidate position according to the motion direction of the second operation. For example, the terminal device uses the candidate position pointed to by the motion direction of the second operation as the target position. For another example, after determining that the second operation meets the motion condition, the terminal device determines the target position from at least one candidate position according to the first direction. Assuming that at least one candidate position does not overlap on the game application interface, that is, the horizontal coordinate (or vertical coordinate) of at least one candidate position is not repeated, then at least one candidate position can be arranged according to the horizontal coordinate (or vertical coordinate) of the candidate position (such as arranged from large to small according to the horizontal coordinate of the candidate position). After the second operation meets the motion condition, the target position is determined in at least one candidate position in the order of the horizontal coordinate from large to small.

[0096] Optionally, the second operation is a sliding operation performed in the position selection control. When the position selection control is pressed, that is, the user's finger does not leave the position selection control, the terminal device can determine in real time whether the second operation meets the motion condition. When the second operation meets the motion condition, the terminal device continuously re-determines the target position among the candidate positions.

[0097] In some embodiments, when the second operation satisfies the first condition, the terminal device cancels determining the target location from multiple candidate locations.

[0098] In some embodiments, the first condition is a sliding operation. The terminal device determines whether to cancel the determination of the target position from multiple candidate positions by detecting the downward sliding distance of the second operation. In some embodiments, the terminal device determines whether the second operation is a downward sliding operation through the attribute information of the second operation. Affected by the operation accuracy, during the user's second operation, the downward sliding detected by the terminal device is not necessarily a sliding operation completely in the -90° direction, so the downward sliding can be a sliding operation with a sliding angle within the sliding range of (-90°+e°, -90°-f°), where e and f are positive numbers. In some embodiments, the terminal device determines the direction information of the second operation based on the attribute information of the second operation. If the value corresponding to the direction information of the second operation belongs to the above sliding range, the terminal device determines that the second operation belongs to a downward sliding. If the value corresponding to the direction information of the second operation does not belong to the above sliding range, the terminal device determines that the second operation does not belong to a downward sliding.

[0099] In some embodiments, the terminal device determines the coordinate information of the trigger position point of the second operation through the attribute information, and compares the positional relationship between the coordinate information of the trigger position point and the coordinate information of the center point of the position selection control to determine whether to cancel the determination of the target position from multiple candidate positions. If the ordinate of the trigger point is less than the ordinate of the center point of the position selection control, it means that the trigger position point of the second operation is at the center of the position selection control, and the terminal device determines that the second operation belongs to a sliding operation through the above-mentioned direction information that it is sliding downward. Optionally, the terminal device cancels the display of determining the target position from multiple candidate positions. If the ordinate of the trigger point is greater than or equal to the ordinate of the center point of the position selection control, it means that the second operation does not belong to a sliding operation, and the terminal device determines the target position corresponding to the second trigger point according to the attribute information of the trigger point of the second operation, and casts the first card to the target position.

[0100] In some embodiments, before canceling the determination of the target location from multiple candidate locations, the terminal device displays a cancel selection prompt message on the game application interface. Optionally, the terminal device displays the cancel selection prompt message at the display position of the first card. Figure 5 As shown, when the attribute information of the second operation meets the condition, the terminal device displays a cancel selection prompt message 515 at the display position of the first card 510 to prompt the user that the second operation is a cancel selection operation. By displaying the cancel selection prompt message, the user can timely understand the attribute information of the second operation, so as to timely adjust the direction, range, etc. of the second operation.

[0101] In some embodiments, the terminal device cancels the display of the location selection control when the second operation satisfies the first condition.

[0102] Optionally, the terminal device determines the timing of canceling the display position selection control by judging whether the attribute information of the second operation satisfies the first condition. By adding the cancel display position selection control, after the user determines the target position through the second operation of the position selection control, the determination of the target position can be canceled. In the case where the user changes the strategy in time according to the actual situation in the game application interface, the second operation can be changed in time with the change of the user strategy, thereby improving the flexibility of the second operation.

[0103] The following is an introduction and explanation of the method for determining the display position of the position selection control.

[0104] In some embodiments, the terminal device displays a position selection control, including: the terminal device determines a display position of the position selection control based on a display position of the first card; and the terminal device displays the position selection control at the display position of the position selection control.

[0105] Before displaying the position control, the terminal device needs to determine the display position of the first card. In some embodiments, the terminal device can determine the display position of the first card according to the first operation performed on the first card. For example, the first operation on the first card is a long press operation, and the terminal device can determine the display position of the first card according to the trigger point of the long press operation. In other embodiments, the terminal device determines the display position of the first card by retrieving the display data of the first card. For example, the display data of the first card includes the display coordinates of the center point of the first card. The terminal device can determine the display position of the first card according to the display coordinates of the first card and the display size of the first card. It should be noted that the display position of the first card can be the coordinates of any display point of the first card, for example, the display position of the first card refers to the display position of the first card at the center point; it can also be the display range of the first card in the game application interface, that is, the display position of the first card includes the coordinates corresponding to multiple display points in the first card.

[0106] In some embodiments, the first operation and the second operation are consecutive operations.

[0107] Continuous operation means that the user's finger does not leave the screen between the first operation and the second operation. The user's finger does not need to leave the screen, so that the first operation and the second operation can be performed more smoothly. After performing the first operation, the user does not need to change the position where the finger contacts the screen, or can directly perform the second operation by sliding the finger to the position selection control. Optionally, the terminal device can display the position selection control at the display position of the first card, so that the user can immediately operate the position selection control after performing the first operation. Through the above method, it is convenient for the user to directly move the finger to the position selection control (or not move) with reference to the finger contact point for the first operation, which reduces the difficulty of switching from the first operation to the second operation and helps to improve the accuracy of the second operation.

[0108] In some embodiments, by controlling the distance between the display position of the position selection control and the display position of the first card to be less than or equal to the first threshold, the operation interval between the first operation and the second operation can be shortened, and the necessity of the finger leaving the screen between the first operation and the second operation can be reduced, so that the first operation and the second operation become continuous operations. After determining the display position of the first card, the terminal device determines the display position of the position selection control based on the display position of the first card. In some embodiments, the terminal device determines the display position of the position selection control according to the display position of the first card and the first threshold. For example, the display position of the first card refers to the display coordinates of the center point of the first card, specifically (x0, y0), and the first threshold is 20 pixels. Then the optional area of ​​the display position of the position selection control determined by the terminal device according to the display position of the first card and the first threshold is (x-x0) 2 +(y-y0) 2 =400. Optionally, (x, y) is the display coordinate of the center point of the position selection control. The first threshold may be preconfigured, and the specific value of the first threshold is determined according to the specific method of the first operation and the second operation, which is not limited in this application. In particular, the value of the first threshold is equal to 0, that is, the terminal device displays the position selection control at the display position of the first object in response to the first operation.

[0109] like Figure 6 , which shows a display position of a position selection control. In some embodiments, the display position of the position selection control 620 does not exceed the display position of the first card 610. For example, the position selection control 620 is displayed on the upper layer of the first card 610. In some embodiments, in response to a first operation on the first card 610, the terminal device displays the position selection control 620 within a range less than a first threshold from the display position of the first card 610. For example, the first operation is a long press operation, such as Figure 7 As shown, a method for operating a first operation is shown, in which a long press operation is performed at the display position of the first object 710 to select the first object 710; the second operation is a sliding operation. In response to the user performing a long press operation on the first card, the terminal displays a position selection control at a position where the distance from the display position of the first card is less than a first threshold. At this time, the user does not need to remove the finger, or only needs to slightly move the finger to perform a sliding operation on the position selection control.

[0110] By controlling the distance between the display position of the position selection control and the display position of the first card to be less than or equal to the first threshold, on the one hand, after the user performs the first operation on the first card, there is no need to make a large change in the operation position (even at the trigger position point of the first operation), and the second operation can be performed on the position selection control, thereby increasing the continuity between the first operation and the second operation, and helping to simplify the operation steps of the card casting method; on the other hand, it helps to reduce the occlusion of other display information in the game application interface by the position selection control displayed on the game application interface, and avoid the user missing important game information due to the display of the position selection control on the game application interface and the second operation of the user on the position selection control.

[0111] In some other embodiments, the first operation and the second operation are non-continuous operations.

[0112] A non-continuous operation means that the user's finger leaves the screen between the first operation and the second operation. Optionally, in this case, the user can use two hands to perform the first operation and the second operation respectively, for example, use the left hand to perform the first operation and the right hand to perform the second operation, so that the first operation and the second operation are non-continuous operations, increasing the rhythm of the operation. In addition, in the case of using both hands to perform the first operation and the second operation respectively, both hands of the user can participate in the card casting process, which helps to improve the comfort of the operation. In some embodiments, the terminal device controls the distance between the display position of the position selection control and the display position of the first card so that the distance is greater than or equal to the second threshold, so that the first operation and the second operation are non-continuous operations.

[0113] In some embodiments, the second threshold is greater than or equal to the first threshold. Figure 8 As shown, another display position of the position selection control is shown. In some embodiments, the first card 810 is displayed on one side of the game application interface, and the position selection control 820 is displayed on the other side of the game application interface. Figure 8 , the first card 810 is displayed on the left side of the game application interface, and the position selection control 820 is displayed on the right side of the game application interface. In this case, in addition to helping to avoid the display of the position selection control in the game application interface blocking other information displayed in the game application interface, it will not block the first card. Before the user completes the second operation, it can confirm whether to place the first card based on the attribute information of the first card displayed in the game application interface. This avoids the situation where an error occurs in the first operation on the first card, resulting in the misselection of other cards displayed in the game application interface. In addition, in this embodiment, the first operation on the first card and the second operation on the position selection control can be operated with both hands to improve the comfort of the operation.

[0114] In some embodiments, when the second operation satisfies the display condition, the terminal device displays a cancel selection control on the user display interface. Fig. 9 As shown, after the terminal device recognizes that the second operation meets the display condition, it displays a cancel selection control 925 in the upper right corner of the position selection control 920. After the user slides from the position selection control 920 to the cancel selection control 925, the terminal device cancels the selection of the first card 910 from the plurality of candidate cards 940.

[0115] The following is an introduction and description of a method for improving the correctness of the first operation and the second operation. In some embodiments, a plurality of indicator elements are displayed in the position selection control, and the plurality of indicator elements correspond to the plurality of candidate positions one by one; the method further includes: the terminal device displays a target indicator element corresponding to the target position in the plurality of indicator elements, and other indicator elements in the plurality of indicator elements except the target indicator element, differentiated from each other.

[0116] The indicator element is used to indicate the target trigger area in the position selection control. In some embodiments, multiple indicator elements can be displayed at the edge of the position selection control or at the center of the position selection control. Fig.10 As shown, a method for displaying an indicator element is shown. Among them, the indicator element 1022 is displayed on the edge of the position selection control 1020. In some embodiments, since there is a one-to-one correspondence between multiple trigger areas and multiple candidate positions, and there is a one-to-one correspondence between multiple indicator elements and multiple candidate positions, there is also a one-to-one correspondence between multiple trigger areas and multiple indicator elements. In some embodiments, when the trigger position point of the second operation belongs to a certain trigger area, the trigger area is the target trigger area, and the corresponding candidate position is the target position, and the indicator element corresponding to the target position is the target indicator element. For example, indicator element 1 corresponds to candidate position a, and trigger area 1 corresponds to candidate position a, then there is a corresponding relationship between indicator element 1 and trigger area 2.

[0117] The terminal device displays the target indicator element and other indicator elements in a differentiated manner. The differentiated display methods include but are not limited to text differentiated display, color differentiated display, brightness regional display, pattern differentiated display, and animation differentiated display. Fig.10 As shown, a method for displaying an indication element is shown, wherein the display size of a target indication element 1023 in a position selection control 1020 is different from that of other indication elements 1022 .

[0118] In some cases, when the user performs the second operation on the target selection control, the finger will block part of the content in the target selection control. By displaying multiple indicator elements corresponding to the trigger area in the position selection control, and distinguishing and displaying other indicator elements other than the target indicator element, the user can determine the target trigger area and target position of the second operation through the differentiated target indicator element. In some embodiments, the indicator element corresponding to the trigger area is displayed above the trigger area. By distinguishing and displaying the target indicator element, a direction indication for adjusting the trigger point position of the second operation can be provided. For example, the position selection control includes 3 trigger areas (trigger area 1, trigger area 2 and trigger area 3) and 3 indicator elements (indicator element 1, indicator element 2 and indicator element 3), and the 3 trigger areas are arranged from left to right, and the indicator elements are displayed above the corresponding trigger areas. When the trigger position point of the second operation belongs to the trigger area 2, the terminal device displays the indicator element 2 in a differentiated manner, for example, the terminal device increases the display brightness of the indicator element 2. If the target position that the user expects to select is located on the left side of the candidate position corresponding to the trigger area 2, according to the differentiated display of the indicator element 2, the user can move the finger to the left so that the trigger position point of the second operation belongs to the trigger area 1. The terminal device differentiates and displays the indicator element 1 based on the adjusted second operation, and cancels the differentiated display of the indicator element 2, so that the adjusted second operation can select the target position desired by the user. By displaying multiple indicator elements in the position selection control, it is possible to provide indicator information when the user performs the second operation on the position selection control, and assist the user in identifying the target trigger area and the target position corresponding to the second operation. In addition, the terminal device can differentiate and display the target indicator element at the trigger position point where the user performs the second operation in the position selection control, which helps to enhance the user's sense of interaction when performing the second operation.

[0119] In some embodiments, the terminal device displays prompt information in the game application interface, and the prompt information is used to prompt the target position determined by the second operation. Optionally, the display form of the prompt information includes but is not limited to: changing the display form of the target position, displaying the target position in a differentiated manner; displaying corresponding schematic information of the first card and the target position in the game application interface, such as a prompt icon; displaying prompt text, icons, etc.

[0120] In some embodiments, after the terminal device determines the target location from multiple candidate locations, it also includes: displaying the target location separately from other candidate locations among the multiple candidate locations except the target location.

[0121] Methods for distinguishing the target location from other candidate locations include, but are not limited to, color, brightness, graphics, and text. The method for distinguishing the display is determined according to the actual situation and is not limited in this application. Fig.10 As shown, the terminal device displays a circular mark 1032 on the periphery of the target position 1030 to differentiate the target position from other candidate positions among multiple candidate positions except the target position.

[0122] In some embodiments, in order to enhance the prompt effect of the prompt information, the prompt information may be an icon of the first card pointing to the target position, for example, the prompt information may be a parabola, an arrow mark, etc. pointing from the first card to the target position. Fig.10 As shown, one display form of the prompt information 1040 is an arrow pointing from the first card to the target position.

[0123] In some embodiments, the prompt information changes as the second operation changes. Fig.11 As shown, after selecting the first object 1110, the target area corresponding to the second operation is the trigger area 1, and the corresponding target position is the first candidate position 1130. The user moves the finger in the position selection control 1120, so that the target area corresponding to the second operation changes, and the target area becomes the trigger area 3, and the corresponding target position becomes the third candidate position 1132. When the user changes the target area through the second operation, the indication information 1140 can change in real time with the change of the target position. In other embodiments, the prompt information does not change with the change of the second operation, and the terminal device displays the prompt information on the game application interface after determining the target position through the second operation.

[0124] In some embodiments, in response to a first operation on a first card, a mapping indicator line is displayed in the game application interface. Fig.12 As shown, the terminal device responds to the first operation on the first card 1210 and displays a mapping indicator line 1220 in the game application interface. In some embodiments, the terminal device responds to the fifth operation on the first card and changes the candidate position pointed to by the mapping indicator line. The fifth operation on the first card is to change the trigger position point of the second operation in a small range in the display position of the first card, such as sliding the finger in a small range in the display position of the first card. In some embodiments, after the second operation exceeds the display range of the first card, the terminal device cancels the determination of the target position from multiple candidate positions.

[0125] This embodiment provides a method for replacing a position selection control with a mapping indicator line, whereby the mapping indicator line displayed in the game application interface causes less obstruction to the game application interface.

[0126] In some embodiments, after the terminal device determines the target position from multiple candidate positions, the method further includes: in response to a fourth operation on a second card displayed in the game application interface, displaying a position selection control, and the target position is in a selected state.

[0127] In some embodiments, the second card refers to a displayed card displayed in the game application interface and can be cast to at least one candidate position corresponding to the first card. After selecting the target position, the user can change the card to be cast at the target position. If the user only needs to change the first card without changing it, by continuing the fourth operation on the second card, the user can directly select the second card and determine the target position corresponding to the first card as the target position corresponding to the second card. Further, the user can cast the second card to the target position without reselecting the same target position after selecting the second card.

[0128] In some embodiments, after the terminal device determines the target position corresponding to the first card from at least one candidate position, the terminal device displays a position selection control in response to the fourth operation on the second card. Optionally, the display position of the position selection control can be determined according to the display position of the second card. For specific methods, please refer to the above embodiments. In some embodiments, when the target position is in a selected state, the terminal device responds to the sixth operation on the second card to cast the second card at the target position. In some embodiments, the terminal device responds to the seventh operation on the position selection control to re-determine the second corresponding target position from at least one candidate position. Optionally, the target position determined by the seventh operation on the position selection control can be the same as or different from the target position selected by the fourth operation on the second card. In some embodiments, the second operation and the seventh operation on the position selection control are operations of the same type. By responding to the fourth operation on the second card, the step of reselecting the target position is reduced, which helps to reduce redundant steps in the process of casting the target card (the target card is the first card or the second card after the fourth operation), making the process of casting the target card more concise.

[0129] like Fig.13 , which shows a schematic diagram of the fourth operation on the second card. The fourth operation may be a sliding operation from the first card 1310 to the second card 1320, or the fourth operation may also be a long press operation on the second card 1320, etc.

[0130] In some embodiments, after displaying the position selection control, it also includes: the terminal device uses the recommended candidate position among multiple candidate positions as the initialized target position; wherein the recommended candidate position is a candidate position determined from the multiple candidate positions, whose compatibility with the first card meets the second condition.

[0131] In some embodiments, the adaptability of the candidate position is related to the attribute of the first card. In some embodiments, the attribute of the first card refers to the ability of the first card to affect other displayed content in the game application interface. For example, the first card is a card, and the attribute of the first card is attack. The terminal device will determine the candidate position suitable for attack in the game application interface as the initialized target position according to the attribute of the first card.

[0132] In some embodiments, the terminal device records the user's operating habits, and determines the initialization target position from at least one candidate position according to the user's operating habits. For example, if the user is accustomed to placing the first card at the left candidate position in the game application interface, the terminal device determines any one of the left candidate positions in the game application interface as the initialization target position.

[0133] like Fig.14 As shown, before the first card is moved to the target position, the terminal device displays the first card 1410 in the game application interface.

[0134] It should be noted that the various embodiments of the above-mentioned methods for determining the target position, determining the display position of the position selection control, and improving the correctness of the first operation and the second operation can be freely combined.

[0135] like Fig.15 As shown, it is a schematic diagram of a card casting method provided by an embodiment of the present application.

[0136] In response to a long press operation (first operation) on a card, the terminal device determines whether the long press duration meets the time threshold. When the long press duration is less than the time threshold, the terminal device determines that the long press operation is invalid. When the long press duration is greater than or equal to the time threshold, the terminal device determines whether the horizontal coordinate (vertical coordinate) of the trigger position point belongs to at least one candidate area. If the horizontal coordinate (vertical coordinate) of the trigger position point does not belong to at least one candidate area, the terminal device determines whether the second operation is canceled. If the second operation is a cancel operation, the terminal device cancels the determination of the target position. If the second operation is not a cancel operation, the terminal device determines that the current operation is invalid. If both the horizontal coordinate and the vertical coordinate of the trigger position point belong to at least one candidate area, the terminal device determines the target position corresponding to the card and casts the card to the target position.

[0137] The card casting method described in the above embodiments can also be used as an object casting method, that is, the first card can also be the first object, which refers to a display object (such as an application icon) displayed on the user interface and whose display position can be manually changed. The object casting method can be applied to: an application icon is cast at a target position in the user interface to solve the inconvenience caused by dragging the application icon to the target position, increase the casting operation speed, and reduce the occlusion of the interface caused by the casting operation. It should be noted that the first object is an application icon only as an example, and this method can also replace other application scenarios in which objects are dragged to the target position.

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

[0139] Fig.16 A block diagram of a card placing device provided by an exemplary embodiment of the present application is shown. The device can be implemented as all or part of a terminal device through software, hardware, or a combination of both. The device 1600 may include: an interface display module 1610, a control display module 1620, a position determination module 1630, and a card placing module 1640.

[0140] The interface display module 1610 is used to display a game application interface, in which a first card and a plurality of candidate positions corresponding to the first card are displayed.

[0141] The control display module 1620 is used to display a position selection control in response to a first operation on the first card.

[0142] The position determination module 1630 is configured to determine the target position from the plurality of candidate positions in response to a second operation on the position selection control.

[0143] The card placing module 1640 is used to place the first card at the target position.

[0144] In some embodiments, the position determination module 1630 includes: an area determination unit, used to determine a target trigger area that matches the attribute information of the second operation from multiple trigger areas corresponding to the position selection control; and a position determination unit, used to determine the target position based on a candidate position corresponding to the target trigger area among the multiple candidate positions.

[0145] In some embodiments, the area determination unit is used to determine the coordinate information of the trigger position point of the second operation based on the attribute information of the second operation, and the coordinate information includes the horizontal coordinate and the vertical coordinate of the trigger position point; according to the horizontal coordinate of the trigger position point, determine the first trigger area set from the multiple trigger areas; wherein each trigger area in the first trigger area set has at least one position point whose horizontal coordinate is the same as the horizontal coordinate of the trigger position point; according to the vertical coordinate of the trigger position point, determine the second trigger area set from the multiple trigger areas; wherein each trigger area in the second trigger area set has at least one position point whose vertical coordinate is the same as the vertical coordinate of the trigger position point; take the intersection of the first trigger area set and the second trigger area set to determine the target trigger area.

[0146] In some embodiments, the position determination unit is used to determine the target position from the more than one candidate positions according to attribute information of the third operation in response to a third operation on the position selection control when there is more than one candidate positions corresponding to the target trigger area.

[0147] In some embodiments, a plurality of indicator elements are displayed in the position selection control, and the plurality of indicator elements correspond one-to-one to the plurality of candidate positions. The control display module 1620 is also used to: display a target indicator element corresponding to the target position among the plurality of indicator elements separately from other indicator elements among the plurality of indicator elements except the target indicator element.

[0148] In some embodiments, the control display module 1620 is used to determine the display position of the position selection control based on the display position of the first card; and display the position selection control at the display position of the position selection control.

[0149] In some embodiments, the device 1600 further includes: a differentiated display module, configured to differentiate and display the target position from other candidate positions among the multiple candidate positions except the target position.

[0150] In some embodiments, the first operation and the second operation are continuous operations; or, the first operation and the second operation are non-continuous operations.

[0151] In some embodiments, the interface display module 1610 is further used to: when the second operation satisfies the first condition, cancel the determination of the target position from the multiple candidate positions.

[0152] In some embodiments, the control display module 1620 is also used to display the position selection control in response to a fourth operation on the second card displayed in the game application interface after the target position is determined from the multiple candidate positions, and the target position is in a selected state.

[0153] In some embodiments, the device 1600 also includes: an initial position display module, used to use a recommended candidate position among the multiple candidate positions as the initialized target position; wherein the recommended candidate position initial position refers to at least one candidate position corresponding to the first card, which is determined from the multiple candidate positions and whose compatibility with the first card satisfies the first numerical value and the second condition.

[0154] It should be noted that the device provided in the above embodiment, when realizing its function, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment belongs to the same concept as the method embodiment. The specific implementation process is detailed in the method embodiment, which will not be repeated here. Please refer to the description of the method side embodiment for the beneficial effects of the device provided in the above embodiment, which will not be repeated here.

[0155] Fig.17 A structural block diagram of a terminal device provided by an exemplary embodiment of the present application is shown.

[0156] The terminal device 1700 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC, etc. The terminal device is used to implement the card casting method provided in the above embodiment. The terminal device may be Figure 1 The terminal device 10 is shown. Specifically:

[0157] Typically, the terminal device 1700 includes: a processor 1701 and a memory 1702 .

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

[0159] The memory 1702 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1702 stores a computer program, which is loaded and executed by the processor 1701 to implement the card casting method provided by the above-mentioned method embodiments.

[0160] In some embodiments, the terminal device 1700 may further optionally include: a peripheral device interface 1703 and at least one peripheral device. The processor 1701, the memory 1702 and the peripheral device interface 1703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a display screen 1705, an audio circuit 1706 and a power supply 1707.

[0161] Those skilled in the art will understand that Fig.17 The structure shown in the figure does not constitute a limitation on the terminal 1700, and the terminal 1700 may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0162] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the card casting method provided by the above-mentioned method embodiments.

[0163] The computer readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, DVD (Digital Video Disc) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above-mentioned ones.

[0164] An embodiment of the present application also provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the card casting method provided in the above-mentioned method embodiments.

[0165] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

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

Claims

1. A card casting method, characterized in that: The method comprises: Displaying a game application interface, wherein the game application interface displays a first card and a plurality of candidate positions corresponding to the first card; In response to a first operation on the first card, displaying a position selection control; In response to a second operation on the position selection control, determining coordinate information of a triggering position point of the second operation based on attribute information of the second operation, the coordinate information including a horizontal coordinate and a vertical coordinate of the triggering position point; According to the horizontal coordinate of the trigger position point, determine a first trigger area set from the multiple trigger areas corresponding to the selected position control, each trigger area in the first trigger area set having at least one position point whose horizontal coordinate is the same as the horizontal coordinate of the trigger position point; Determine a second trigger area set from the plurality of trigger areas according to the longitudinal coordinate of the trigger position point, each trigger area in the second trigger area set having at least one position point whose longitudinal coordinate is the same as the longitudinal coordinate of the trigger position point; Taking the intersection of the first trigger area set and the second trigger area set to determine a target trigger area; Determine a candidate position corresponding to the target trigger area among the multiple candidate positions as the target position; Play the first card at the target location.

2. The method according to claim 1, characterized in that: The step of determining a candidate position corresponding to the target trigger area among the multiple candidate positions as the target position includes: When the number of candidate positions corresponding to the target trigger area is one, determining one candidate position corresponding to the target trigger area as the target position; In the case that the number of candidate positions corresponding to the target trigger area is more than one, in response to a third operation on the position selection control, the target position is determined from the more than one candidate positions according to attribute information of the third operation.

3. The method according to claim 1, characterized in that The position selection control displays a plurality of indicator elements, and the plurality of indicator elements correspond to the plurality of candidate positions one by one; the method further includes: A target indicator element corresponding to the target position among the multiple indicator elements is displayed in a differentiated manner from other indicator elements among the multiple indicator elements except the target indicator element.

4. The method according to claim 1, characterized in that The display position selection control includes: Determining a display position of the position selection control based on the display position of the first card; The position selection control is displayed at the display position of the position selection control.

5. The method according to any one of claims 1 to 4, characterized in that: After determining the candidate position corresponding to the target trigger area among the multiple candidate positions as the target position, the method further includes: The target position is displayed separately from other candidate positions among the multiple candidate positions except the target position.

6. The method according to any one of claims 1 to 4, characterized in that: The first operation and the second operation are continuous operations; or, The first operation and the second operation are discontinuous operations.

7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In a case where the second operation satisfies the first condition, determining the target position from the plurality of candidate positions is canceled.

8. The method according to any one of claims 1 to 4, characterized in that: After determining the candidate position corresponding to the target trigger area among the multiple candidate positions as the target position, the method further includes: In response to a fourth operation on a second card displayed in the game application interface, the position selection control is displayed, and the target position is in a selected state.

9. The method according to any one of claims 1 to 4, characterized in that: After the display position selection control, the following further comprises: The recommended candidate position among the plurality of candidate positions is used as the initialized target position; wherein the recommended candidate position is a candidate position determined from the plurality of candidate positions, the degree of compatibility between the recommended candidate position and the first card satisfying a second condition.

10. A card placing device, characterized in that: The device comprises: An interface display module, used to display a game application interface, wherein the game application interface displays a first card and a plurality of candidate positions corresponding to the first card; a control display module, configured to display a position selection control in response to a first operation on the first card; A position determination module, for determining, in response to a second operation on the position selection control, coordinate information of a trigger position point of the second operation based on attribute information of the second operation, the coordinate information including a horizontal coordinate and a vertical coordinate of the trigger position point; determining a first trigger area set from a plurality of trigger areas corresponding to the position selection control according to the horizontal coordinate of the trigger position point, each trigger area in the first trigger area set having at least one position point whose horizontal coordinate is the same as the horizontal coordinate of the trigger position point; determining a second trigger area set from the plurality of trigger areas according to the vertical coordinate of the trigger position point, each trigger area in the second trigger area set having at least one position point whose vertical coordinate is the same as the vertical coordinate of the trigger position point; taking an intersection of the first trigger area set and the second trigger area set to determine a target trigger area; determining a candidate position corresponding to the target trigger area from the plurality of candidate positions as a target position; A card placing module is used to place the first card at the target position.

11. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the card casting method as described in any one of claims 1 to 9.

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

13. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor reads and executes the computer program from the computer-readable storage medium to implement the card casting method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Interaction method and device of card game, electronic equipment and storage medium

    CN111643890A

  • Interaction method and device, electronic equipment and storage medium

    CN111729291A