Virtual object control method and related device
The operation sequence and execution sequence of virtual objects are preset through the operation sequence editing interface, and the operation chain is called dynamically, solving the problems of low efficiency and poor accuracy in virtual object control, and achieving efficient and stable operation execution.
Patent Information
- Application Number
- CN202510645516.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-07-01
AI Technical Summary
In the prior art, the operation control of virtual objects requires manual input of instructions, resulting in low efficiency, poor accuracy, and high-frequency operations are prone to errors, increasing the operating burden.
The operation sequence and execution sequence are preset through the operation sequence editing interface, and the preset operation chain is called dynamically to reduce dependence on high-frequency inputs and simplify the operation process.
It improves the efficiency and accuracy of virtual object control, ensures operation consistency and stability, and reduces operation complexity and user fatigue.
Smart Images

Figure CN120227654A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and in particular, to a method and related device for controlling virtual objects. Background Art
[0002] In a virtual scene, it is often necessary to control a virtual object to perform one or more operations. For example, in a game system, it is necessary to control the virtual object to perform operations such as releasing skills, using items, and performing body movements.
[0003] However, currently, the operation control of virtual objects often needs to be achieved by manually inputting instructions. In the case where multiple instructions need to be input for one operation, or multiple consecutive operations need to be performed, resulting in the need to continuously input multiple instructions, manually inputting instructions in real time is prone to errors, affecting the control efficiency and accuracy of virtual objects, and manually inputting instructions in real time is also prone to generating a manual operation burden. Summary of the Invention
[0004] To solve the above technical problems, this application provides a method and related device for controlling virtual objects. By pre-setting the operations included in a preset operation sequence and the operation execution order through an operation sequence editing interface, the dynamic call of the operation chain in the preset operation sequence can be realized by performing an action operation in the initial interface. In this way, these operations can be executed without having to input the instructions corresponding to the operations in the preset operation sequence, reducing the dependence on high-frequency input, simplifying the operation process, and having a relatively high success rate of operation execution, ensuring the coherence of the operation and the stability of execution, and improving the control efficiency and accuracy of virtual objects.
[0005] The embodiments of this application disclose the following technical solutions:
[0006] On the one hand, this application provides a method for controlling virtual objects, and the method includes:
[0007] In response to an action editing operation obtained when presenting an initial interface, present an operation sequence editing interface; the operation sequence editing interface includes candidate operation identifiers and a sequence editing area, and the sequence editing area is used to present the operation identifiers in a preset operation sequence;
[0008] In response to an action addition operation for the preset operation sequence, add the candidate operation identifier corresponding to the action addition operation to the sequence editing area; the arrangement order of the identifiers in the sequence editing area is used to indicate the operation execution order of the preset operation sequence;
[0009] In response to an action execution operation obtained when presenting the initial interface, control the virtual object in the initial interface to sequentially execute the operations in the preset operation sequence according to the operation execution order.
[0010] Optionally, for the operation performed in response to the action obtained when presenting the initial interface, controlling the virtual objects in the initial interface to sequentially perform the operations in the preset operation sequence according to the operation execution order includes:
[0011] In response to the action obtained when presenting the initial interface, determining the current operation sequentially according to the operation execution order; wherein, the initial value of the current operation is the first operation in the preset operation sequence; when the current operation is the k-th operation in the preset operation sequence, if the current operation is successfully executed, the current operation is updated from the k-th operation to the (k + 1)-th operation in the preset operation sequence; k is a positive integer;
[0012] Controlling the virtual objects in the initial interface to perform the current operation.
[0013] Optionally, when the current operation is the k-th operation in the preset operation sequence, the method further includes:
[0014] In response to a first control operation, updating the current operation from the k-th operation to the (k + 1)-th operation in the preset operation sequence;
[0015] Or, in response to a second control operation, updating the current operation from the k-th operation to the (k - 1)-th operation in the preset operation sequence.
[0016] Optionally, the controlling the virtual objects in the initial interface to perform the current operation includes:
[0017] In response to the obtained operation to be executed, controlling the virtual objects in the initial interface to perform the current operation after performing the operation to be executed.
[0018] Optionally, after the controlling the virtual objects in the initial interface to perform the current operation, the method includes:
[0019] If it is determined that the consecutive execution results meet the bonus condition, determining a bonus parameter for the virtual object.
[0020] Optionally, the method further includes:
[0021] In response to an interruption operation, stopping the execution of the operations in the preset operation sequence; and / or,
[0022] If it is determined that the current operation does not have the execution condition, presenting a failure execution prompt and stopping the execution of the operations in the preset operation sequence.
[0023] Optionally, the method further includes:
[0024] Perform an operation in response to the action, and display the operation identifier in the preset operation sequence in the progress display area of the initial interface according to the arrangement order of the identifiers, where the operation identifier corresponding to the current operation has an indicator.
[0025] Optionally, the number of the preset operation sequences is multiple, and the sequence editing area is used to display the operation identifiers in the preset operation sequence being edited. The method further includes:
[0026] Determine the first preset operation sequence among the multiple preset operation sequences as the target operation sequence, or use the preset operation sequence corresponding to the selected execution operation as the target operation sequence;
[0027] The performing the operation in response to the action obtained when displaying the initial interface and controlling the virtual object in the initial interface to sequentially perform the operations in the preset operation sequence according to the operation execution order includes: performing the operation in response to the action obtained when displaying the initial interface, and controlling the virtual object in the initial interface to sequentially perform the operations in the target operation sequence according to the operation execution order of the target operation sequence.
[0028] Optionally, the operation sequence editing interface further includes a sequence display area for displaying the sequence information of the preset operation sequence. The method further includes:
[0029] In response to a sequence addition operation, add a preset operation sequence in the sequence display area; and / or,
[0030] In response to a sequence deletion operation on the third operation sequence in the preset operation sequence, delete the third operation sequence from the sequence display area; and / or,
[0031] The sequence information includes a sequence identifier. In response to a name definition operation on the fourth operation sequence in the preset operation sequence, update the sequence identifier of the fourth operation sequence according to the input content corresponding to the name definition operation; and / or,
[0032] In response to a sequence save operation, synchronize the sequence information of the preset operation sequence according to the operation identifiers in the sequence editing area; and / or,
[0033] Add a selected execution mark for the target operation sequence in the sequence display area.
[0034] Optionally, if the preset operation sequence includes a first operation sequence and a second operation sequence, the method further includes:
[0035] When the target operation sequence is the first operation sequence, display the operation sequence editing interface in response to an action management operation obtained when displaying the initial interface;
[0036] In response to the selection of the second operation sequence in the operation sequence editing interface, an operation is executed to update the target operation sequence from the first operation sequence to the second operation sequence.
[0037] Optionally, the method further includes:
[0038] In response to an identification deletion operation on the first identification in the sequence editing area, the first identification is deleted from the sequence editing area; and / or,
[0039] In response to an emptying operation on the sequence editing area, all operation identifications in the sequence editing area are deleted; and / or,
[0040] In response to a position adjustment operation on the second identification in the sequence editing area, the position of the second identification is adjusted.
[0041] On the other hand, the present application provides a virtual object control device, and the device includes:
[0042] An editing interface display unit, configured to display an operation sequence editing interface in response to an action editing operation obtained when displaying an initial interface; the operation sequence editing interface includes candidate operation identifications and a sequence editing area, and the sequence editing area is used to display operation identifications in a preset operation sequence;
[0043] An identification adding unit, configured to add candidate operation identifications corresponding to the action adding operation to the sequence editing area in response to an action adding operation on the preset operation sequence; the arrangement order of the identifications in the sequence editing area is used to indicate the operation execution order of the preset operation sequence;
[0044] An execution unit, configured to control a virtual object in the initial interface to sequentially execute operations in the preset operation sequence in response to an action execution operation obtained when displaying the initial interface, according to the operation execution order.
[0045] Optionally, the execution unit includes:
[0046] An operation determination unit, configured to sequentially determine a current operation according to the operation execution order in response to an action execution operation obtained when displaying the initial interface; wherein, an initial value of the current operation is the first operation in the preset operation sequence; when the current operation is the kth operation in the preset operation sequence, if the current operation is successfully executed, the current operation is updated from the kth operation to the (k + 1)th operation in the preset operation sequence; k is a positive integer;
[0047] An operation execution unit, configured to control the virtual object in the initial interface to execute the current operation.
[0048] Optionally, when the current operation is the k-th operation in the preset operation sequence, the device further includes an operation switching unit, configured to:
[0049] In response to a first control operation, update the current operation from the k-th operation to the (k + 1)-th operation in the preset operation sequence;
[0050] Or, in response to a second control operation, update the current operation from the k-th operation to the (k - 1)-th operation in the preset operation sequence.
[0051] Optionally, the operation execution unit is specifically configured to:
[0052] In response to the operation to be executed obtained, control the virtual object in the initial interface to execute the current operation after executing the operation to be executed.
[0053] Optionally, the device further includes:
[0054] A parameter determination unit, configured to, after controlling the virtual object in the initial interface to execute the current operation, if it is determined that the continuous execution result meets the addition condition, determine an addition parameter for the virtual object.
[0055] Optionally, the device further includes:
[0056] An interruption unit, configured to stop the execution of the operations in the preset operation sequence in response to an interruption operation; and / or,
[0057] A failure display unit, configured to display a failure prompt and stop the execution of the operations in the preset operation sequence if it is determined that the current operation does not have the execution condition.
[0058] Optionally, the device further includes:
[0059] An execution progress display unit, configured to, in response to the action execution operation, display the operation identifiers in the preset operation sequence in the progress display area of the initial interface according to the identifier arrangement order, and the operation identifier corresponding to the current operation has an indicator.
[0060] Optionally, the number of the preset operation sequences is multiple, the sequence editing area is used to display the operation identifiers in the preset operation sequence being edited, and the device further includes:
[0061] A sequence selection unit, configured to determine the first preset operation sequence among the multiple preset operation sequences as the target operation sequence, or use the preset operation sequence corresponding to the selected execution operation as the target operation sequence;
[0062] The execution unit is specifically configured to: in response to an action obtained when presenting the initial interface, perform an operation, and control virtual objects in the initial interface to sequentially perform operations in the target operation sequence according to the operation execution order of the target operation sequence.
[0063] Optionally, the operation sequence editing interface further includes a sequence display area for displaying sequence information of a preset operation sequence, and the device further includes a first editing unit configured to:
[0064] In response to a sequence addition operation, add a preset operation sequence in the sequence display area; and / or,
[0065] In response to a sequence deletion operation on a third operation sequence in the preset operation sequence, delete the third operation sequence from the sequence display area; and / or,
[0066] The sequence information includes a sequence identifier. In response to a name definition operation on a fourth operation sequence in the preset operation sequence, update the sequence identifier of the fourth operation sequence according to the input content corresponding to the name definition operation; and / or,
[0067] In response to a sequence save operation, synchronize the sequence information of the preset operation sequence according to the operation identifier in the sequence editing area; and / or,
[0068] Add a selected execution mark for the target operation sequence in the sequence display area.
[0069] Optionally, if the preset operation sequence includes a first operation sequence and a second operation sequence, the device further includes:
[0070] An interface display unit, configured to, when the target operation sequence is the first operation sequence, in response to an action management operation obtained when presenting the initial interface, present the operation sequence editing interface;
[0071] An operation switching unit, configured to, in response to a selected execution operation on the second operation sequence in the operation sequence editing interface, update the target operation sequence from the first operation sequence to the second operation sequence.
[0072] Optionally, the device further includes a second editing unit configured to:
[0073] In response to an identification deletion operation on a first identifier in the sequence editing area, delete the first identifier from the sequence editing area; and / or,
[0074] In response to a clearing operation on the sequence editing area, delete all operation identifiers in the sequence editing area; and / or,
[0075] In response to a position adjustment operation for a second identifier in the sequence editing area, the position of the second identifier is adjusted.
[0076] On the other hand, the present application provides a computer device, which includes a processor and a memory:
[0077] The memory is used to store a computer program and transmit the computer program to the processor;
[0078] The processor is used to execute the virtual object control method described in the above aspect according to the instructions in the computer program.
[0079] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the virtual object control method described in the above aspect.
[0080] On the other hand, an embodiment of the present application provides a computer program product including a computer program, which, when running on a computer device, causes the computer device to execute the virtual object control method described above.
[0081] It can be seen from the above technical solutions that in response to an action editing operation obtained when displaying the initial interface, an operation sequence editing interface is displayed. The operation sequence editing interface is used for editing an operation sequence, including candidate operation identifiers and a sequence editing area. The sequence editing area is used to display the operation identifiers in a preset operation sequence. When this editing interface is displayed, in response to an action addition operation for the preset operation sequence, the candidate operation identifier corresponding to the action addition operation is added to the sequence editing area. The arrangement order of the identifiers in the sequence editing area is used to indicate the operation execution order of the preset operation sequence. Thus, the operations included in the preset operation sequence and the operation execution order are pre-set through the operation sequence editing interface, which is equivalent to providing an operation chain corresponding to the preset operation sequence. When the initial interface is displayed, in response to an obtained action execution operation, the virtual object in the initial interface can be controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order. In this way, the dynamic call of the operation chain in the preset operation sequence can be realized through the action execution operation in the initial interface, and these operations can be executed without executing the instructions corresponding to the operations in the preset operation sequence, reducing the dependence on high-frequency input, simplifying the operation process, and having a relatively high operation execution success rate, ensuring the coherence of the operation and the stability of the execution, and improving the efficiency and accuracy of virtual object control. Description of the Drawings
[0082] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0083] Figure 1 Schematic diagram of an application scenario of a virtual object control method provided by an embodiment of the present application;
[0084] Figure 2 Flowchart of a virtual object control method provided by an embodiment of the present application;
[0085] Figure 3 Schematic diagram of an initial interface provided by an embodiment of the present application;
[0086] Figure 4 Schematic diagram of an operation sequence editing interface provided by an embodiment of the present application;
[0087] Figure 5 Flowchart of another virtual object control method provided by an embodiment of the present application;
[0088] Figure 6 Schematic diagram of another operation sequence editing interface provided by an embodiment of the present application;
[0089] Figure 7 Schematic diagram of another initial interface provided by an embodiment of the present application;
[0090] Figure 8 Schematic diagram of yet another initial interface provided by an embodiment of the present application;
[0091] Figure 9 Schematic diagram of still another initial interface provided by an embodiment of the present application;
[0092] Figure 10 Structure block diagram of a virtual object control device provided by an embodiment of the present application;
[0093] Figure 11 Structure diagram of a terminal device provided by an embodiment of the present application;
[0094] Figure 12 Structure diagram of a server provided by an embodiment of the present application. Detailed implementation manners
[0095] The following describes the embodiments of the present application with reference to the accompanying drawings.
[0096] Currently, the operation and control of virtual objects often require manual input of instructions to achieve. In the case where multiple instructions need to be input for one operation, or multiple consecutive operations need to be executed, resulting in the need to continuously input multiple instructions, manual real-time input of instructions is prone to errors, affecting the control efficiency and accuracy of virtual objects, and manual real-time input of instructions is also prone to causing manual operation burden.
[0097] To solve the above technical problems, the present application provides a virtual object control method and related device. By pre-setting the operations and operation execution sequences included in a preset operation sequence through an operation sequence editing interface, the dynamic call of the operation chain in the preset operation sequence can be realized by performing operations through actions in the initial interface. In this way, it is not necessary to execute the instructions corresponding to the operations in the preset operation sequence to execute these operations, reducing the dependence on high-frequency input, simplifying the operation process, and having a relatively high success rate of operation execution, ensuring the coherence of operations and the stability of execution, and improving the control efficiency and accuracy of virtual objects.
[0098] The virtual object control method provided by the embodiments of the present application can be implemented by a computer device, which can be a terminal device or a server. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include, but are not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. The terminal device and the server can be directly or indirectly connected through wired or wireless communication methods, and the present application does not make any restrictions here.
[0099] To facilitate the understanding of the technical solution provided by the present application, next, a virtual object control method provided by the embodiments of the present application will be introduced in combination with an actual application scenario.
[0100] Figure 1 FIG. shows a schematic diagram of an application scenario of a virtual object control method provided by the embodiments of the present application. In this scenario, it includes a server 10 and a terminal device 20. An application program for virtual object control is installed in the terminal device 20, and the server 10 corresponding to this application program and the terminal device 20 can interact through a network. The server 10 or the terminal device 20 can be used as the aforementioned computer device for virtual object control. The terminal device 20 is used to interact with the user and display the virtual object control result. The following will take the terminal device 20 as an example of the aforementioned computer device for illustration.
[0101] In response to the action editing operation obtained when the initial interface 11 is displayed, the terminal device 20 displays an operation sequence editing interface 12. Refer to Figure 1As shown in 1A, the operation sequence editing interface 12 is used for editing the operation sequence, including a candidate operation identifier 121 and a sequence editing area 122. The candidate operation identifier 121 includes, for example, at least one of a skill identifier, an item identifier, and a body movement identifier. The sequence editing area 122 is used to display the operation identifiers in the preset operation sequence.
[0102] When the editing interface 12 is displayed, in response to an action addition operation for the preset operation sequence, the candidate operation identifier 121 corresponding to the action addition operation is added to the sequence editing area 122. The arrangement order of the identifiers in the sequence editing area 122 is used to indicate the operation execution order of the preset operation sequence. Thus, the operations included in the preset operation sequence and the operation execution order are preset through the operation sequence editing interface 12, which is equivalent to providing an operation chain corresponding to the preset operation sequence.
[0103] When the initial interface 11 is displayed, in response to an action execution operation obtained, the virtual object 111 in the initial interface 11 can be controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order. Refer to Figure 1 As shown in 1B, in this way, the dynamic call of the operation chain in the preset operation sequence can be realized through the action execution operation in the initial interface 11. Without executing the instructions corresponding to the operations in the preset operation sequence, these operations can be executed, reducing the dependence on high-frequency input, simplifying the operation process, and having a relatively high operation execution success rate, ensuring the coherence of the operation and the stability of the execution, and improving the control efficiency and accuracy of the virtual object.
[0104] Figure 2 The flowchart of a virtual object control method provided by an embodiment of the present application is shown. In this embodiment, the server is used as the aforementioned computer device for illustration. The virtual object control method may include:
[0105] S101, in response to an action editing operation obtained when the initial interface is displayed, display the operation sequence editing interface.
[0106] In the embodiment of the present application, the virtual scene is a virtual scene displayed (or provided) when the application program runs on the terminal. The virtual scene may be a simulation environment of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5D virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The user can control the virtual object to move in the virtual scene and can also interact with other virtual objects. The virtual scene of the embodiment of the present application may be a virtual scene of an action game, a virtual scene of a combat game, etc., that is, the present solution can be applied to the control of virtual objects in a variety of virtual scenes.
[0107] A virtual object is an image of various people and objects that can interact in a virtual scene, or an active object in the virtual scene. The active object can be a virtual character, a virtual animal, an anime character, etc., such as the characters, animals, etc. displayed in the virtual scene. The virtual object can be a virtual image representing the user in the virtual scene. The virtual scene can include multiple virtual objects, and each virtual object has its own shape and volume in the virtual scene, occupying a part of the space in the virtual scene. The virtual object can be a game character controlled by a user (or player), that is, the virtual object is controlled by a real user and will move in the virtual scene in response to the operation of the real user on the controller (including touch screen, voice control switch, keyboard, mouse, handle, and joystick, etc.). For example, when the real user moves the joystick to the left, the virtual object will move to the left in the virtual scene, and can also stay still, jump, and use various functions (such as skills and props).
[0108] The initial interface 11 can be an interface including virtual objects, and the initial interface can also include a part of the virtual scene. Instructions can be manually input from the initial interface 11 to control the virtual object to perform corresponding operations, such as releasing skills, using items, performing body actions, etc. When the virtual object is in the process of combat, it is often necessary to control the virtual object to execute a series of coherent operations quickly and accurately. In the case where one operation requires inputting multiple instructions, or multiple coherent operations need to be executed, resulting in the need to continuously input multiple instructions, the dependence on real-time instruction input is relatively high.
[0109] However, manually inputting instructions in real time is prone to errors. Especially in a tense combat environment, high-frequency operations require high-frequency input of instructions, and it is very easy to cause the operation to fail due to too many instructions, chaotic input order, or operation delay, thus affecting the battle situation and the efficiency and accuracy of virtual object control. Moreover, manually inputting instructions in real time is prone to causing a manual operation burden, and repeatedly executing the same operation chain is easy to cause fatigue. In addition, during the control process of the virtual object, the user needs to frequently focus on the input operation rather than tactical adjustment, which requires a high level of proficiency from the user, reducing the fluency and strategic nature of virtual object control for users with lower proficiency, and being unfavorable to the virtual object control experience.
[0110] In the embodiments of the present application, when the initial interface 11 is displayed, an action editing operation can be obtained. The action editing operation is used to preset an operation sequence, and the operation sequence can also be referred to as an action chain or an operation chain. The action editing operation is triggered by the user and obtained by the terminal device, usually triggered in the non-combat state of the virtual object to avoid affecting the combat. Reference Figure 3As shown, it is a schematic diagram of an initial interface provided by an embodiment of the present application. The initial interface 11 includes a virtual object 111 and the virtual scene where the virtual object is located. It may also include a user identifier, operation controls, etc.
[0111] Specifically, the action editing operation may be a triggering operation on the action editing control 112 in the initial interface 11. The triggering operation is, for example, a touch operation on the action editing control 112 in the initial interface, or a click operation on the action editing control 112 in the initial interface through a mouse. Refer to Figure 3 As shown; the action editing operation may also be a triggering operation on the action editing button of at least one external control device such as a voice control switch, keyboard, handle, and joystick. For example, the triggering operation of the "S" key on the keyboard, or the long - press operation of the "LT" button on the handle, etc. The operation method prompt information of the external control device may be displayed in the initial interface. For example, "LT (long - press)" is displayed. Refer to Figure 3 As shown, it is used to indicate that the action editing operation is achieved by long - pressing the "LT" button.
[0112] In response to the action editing operation, an operation sequence editing interface may be displayed. Refer to Figure 4 As shown, it is a schematic diagram of an operation sequence editing interface provided by an embodiment of the present application. The operation sequence editing interface 12 may cover a part of the area of the initial interface 11. At this time, the periphery of the operation sequence editing interface 12 is the initial interface 11. The operation sequence editing interface 12 may also cover the entire display screen. The operation sequence editing interface is used to edit a preset operation sequence. The number of preset operation sequences may be one or multiple. The editing of the preset operation sequence may include the editing of the sequence level, such as the addition, deletion, renaming, display, update, and selected execution of the operation sequence. The editing of the preset operation sequence may also include the editing of the operation level, such as the addition, deletion, sorting, and display of the operation sequence.
[0113] Refer to Figure 5 As shown, it is a flowchart of another virtual object control method provided by an embodiment of the present application. The method may include: S11, display the initial interface; S12, detect an action editing operation. If so, execute S13; S13, display the operation sequence editing interface. That is, S101 may include S11 - S13.
[0114] The operation sequence editing interface 12 may include candidate operation identifiers 121. The candidate operation identifiers 121 are identifiers corresponding to operations that can be added to the operation sequence, and may include at least one of skill identifiers, item identifiers, and body movement identifiers. Thus, different types of operations can be selected according to the candidate operation identifiers 121. Among them, the skill identifier is used to perform a skill release operation when triggered. The skill identifier may include identifiers corresponding to attack skills, defense skills, auxiliary skills, special skills, etc. Attack skills such as light attacks, heavy attacks, ultimate skills, etc.; the item identifier is used to perform an item use operation when triggered. The item identifier may include identifiers corresponding to weapon equipment, consumables, props, defense equipment, etc.; the body movement identifier is used to perform a body movement when triggered. The body movement identifier may include identifiers corresponding to body movements such as rolling, squatting, jumping, etc.
[0115] The operation sequence editing interface 12 may also include a sequence editing area 122. The sequence editing area 122 is used to display the operation identifiers in the preset operation sequence. In this way, the editing operation of the preset operation sequence can be realized through the sequence editing area 122, which is beneficial for the user to obtain the operation identifier information of the preset operation sequence, so as to effectively perform the relevant settings of the preset operation sequence.
[0116] The operation sequence editing interface 12 may also include a sequence display area 123. The sequence display area 123 is used to display the sequence information of the preset operation sequence. The sequence information includes, for example, sequence identifiers, included operation identifiers, the identifier arrangement order of the operation identifiers, etc. In the operation sequence editing interface 12, a blank operation sequence may be provided by default as the preset operation sequence, so as to add operations to this preset operation sequence. Of course, a preset operation sequence including default operations may also be provided for the user to use directly. The sequence display area 123 may also be referred to as an action chain list display area. The sequence information of the preset operation sequence displayed by it is used as an optional sequence list for subsequent calls. When the number of preset operation sequences is multiple, the sequence information of multiple preset operation sequences may be arranged in the sequence display area 123. Refer to Figure 4 As shown, the preset operation sequence may include Sequence 1, Sequence 2, and Sequence 3.
[0117] When the operation sequence editing interface 12 is displayed, in response to the sequence addition operation, a preset operation sequence may be added to the sequence display area to realize the addition of the operation sequence, so as to set multiple preset operation sequences, and thus save multiple solutions. Refer to Figure 4As shown, the sequence addition operation can be a trigger operation for the sequence addition control 125 or a trigger operation for the sequence addition button. The trigger operation for the button can include a click operation, a long press operation, etc. The newly added preset operation sequence can be a blank operation sequence. Specifically, the newly added preset operation sequence can initialize a blank operation preset and allow operations corresponding to candidate operation identifiers to be added to it. Refer to Figure 5 As shown, S101 may further include S14 and S15. In S14, if a sequence addition operation is detected, then S15 is executed. In S15, a blank operation sequence is initialized.
[0118] When adding a preset operation sequence through a sequence addition operation, multiple preset operation sequences can be set. When the number of preset operation sequences is multiple, the multiple preset operation sequences can be constructed according to operation requirements. Different preset operation sequences can include different operations, so as to achieve different continuous operation effects, enrich the automatically executable operation strategies, and simplify the user operation in more application scenarios. The operations in the preset operation sequence can be freely added, freely combined, and freely sorted to adapt to different combat environments.
[0119] For example, when multiple different buffs need to be used, the preset operation sequence can be set to include item identifiers corresponding to multiple buffs, so that these items corresponding to the item identifiers are continuously used in sequence when the preset operation sequence is called; or when multiple skills need to be continuously released, the preset operation sequence can be set to include multiple skill identifiers, so that the skills corresponding to these skill identifiers are continuously released when the preset operation sequence is called; or when multiple different abnormal state elimination operations need to be used, the preset operation sequence can be set to include item identifiers corresponding to multiple debuffs, so that these items corresponding to the item identifiers are continuously used in sequence when the preset operation sequence is called; or, the preset operation sequence can also be set to include multiple types among item identifiers, body movement identifiers, and skill identifiers, so that multiple types of operations are continuously executed when the preset operation sequence is called.
[0120] In addition, in the case of an existing preset operation sequence, in response to a sequence deletion operation for the third operation sequence in the preset operation sequence, the third operation sequence can be deleted from the sequence display area, realizing the deletion of the third operation sequence in the sequence list, thereby realizing the management of the number of operation sequences, reducing redundant preset operation sequences, making the remaining preset operation sequences more effective, reducing the display of redundant preset operation sequences, and simplifying the display complexity. The sequence deletion operation can be a trigger operation for a sequence deletion control (not shown in the figure) or a trigger operation for a sequence deletion button.
[0121] When the sequence information includes a sequence identifier, in response to a name definition operation for the name of the fourth operation sequence in a preset operation sequence, update the sequence identifier of the fourth operation sequence according to the input content corresponding to the name definition operation, that is, update the sequence identifier of the displayed fourth operation sequence. The sequence identifier can be, for example, a sequence name. Of course, the sequence identifier of the stored fourth operation sequence is correspondingly changed.
[0122] Through the name definition operation, the name of the preset operation sequence can be customized to make the name of the preset operation sequence conform to the user's habits, so that multiple preset operation sequences can be distinguished by sequence identifiers, and this distinction conforms to the user's naming habits. It is easier for users to know the information of each preset operation sequence according to the name, and then quickly and specifically edit each preset operation sequence. During the editing process and subsequent call process, switching between each preset operation sequence can be performed according to the sequence identifier, improving the setting and call efficiency of the preset operation sequence. The name definition operation can include a trigger operation for the sequence identifier of the fourth operation sequence and the input content for the input control, and the input content can be used as the sequence identifier of the fourth operation sequence.
[0123] Reference Figure 5 As shown, S101 can also include S17 to detect name definition operations, sequence deletion operations, etc. If so (i.e., there is), then execute S18. S18 updates to obtain the preset operation sequence, and the update method can refer to the foregoing description.
[0124] When the number of preset operation sequences is multiple, one or more of the preset operation sequences can be called and executed. Then, the target operation sequence can be determined from the multiple preset operation sequences as the operation sequence to be called and executed in the subsequent process. Other operations outside the target operation sequence can not be called. In this way, by pre-determining the target operation sequence, the target operation sequence can be quickly called, reducing the interference of other operation sequences in the multiple preset operation sequences and improving the call efficiency and accuracy.
[0125] Specifically, the first preset operation sequence among the multiple preset operation sequences can be determined as the target operation sequence, and the user can call the first preset operation sequence without setting, reducing the operation complexity; or, the target operation sequence can be determined according to the selected execution operation, that is, the preset operation sequence corresponding to the selected execution operation is used as the target operation sequence. At this time, the target operation sequence is the operation sequence selected by the user for subsequent call. In this way, the user can set the target operation sequence by the selected execution operation, improving the freedom of the preset operation sequence to be called to cope with various operation scenarios.
[0126] For example, if the selection operation corresponds to the second preset operation sequence, the second preset operation sequence can be used as the target operation sequence. The selection execution operation can be a trigger operation on the selection execution control 124. Refer to Figure 4 as shown, Sequence 1 is used as the target operation sequence.
[0127] In specific implementation, a selection execution mark can also be added to the target operation sequence in the sequence display area. The selection execution mark can be the selection state mark of the selection execution control 124, or other marks. The selection execution mark is used to indicate the target operation sequence in the preset operation sequence, enabling the user to know the preset operation sequence that is defaultly called, which is beneficial for switching and editing the target operation sequence as needed. When the execution mark is the selection state mark, the display complexity can be simplified.
[0128] When the number of preset operation sequences is multiple, the number of sequence editing areas can also be multiple and correspond to the multiple preset operation sequences one by one, or the number of sequence editing areas can be one and can be shared by multiple preset operation sequences. Then, the sequence editing area can be used to display the operation identifiers in the preset operation sequence being edited. When the sequence editing area is shared by multiple preset operation sequences, the sequence identifier of the preset operation sequence being edited can also be displayed at the associated position of the sequence editing area as a prompt message, and this prompt message is updated as the preset operation sequence being edited is switched. Refer to Figure 4 as shown, if Sequence 1 is the preset operation sequence being edited, the sequence editing area 122 is used to display the operation identifiers of Sequence 1, and the sequence editing area 122 corresponds to the prompt message of "Sequence 1".
[0129] Among them, the preset operation sequence being edited can be the nth preset operation sequence among the multiple preset operation sequences, such as the first preset operation sequence; the preset operation sequence being edited can also be determined through a selection editing operation, that is, the preset operation sequence corresponding to the selection editing operation is used as the preset operation sequence being edited. The selection editing operation can be, for example, a click operation on the preset operation sequence, etc. The preset operation sequence being edited can be highlighted in the sequence display area. Refer to Figure 4 as shown, Sequence 1 is the preset operation sequence being edited.
[0130] S102. In response to an action addition operation for the preset operation sequence, add the candidate operation identifier corresponding to the action addition operation to the sequence editing area.
[0131] In the embodiments of the present application, for the preset operation sequence, corresponding operations can be added according to the candidate operation identifiers, so that the preset operation sequence includes one or more operations and can be called in subsequent actual operations. When the number of preset operation sequences is multiple, corresponding operations can be added to the multiple preset operation sequences respectively.
[0132] In the process of editing the preset operation sequence, in response to the action adding operation for the preset operation sequence, the candidate operation identifier corresponding to the action adding operation is added to the sequence editing area, thereby indicating that the operation corresponding to the candidate operation identifier is added to the preset operation sequence, that is, the candidate operation identifier corresponding to the action adding operation is added from the list provided by the system to the preset operation sequence currently being edited, and the identifier arrangement order in the sequence editing area is used to indicate the operation execution order of the preset operation sequence. In this way, when the candidate operation identifier is an identifier of multiple categories, an action chain including one or more categories of operations can be set through the action adding operation to make it applicable to more scenarios, so that the system records the category and order of each operation, so as to call it later.
[0133] Specifically, the action adding operation may include a click operation for a candidate operation identifier, so that the candidate operation identifiers can be added to the sequence editing area in sequence according to the execution order of the click operations, and the order of the candidate operation identifiers in the sequence editing area can be determined according to the execution order of the click operations corresponding to the operation identifiers, that is, the candidate operation identifier corresponding to the i-th adding operation is added to the i-th position in the sequence editing area. As an example, refer to Figure 1 As shown in 1A in FIG. 1, the five labels of ① medicine (item label), ② heavy attack (skill label), ③ squat (body action label), ④ gem (item label), and ⑤ defense (body action label) are sequentially clicked through multiple action addition operations, and the five labels are added to the sequence editing area in the order of clicking. The sequence editing area may also include a sequence indicator “→”.
[0134] Specifically, the action adding operation may include a click operation on the candidate operation identifier and a position selection operation on the target position of the sequence editing area, or the action adding operation may include a drag (click and slide) operation on the candidate operation identifier to the target position of the sequence editing area, that is, the action adding operation can specify the target position, and the candidate operation identifier can be added to the target position. At this time, the order of the candidate operation identifiers in the sequence editing area can be determined by their respective positions.
[0135] In the embodiment of the present application, operations such as modification, deletion, and reordering can be performed on the operation identifiers that already exist in the preset operation sequence, so that the setting of the preset operation sequence has a higher degree of freedom.
[0136] Specifically, in response to an identification deletion operation on the first identification in the sequence editing area, the first identification can be deleted from the sequence editing area, so as to delete the operation corresponding to the first identification from the preset operation sequence. In this way, the deletion of the operation identification can be realized, the operations in the preset operation sequence can be freely set, the degree of freedom of setting can be improved, and the degree of freedom of the automatically executed operations can be improved. The identification deletion operation can include a selection operation on the first identification and a triggering operation on the identification deletion control 128.
[0137] Specifically, in response to an emptying operation on the sequence editing area, all operation identifications in the sequence editing area are deleted, so as to empty the operations in the preset operation sequence. In this way, by emptying all operation identifications with one key without deleting operation identifications one by one, the operation can be simplified and the operation efficiency can be improved. The emptying operation can be a triggering operation on the empty sequence control 126.
[0138] Specifically, in response to a position adjustment operation on the second identification in the sequence editing area, the position of the second identification is adjusted, so as to adjust the execution order of the operation corresponding to the second identification, and make the operations in the preset operation sequence arranged in the order expected by the user. In this way, the operations in the preset operation sequence will also be executed in the order expected by the user, the degree of freedom of setting the preset operation sequence is improved, and the degree of freedom of the automatically executed operations is improved. The position adjustment operation can include a selection operation on the second identification and a selection operation on the target position, which can be realized by a click operation or a drag operation.
[0139] In the embodiment of the present application, in response to a sequence saving operation, the sequence information of the preset operation sequence can be synchronized according to the operation identifications in the sequence editing area, so as to load the sequence information of the preset operation sequence. In this way, the editing generated in the sequence editing area is synchronized to the preset operation sequence, and the editing operations in the sequence editing area are made effective, which is beneficial to the subsequent use of the preset operation sequence.
[0140] Synchronizing the sequence information of the preset operation sequence according to the operation identifications in the sequence editing area can synchronize the sequence information stored in the system and the sequence information in the sequence editing area. For example, the operation identifications included in the preset operation sequence, the identification arrangement order of the operation identifications, etc. are updated. When the sequence editing area is used to display the operation identifications in the preset operation sequence being edited, this synchronization process can update the information of the preset operation sequence being edited, and can also update the sequence information of all preset operation sequences that have been edited but not saved, realizing the loading of the sequence information of the preset operation sequence.
[0141] The sequence saving operation can be a triggering operation on the save sequence control 127. Refer to Figure 6, which is a schematic diagram of another operation sequence editing interface provided in an embodiment of the present application. After the save sequence control 127 is triggered, the operation identifier of the sequence 1 in the sequence display area 123 is updated.
[0142] refer to Figure 5 As shown, the method may include: S16, detecting an action editing operation, a tag deleting operation, a clearing operation, or a position adjustment operation, and if so, executing S18, S18, updating to obtain a preset operation sequence. That is, S102 may include S16 and S18. In addition, S17 may also include a detection sequence saving operation, and the updating to obtain a preset operation sequence in S18 may refer to the description of the response methods corresponding to the aforementioned various operations.
[0143] S103, in response to the action execution operation acquired when the initial interface is displayed, controlling the virtual objects in the initial interface to sequentially execute operations in a preset operation sequence according to the operation execution order.
[0144] In an embodiment of the present application, the preset operation sequence can be freely edited and set through the operation sequence editing interface, which is equivalent to pre-providing an operation chain corresponding to the preset operation sequence. In this way, when the initial interface is displayed, in response to the acquired action execution operation, the virtual objects in the initial interface can be controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order. In this way, the dynamic call of the operation chain in the preset operation sequence can be realized through the action execution operation in the initial interface, that is, the call of the operation sequence can be dynamically triggered through a single operation, thereby realizing fast and accurate operation execution.
[0145] In general, the combination of operation preset and real-time call can automatically execute these operations without executing the instructions corresponding to the operations in the input preset operation sequence, reduce the dependence on high-frequency input, simplify the operation process, avoid mistakes or delays caused by cumbersome operations, improve execution efficiency, and have a high success rate of operation execution. The preset operation sequence does not rely on fixed key binding, avoids operation interruptions caused by operation switching, ensures the continuity and reliability of operations, and the stability of execution, optimizes the operation management of skills and items, ensures tactical flexibility, and improves the efficiency and accuracy of virtual object control. In addition, the requirements for user proficiency of complex operations are reduced, so that users of different levels can efficiently control virtual objects in battle, reduce the troubles caused by high operation complexity for novice users, and optimize the control experience of virtual objects. In this way, by simplifying the battle operation process and reducing cumbersome skill switching and item use operations, users can focus more on tactics and the battle itself, thereby improving the fluency and operation experience in virtual object control scenes (such as game scenes).
[0146] In the embodiments of the present application, if the number of preset operation sequences is multiple, the target operation sequence among the multiple preset operation sequences can be determined in advance. During the operation sequence calling process, only the operations in the target operation sequence need to be executed, and there is no need to execute other operation sequences outside the target operation sequence. That is, in response to the action obtained when the initial interface is displayed, operations are performed, and according to the operation execution order of the target operation sequence, the virtual objects in the initial interface are controlled to sequentially perform the operations in the target operation sequence. Other operation sequences outside the target operation sequence will not affect the execution of the target operation sequence, improving the control accuracy, and there is no need to select the preset operation sequence during the execution process, improving the operation convenience.
[0147] In the embodiments of the present application, after setting the preset operation sequence, the sequence identifier and / or the operation identifier included in the preset operation sequence can also be displayed. When the number of preset operation sequences is multiple, the sequence identifier and / or the operation identifier included in the target operation sequence can be displayed. Refer to Figure 7 As shown, it is a schematic diagram of another initial interface provided by the embodiments of the present application, which is the initial interface before the execution of the preset operation sequence. The sequence identifier of the preset operation sequence or the target operation sequence can be displayed in the identifier display area 115 in the initial interface 11. The sequence identifier can be, for example, the sequence name, indicating that the preset operation sequence can be called. The operation identifier in the preset operation sequence is displayed in the progress display area 114 in the initial interface 11.
[0148] During the execution of the target operation sequence, the target operation sequence can be switched, so as to implement different functions through multiple preset operation sequences when the operation sequence needs to be called. Two of the multiple preset operation sequences are respectively denoted as the first operation sequence and the second operation sequence. When the target operation sequence is the first operation sequence, in response to the action management operation obtained when the initial interface is displayed, the operation sequence editing interface can be displayed. In response to the operation of selecting and executing the second operation sequence in the operation sequence editing interface, the target operation sequence is updated from the first operation sequence to the second operation sequence, so as to implement the call of the second operation sequence. In this way, it is not necessary to additionally set other preset sequence switching controls (such as display controls or buttons, etc.) to implement the switching of the operation sequence, reducing the display complexity and operation complexity, and the switching of the operation sequence is more accurate.
[0149] After the update, the second operation sequence, as the target operation sequence, can have a selected execution mark, and the first operation sequence may not have a selected execution identifier. The selected execution mark can be the selected state mark of the selected execution control, etc. In addition, when the operation sequence editing interface is displayed, the preset operation sequence can also be edited, as well as the operation identifier in the preset operation sequence, so as to implement the reset of the preset operation sequence. The editing process refers to the foregoing description and will not be elaborated here.
[0150] In addition, the first operation sequence and the second operation sequence can also be switched through a sequence switching operation. For example, in response to the sequence switching operation, the target operation sequence is updated from the first operation sequence to the second operation sequence, which can achieve a quick switch of the target operation sequence, simplify the operation process, improve the operation efficiency, and cope with scenarios with high immediacy.
[0151] In actual operation, the sequence switching operation can be a triggering operation on a preset sequence switching control. For example, it can include a sequential switching operation or a switching operation for a specified operation sequence. The sequential switching operation can include a first switching operation and a second switching operation, which are used to perform switching in different directions according to the order of the preset operation sequence. The switching operation for a specified operation sequence can include the sequence identifier of the specified operation sequence and a switching determination operation, and the specified operation sequence serves as the second operation sequence.
[0152] When the initial interface 11 is displayed, in the case where the sequence identifier of the target operation sequence is displayed in the identifier display area 115, referring to Figure 7 as shown, when the target operation sequence is the first operation sequence, the identifier display area 115 can display the sequence identifier of the first operation sequence. When the target operation sequence is updated to the second operation sequence, the identifier display area 115 can display the sequence identifier of the second operation sequence, thereby indicating that the second operation sequence can be called.
[0153] In addition, before the action execution operation is obtained, the associated area of the identifier display area 113 in the initial interface 11 can also display the triggering method of the action execution operation for calling the preset operation sequence. Referring to Figure 7 as shown, the prompt message "LT (click to execute)" is used to indicate that clicking the LT button can execute operation sequence 1, improving the convenience of using the preset operation sequence by the user. The associated area of the identifier display area 113 can also display the triggering method of the action management operation. For example, the prompt message "LT (long press to manage)" is used to indicate that long pressing the LT button can trigger the action management operation, and then display the operation sequence editing interface.
[0154] In the embodiment of the present application, during the execution of the preset operation sequence (referring to 1B in the initial interface for reference) Figure 1 in response to an interruption operation, the execution of the operations in the preset operation sequence can be stopped. In this way, the preset operation sequence can be stopped at any time to adapt to the combat environment of the virtual object, avoid inappropriate execution results caused by inappropriate automatic execution, and the automatic execution can be stopped through the interruption operation, which has high operation efficiency.
[0155] In addition, if the operation identifier in the preset operation sequence is displayed in the progress display area of the initial interface, the display of the indicator 115 for the current operation can also be cancelled, that is, the initial interface returns to the state before the execution of the preset operation sequence. The state before the execution of the preset operation sequence is referred to as Figure 7 shown.
[0156] Refer to Figure 5 shown. The method may further include: S19, detecting an action execution operation, and then executing S20; S20, controlling the virtual object to execute the preset operation sequence; S31, detecting an interruption operation, and then executing S32; S32, ending the execution of the preset operation. That is, S103 may include S19, S20, S31, and S32. After ending the execution of the preset operation sequence, the initial interface 11 may be displayed, that is, return to execute S11.
[0157] During the execution of the preset operation sequence (similarly for the target operation sequence), in response to the action execution operation obtained when the initial node is displayed, the current operation can be sequentially determined according to the operation execution order of the preset operation sequence, and the virtual object in the initial interface is controlled to execute the current operation. In this way, by executing each of the foregoing determined current operations in sequence, the virtual object can sequentially execute multiple operations in the preset operation sequence. The current operation is determined according to the operation execution order, which is equivalent to the operations of the virtual object also being executed according to the operation execution order. This way of determining the current operation based on the order has high determination efficiency and accuracy while ensuring the sequential execution of multiple operations.
[0158] During the determination process of the current operation, the initial value of the current operation is the first operation in the preset operation sequence. When the current operation is the kth operation in the preset operation sequence, if the current operation is successfully executed, the current operation is updated from the kth operation to the (k + 1)th operation in the preset operation sequence, where k is a positive integer. In this way, the next current operation is determined after the current operation is successfully executed, reducing the unnecessary determination work of the current operation, reducing the calculation amount, and improving the accuracy of operation determination. That is to say, when the first operation is the current operation, the virtual object can be controlled to execute the first operation. When the first operation is successfully executed, the second operation can be used as the current operation, and then the virtual object is controlled to execute the second operation, and so on.
[0159] In the embodiment of the present application, during the execution of the preset operation sequence, in response to the action execution operation, the operation identifier in the preset operation sequence may also be displayed in the progress display area of the initial interface according to the identifier arrangement order. The operation identifier corresponding to the current operation has an indicator. In this way, the user can know the current operation and the next operation of the current operation from the progress display area, and then master the control information of the virtual object, and accurately control the virtual object according to the current operation and the next operation, which has high control accuracy.
[0160] Reference Figure 1 As shown in Figure 1B, the operation identifier in the preset operation sequence is displayed in the progress display area 114 in the upper left corner of the initial interface 11. If the current operation is the first operation in the preset operation sequence, the operation identifier corresponding to the first operation can be added with an indicator 115. As the current operation is switched, the indicator 115 is added to different positions of the operation identifier to indicate the execution status of the preset operation sequence in real time.
[0161] In the embodiments of the present application, the current operation can also be manually adjusted. When it is automatically determined that the current operation is the k-th operation in the preset operation sequence, in response to the first control operation, the current operation can be updated from the k-th operation to the (k + 1)-th operation in the preset operation sequence; or, in response to the second control operation, the current operation is updated from the k-th operation to the (k - 1)-th operation in the preset operation sequence. Then, the first control operation can also be referred to as the forward usage operation, and the second control operation can also be referred to as the backward usage operation.
[0162] That is to say, according to the first control operation and the second control operation, the current operation can be automatically updated, and the current position moves one bit backward or forward, so that the k-th operation is skipped and the (k + 1)-th operation or the (k - 1)-th operation is executed. Without changing the preset operation sequence, the operation can be switched in real time through the first control operation or the second control operation to adapt to the progress of the current battle in real time, with relatively high control efficiency.
[0163] Reference Figure 5 As shown, S20 may include S21 - S25. S21 is to determine the new current operation, and the initially determined current operation is the first operation in the preset operation sequence; S22 is to detect the first control operation and execute S23; S23 is to update the current operation to the next operation; S24 is to detect the second control operation and execute S25; S25 is to update the current operation to the previous operation. Then, the execution of the current operation can be based on the determined current operation.
[0164] After obtaining the action execution operation, the execution stage of the preset operation sequence can be entered. In the associated area of the identifier display area 113 in the initial interface 11, the triggering method for interrupting the action execution operation of the preset operation sequence can also be displayed. Reference Figure 1 Figure Figure 8 shown Figure 8 This is another schematic diagram of the initial interface provided by the embodiments of the present application. The prompt message "RT (long press - interrupt execution)" is used to indicate that long pressing the RT button can interrupt the execution sequence 1, improving the control accuracy of the user for the preset operation sequence.
[0165] The associated area of the identification display area 113 in the initial interface 11 can also display the triggering method for displaying action management operations. For example, the prompt message "LT (long press - management sequence)" is used to indicate that long pressing the LT button can trigger the action management operation, and then display the operation sequence editing interface. The associated area of the identification display area 113 in the initial interface 11 can also display the triggering method for displaying the first control operation. For example, the prompt message "LT (single click - use forward)" is used to indicate that single clicking the LT button can trigger the first control operation, so as to realize the sequential switching from sequence 2 to sequence 3. The associated area of the identification display area 113 in the initial interface 11 can also display the triggering method for displaying the second control operation. For example, the prompt message "RT (single click - use backward)" is used to indicate that single clicking the RT button can trigger the second control operation, so as to realize the reverse switching from sequence 2 to sequence 1.
[0166] In summary, during the execution of the preset operation sequence, the user can interrupt the execution of the preset operation sequence according to the actual situation, can also modify and reset the operation sequence, and can also perform the switching of the operation sequence to adapt to combat changes and strategic requirements, enhancing the flexibility of tactical operations.
[0167] In the embodiment of the present application, refer to Figure 8 As shown, if the virtual object successfully executes the current operation (for example, the first operation), a successful execution prompt can be displayed in the result display area 116. For example, "Item use completed" is displayed, and a new current operation is determined. At this time, the new current operation is the second operation to sequentially execute the subsequent operations in sequence 1.
[0168] Before controlling the virtual object to execute the current operation, it can also be determined whether the current operation meets the execution conditions. If so, the current operation can be executed. If not, it means that the current operation does not have the execution conditions, then an execution failure prompt can be displayed, and the execution of the operations in the preset operation sequence can be stopped, waiting for the user to clear the exception and then call the preset operation sequence again. That is, when the current operation does not have the execution conditions, the system can prevent the execution of the current operation and notify the user through the execution failure prompt, enabling the user to know the operation execution result and improving the interaction effectiveness. The non - fulfillment of the execution conditions, such as insufficient resources or state restrictions that prevent execution, etc. The execution failure prompt can be determined through a preset feedback mechanism. For example, it is prompted that there is insufficient resources, or the current state cannot be executed, etc.
[0169] Refer to Figure 5As shown, S20 may further include determining the execution process of the current operation after the current operation, specifically including S2B. If the current operation meets the execution condition, then execute S2C; if it does not meet the execution condition, then execute S2D; S2C, execute the current operation; S2D, display a failure prompt. After S2D, the execution of the preset operation sequence may also be ended, that is, execute S32.
[0170] In the embodiments of the present application, a continuous execution result may also be set. After the virtual object executes the current operation, the continuous execution result may be updated. If the continuous execution result meets the bonus condition, a bonus parameter may be determined for the virtual object. The bonus parameter is used to indicate an additional attribute bonus for the virtual object, such as at least one of a physical strength increase parameter, a blood volume increase parameter, an output damage bonus parameter, an item usage effect bonus parameter, an item usage duration bonus parameter, etc.
[0171] Currently, if a bonus parameter is determined before the execution of the current operation, the virtual object may be controlled to execute the current operation according to the bonus parameter, so that the operation result of the current operation can be bonused, such as obtaining an additional item usage effect, output damage bonus, etc. Of course, when the current operation is successfully executed, the continuous execution result may also be updated.
[0172] Reference Figure 5 As shown, before S2B, and after S23 and S25, S20 may further include S29. When the continuous execution result meets the bonus condition, execute S2A; when it does not meet the bonus condition, directly execute S2B; S2A, obtain a bonus. In this way, the execution of the current operation is carried out according to the bonus parameter, so as to execute the current operation according to the obtained bonus. If the bonus condition is not met, no bonus can be obtained. Therefore, the current operation can be executed without the corresponding bonus.
[0173] The continuous execution result may include the number of consecutive executions (Combo). When the number of consecutive executions exceeds the preset number, it can be considered that when the continuous execution result meets the bonus condition, a bonus parameter can be determined for the virtual object. Reference Figure 9 As shown, it is a schematic diagram of another initial interface provided by the embodiments of the present application. It may include a continuous execution result display area 117, which is used to display the current number of consecutive executions, such as 5, and a prompt message for the continuous execution result: when the number of consecutive executions is greater than 5, the bonus parameter is "the duration of the medicine and status bonus is doubled"; when the number of consecutive executions is greater than 10, the bonus parameter is "weapon damage increased", etc. Of course, the continuous execution result may include the operation category and the number of consecutive executions. When the number of consecutive executions meets the bonus condition, the bonus parameter may be determined according to the operation category, such as continuously or using medicine in a short time to stack may delay the duration, and continuously executing combat actions to obtain additional damage, etc.
[0174] In the embodiments of the present application, during the execution of a preset operation sequence, other manual operations can also be obtained. The manual operations do not affect the execution order and execution position of the preset operation sequence (i.e., the position of the current operation in the preset operation sequence, which can also be said that there is no switching of the current operation). In this way, in response to the obtained operation to be executed, after the virtual object in the initial interface executes the operation to be executed, the current operation is executed, so that the operation execution of the virtual object has higher freedom and real-time performance, increasing the flexibility of tactical operations. The automatic execution of the preset operation sequence does not affect the execution of the operation to be executed, improving the effectiveness of the operation.
[0175] Of course, since the operation to be executed does not fall within the normal execution scope of the operations in the preset operation sequence, the insertion of this operation will interrupt the continuous execution of the preset operation sequence, and the continuous execution count can be cleared. In addition, states such as the virtual object being attacked or silenced will not interrupt the invocation of the preset operation sequence. Refer to Figure 5 As shown, after S21, S20 may further include: S26, detecting an operation to be executed, and then executing S27; S27, executing the operation to be executed; S28, clearing the continuous execution count. After S28, S29 may be executed, thereby entering the execution link of the current operation. At this time, there is usually no bonus corresponding to the continuous execution count for the current operation.
[0176] Based on a virtual object control method provided by the embodiments of the present application, the embodiments of the present application further provide a virtual object control device. Refer to Figure 10 As shown, it is a structural block diagram of a virtual object control device provided by the embodiments of the present application. The virtual object control device 1300 includes:
[0177] An editing interface display unit 1301, configured to display an operation sequence editing interface in response to an action editing operation obtained when the initial interface is displayed; the operation sequence editing interface includes candidate operation identifiers and a sequence editing area, and the sequence editing area is used to display the operation identifiers in the preset operation sequence;
[0178] An identifier adding unit 1302, configured to add the candidate operation identifier corresponding to the action adding operation to the sequence editing area in response to an action adding operation for the preset operation sequence; the arrangement order of the identifiers in the sequence editing area is used to indicate the operation execution order of the preset operation sequence;
[0179] An execution unit 1303, configured to control the virtual object in the initial interface to sequentially execute the operations in the preset operation sequence according to the operation execution order in response to an action execution operation obtained when the initial interface is displayed.
[0180] Optionally, the execution unit 1303 includes:
[0181] An operation determination unit, configured to perform an operation in response to an action obtained when presenting the initial interface, and sequentially determine the current operation according to the operation execution order; wherein, the initial value of the current operation is the first operation in the preset operation sequence; when the current operation is the k-th operation in the preset operation sequence, if the current operation is successfully executed, the current operation is updated from the k-th operation to the (k + 1)-th operation in the preset operation sequence; the k is a positive integer;
[0182] An operation execution unit, configured to control a virtual object in the initial interface to perform the current operation.
[0183] Optionally, when the current operation is the k-th operation in the preset operation sequence, the apparatus further includes an operation switching unit, configured to:
[0184] In response to a first control operation, update the current operation from the k-th operation to the (k + 1)-th operation in the preset operation sequence;
[0185] Or, in response to a second control operation, update the current operation from the k-th operation to the (k - 1)-th operation in the preset operation sequence.
[0186] Optionally, the operation execution unit is specifically configured to:
[0187] In response to an operation to be executed obtained, control the virtual object in the initial interface to perform the current operation after performing the operation to be executed.
[0188] Optionally, the apparatus further includes:
[0189] A parameter determination unit, configured to, after controlling the virtual object in the initial interface to perform the current operation, if it is determined that the continuous execution result meets the addition condition, determine an addition parameter for the virtual object.
[0190] Optionally, the apparatus further includes:
[0191] An interruption unit, configured to stop the execution of the operations in the preset operation sequence in response to an interruption operation; and / or,
[0192] A failure display unit, configured to, if it is determined that the current operation does not have execution conditions, display a failure prompt and stop the execution of the operations in the preset operation sequence.
[0193] Optionally, the apparatus further includes:
[0194] An execution progress display unit, configured to respond to the action execution operation, and display the operation identifiers in the preset operation sequence in the progress display area of the initial interface according to the arranged order of the identifiers, where the operation identifier corresponding to the current operation has an indicator.
[0195] Optionally, the number of the preset operation sequences is multiple, the sequence editing area is used to display the operation identifiers in the preset operation sequence being edited, and the device further includes:
[0196] A sequence selection unit, configured to determine the first preset operation sequence among the multiple preset operation sequences as the target operation sequence, or use the preset operation sequence corresponding to the selected execution operation as the target operation sequence;
[0197] The execution unit 1303 is specifically configured to: respond to the action execution operation obtained when displaying the initial interface, and control the virtual object in the initial interface to sequentially execute the operations in the target operation sequence according to the operation execution order of the target operation sequence.
[0198] Optionally, the operation sequence editing interface further includes a sequence display area for displaying the sequence information of the preset operation sequence, and the device further includes a first editing unit, configured to:
[0199] Respond to a sequence addition operation, and add a preset operation sequence in the sequence display area; and / or,
[0200] Respond to a sequence deletion operation on the third operation sequence in the preset operation sequence, and delete the third operation sequence from the sequence display area; and / or,
[0201] The sequence information includes a sequence identifier. Respond to a name definition operation on the fourth operation sequence in the preset operation sequence, and update the sequence identifier of the fourth operation sequence according to the input content corresponding to the name definition operation; and / or,
[0202] Respond to a sequence save operation, and synchronize the sequence information of the preset operation sequence according to the operation identifiers in the sequence editing area; and / or,
[0203] Add a selected execution mark for the target operation sequence in the sequence display area.
[0204] Optionally, if the preset operation sequence includes a first operation sequence and a second operation sequence, the device further includes:
[0205] An interface display unit, configured to display the operation sequence editing interface in response to an action management operation obtained when displaying the initial interface when the target operation sequence is the first operation sequence;
[0206] An operation switching unit, configured to perform an operation in response to a selection of a second operation sequence in the operation sequence editing interface, and update the target operation sequence from the first operation sequence to the second operation sequence.
[0207] Optionally, the device further includes a second editing unit, configured to:
[0208] In response to an identification deletion operation on a first identifier in the sequence editing area, delete the first identifier from the sequence editing area; and / or,
[0209] In response to an emptying operation on the sequence editing area, delete all operation identifiers in the sequence editing area; and / or,
[0210] In response to a position adjustment operation on a second identifier in the sequence editing area, adjust the position of the second identifier.
[0211] It can be seen from the above technical solutions that in response to an action editing operation obtained when presenting an initial interface, an operation sequence editing interface is presented. The operation sequence editing interface is used for editing an operation sequence, including candidate operation identifiers and a sequence editing area. The sequence editing area is used for presenting operation identifiers in a preset operation sequence. When this editing interface is presented, in response to an action addition operation on the preset operation sequence, the candidate operation identifier corresponding to the action addition operation is added to the sequence editing area. The arrangement order of the identifiers in the sequence editing area is used to indicate the operation execution order of the preset operation sequence. Thus, the operations included in the preset operation sequence and the operation execution order are preset through the operation sequence editing interface, which is equivalent to providing an operation chain corresponding to the preset operation sequence. When presenting the initial interface, in response to an obtained action execution operation, the virtual object in the initial interface can be controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order. In this way, the dynamic call of the operation chain in the preset operation sequence can be realized through the action execution operation in the initial interface, and these operations can be executed without executing the instructions corresponding to the operations in the preset operation sequence, reducing the dependence on high-frequency input, simplifying the operation process, and having a relatively high operation execution success rate, ensuring the coherence of operations and the stability of execution, and improving the efficiency and accuracy of virtual object control.
[0212] An embodiment of the present application further provides a computer device. The computer device is the computer device described above, and may include a terminal device or a server. The foregoing virtual object control device may be configured in the computer device. The computer device will be introduced below with reference to the accompanying drawings.
[0213] If the computer device is a terminal device, please refer to Figure 11 As shown, an embodiment of the present application provides a terminal device. Taking the terminal device as a mobile phone as an example:
[0214] Figure 11 Shown is a block diagram of a partial structure of a mobile phone related to the terminal device provided in an embodiment of the present application. Referring to Figure 11 , the mobile phone includes: a Radio Frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a Wireless Fidelity (WiFi) module 1470, a processor 1480, and a power supply 1490 and other components. Those skilled in the art can understand that Figure 11 the structure of the mobile phone shown in
[0215] does not limit the mobile phone, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Figure 11 The following specifically introduces each component of the mobile phone:
[0216] The RF circuit 1410 can be used to receive and send information or signals during a call. Specifically, after receiving the downlink information from the base station, it is given to the processor 1480 for processing; in addition, the uplink data designed is sent to the base station.
[0217] The memory 1420 can be used to store software programs and modules. The processor 1480 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system, applications required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.), etc. In addition, the memory 1420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0218] The input unit 1430 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432.
[0219] The display unit 1440 can be used to display information input by the user, information provided to the user, and various menus of the mobile phone. The display unit 1440 may include a display panel 1441.
[0220] The mobile phone may further include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.
[0221] The audio circuit 1460, speaker 1461, and microphone 1462 can provide an audio interface between the user and the mobile phone.
[0222] WiFi belongs to short - range wireless transmission technology. The mobile phone can help users send and receive emails, browse the web, and access streaming media through the WiFi module 1470, which provides users with wireless broadband Internet access.
[0223] The processor 1480 is the control center of the mobile phone, connecting various parts of the entire mobile phone using various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 1420, and by calling data stored in the memory 1420, it executes various functions of the mobile phone and processes data.
[0224] The mobile phone also includes a power supply 1490 (such as a battery) for powering each component.
[0225] In this embodiment, the processor 1480 included in the terminal device further has the following functions:
[0226] In response to an action editing operation obtained when presenting the initial interface, present an operation sequence editing interface; the operation sequence editing interface includes candidate operation identifiers and a sequence editing area, and the sequence editing area is used to present the operation identifiers in a preset operation sequence;
[0227] In response to an action addition operation for the preset operation sequence, add the candidate operation identifier corresponding to the action addition operation to the sequence editing area; the arrangement order of the identifiers in the sequence editing area is used to indicate the operation execution order of the preset operation sequence;
[0228] In response to an action execution operation obtained when presenting the initial interface, control the virtual objects in the initial interface to sequentially execute the operations in the preset operation sequence according to the operation execution order.
[0229] If the computer device is a server, the embodiments of the present application further provide a server. Please refer to Figure 12 as shown Figure 12This is a structural diagram of the server 1500 provided by an embodiment of the present application. The server 1500 may vary significantly due to different configurations or performances. It may include one or more processors 1522, such as a Central Processing Unit (CPU for short), a memory 1532, and one or more storage media 1530 (such as one or more mass storage devices) for storing application programs 1542 or data 1544. Among them, the memory 1532 and the storage media 1530 can be transient storage or persistent storage. The program stored in the storage media 1530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Further, the processor 1522 can be set to communicate with the storage media 1530 and execute a series of instruction operations in the storage media 1530 on the server 1500.
[0230] The server 1500 may further include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input / output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM and so on.
[0231] In the above embodiments, the steps executed by the server can be based on Figure 12 the server structure shown.
[0232] In addition, an embodiment of the present application also provides a computer-readable storage medium for storing a computer program for executing the method provided in the above embodiment.
[0233] An embodiment of the present application also provides a computer program product including a computer program, which, when running on a computer device, causes the computer device to execute the method provided in the above embodiment.
[0234] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to a computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the computer program is executed, it executes the steps including the above method embodiments; and the aforementioned computer-readable storage medium can be at least one of the following media: Read-only Memory (abbreviated as ROM in English), RAM, magnetic disk, or optical disc, etc., which can store computer programs.
[0235] It should be noted that the various embodiments in this specification are described in a progressive manner. For the same or similar parts among the various embodiments, reference can be made to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative work.
[0236] As described above, this is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present application should be covered by the protection scope of the present application. Moreover, on the basis of the implementation manners provided in the above aspects, the present application can be further combined to provide more implementation manners. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A virtual object control method, characterized in that: The method comprises: In response to the action editing operation acquired when the initial interface is displayed, an operation sequence editing interface is displayed; the operation sequence editing interface includes a candidate operation identifier and a sequence editing area, and the sequence editing area is used to display the operation identifiers in the preset operation sequence; In response to an action adding operation for the preset operation sequence, adding a candidate operation identifier corresponding to the action adding operation to the sequence editing area; the identifier arrangement order in the sequence editing area is used to indicate the operation execution order of the preset operation sequence; In response to the action execution operation acquired when the initial interface is displayed, the virtual objects in the initial interface are controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order.
2. The method according to claim 1, characterized in that The step of responding to the action execution operation acquired when displaying the initial interface and controlling the virtual objects in the initial interface to sequentially execute the operations in the preset operation sequence according to the operation execution order includes: In response to the action execution operation obtained when the initial interface is displayed, the current operation is determined in sequence according to the operation execution order; wherein the initial value of the current operation is the first operation in the preset operation sequence; when the current operation is the kth operation in the preset operation sequence, if the current operation is executed successfully, the current operation is updated from the kth operation to the k+1th operation in the preset operation sequence; k is a positive integer; Control the virtual object in the initial interface to perform the current operation.
3. The method according to claim 2, characterized in that When the current operation is the kth operation in the preset operation sequence, the method further includes: In response to a first control operation, updating the current operation from the kth operation to the k+1th operation in the preset operation sequence; Or, in response to a second control operation, the current operation is updated from the kth operation to the k-1th operation in the preset operation sequence.
4. The method according to claim 2, characterized in that: The controlling the virtual object in the initial interface to perform the current operation includes: In response to the acquired operation to be executed, the virtual object in the initial interface is controlled to execute the current operation after executing the operation to be executed.
5. The method according to claim 2, characterized in that: After controlling the virtual object in the initial interface to perform the current operation, the method includes: If it is determined that the continuous execution results meet the bonus condition, a bonus parameter is determined for the virtual object.
6. The method according to claim 2, characterized in that The method further comprises: In response to the interrupt operation, stopping the execution of the operations in the preset operation sequence; and / or, If it is determined that the current operation does not meet the execution conditions, an execution failure prompt is displayed, and the execution of the operations in the preset operation sequence is stopped.
7. The method according to claim 2, characterized in that: The method further comprises: In response to the action execution operation, the operation identifiers in the preset operation sequence are displayed in the progress display area of the initial interface according to the identifier arrangement order, and the operation identifier corresponding to the current operation has an indicator.
8. The method according to claim 1, characterized in that The number of the preset operation sequences is multiple, and the sequence editing area is used to display the operation identifiers in the preset operation sequence being edited. The method further includes: Determine the first preset operation sequence among the plurality of preset operation sequences as the target operation sequence, or select the preset operation sequence corresponding to the execution operation as the target operation sequence; In response to the action execution operation obtained when the initial interface is displayed, the virtual objects in the initial interface are controlled to sequentially execute the operations in the preset operation sequence according to the operation execution order, including: in response to the action execution operation obtained when the initial interface is displayed, the virtual objects in the initial interface are controlled to sequentially execute the operations in the target operation sequence according to the operation execution order of the target operation sequence.
9. The method according to claim 8, characterized in that The operation sequence editing interface also includes a sequence display area for displaying sequence information of a preset operation sequence. The method further includes: In response to a sequence adding operation, adding a preset operation sequence in the sequence display area; and / or, In response to a sequence deletion operation on a third operation sequence in the preset operation sequence, deleting the third operation sequence from the sequence display area; and / or, The sequence information includes a sequence identifier, and in response to a name definition operation for a fourth operation sequence in the preset operation sequence, the sequence identifier of the fourth operation sequence is updated according to input content corresponding to the name definition operation; and / or, In response to a sequence saving operation, synchronizing sequence information of the preset operation sequence according to the operation identifier in the sequence editing area; and / or, A selected execution mark is added to the target operation sequence in the sequence display area.
10. The method according to claim 8, characterized in that If the preset operation sequence includes a first operation sequence and a second operation sequence, the method further includes: When the target operation sequence is the first operation sequence, in response to the action management operation acquired when the initial interface is displayed, the operation sequence editing interface is displayed; In response to selecting and executing an operation on a second operation sequence in the operation sequence editing interface, the target operation sequence is updated from the first operation sequence to the second operation sequence.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: In response to an identifier deletion operation on a first identifier in the sequence editing region, deleting the first identifier from the sequence editing region; and / or, In response to a clear operation on the sequence editing area, deleting all operation identifiers in the sequence editing area; and / or, In response to a position adjustment operation on a second marker in the sequence editing area, the position of the second marker is adjusted.
12. A virtual object control device, characterized in that: The device comprises: An editing interface display unit, used to display an operation sequence editing interface in response to an action editing operation acquired when displaying the initial interface; the operation sequence editing interface includes a candidate operation identifier and a sequence editing area, and the sequence editing area is used to display the operation identifiers in the preset operation sequence; an identifier adding unit, configured to, in response to an action adding operation for the preset operation sequence, add a candidate operation identifier corresponding to the action adding operation to the sequence editing area; an arrangement order of the identifiers in the sequence editing area is used to indicate an execution order of operations of the preset operation sequence; An execution unit is used to respond to the action execution operation obtained when the initial interface is displayed, and control the virtual objects in the initial interface to sequentially execute the operations in the preset operation sequence according to the operation execution order.
13. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the virtual object control method described in any one of claims 1-11 according to the instructions in the computer program.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the virtual object control method according to any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that When it is run on a computer device, the computer device executes the virtual object control method according to any one of claims 1 to 11.