Interactive control method, device, electronic device and computer medium in game
By adjusting the execution order of virtual elements in response to drag and drop operations in idle games, the problem that the skill release order does not meet player needs is solved, the game operation efficiency and user experience are improved, development costs are reduced, and game interface occlusion is avoided.
Patent Information
- Application Number
- CN202110772716.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-07-08
AI Technical Summary
In idle games, the skill release sequence of game characters during automatic combat does not meet the needs of players, resulting in low operating efficiency and poor user experience. In addition, existing solutions increase development costs and block the game interface.
Get the drag distance by responding to the drag operation in the game, adjust the execution order of virtual elements, allow the order of skills or characters to be adjusted at any time during battle, solve the problem of empty skills, improve operation efficiency and user experience, and do not require new functions Component or interface.
It is possible to adjust the execution order of virtual elements in the game according to the combat situation, improve game operation efficiency and user experience, reduce development costs, and avoid game interface occlusion problems.
Smart Images

Figure CN113476845B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular, to an interactive control method in a game, an interactive control device in a game, an electronic device, and a computer-readable medium. Background Art
[0002] Currently, "idle" type games are constantly enriching the game market. Players can control the game characters to enter the idle state and complete some simple combat tasks through the automatic combat of the game characters.
[0003] However, for "idle" type games, the order in which game characters release skills during automatic combat may not completely meet the player's requirements for skill release, which may reduce the game operation efficiency and affect the user's gaming experience.
[0004] In view of this, there is an urgent need in the art for an interactive control method in a game that can improve game operation efficiency and user gaming experience.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide an interactive control method in a game, an interactive control device in a game, an electronic device and a computer-readable medium, thereby improving the game operation efficiency and the user's gaming experience at least to a certain extent.
[0007] According to a first aspect of the present disclosure, there is provided an interactive control method in a game, comprising:
[0008] In response to a drag operation on a target virtual element in a target display area, obtaining a first drag distance of the drag operation in a first preset drag direction, wherein virtual elements are displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element;
[0009] adjusting the execution order of the target virtual elements according to the first dragging distance, wherein the execution order of the target virtual elements is the release order of the skills corresponding to the skill indication elements, or the attack order of the characters corresponding to the character indication elements;
[0010] The execution order of the target virtual elements when the drag operation ends is determined as the target execution order of the target virtual elements.
[0011] In an exemplary embodiment of the present disclosure, the display position of the target virtual element moves simultaneously with the dragging operation.
[0012] In an exemplary embodiment of the present disclosure, the method further includes:
[0013] A sequence identifier corresponding to the execution sequence of the target virtual element is displayed at the identifier display position of the target virtual element.
[0014] In an exemplary embodiment of the present disclosure, the method further includes:
[0015] When the dragging operation ends, the display position of the target virtual element is restored to the original display position of the target virtual element, and the sequence identifier corresponding to the target virtual element is retained.
[0016] In an exemplary embodiment of the present disclosure, adjusting the execution order of the target virtual elements according to the first drag distance includes:
[0017] Determining, according to the number of the virtual elements, a sequence distance threshold corresponding to each of the execution sequences;
[0018] The execution order of the target virtual elements is determined according to the relationship between the first drag distance and each of the sequence distance thresholds.
[0019] In an exemplary embodiment of the present disclosure, the method further includes:
[0020] If the target execution order of the target virtual element is the same as the execution order that has been set for other virtual elements, the execution order of other virtual elements is adjusted according to the target execution order of the target virtual element.
[0021] In an exemplary embodiment of the present disclosure, the method further includes:
[0022] In response to a drag operation on the target virtual element, acquiring a second drag distance of the drag operation in a second preset drag direction;
[0023] When the second dragging distance is greater than or equal to a dragging distance threshold, the target execution order that has been set for the target virtual element is canceled, and the order identifier corresponding to the target virtual element is deleted.
[0024] According to a second aspect of the present disclosure, there is provided an interactive control device in a game, comprising:
[0025] a drag distance acquisition module, configured to respond to a drag operation on a target virtual element in a target display area and acquire a first drag distance of the drag operation in a first preset drag direction, wherein a virtual element is displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element;
[0026] an execution order adjustment module, used to adjust the execution order of the target virtual elements according to the first dragging distance, wherein the execution order of the target virtual elements is the release order of the skills corresponding to the skill indication elements, or the attack order of the characters corresponding to the character indication elements;
[0027] The target sequence determining module is used to determine the execution sequence of the target virtual elements when the dragging operation ends as the target execution sequence of the target virtual elements.
[0028] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-described interactive control methods in the game by executing the executable instructions.
[0029] According to a fourth aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the interactive control method in the game described in any one of the above items is implemented.
[0030] The exemplary embodiments of the present disclosure may have the following beneficial effects:
[0031] In the interactive control method in the game of the example implementation mode of the present disclosure, by obtaining the first drag distance of the target virtual element in the first preset drag direction, and adjusting the corresponding execution order of the target virtual element according to the first drag distance of the target virtual element, on the one hand, the execution order of the virtual elements can be adjusted at any time according to the battle situation in the game, so as to solve the problem of some character skills being wasted, and improve the game operation efficiency and the user's gaming experience; on the other hand, by adjusting the execution order of the virtual elements in the battle, there is no need to separately add functional components or interfaces for adjusting the virtual element order, which can not only reduce development costs but also avoid the problem of game interface occlusion caused by the newly added functional components.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0034] Figure 1 A schematic diagram showing an exemplary system architecture of an interactive control method and device in a game to which an embodiment of the present invention can be applied;
[0035] Figure 2 A schematic flow chart showing an interactive control method in a game according to an exemplary embodiment of the present disclosure;
[0036] Figure 3 A schematic diagram schematically shows a drag target virtual element according to a specific embodiment of the present disclosure;
[0037] Figure 4 A schematic diagram showing a flow chart of adjusting the execution order corresponding to the target virtual element according to the first drag distance in an exemplary embodiment of the present disclosure;
[0038] Figure 5 A schematic diagram schematically shows a trigger sequence identification of a drag target virtual element according to a specific embodiment of the present disclosure;
[0039] Figure 6 A schematic diagram schematically shows a schematic diagram of changing the order mark of continuing to drag the target virtual element according to a specific embodiment of the present disclosure;
[0040] Figure 7 A schematic diagram schematically shows a target execution order of determining a target virtual element when a drag operation ends according to a specific embodiment of the present disclosure;
[0041] Figure 8 A schematic diagram showing a flow chart of cancelling an execution order setting operation according to an exemplary embodiment of the present disclosure;
[0042] Fig. 9 A schematic diagram schematically shows an operation of canceling an execution order setting operation according to a specific embodiment of the present disclosure;
[0043] Fig.10 A block diagram showing an interactive control device in a game according to an exemplary embodiment of the present disclosure;
[0044] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0045] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0046] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0047] For "idle" type games, the order in which the game characters release their skills during automatic combat may not fully meet the player's needs for releasing skills, which may cause some characters to release their skills in vain. For example, the game character uses a blood recovery skill before being attacked, and needs to wait until the cooldown period ends before using it again, wasting an opportunity to use the skill reasonably. Although manual operation does not require setting the skill release order, it will increase the player's operating burden and lose the fun of idle games.
[0048] In some related embodiments, the skill release sequence or character attack sequence can be arranged in advance before entering the battle. After entering the automatic battle, the skills can be released according to the skill release sequence set in advance, or the characters can be arranged to attack according to the character attack sequence set in advance. However, this method cannot be adjusted at any time according to the battle, and when changing the character, it needs to be reset before the challenge. In addition, a new function entry and corresponding function interface for skill sequence setting are required, which increases the development cost to a certain extent. If a new function component is added to the game interface, the game interface will be blocked.
[0049] Figure 1A schematic diagram of a system architecture of an exemplary application environment of an interactive control method and device in a game to which an embodiment of the present invention can be applied is shown.
[0050] like Figure 1 As shown, the system architecture 100 may include multiple mobile terminals 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the mobile terminals 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wireless communication links, etc.
[0051] It should be understood that Figure 1 The number of mobile terminals, networks and servers in the embodiment is only for illustration. Any number of mobile terminals, networks and servers may be provided as required. For example, the server 105 may be a server cluster composed of multiple servers.
[0052] Mobile terminals 101, 102, and 103 may be various electronic devices with processors, including but not limited to smart phones, tablet computers, portable computers, and the like. Server 105 may be a server that provides various services. For example, mobile terminals 101, 102, and 103 may obtain a first drag distance of a target virtual element in a first preset drag direction through a processor, and upload the first drag distance to server 105. Server 105 may adjust the execution order of the target virtual elements according to the first drag distance, and determine the execution order of the target virtual elements at the end of the drag operation as the target execution order of the target virtual elements. Mobile terminals 101, 102, and 103 may also complete the entire process from obtaining the first drag distance of the target virtual element in the first preset drag direction to determining the target execution order of the target virtual elements through a processor.
[0053] This example implementation first provides an interactive control method in a game. Figure 2 As shown, the interactive control method in the above game may include the following steps:
[0054] Step S210. In response to a drag operation on a target virtual element in a target display area, obtain a first drag distance of the drag operation in a first preset drag direction, wherein virtual elements are displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element.
[0055] Step S220. Adjust the execution order of the target virtual elements according to the first dragging distance, wherein the execution order of the target virtual elements is the release order of the skills corresponding to the skill indication elements, or the attack order of the characters corresponding to the character indication elements.
[0056] Step S230: Determine the execution order of the target virtual elements when the drag operation ends as the target execution order of the target virtual elements.
[0057] In the interactive control method in the game of the example implementation mode of the present disclosure, by obtaining the first drag distance of the target virtual element in the first preset drag direction, and adjusting the corresponding execution order of the target virtual element according to the first drag distance of the target virtual element, on the one hand, the execution order of the virtual elements can be adjusted at any time according to the battle situation in the game, so as to solve the problem of some character skills being wasted, and improve the game operation efficiency and the user's gaming experience; on the other hand, by adjusting the execution order of the virtual elements in the battle, there is no need to separately add functional components or interfaces for adjusting the virtual element order, which can not only reduce development costs but also avoid the problem of game interface occlusion caused by the newly added functional components.
[0058] Next, combine Figures 3 to 9 The above steps of this exemplary embodiment are described in more detail.
[0059] In step S210 , in response to a drag operation on a target virtual element in a target display area, a first drag distance of the drag operation in a first preset drag direction is acquired.
[0060] In this example implementation, the target display area refers to the area in the game interface used to display virtual elements, wherein the virtual elements may include skill indication elements or character indication elements. If the game type is that the player controls a game character to use multiple skills to fight, then the target display area displays multiple skill indication elements corresponding to the game character; if the game type is that the player controls multiple game characters to fight, and each game character has its corresponding character skills, then the target display area displays character indication elements corresponding to the multiple game characters. The target virtual element refers to one of the virtual elements affected by the user's drag operation. For example, the virtual element touched by the user's finger performing the drag operation is the target virtual element.
[0061] In this example implementation, the skill indication element is a skill icon corresponding to the skill of the game character. When the player clicks the skill indication element, the game character can be controlled to release the character skill corresponding to the skill indication element. The character indication element is a character icon corresponding to different game characters. When the player clicks the character indication element, the game character corresponding to the character indication element can be controlled to attack and release its character skill.
[0062] In this example implementation, the execution order corresponding to the target virtual elements can be adjusted at any time in the free attack mode in the game battle. Figure 3The schematic diagram of dragging a target virtual element according to a specific embodiment of the present disclosure is schematically shown. When a player drags the target virtual element in a first preset drag direction on the game screen, the display position of the target virtual element can move simultaneously with the drag operation. For example, when the player drags upward Figure 3 The target virtual element 2 in the drag operation will move a distance on the screen, that is, a first drag distance. The first preset drag direction is set such that when the player drags the target virtual element in the first preset drag direction, the setting function of the execution order of the virtual elements can be triggered, for example Figure 3 As shown in , the first preset drag direction may be an upward direction.
[0063] In step S220 , the execution order of the target virtual elements is adjusted according to the first drag distance.
[0064] In this example implementation, the execution order of the target virtual element can be adjusted according to the drag distance of the target virtual element when the player drags it. The execution order of the target virtual element is the release order of the skills corresponding to the skill indication element, or the attack order of the characters corresponding to the character indication element. Figure 4 As shown, adjusting the execution order of the target virtual elements according to the first drag distance may specifically include the following steps:
[0065] Step S410: Determine the sequence distance thresholds corresponding to each execution sequence according to the number of virtual elements.
[0066] In this example implementation, it is necessary to determine the sequence distance threshold corresponding to each execution order in advance based on the number of all virtual elements. Since the number of virtual elements corresponds to the number of virtual element execution orders, for example, if the number of virtual elements is 4, the virtual element execution order that needs to be set also has 4 sequence numbers, and each execution order corresponds to a sequence distance threshold. As the sequence number increases, the sequence distance threshold corresponding to the execution order also increases.
[0067] Step S420: Determine the execution order of the target virtual elements according to the relationship between the first dragging distance and each sequence distance threshold.
[0068] When the first drag distance is greater than or equal to the sequence distance threshold corresponding to the first execution order and less than the sequence distance threshold corresponding to the second execution order, the execution order corresponding to the target virtual element can be determined as the first order; when the first drag distance is greater than or equal to the sequence distance threshold corresponding to the second execution order and less than the sequence distance threshold corresponding to the third execution order, the execution order corresponding to the target virtual element can be determined as the second order; and the subsequent order determination method is similar.
[0069] In this example implementation, while adjusting the execution order corresponding to the target virtual elements, a sequence identifier corresponding to the execution order of the target virtual elements may be displayed at the identifier display position of the target virtual element. Figure 5 The schematic diagram of dragging a target virtual element to trigger a sequence mark according to a specific embodiment of the present disclosure is shown schematically. The numbers in the sequence mark can prompt the player the execution order corresponding to the current target virtual element, so that the player can adjust the order. The target virtual element's mark display position is the position for displaying the sequence mark corresponding to its execution order. This position needs to be able to clearly indicate the corresponding relationship with the target virtual element and will not be confused with the position of other virtual elements. For example, Figure 5 As shown, the sequence identifier corresponding to the execution sequence of the target virtual elements can be displayed directly above the target virtual elements, corresponding one-to-one to the target virtual elements below them.
[0070] Figure 6 The schematic diagram of changing the order mark by continuing to drag the target virtual element according to a specific embodiment of the present disclosure is schematically shown. When the player continues to drag the target virtual element, the longer the dragging distance is, the larger the number in the order mark is, and the later the corresponding execution order is.
[0071] In step S230 , the execution order of the target virtual elements when the drag operation ends is determined as the target execution order of the target virtual elements.
[0072] In this example implementation, the drag operation ends when the player's finger leaves the screen and stops dragging the target virtual element. When the player releases his finger, the execution order corresponding to the target virtual element finally determined at this time is the final target execution order of the target virtual element in this operation.
[0073] When the dragging operation ends, the display position of the target virtual element is restored to the original display position of the target virtual element, and the sequence identifier corresponding to the target virtual element is retained.
[0074] Figure 7 A schematic diagram is shown schematically showing a target execution order of a target virtual element when a drag operation according to a specific embodiment of the present disclosure ends. The target execution order of target virtual element 2 is the second order. After the player lets go, target virtual element 2 returns to its original display position, and its corresponding order identifier is permanent.
[0075] In this example implementation, if the target execution order of the target virtual element is the same as the execution order that has been set for other virtual elements, the execution order of other virtual elements is adjusted according to the target execution order of the target virtual element.
[0076] For example, when the player is adjusting the execution order corresponding to one of the target virtual elements, if the corresponding execution order has been set for other virtual elements, and there is an execution order that is the same as the execution order of the current target virtual element, the execution order corresponding to the target virtual element that the player is currently adjusting will be given priority, and the execution order that is the same as or after the target virtual element will be postponed in sequence.
[0077] After the player has set the execution order corresponding to the target virtual elements, if he wants to cancel the setting of the execution order, he can also do so through the following corresponding operations.
[0078] like Figure 8 As shown, the interactive control method in a game provided in this example implementation may also include the following steps:
[0079] Step S810: In response to the drag operation on the target virtual element, a second drag distance of the drag operation in a second preset drag direction is obtained.
[0080] Step S820: When the second dragging distance is greater than or equal to the dragging distance threshold, cancel the target execution order that has been set for the target virtual element, and delete the order identifier corresponding to the target virtual element.
[0081] In this example implementation, the second preset drag direction can be set to be the opposite direction to the first preset drag direction. If the player drags the target virtual element in the second preset drag direction, when the second drag distance is greater than or equal to the drag distance threshold, the execution order setting cancellation function can be triggered to cancel the execution order number corresponding to the set target virtual element, and delete the order identifier displayed by the target virtual element at the same time.
[0082] Fig. 9 A schematic diagram of canceling the execution order setting operation according to a specific embodiment of the present disclosure is schematically shown. The player drags the target virtual element downward for a distance until the sequence mark disappears, and then the execution order grouping corresponding to the target virtual element can be canceled.
[0083] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0084] Furthermore, the present disclosure also provides an interactive control device in a game. Fig.10As shown, the interactive control device in the game may include a drag distance acquisition module 1010, an execution order adjustment module 1020, and a target order determination module 1030. Among them:
[0085] The drag distance acquisition module 1010 may be used to respond to a drag operation on a target virtual element in a target display area, and acquire a first drag distance of the drag operation in a first preset drag direction, wherein a virtual element is displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element;
[0086] The execution order adjustment module 1020 may be used to adjust the execution order of the target virtual elements according to the first drag distance, wherein the execution order of the target virtual elements is the release order of the skills corresponding to the skill indication elements, or the attack order of the characters corresponding to the character indication elements;
[0087] The target order determination module 1030 may be configured to determine the execution order of the target virtual elements when the drag operation ends as the target execution order of the target virtual elements.
[0088] In some exemplary embodiments of the present disclosure, an interactive control device in a game provided by the present disclosure may further include a sequence identification display module, which may be used to display a sequence identification corresponding to the execution order of the target virtual element at the identification display position of the target virtual element.
[0089] In some exemplary embodiments of the present disclosure, an interactive control device in a game provided by the present disclosure may also include a display position recovery module, which can be used to restore the display position of the target virtual element to the original display position of the target virtual element when the drag operation ends, and retain the sequence identifier corresponding to the target virtual element.
[0090] In some exemplary embodiments of the present disclosure, the execution order adjustment module 1020 may include a distance threshold determination unit and an execution order determination unit.
[0091] The distance threshold determination unit may be used to determine the sequence distance threshold corresponding to each execution sequence according to the number of virtual elements;
[0092] The execution order determination unit may be configured to determine the execution order of the target virtual elements according to the relationship between the first drag distance and each order distance threshold.
[0093] In some exemplary embodiments of the present disclosure, the execution order adjustment module 1020 may also include other skill order adjustment units, which can be used to adjust the execution order of other virtual elements according to the target execution order of the target virtual element if the target execution order of the target virtual element is the same as the execution order already set for other virtual elements.
[0094] In some exemplary embodiments of the present disclosure, an interactive control device in a game provided by the present disclosure may further include an execution order cancellation module, which may include a second drag distance determination unit and a target execution order cancellation unit.
[0095] The second drag distance determining unit may be used to respond to the drag operation on the target virtual element and obtain a second drag distance of the drag operation in the second preset drag direction;
[0096] The target execution sequence canceling unit may be configured to cancel the target execution sequence that has been set for the target virtual element and delete the sequence identifier corresponding to the target virtual element when the second dragging distance is greater than or equal to the dragging distance threshold.
[0097] The specific details of each module / unit in the interactive control device in the above game have been described in detail in the corresponding method embodiment part, and will not be repeated here.
[0098] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present invention is shown.
[0099] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0100] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 into a random access memory (RAM) 1103. Various programs and data required for system operation are also stored in the RAM 1103. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0101] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0102] In particular, according to an embodiment of the present invention, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0103] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0104] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment.
[0106] It should be noted that, although several modules of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules described above can be concretized in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be concretized.
[0107] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0108] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An interactive control method in a game, characterized in that: include: In response to a drag operation on a target virtual element in a target display area, a first drag distance of the drag operation in a first preset drag direction is acquired, wherein a virtual element is displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element; the first preset drag direction is set such that when the target virtual element is dragged in the first preset drag direction, a function of setting the execution order of the target virtual element can be triggered; The execution order of the target virtual elements is adjusted according to the first dragging distance, and while adjusting the execution order of the target virtual elements, a sequence identifier corresponding to the execution order of the target virtual elements is displayed at the identifier display position of the target virtual elements, wherein the execution order of the target virtual elements is the release order of the skills corresponding to the skill indication elements, or the attack order of the characters corresponding to the character indication elements; The execution order of the target virtual elements at the end of the drag operation is determined as the target execution order of the target virtual elements, and when the drag operation ends, the display position of the target virtual elements is restored to the original display position of the target virtual elements, and the sequence identifier corresponding to the target virtual elements is retained.
2. The interactive control method in a game according to claim 1, characterized in that: The display position of the target virtual element moves simultaneously with the dragging operation.
3. The interactive control method in a game according to claim 1, characterized in that: The adjusting the execution order of the target virtual elements according to the first dragging distance includes: Determining, according to the number of the virtual elements, a sequence distance threshold corresponding to each of the execution sequences; The execution order of the target virtual elements is determined according to the relationship between the first drag distance and each of the sequence distance thresholds.
4. The interactive control method in a game according to claim 3, characterized in that: The method further comprises: If the target execution order of the target virtual element is the same as the execution order that has been set for other virtual elements, the execution order of other virtual elements is adjusted according to the target execution order of the target virtual element.
5. The interactive control method in a game according to claim 1, characterized in that: The method further comprises: In response to a drag operation on the target virtual element, acquiring a second drag distance of the drag operation in a second preset drag direction; When the second dragging distance is greater than or equal to a dragging distance threshold, the target execution order that has been set for the target virtual element is canceled, and the order identifier corresponding to the target virtual element is deleted.
6. An interactive control device in a game, characterized in that: include: a drag distance acquisition module, configured to respond to a drag operation on a target virtual element in a target display area, and acquire a first drag distance of the drag operation in a first preset drag direction, wherein a virtual element is displayed in the target display area, the target virtual element is at least one of the virtual elements, and the virtual element is a skill indication element or a character indication element; and the first preset drag direction is set such that when the target virtual element is dragged in the first preset drag direction, a function of setting the execution order of the target virtual element can be triggered; an execution sequence adjustment module, used for adjusting the execution sequence of the target virtual elements according to the first dragging distance, and displaying a sequence identifier corresponding to the execution sequence of the target virtual elements at the identifier display position of the target virtual elements while adjusting the execution sequence of the target virtual elements, wherein the execution sequence of the target virtual elements is the release sequence of the skills corresponding to the skill indication elements, or the attack sequence of the characters corresponding to the character indication elements; A target sequence determination module is used to determine the execution sequence of the target virtual elements when the drag operation ends as the target execution sequence of the target virtual elements, and when the drag operation ends, restore the display position of the target virtual elements to the original display position of the target virtual elements, and retain the sequence identifier corresponding to the target virtual elements.
7. An electronic device, characterized in that: include: processor; as well as A memory for storing one or more programs, which, when executed by the processor, enables the processor to implement the interactive control method in the game as described in any one of claims 1 to 5.
8. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, an interactive control method in a game according to any one of claims 1 to 5 is implemented.
