Target task execution method and device, storage medium and electronic equipment
By introducing dual -dialogue slots and cursor systems in virtual game scenes, players can efficiently control the stable state of virtual objects, solve the problem of low operation efficiency in existing technologies, and achieve faster and accurate target task execution.
Patent Information
- Application Number
- CN202310929742.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-01-28
AI Technical Summary
In a virtual game scenario, the player needs to perform multiple operations repeatedly to maintain the stable state of the virtual object, resulting in low operation efficiency.
By displaying two independent scale slots and cursors on the task interface, players can control the first and second cursors, follow the first -point and second scales that follow the system, and meet the task at the preset duration to meet the task. When completing the conditions, successfully perform the target task.
By controlling two different directions and speed campaigns with both hands, it can quickly simulate the game experience that continues to maintain the state of virtual objects, solve the problem of complex and low efficiency of the operation process, and improve the implementation efficiency of the target task.
Smart Images

Figure CN119367762A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for executing a target task, a storage medium, and an electronic device. Background Art
[0002] In a virtual game scene, players are usually required to perform different trigger operations to simulate the control of virtual objects. For example, in the fishing gameplay, by clicking the cast rod button on the game interface, fishing begins, and the cursor above the scale bar begins to move left and right at a certain speed; when the player clicks the cast rod button, the cursor above stops moving, and the player is judged whether he has successfully caught the fish based on the stop position.
[0003] In order to continuously maintain the stability of the fishing rod after casting, the cursor and scale bar on the game interface are usually used to simulate the real experience of continuously maintaining the state of the fishing rod. However, this single cursor + scale bar gameplay requires the player to repeatedly perform multiple operations on the cursor above the scale bar before moving the cursor to the preset success range.
[0004] For another example, in the activity gameplay of "A Hundred Scenes of Jiangnan", the player continuously presses the inking button of the flower-scattering girl on the interface, and the lotus cursor will move from left to right according to the moving speed. Once the button is released, the lotus cursor will stay at the current position. Therefore, the player is also required to repeat the operation on the lotus cursor multiple times to move the lotus cursor to the preset color area.
[0005] It can be seen that in the above two modes of play, since players can only simulate the real experience of continuously maintaining the state of virtual objects by operating the cursor repeatedly with one hand, a lot of operation time is consumed, resulting in technical problems of low efficiency in the execution of the target task.
[0006] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0007] The embodiments of the present application provide a method and device for executing a target task, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency that occurs during the execution of the target task.
[0008] According to one aspect of an embodiment of the present application, a method for executing a target task is provided, comprising: displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; during the execution of the target task, displaying the first scale bar to move in the first scale slot and displaying the second scale bar to move in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot; displaying that the target task is successfully executed when the first duration and the second duration meet a preset task completion condition, wherein the first duration is the duration during which the first cursor is located in the first scale bar during the execution of the target task, and the second duration is the duration during which the second cursor is located in the second scale bar during the execution of the target task.
[0009] Optionally, in response to the triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to the triggering operation on the second cursor, controlling the second cursor to move in the second scale slot, includes: in response to the triggering operation on the first cursor, controlling the first cursor to move along one of the first group of directions in the first scale slot, and in response to the triggering operation on the second cursor, controlling the second cursor to move along one of the second group of directions in the second scale slot, wherein the directions in the first group of directions are different from the directions in the second group of directions; or in response to the triggering operation on the first cursor, controlling the first cursor to move along a first path in the first scale slot, and in response to the triggering operation on the second cursor, controlling the second cursor to move along a second path in the second scale slot, wherein the first path is different from the second path.
[0010] Optionally, the above-mentioned display of the first scale bar moving in the first scale groove includes: displaying the first scale bar moving in the first scale groove, wherein the moving speed of the first scale bar in the first scale groove is fixed or variable; and / or displaying the second scale bar moving in the second scale groove includes: displaying the second scale bar moving in the second scale groove, wherein the moving speed of the second scale bar in the second scale groove is fixed or variable.
[0011] Optionally, the above method also includes: determining the moving speed of the first scale bar in the first scale slot according to a first set of task execution parameters in the target task, wherein the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, and the values of the parameters in the first set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or determining the moving speed of the first scale bar in the first scale slot according to the execution time of the target task, wherein the moving speed of the first scale bar in the first scale slot is different for different execution times, or the moving speed of the first scale bar in the first scale slot is different for different time intervals of the execution time; or determining the moving speed of the first scale bar in the first scale slot according to the execution progress of the target task, wherein the moving speed of the first scale bar in the first scale slot is different for different execution progresses, or the moving speed of the first scale bar in the first scale slot is different for different progress intervals of the execution progress.
[0012] Optionally, the above-mentioned determining the moving speed of the first scale bar in the first scale slot according to the first set of task execution parameters in the target task includes: when the target task is a virtual task executed in the target virtual environment, determining the moving speed of the first scale bar in the first scale slot according to the first set of virtual environment parameters in the target virtual environment, wherein the first set of task execution parameters includes a first set of virtual environment parameters, the first set of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the first set of virtual environment parameters is changing, the values of the virtual environment parameters in the first set of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the first set of virtual environment parameters includes one or more virtual environment parameters. The moving speed of a scale bar in a first scale slot is different; or when the target task is to control the target action performed by the target virtual object, the moving speed of the first scale bar in the first scale slot is determined according to the first group of object control parameters of the target virtual object when performing the target action, wherein the first group of task execution parameters includes a first group of object control parameters, the first group of object control parameters includes one or more object control parameters, during the execution of the target task, at least one object control parameter in the first group of object control parameters changes, the values of the object control parameters in the first group of object control parameters are different or the value ranges of the object control parameters are different, and the moving speed of the first scale bar in the first scale slot is different.
[0013] Optionally, the above method also includes: determining the moving speed of the second scale bar in the second scale groove according to a second set of task execution parameters in the target task, wherein the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters is changed, and the values of the parameters in the second set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the second scale bar in the second scale groove is different; or determining the moving speed of the second scale bar in the second scale groove according to the execution time of the target task, wherein the moving speed of the second scale bar in the second scale groove is different for different execution times, or the moving speed of the second scale bar in the second scale groove is different for different time intervals of the execution time; or determining the moving speed of the second scale bar in the second scale groove according to the execution progress of the target task, wherein the moving speed of the second scale bar in the second scale groove is different for different execution progresses, or the moving speed of the second scale bar in the second scale groove is different for different progress intervals of the execution progress.
[0014] Optionally, the above-mentioned determining the moving speed of the second scale bar in the second scale groove according to the second set of task execution parameters in the target task includes: when the target task is a virtual task executed in the target virtual environment, determining the moving speed of the second scale bar in the second scale groove according to the second set of virtual environment parameters in the target virtual environment, wherein the second set of task execution parameters includes a second set of virtual environment parameters, the second set of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the second set of virtual environment parameters is changed, the values of the virtual environment parameters in the second set of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the second set of virtual environment parameters includes one or more virtual environment parameters. The two scale bars move at different speeds in the second scale slot; or when the target task is to control the target action performed by the target virtual object, the moving speed of the second scale bar in the second scale slot is determined according to the second group of object control parameters of the target virtual object when performing the target action, wherein the second group of task execution parameters includes a second group of object control parameters, the second group of object control parameters includes one or more object control parameters, during the execution of the target task, at least one object control parameter in the second group of object control parameters changes, the values of the object control parameters in the second group of object control parameters are different or the value ranges of the object control parameters are different, and the moving speed of the second scale bar in the second scale slot is different.
[0015] Optionally, the moving speed of the first scale bar in the first scale groove is variable, and the moving speed of the second scale bar in the second scale groove is variable, and the change in the moving speed of the first scale bar in the first scale groove is different from the change in the moving speed of the second scale bar in the second scale groove; or the moving speed of the first scale bar in the first scale groove changes with the change of a first set of task execution parameters in the target task, and the moving speed of the second scale bar in the second scale groove changes with the change of a second set of task execution parameters in the target task, the first set of task execution parameters is different from the second set of task execution parameters, the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes.
[0016] Optionally, the above-mentioned control of the first cursor to move in the first scale groove in response to the triggering operation on the first cursor includes: controlling the first cursor to move in the first scale groove in response to the triggering operation on the first cursor, wherein, when controlling the first cursor to move in the first scale groove, the first cursor is not subject to resistance, or the first cursor is subject to fixed resistance, or the first cursor is subject to variable resistance; and / or the above-mentioned control of the second cursor to move in the second scale groove in response to the triggering operation on the second cursor includes: controlling the second cursor to move in the second scale groove in response to the triggering operation on the second cursor, wherein, when controlling the second cursor to move in the second scale groove, the second cursor is not subject to resistance, or the second cursor is subject to fixed resistance, or the second cursor is subject to variable resistance.
[0017] Optionally, the above method also includes: when the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the change in the resistance experienced by the first cursor is different from the change in the resistance experienced by the second cursor; or when the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the resistance experienced by the first cursor changes with a first set of task execution parameters in the target task, and the resistance experienced by the second cursor changes with a second set of task execution parameters in the target task, the first set of task execution parameters is different from the second set of task execution parameters, the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes.
[0018] Optionally, the above-mentioned display of the target task being successfully executed when the first duration and the second duration meet the preset task completion conditions includes: when the first duration is greater than or equal to the preset first duration threshold, and the second duration is greater than or equal to the preset second duration threshold, the target task being successfully executed is displayed; or when the preset total duration of the target task is reached, the first duration is greater than or equal to the preset first duration threshold, and the second duration is greater than or equal to the preset second duration threshold, the target task being successfully executed is displayed; or when the target task is preset with a total duration, and any part of the target task is within the total duration. When the value of the task evaluation parameter is always greater than or equal to the first preset threshold value, or when the value of the task evaluation parameter is continuously less than the second preset threshold value, when the total duration is reached, it is displayed that the target task is successfully executed, wherein the value of the task evaluation parameter increases with the increase of the first duration and / or the increase of the second duration, and the value of the task evaluation parameter decreases with the increase of the third duration and / or the increase of the fourth duration, the third duration is the duration during which the first cursor is not located in the first scale bar during the execution of the target task, and the fourth duration is the duration during which the second cursor is not located in the second scale bar during the execution of the target task.
[0019] Optionally, the method further includes: displaying that the target task execution fails when the first duration and the second duration satisfy a preset task failure condition.
[0020] Optionally, the method further includes: displaying the first scale bar moving in the first scale slot, including: displaying the first scale bar moving in the first scale slot during the target virtual character's execution of the virtual flight mission, wherein the moving speed of the first scale bar moving in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and the target mission includes a virtual flight mission; displaying the second scale bar moving in the second scale slot, including: displaying the second scale bar moving in the second scale slot during the target virtual character's execution of the virtual flight mission, wherein the moving speed of the second scale bar moving in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located; and displaying the target virtual character in a preset flight balance state when the first time length and the second time length satisfy a preset balance state maintenance condition.
[0021] According to another aspect of an embodiment of the present application, a method for controlling flight of a virtual character is also provided, comprising: displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a game interface, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; during the flight of the target virtual character, displaying the first scale bar to move in the first scale slot, displaying the second scale bar to move in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the first cursor The trigger operation of the second cursor controls the second cursor to move in the second scale slot, wherein the moving speed of the first scale bar in the first scale slot corresponds to the first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and the moving speed of the second scale bar in the second scale slot corresponds to the second set of virtual environment parameters in the virtual flight environment where the target virtual character is located; when the first time length and the second time length meet the preset balance state maintenance conditions, the target virtual character is displayed in a preset flight balance state, wherein the first time length is the time length that the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is the time length that the second cursor is located in the second scale bar during the flight of the target virtual character.
[0022] According to another aspect of the embodiment of the present application, there is also provided a device for executing a target task, including: a first display unit, for displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; and a second display unit, for displaying the movement of the first scale bar in the task interface during the execution of the target task. The first cursor moves in the first scale slot and displays the second scale bar moving in the second scale slot, and in response to the triggering operation of the first cursor, the first cursor is controlled to move in the first scale slot, and in response to the triggering operation of the second cursor, the second cursor is controlled to move in the second scale slot; a third display unit is used to display that the target task is successfully executed when the first time length and the second time length meet the preset task completion conditions, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
[0023] According to another aspect of the embodiment of the present application, a flight control device for a virtual character is further provided, comprising: a fourth display unit, for displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a game interface, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; a fifth display unit, for displaying the first scale bar moving in the first scale slot, displaying the second scale bar moving in the second scale slot during the flight of the target virtual character, and controlling the first cursor to move in the first scale slot in response to a triggering operation on the first cursor, In response to a trigger operation on a second cursor, the second cursor is controlled to move in a second scale slot, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located; a sixth display unit is used to display the target virtual character in a preset flight balance state when a first time length and a second time length satisfy a preset balance state maintaining condition, wherein the first time length is a time length during which the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is a time length during which the second cursor is located in the second scale bar during the flight of the target virtual character.
[0024] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned target task execution method or the above-mentioned virtual character flight control method at runtime.
[0025] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program / instruction, which implements the steps of the above method when executed by a processor.
[0026] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute a method for executing the target task through the computer program, or to execute a flight control method for the virtual character.
[0027] Through the above-mentioned embodiment provided by the present application, by manipulating the first cursor and the second cursor in two different directions and at different speeds with both hands, respectively following the first scale bar moving in the first scale groove and the second scale bar moving in the second scale groove, and when the first time length when the first cursor is in the first scale bar and the second time length when the second cursor is in the second scale bar meet the preset task completion conditions, the target task is successfully executed. In other words, by manipulating two cursors in two different directions and at different speeds with both hands at the same time, following the two scale bars moving automatically, a game experience of continuously keeping or controlling a virtual object in a preset state can be quickly simulated, which solves the technical problem of a relatively complicated operation process caused by a relatively single movement method of the cursor in the related art, reduces the operation time, and achieves the technical effect of improving the execution efficiency of the target task. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0029] Figure 1 is a schematic diagram of an application scenario of an optional method for executing a target task according to an embodiment of the present application;
[0030] Figure 2 is a flowchart of an optional method for executing a target task according to an embodiment of the present application;
[0031] Figure 3 is a schematic diagram of an optional task interface according to an embodiment of the present application;
[0032] Figure 4 is a schematic diagram of an optional method for executing a target task according to an embodiment of the present application;
[0033] Figure 5 is a schematic diagram of a process of implementing an optional method for executing a target task in an engine according to an embodiment of the present application;
[0034] Figure 6 is a schematic diagram of an optional movement process of a first cursor and a second cursor according to an embodiment of the present application;
[0035] Figure 7 is a schematic diagram of optional moving speeds of the first scale bar and the second scale bar according to an embodiment of the present application;
[0036] Figure 8 It is a specific example of how to execute the target task in three different application scenarios;
[0037] Fig. 9is an overall flow chart of an optional method for executing a target task according to an embodiment of the present application;
[0038] Fig.10 is a flow chart of an optional virtual character flight control method according to an embodiment of the present application;
[0039] Fig.11 is a schematic structural diagram of an optional target task execution device according to an embodiment of the present application;
[0040] Fig.12 is a schematic structural diagram of an optional flight control device for a virtual character according to an embodiment of the present application;
[0041] Fig.13 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] The technical solutions in the embodiments of the present application will comply with legal provisions during implementation. When performing operations according to the technical solutions in the embodiments, the data used will not involve user privacy. While ensuring that the operation process is compliant and legal, the security of the data is guaranteed.
[0045] According to one aspect of the embodiments of the present application, a method for executing a target task is provided. As an optional implementation, the method for executing the target task can be applied to, but is not limited to, Figure 1The application scenario shown in Figure 1 In the application scenario shown, the terminal device 102 may, but is not limited to, communicate with the server 106 via the network 104, and the server 106 may, but is not limited to, perform operations on the database 108, such as write data operations or read data operations. The above-mentioned terminal device 102 may, but is not limited to, include a human-computer interaction screen, a processor, and a memory. The above-mentioned human-computer interaction screen may, but is not limited to, be used to display a task interface, a first scale bar, and a second scale bar of the target task on the terminal device 102. The above-mentioned processor may, but is not limited to, be used to respond to the above-mentioned human-computer interaction operation, perform corresponding operations, or generate corresponding instructions, and send the generated instructions to the server 106. The above-mentioned memory is used to store relevant processing data, such as the first duration, the second duration, and the task completion condition.
[0046] As an optional method, the following steps in the method for executing the target task can be executed on the server 106: Step S102, displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on the task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; Step S104, during the execution of the target task, displaying the first scale bar Move in the first scale slot and display the second scale bar moving in the second scale slot, and in response to the triggering operation of the first cursor, control the first cursor to move in the first scale slot, and in response to the triggering operation of the second cursor, control the second cursor to move in the second scale slot; step S106, when the first duration and the second duration meet the preset task completion conditions, display that the target task is successfully executed, wherein the first duration is the duration that the first cursor is located in the first scale bar during the execution of the target task, and the second duration is the duration that the second cursor is located in the second scale bar during the execution of the target task.
[0047] In the above manner, by manipulating the first cursor and the second cursor in two different directions and at different speeds with both hands, respectively following the first scale bar moving in the first scale groove and the second scale bar moving in the second scale groove, and when the first time duration when the first cursor is in the first scale bar and the second time duration when the second cursor is in the second scale bar meet the preset task completion conditions, the target task is successfully executed. In other words, by manipulating two cursors in two different directions and at different speeds with both hands at the same time, following the two automatically moving scale bars, a game experience of continuously keeping or controlling a virtual object in a preset state can be quickly simulated, which solves the technical problem of a relatively complicated operation process caused by a relatively single movement method of the cursor in the related art, reduces the operation time, and achieves the technical effect of improving the execution efficiency of the target task.
[0048] In order to solve the problem of low efficiency in the execution process of the above-mentioned target task, a method for executing the target task is proposed in the embodiment of the present application. Figure 2 : is a flowchart of a method for executing a target task according to an embodiment of the present application, and the process includes the following steps:
[0049] Step S202, displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on the task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0050] Step S204, during the execution of the target task, displaying the first scale bar moving in the first scale slot and displaying the second scale bar moving in the second scale slot, and in response to the triggering operation of the first cursor, controlling the first cursor to move in the first scale slot, and in response to the triggering operation of the second cursor, controlling the second cursor to move in the second scale slot;
[0051] Among them, the first trigger operation and the second trigger operation include but are not limited to touch operations on virtual cases, or button operations on physical buttons on the handle, or operations on game auxiliary devices (for example, game physical fishing rods, game rings), or operations on wearable devices, etc.
[0052] Step S206, when the first time length and the second time length satisfy the preset task completion conditions, displays that the target task is successfully executed, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
[0053] In order to understand how to execute the above-mentioned target tasks, the following will explain it using fishing as an example.
[0054] After the player enters the game interface, it will be displayed as follows Figure 3 The first cursor, the first scale bar, the first scale groove, the second cursor, the second scale bar and the second scale groove are shown, wherein the system controls the movement of the first scale bar and the second scale bar, and the player controls the movement of the first cursor in the first scale groove and the movement of the second cursor in the second scale groove with both hands.
[0055] For example, the player presses the first cursor with his left hand to make the first cursor move along Figure 5 The direction 1 shown in (a) moves in the first scale groove; the player presses the second cursor with his right hand for a long time, so that the second cursor moves along Figure 5 The direction 4 shown in (a) moves in the second scale groove.
[0056] The target task in this embodiment includes but is not limited to: within the total duration of the current game, the first duration of the first cursor controlled by the player's left hand being located in the first scale bar satisfies the first preset condition, and the second duration of the second cursor controlled by the player's right hand being located in the second scale bar satisfies the second preset condition.
[0057] It should be noted that the technical solutions in the embodiments of the present application can be applied to, but are not limited to, immersively simulating many real experiences in real life in a game scene, for example, simulating how a user maintains left-right balance or front-back balance when doing yoga movements, or simulating how to control the stability of the fishing rod and pay attention to the slight changes in the fishing rod when being affected by the environment during fishing.
[0058] Taking the example of maintaining the left and right balance of the body when simulating yoga movements, assuming that in real life, the left and right balance of the body is maintained by controlling the movements of the legs, the control process of the legs is converted into Figure 3 The control of the first cursor, the second cursor, the first scale bar and the second scale bar shown in the figure, wherein: Figure 3 The movement of the first scale bar and the second scale bar controlled by the system shown in the corresponding scale slots corresponds to the gravity, wind force of the surrounding environment and other resistances that affect the body balance in real life, and the first cursor and the second cursor controlled by the player's hands respectively correspond to the movements of the left leg and the right leg in life.
[0059] like Figure 4As shown in (a), when the player's left hand controls the first cursor to move in the first scale slot so that the time the first cursor is in the first scale bar meets the first preset condition; and at the same time, the player's right hand controls the second cursor to move in the second scale slot so that the time the second cursor is in the second scale bar meets the second preset condition, it is determined that the left and right balance of the user's body is successfully maintained when doing yoga movements, and the game interface is displayed as follows: Figure 4 The task execution result shown in (b) is shown in the figure.
[0060] In another specific embodiment, assuming that the target task is that the target virtual character performs a virtual flight task, then the above-mentioned displaying the first scale bar moving in the first scale slot includes: in the process of the target virtual character performing the virtual flight task, displaying the first scale bar moving in the first scale slot, wherein the moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and the target task includes the virtual flight task;
[0061] The displaying of the second scale bar moving in the second scale slot includes: displaying the second scale bar moving in the second scale slot during the process of the target virtual character performing the virtual flight mission, wherein the moving speed of the second scale bar in the second scale slot corresponds to the second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0062] When the first duration and the second duration satisfy a preset balance state maintaining condition, the target virtual character is displayed in a preset flight balance state.
[0063] On the contrary, when the first duration and the second duration satisfy the preset task failure condition, it is displayed that the target task execution has failed.
[0064] Specifically, when the first duration is less than a preset first duration threshold, and the second duration is less than a preset second duration threshold, it is displayed that the target task has failed; or
[0065] When the preset total duration of the target task is reached and the first duration is less than the preset first duration threshold, and the second duration is less than the preset second duration threshold, it is displayed that the target task has failed.
[0066] In addition, the execution process of achieving the above target tasks in the game engine can refer to Figure 5 The schematic diagram of the function implementation in the engine shown, the specific implementation process can be described in the above embodiment, and will not be repeated here.
[0067] As an optional implementation, when the first duration and the second duration meet the preset task completion conditions, displaying that the target task is successfully executed includes:
[0068] When the first duration is greater than or equal to a preset first duration threshold, and the second duration is greater than or equal to a preset second duration threshold, displaying that the target task is successfully executed; or
[0069] When the total duration preset for the target task is reached and the first duration is greater than or equal to the preset first duration threshold, and the second duration is greater than or equal to the preset second duration threshold, displaying that the target task is successfully executed; or
[0070] When a total duration is preset for the target task, and the value of the task evaluation parameter of the target task in the total duration is always greater than or equal to a first preset threshold, or the value of the task evaluation parameter is continuously less than a second preset threshold, when the total duration is reached, it is displayed that the target task is successfully executed, wherein the value of the task evaluation parameter increases with an increase in the first duration and / or an increase in the second duration, and the value of the task evaluation parameter decreases with an increase in the third duration and / or an increase in the fourth duration, the third duration being the duration during which the first cursor is not located in the first scale bar during the execution of the target task, and the fourth duration being the duration during which the second cursor is not located in the second scale bar during the execution of the target task.
[0071] For example, the total duration of the current game is 30 seconds, the first cursor is located in the first scale bar for a first duration of 15 seconds, and the second cursor is located in the second scale bar for a second duration of 20 seconds. Since both the first duration and the second duration are greater than the preset duration of 10 seconds, the target task is successfully executed.
[0072] For another example, when the total duration of the current game is 30 seconds (the preset total duration), the first cursor is located at the first time length in the first scale bar of 10 seconds, and the second cursor is located at the second time length in the second scale bar of 15 seconds. Since the first time length is greater than the first preset threshold of 8 seconds and the second time length is greater than the second preset threshold of 10 seconds, the target task will also be successfully executed.
[0073] For another example, assuming that the movement of the first cursor and the first scale bar on the first scale groove corresponds to a first scoring system, and the movement of the second cursor and the second scale bar on the second scale groove corresponds to a second scoring system (not displayed), when the first cursor is within the range of the first scale bar, the first scoring system performs a point addition operation (task evaluation parameter of the target task), otherwise it subtracts points; when the second cursor is within the range of the second scale bar, the second scoring system performs a point addition operation, otherwise it subtracts points.
[0074] Among them, for the preset total duration, the total duration is divided into a first duration, a second duration, a third duration and a fourth duration according to the duration that the first cursor is located in the first scale bar, the duration that the second cursor is in the second scale bar, the duration that the first cursor is not located in the first scale bar and the duration that the second cursor is not in the second scale bar. Then, within the first duration and / or the second duration, the value of the task evaluation parameter increases with an increase in the first duration and / or increases with an increase in the second duration; conversely, within the third duration and / or the fourth duration, the value of the task evaluation parameter decreases with an increase in the third duration and / or decreases with an increase in the fourth duration.
[0075] When the values of the task evaluation parameters of the target task are obtained according to the first scoring system and the second scoring system and it is determined that the target task is successfully executed, the following is displayed: Figure 4 The screen shown in (a) in the figure.
[0076] By adopting the above method, by simultaneously controlling two cursors in different directions and speeds with both hands and following the two automatically moving scale bars, a gaming experience of continuously maintaining or controlling a virtual object in a preset state can be quickly simulated, thereby solving the technical problem of a relatively complicated operation process caused by a relatively single movement method of the cursor in related technologies, reducing the operation time, and achieving the technical effect of improving the execution efficiency of the target task.
[0077] As an optional implementation, in response to the triggering operation on the first cursor, controlling the first cursor to move in the first scale groove, and in response to the triggering operation on the second cursor, controlling the second cursor to move in the second scale groove, includes:
[0078] In response to a trigger operation on the first cursor, the first cursor is controlled to move in a first set of directions in a first scale slot, and in response to a trigger operation on the second cursor, the second cursor is controlled to move in a second set of directions in a second scale slot, wherein the directions in the first set of directions are different from the directions in the second set of directions; or
[0079] In response to the triggering operation on the first cursor, the first cursor is controlled to move along a first path in the first scale groove, and in response to the triggering operation on the second cursor, the second cursor is controlled to move along a second path in the second scale groove, wherein the first path is different from the second path.
[0080] As an optional example, the first group of directions includes two opposite directions, and the second group of directions includes two opposite directions; or, the first group of directions includes the direction from the starting point to the end point in the first path in the first scale groove and the direction from the end point in the first path to the starting point, and the second group of directions includes the direction from the starting point to the end point in the second path in the second scale groove and the direction from the end point in the second path to the starting point.
[0081] like Figure 6 As shown in (a), the player can control the first cursor to move in two different directions, direction 1 and direction 2, in the first scale slot, and can also control the second cursor to move in two different directions, direction 3 and direction 4, in the second scale slot.
[0082] In a specific embodiment, Figure 6 As shown in (a), there is a vertical first scale groove on the left side of the game interface and a horizontal second scale groove on the right side. The player's left hand controls the first cursor to move in the first scale groove along direction 1 of the first set of directions, and the player's right hand controls the second cursor to move in the second scale groove along direction 4 of the second set of directions. Alternatively, the player's left hand controls the first cursor to move in the first scale groove in the direction opposite to direction 1, and the player's right hand controls the second cursor to move in the second scale groove in the direction opposite to direction 4.
[0083] In another specific embodiment, Figure 6 As shown in (b), there is a first scale groove with a rectangular structure on the left side of the game interface and another second scale groove with a rectangular structure on the right side. The player controls the first cursor with his left hand to move along the first path in the first scale groove, and at the same time, the player controls the second cursor with his right hand to move along the second path in the second scale groove. For example, the first cursor moves from the starting point A to the end point B in the direction indicated by the arrow, and the second cursor moves from the starting point C to the end point D in the direction indicated by the arrow; or, the first cursor moves from the end point B to the end point A, and the second cursor moves from the end point D to the starting point C.
[0084] Obviously, the first path from the starting point A to the end point B and the second path from the starting point C to the end point D are only examples and are not limited thereto. For example, the first path or the second path may also be other closed shapes such as an ellipse or a circle.
[0085] Through the above method, the diversity of cursor movement methods is increased, the flexibility of the player's control over the cursor is improved, and the user's gaming experience is further improved.
[0086] As an optional implementation, the above-mentioned displaying the first scale bar moving in the first scale groove includes: displaying the first scale bar moving in the first scale groove, wherein the moving speed of the first scale bar in the first scale groove is fixed or variable; and / or
[0087] The above-mentioned displaying the second scale bar moving in the second scale groove includes: displaying the second scale bar moving in the second scale groove, wherein the moving speed of the second scale bar in the second scale groove is fixed or variable.
[0088] In an embodiment of the present application, when the first scale bar and the second scale bar move in the corresponding scale groove, the moving speed can be a fixed value or a variable value. The following describes the implementation method of determining the moving speed of the first scale bar in the first scale groove and the moving speed of the second scale bar in the second scale groove in combination with a specific embodiment.
[0089] As an optional example, the moving speed of the first scale bar in the first scale slot is determined according to a first set of task execution parameters in the target task, wherein the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, and the values of the parameters in the first set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or
[0090] Determine the moving speed of the first scale bar in the first scale slot according to the execution time of the target task, wherein the moving speed of the first scale bar in the first scale slot is different for different execution times, or the moving speed of the first scale bar in the first scale slot is different for different time intervals of the execution time; or
[0091] According to the execution progress of the target task, the moving speed of the first scale bar in the first scale slot is determined, wherein the moving speed of the first scale bar in the first scale slot is different for different execution progresses, or the moving speed of the first scale bar in the first scale slot is different for different progress intervals of the execution progress.
[0092] Example 1
[0093] For example, suppose the target task is to calculate the game points according to whether the first cursor is in the first scale bar and the second scale bar during the movement of the first scale bar and the second cursor controlled by the player's hands, and to settle the total game points at the end of the current game. When the total game points are greater than the preset score threshold, it is determined that the target task is completed.
[0094] Taking fishing as an example, since the movement of the first scale bar and the movement of the second scale bar correspond to interference items of the actual fishing experience, such as wind force and wind direction in the surrounding environment, the first set of task execution parameters includes environmental parameters such as wind force and direction.
[0095] Example 2
[0096] When determining the moving speed of the first scale bar in the first scale slot according to the execution time of the target task, the following two situations may be included but are not limited to:
[0097] The first type: assuming that the total duration of the current game is 30 seconds, assuming that within the 1st to 10th seconds, the first scale bar moves in the first scale slot at a first speed; within the 11th to 20th seconds, the first scale bar moves in the first scale slot at a second speed; within the 21st to 30th seconds, the first scale bar moves in the first scale slot at a third speed, wherein at least two of the first speed, the second speed and the third speed have different values;
[0098] The second type: the total duration of the current game is 30 seconds, and the first scale bar moves along the first scale groove at the fourth speed; the total duration of the current game is 10 seconds, and the first scale bar moves along the first scale groove at the fifth speed; wherein the fourth speed is less than the fifth speed.
[0099] Example 3
[0100] like Figure 7 As shown, assuming that the pre-generated execution parameters are that the first scale bar needs to move from position 1 to position 3 on the first scale groove, then when moving from position 1 to position 2, the moving speed of the first scale bar is V 1 =3, when moving from position 2 to position 3, the moving speed of the first scale bar is V 2 =3.
[0101] Alternatively, the execution progress is divided into two different intervals, and the movement speed of the first scale bar is different in the first progress interval and the second progress interval.
[0102] The same method as that for determining the moving speed of the first scale bar in the first scale groove may also be used to determine the moving speed of the second scale bar in the second scale groove, specifically including:
[0103] Determining the moving speed of the second scale bar in the second scale slot according to the second set of task execution parameters in the target task, wherein the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes, and the values of the parameters in the second set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the second scale bar in the second scale slot is different; or
[0104] Determine the moving speed of the second scale bar in the second scale slot according to the execution time of the target task, wherein the moving speed of the second scale bar in the second scale slot is different for different execution times, or the moving speed of the second scale bar in the second scale slot is different for different time intervals of the execution time; or
[0105] According to the execution progress of the target task, the moving speed of the second scale bar in the second scale groove is determined, wherein the moving speed of the second scale bar in the second scale groove is different for different execution progresses, or the moving speed of the second scale bar in the second scale groove is different for different progress intervals of the execution progress.
[0106] It should be noted that since the state parameters of the virtual objects in real life corresponding to the movement control of the first cursor and the first scale bar in the first scale groove and the movement control of the second cursor and the second scale bar in the second scale groove are different, the second set of task execution parameters may be the same as or different from the first set of task execution parameters.
[0107] In addition, at the same execution time or the same execution progress, the moving speed of the second scale bar in the second scale groove may be the same as or different from the moving speed of the first scale bar in the first scale groove.
[0108] The specific steps of determining the second scale bar can refer to the description of the method for determining the moving speed of the first scale bar in the first scale groove in the above embodiment, which will not be repeated here.
[0109] As an optional implementation, the step of determining the moving speed of the first scale bar in the first scale slot according to the first set of task execution parameters in the target task includes:
[0110] In the case where the target task is a virtual task executed in the target virtual environment, the moving speed of the first scale bar in the first scale slot is determined according to a first group of virtual environment parameters in the target virtual environment, wherein the first group of task execution parameters includes a first group of virtual environment parameters, the first group of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the first group of virtual environment parameters changes, the values of the virtual environment parameters in the first group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or
[0111] In the case where the target task is to control the target action performed by the target virtual object, the movement speed of the first scale bar in the first scale slot is determined according to the first group of object control parameters of the target virtual object when performing the target action, wherein the first group of task execution parameters includes a first group of object control parameters, the first group of object control parameters includes one or more object control parameters, during the execution of the target task, at least one object control parameter in the first group of object control parameters changes, the values of the object control parameters in the first group of object control parameters are different or the value ranges of the object control parameters are different, and the movement speed of the first scale bar in the first scale slot is different.
[0112] Example 4
[0113] The target task is to Figure 8 In the case of a fishing task performed in the virtual environment shown in (a), the moving speed of the first scale bar in the first scale groove is determined based on multiple virtual environment parameters such as wind force, wind direction, and water surface fluctuation parameters in the virtual environment.
[0114] The values of the multiple virtual environment parameters are different, and at least one of the multiple virtual environment parameters is variable, for example, the wind direction remains unchanged, but the values of the wind speed and water surface fluctuation parameters change over time.
[0115] For example, when the target task is Figure 8 When performing a flight mission in the virtual environment shown in (b), the moving speed of the first scale bar in the first scale slot is determined based on multiple virtual environment parameters such as the virtual character's flight direction, orientation, air pressure, etc. in the air. For example, the offset value of the first scale bar is generated based on the offset value in the positive direction compared with the direction and orientation of the virtual character in the air, and the moving speed of the first scale bar in the first scale slot is determined based on values such as the wind force in the virtual environment.
[0116] Example 5
[0117] In the target task Figure 8 In the yoga gameplay shown in (c), the first group of object control parameters include but are not limited to the extension direction of the virtual object's arms, the distance between the two feet, the bending angle of the legs, the angle between the head and shoulders, etc.
[0118] During the execution of the target task, at least one of the multiple object control parameters is changed, and the values of the multiple object control parameters or the value ranges in which the values are located are also different.
[0119] According to the above-mentioned multiple object control parameters, the moving speed of the first scale bar in the second scale groove is determined. For example, the moving speed may be fixed or variable.
[0120] The same method as the above method of determining the moving speed of the first scale bar in the first scale slot according to the first set of task execution parameters can also be used to determine the moving speed of the second scale bar in the second scale slot according to the second set of task execution parameters, specifically including:
[0121] In the case where the target task is a virtual task executed in the target virtual environment, the moving speed of the second scale bar in the second scale slot is determined according to a second group of virtual environment parameters in the target virtual environment, wherein the second group of task execution parameters includes a second group of virtual environment parameters, the second group of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the second group of virtual environment parameters changes, the values of the virtual environment parameters in the second group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the second scale bar in the second scale slot is different; or
[0122] When the target task is to control the target action performed by the target virtual object, the movement speed of the second scale bar in the second scale slot is determined according to the second group of object control parameters of the target virtual object when performing the target action, wherein the second group of task execution parameters includes a second group of object control parameters, and the second group of object control parameters includes one or more object control parameters. During the execution of the target task, at least one object control parameter in the second group of object control parameters changes, the values of the object control parameters in the second group of object control parameters are different or the value ranges of the object control parameters are different, and the movement speed of the second scale bar in the second scale slot is different.
[0123] It should be noted that the first set of virtual environment parameters and the second set of virtual environment parameters can be the same or different. For example, in the fishing gameplay, the first set of virtual environment parameters only includes wind direction and wind force value, but the second set of virtual environment parameters includes wind direction, wind force and water surface fluctuation parameters, etc.
[0124] Similarly, the first group of object control parameters and the second group of object control parameters can be the same or different. For example, in yoga gameplay, the first group of object control parameters include the extension direction of the virtual object's arms and the distance between the two feet, but the second group of object control parameters include the distance between the two feet, the bending angle of the legs, and the angle between the head and shoulders.
[0125] By determining the moving speed of the first scale bar in the first scale groove and the moving speed of the second scale bar in the second scale groove in the above embodiments, the player controls the first cursor to follow the movement of the first scale bar and the second cursor to follow the movement of the second scale bar with both hands, thereby continuously keeping the virtual character or virtual object in a preset state.
[0126] For example, in the yoga gameplay, to simulate the left-right balance and front-back balance problems when the character performs some difficult movements, the player controls the first cursor with his left hand to move in the first scale slot and controls the second cursor with his right hand to move in the second scale bar, so that the first cursor can continuously follow the movement of the first scale bar and the second cursor continuously follows the movement of the second scale bar to maintain the balance of the virtual character's posture.
[0127] As an optional example, the moving speed of the first scale bar in the first scale groove is variable, and the moving speed of the second scale bar in the second scale groove is variable, and the change in the moving speed of the first scale bar in the first scale groove is different from the change in the moving speed of the second scale bar in the second scale groove; or
[0128] The moving speed of the first scale bar in the first scale slot changes with the change of the first set of task execution parameters in the target task, and the moving speed of the second scale bar in the second scale slot changes with the change of the second set of task execution parameters in the target task. The first set of task execution parameters is different from the second set of task execution parameters. The first set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the first set of task execution parameters changes. The second set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the second set of task execution parameters changes.
[0129] In combination with the description of the above embodiments, it can be seen that at least one parameter in the first group of task execution parameters is variable, and at least one parameter in the second group of task execution parameters is variable. Therefore, when determining the moving speed of the first scale bar according to the first group of task execution parameters, the moving speed of the first scale bar in the first scale groove will also change as the first group of task execution parameters change; similarly, when determining the moving speed of the second scale bar according to the second group of task execution parameters, the moving speed of the second scale bar in the second scale groove will also change as the second group of task execution parameters change.
[0130] In addition, the moving speed of the first scale bar in the first scale groove and the moving speed of the second scale bar in the second scale groove can be generated according to the system random rules. For example, the moving speed of the first scale bar in the first scale groove changes from fast to slow, and the moving speed of the second scale bar in the second scale groove changes from slow to fast.
[0131] As an optional example, in response to the triggering operation on the first cursor, controlling the first cursor to move in the first scale slot includes: in response to the triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, wherein when controlling the first cursor to move in the first scale slot, the first cursor is not subjected to resistance, or the first cursor is subjected to fixed resistance, or the first cursor is subjected to variable resistance; and / or
[0132] The above-mentioned control of the second cursor to move in the second scale groove in response to the triggering operation on the second cursor includes: controlling the second cursor to move in the second scale groove in response to the triggering operation on the second cursor, wherein, when controlling the second cursor to move in the second scale groove, the second cursor is not subjected to resistance, or the second cursor is subjected to fixed resistance, or the second cursor is subjected to variable resistance.
[0133] The resistance experienced by the first cursor may be, but is not limited to, related to the first set of task execution parameters in the above embodiment, and the resistance experienced by the second cursor may be, but is not limited to, related to the second set of task execution parameters in the above embodiment.
[0134] Specifically, it includes:
[0135] In the case where the first cursor is subjected to a varying resistance and the second cursor is subjected to a varying resistance, the variation in resistance to the first cursor is different from the variation in resistance to the second cursor; or
[0136] In the case where the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the resistance experienced by the first cursor varies with a first set of task execution parameters in a target task, and the resistance experienced by the second cursor varies with a second set of task execution parameters in the target task. The first set of task execution parameters is different from the second set of task execution parameters. The first set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the first set of task execution parameters varies. The second set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the second set of task execution parameters varies.
[0137] For example, in a virtual flight state, as the virtual wind force value increases, the resistance of the first cursor increases; in yoga play, as the distance between the two feet increases, the resistance of the second cursor also increases, and so on.
[0138] By using the technical solutions in the above embodiments, the operation experience of different objects or subjects in real life can be efficiently simulated, including:
[0139] In the fishing game, the system controls the first scale bar and the second scale bar to move slowly in a small range, and the player uses both hands to operate the first cursor and the second cursor to continuously follow the movement, thereby simulating the experience of slowly adjusting the fishing rod due to the influence of factors such as wind, water flow and fish position in the environment when fishing.
[0140] In the flying gameplay, the system controls the movement and directional speed changes of the first and second scale bars in a large range, simulating the left-right balance and front-back balance problems of the virtual character when affected by airflow during flight. Players need to operate the first and second cursors with both hands and continue to follow the movement of the first and second scale bars to maintain the character's balance when flying in the air, which is similar to the real experience of skydiving.
[0141] In the yoga gameplay, the system controls the movement and direction speed changes of the first scale bar and the second scale bar within a preset range to simulate the left-right balance and front-back balance problems of the character when performing some difficult movements. The player needs to operate the first cursor and the second cursor with both hands and continue to follow the movement of the first scale bar and the second scale bar to maintain the balance of the character's posture.
[0142] Through the above method, the gameplay experience of continuously maintaining a certain state in real life can be simulated more realistically, thereby improving the gaming experience.
[0143] In order to understand the execution method of the above target tasks more clearly, the following Fig. 9 The overall flow chart shown is further described.
[0144] like Fig. 9 As shown, the specific steps are as follows:
[0145] S902, the player enters the game level;
[0146] S904-1, displaying the remaining countdown information of the current game on the game interface;
[0147] For example, if the total duration is 30 seconds, 00:30 is displayed on the game interface.
[0148] S904-2, the server reads the movement configuration of scale bar 1 (first scale bar) and scale bar 2 (second scale bar);
[0149] The movement configuration mainly includes the movement speed and the change rule, for example, moving at a fixed speed, or moving at different speeds within different time intervals.
[0150] S906, judging whether scale bar 1 and scale bar 2 move randomly according to the read movement configuration;
[0151] If it is a random move, execute step S908; otherwise, execute step S910.
[0152] S908, randomly generating movement rules of scale bar 1 and scale bar 2;
[0153] S910, moving according to the game data associated with scale bar 1 and scale bar 2;
[0154] Specifically, movement rules are generated based on the detection data. For example, in the flying gameplay state, different movement speeds are changed according to the wind force and other values simulated in the game environment; or in the above embodiment, the movement speeds of scale bar 1 and scale bar 2 are determined according to the first set of task execution parameters and the second set of task execution parameters.
[0155] S912, initialization of the moving integrals of scale bar 1 and scale bar 2;
[0156] It should be noted that the movement of the first scale bar and the first cursor in the first scale slot corresponds to the first scoring system, and the movement of the second scale bar and the second cursor in the second scale slot corresponds to the second scoring system. After the game starts, the background will generate the first initial value of the first scoring system and the second initial value of the second scoring system. At the same time, the target specified value can also be set according to the configuration.
[0157] S914, checking every second whether cursor 1 (the first cursor) is within the range of scale bar 1;
[0158] Among them, the first scoring system and the second scoring system can respectively preset the passing score (the first target specified value and the second target specified value) and the failure judgment tolerance time. Taking cursor 1 and scale bar 1 as an example, if the passing score is 1 point (that is, the player's points need to be greater than 1 point), then the score of the first scoring system will be obtained by executing steps S916 and S918.
[0159] S916, when cursor 1 is within scale bar 1, 1 minute is obtained per second;
[0160] The client detects the positions of cursor 1 and cursor 2 controlled by the player's left and right hands once every certain period of time (for example, every second), compares the ranges of scale bar 1 and scale bar 2 based on the positions, and then refreshes the player's game score in real time and uploads it to the server.
[0161] S918, when cursor 1 is not within the range of scale bar 1, 1 minute is reduced per second;
[0162] The real-time scores of the second scoring system are obtained in the same manner as steps S914 to S918, with specific reference to steps S920 to S924.
[0163] S920, checking whether cursor 2 (second cursor) is within the range of scale bar 2 every second;
[0164] S922, when cursor 2 is within scale bar 2, 1 minute is obtained per second;
[0165] S924, when cursor 2 is not within the range of scale bar 2, 1 minute is reduced per second;
[0166] S926, determining whether the score is greater than a specified value;
[0167] For example, at the end of the countdown, if the scores of the first scoring system and the second scoring system are both higher than the passing score, the level is successful; otherwise, if any one of them fails, the level fails.
[0168] In addition, when the player's score is lower than the qualifying score, the failure determination method in step S928 is initiated.
[0169] S928, when the player's score is lower than the qualified score, start the failure determination.
[0170] The server compares the real-time scores of the first scale slot and the second scale slot to see whether they are greater than a specified value. If so, the server continues to detect; if so, the server starts a countdown to failure. The real-time score of the first scale slot corresponds to the first scoring system, and the real-time score of the second scale slot corresponds to the second scoring system.
[0171] If the player fails to bring the score back above the target value within the failure countdown, the settlement will fail; if the score returns to the target value, the failure countdown will end and the test will return to normal status.
[0172] In addition, at the end of the countdown, the scores at this time are detected. If the real-time scores of the first scale slot and the second scale slot are both greater than the target specified value, the task execution is successful; otherwise, it fails.
[0173] In order to facilitate understanding of the execution method of the above-mentioned target task, a flight control method of a virtual character is also proposed in the embodiment of the present application. The specific process is as follows: Fig.10 The following steps are shown:
[0174] Step S1002, displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on the game interface, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0175] Step S1004, during the flight of the target virtual character, displaying the first scale bar moving in the first scale slot, displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0176] Step S1006, when the first time length and the second time length satisfy the preset balance state maintenance conditions, display the target virtual character in a preset flight balance state, wherein the first time length is the time length that the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is the time length that the second cursor is located in the second scale bar during the flight of the target virtual character.
[0177] In executing Figure 8 During the virtual flight mission shown in (b), due to the influence of airflow, a certain amount of resistance will be generated in front, behind, left and right of the virtual character. Under the influence of this resistance, the flight direction may deviate and the body of the virtual character may be shaken.
[0178] In order to simulate the influence of airflow on the balance state of the virtual character during flight, the task interface of the virtual flight task is displayed as follows: Figure 4 The first scale bar shown in (a) moves in the first scale slot, and the second scale bar moves in the second scale slot, and the player controls the first cursor and the second cursor with both hands, so that the first cursor continues to follow the movement of the first scale bar and the second cursor continues to follow the movement of the second scale bar, so as to maintain the balance of the virtual character when flying in the air.
[0179] The application of the above-mentioned virtual character flight control method is further described below in conjunction with a parachuting scene in a shooting game.
[0180] The specific steps are as follows:
[0181] (1) After the game starts, the virtual character is assumed to be on a flying vehicle. After a preset flight time, the virtual character selects a target landing point from a virtual map based on the terrain, airflow and other landing conditions that need to be met in the current virtual environment, and performs a parachuting action after the selection is completed;
[0182] (2) Using the flight control method of the virtual character to maintain the flight balance during the parachuting process;
[0183] Specifically, in order to simulate the influence of airflow on the virtual character as the parachute is flying, force will be applied to the virtual character in at least one direction of the front, back, left and right during the flight. At this time, the virtual character's body may sway, and the flight direction may deviate from the preset direction.
[0184] In order to maintain the flight balance state of the virtual character during the flight, it is assumed that the player's left hand controls the first cursor to follow the first scale bar, and moves in the first scale groove together with the first scale bar to control the front and back balance of the virtual character; the player's right hand controls the second cursor to follow the second scale bar, and moves in the second scale groove together with the second scale bar to control the left and right balance of the virtual character.
[0185] (3) After the virtual character lands smoothly on the ground, it interacts with other virtual characters in the game scene.
[0186] Among them, the conditions for the smooth landing of the virtual character include but are not limited to: during the parachuting process, the first time length that the first cursor is located in the first scale bar and the second time length that the second cursor is located in the second scale bar meet the preset balance state maintenance conditions (for example, the first time length is greater than the first threshold, and the second time length is greater than the second threshold; or the first time length and the second time length are both greater than the same threshold, etc.), then the player successfully controls the balance state of the virtual character during the flight, thereby realizing the player's real experience of maintaining the balance state during the flight.
[0187] Obviously, it is easy to understand that, when the first duration and the second duration do not meet the preset equilibrium state maintenance conditions, it is determined that the virtual character lands in an unbalanced state (for example, in the process of landing on the ground, the virtual character falls to the ground due to the influence of wind), then the attribute values of the virtual character will decrease, where the attribute values of the virtual character include but are not limited to health, shield value, status value, etc.
[0188] It should be noted that the flight control of the virtual character in the parachuting scene in the above-mentioned shooting game is only an example and is not limited thereto. For example, it can also be the flight control of the virtual character in MMORPG, open world games, etc.
[0189] By adopting the above embodiment, two cursors of different directions and speeds are controlled by both hands at the same time, and the scale bar that moves automatically controlled by the system is followed, so as to simulate the gameplay experience of constantly maintaining a certain state of the character in an immersive scene, thereby providing a widely applicable solution for this type of gameplay and enriching the player's gaming experience.
[0190] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0191] According to another aspect of the embodiment of the present application, there is also provided Fig.11 The target task execution device shown in the figure includes: a first display unit 1102, which is used to display a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on the task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; a second display unit 1104, which is used to display the first scale bar in the first scale slot during the execution of the target task. The first cursor moves in the first scale slot and displays the second scale bar moving in the second scale slot, and in response to the triggering operation of the first cursor, controls the first cursor to move in the first scale slot, and in response to the triggering operation of the second cursor, controls the second cursor to move in the second scale slot; a third display unit 1106 is used to display that the target task is successfully executed when the first time length and the second time length meet the preset task completion conditions, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
[0192] Optionally, the second display unit 1104 includes:
[0193] A first processing module, configured to control the first cursor to move in a first scale slot along one direction of a first set of directions in response to a triggering operation on the first cursor, and to control the second cursor to move in a second scale slot along one direction of a second set of directions in response to a triggering operation on the second cursor, wherein the directions in the first set of directions are different from the directions in the second set of directions; or
[0194] In response to the triggering operation on the first cursor, the first cursor is controlled to move along a first path in the first scale groove, and in response to the triggering operation on the second cursor, the second cursor is controlled to move along a second path in the second scale groove, wherein the first path is different from the second path.
[0195] Among them, the first group of directions includes two directions in opposite directions, and the second group of directions includes two directions in opposite directions; or, the first group of directions includes the direction from the starting point to the end point in the first path in the first scale groove and the direction from the end point in the first path to the starting point, and the second group of directions includes the direction from the starting point to the end point in the second path in the second scale groove and the direction from the end point in the second path to the starting point.
[0196] Optionally, the second display unit 1104 includes:
[0197] A first display module, used for displaying the first scale bar moving in the first scale groove, wherein the moving speed of the first scale bar in the first scale groove is fixed or variable; and / or
[0198] The second display module is used to display the second scale bar moving in the second scale groove, wherein the moving speed of the second scale bar in the second scale groove is fixed or variable.
[0199] Optionally, the above device further includes:
[0200] A first processing unit is used to determine a moving speed of the first scale bar in the first scale slot according to a first set of task execution parameters in the target task, wherein the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters is changed, and the values of the parameters in the first set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or
[0201] Determine the moving speed of the first scale bar in the first scale slot according to the execution time of the target task, wherein the moving speed of the first scale bar in the first scale slot is different for different execution times, or the moving speed of the first scale bar in the first scale slot is different for different time intervals of the execution time; or
[0202] According to the execution progress of the target task, the moving speed of the first scale bar in the first scale slot is determined, wherein the moving speed of the first scale bar in the first scale slot is different for different execution progresses, or the moving speed of the first scale bar in the first scale slot is different for different progress intervals of the execution progress.
[0203] Optionally, the first processing unit includes:
[0204] a second processing module, for determining, when the target task is a virtual task executed in the target virtual environment, a moving speed of the first scale bar in the first scale slot according to a first group of virtual environment parameters in the target virtual environment, wherein the first group of task execution parameters includes a first group of virtual environment parameters, the first group of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the first group of virtual environment parameters changes, the values of the virtual environment parameters in the first group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or
[0205] In the case where the target task is to control the target action performed by the target virtual object, the movement speed of the first scale bar in the first scale slot is determined according to the first group of object control parameters of the target virtual object when performing the target action, wherein the first group of task execution parameters includes a first group of object control parameters, the first group of object control parameters includes one or more object control parameters, during the execution of the target task, at least one object control parameter in the first group of object control parameters changes, the values of the object control parameters in the first group of object control parameters are different or the value ranges of the object control parameters are different, and the movement speed of the first scale bar in the first scale slot is different.
[0206] Optionally, the above device further includes:
[0207] a second processing unit, for determining a moving speed of the second scale bar in the second scale slot according to a second set of task execution parameters in the target task, wherein the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes, and the values of the parameters in the second set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the second scale bar in the second scale slot is different; or
[0208] Determine the moving speed of the second scale bar in the second scale slot according to the execution time of the target task, wherein the moving speed of the second scale bar in the second scale slot is different for different execution times, or the moving speed of the second scale bar in the second scale slot is different for different time intervals of the execution time; or
[0209] According to the execution progress of the target task, the moving speed of the second scale bar in the second scale groove is determined, wherein the moving speed of the second scale bar in the second scale groove is different for different execution progresses, or the moving speed of the second scale bar in the second scale groove is different for different progress intervals of the execution progress.
[0210] Optionally, the second processing unit includes:
[0211] a third processing module, for determining, when the target task is a virtual task executed in the target virtual environment, a moving speed of the second scale bar in the second scale slot according to a second group of virtual environment parameters in the target virtual environment, wherein the second group of task execution parameters includes a second group of virtual environment parameters, the second group of virtual environment parameters includes one or more virtual environment parameters, during the execution of the target task, at least one virtual environment parameter in the second group of virtual environment parameters changes, the values of the virtual environment parameters in the second group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the second scale bar in the second scale slot is different; or
[0212] When the target task is to control the target action performed by the target virtual object, the movement speed of the second scale bar in the second scale slot is determined according to the second group of object control parameters of the target virtual object when performing the target action, wherein the second group of task execution parameters includes a second group of object control parameters, and the second group of object control parameters includes one or more object control parameters. During the execution of the target task, at least one object control parameter in the second group of object control parameters changes, the values of the object control parameters in the second group of object control parameters are different or the value ranges of the object control parameters are different, and the movement speed of the second scale bar in the second scale slot is different.
[0213] Optionally, the above device further includes:
[0214] A second processing unit is used for the first scale bar to move at a variable speed in the first scale groove, and the second scale bar to move at a variable speed in the second scale groove, and the change in the moving speed of the first scale bar in the first scale groove is different from the change in the moving speed of the second scale bar in the second scale groove; or
[0215] The moving speed of the first scale bar in the first scale slot changes with the change of the first set of task execution parameters in the target task, and the moving speed of the second scale bar in the second scale slot changes with the change of the second set of task execution parameters in the target task. The first set of task execution parameters is different from the second set of task execution parameters. The first set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the first set of task execution parameters changes. The second set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the second set of task execution parameters changes.
[0216] Optionally, the above device further includes:
[0217] A control unit, configured to control the first cursor to move in the first scale slot in response to a triggering operation on the first cursor, wherein when the first cursor is controlled to move in the first scale slot, the first cursor is not subjected to resistance, or the first cursor is subjected to a fixed resistance, or the first cursor is subjected to a variable resistance; and / or
[0218] In response to the triggering operation on the second cursor, the second cursor is controlled to move in the second scale groove, wherein when the second cursor is controlled to move in the second scale groove, the second cursor is not subjected to resistance, or the second cursor is subjected to fixed resistance, or the second cursor is subjected to variable resistance.
[0219] wherein, when the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the change in resistance to the first cursor is different from the change in resistance to the second cursor; or
[0220] In the case where the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the resistance experienced by the first cursor varies with a first set of task execution parameters in a target task, and the resistance experienced by the second cursor varies with a second set of task execution parameters in the target task. The first set of task execution parameters is different from the second set of task execution parameters. The first set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the first set of task execution parameters varies. The second set of task execution parameters includes one or more parameters. During the execution of the target task, at least one parameter in the second set of task execution parameters varies.
[0221] Optionally, the third display unit 1106 includes:
[0222] A first display module is used to display that the target task is successfully executed when the first duration is greater than or equal to a preset first duration threshold and the second duration is greater than or equal to a preset second duration threshold; or
[0223] When the total duration preset for the target task is reached and the first duration is greater than or equal to the preset first duration threshold, and the second duration is greater than or equal to the preset second duration threshold, displaying that the target task is successfully executed; or
[0224] When a total duration is preset for the target task, and the value of the task evaluation parameter of the target task in the total duration is always greater than or equal to a first preset threshold, or the value of the task evaluation parameter is continuously less than a second preset threshold, when the total duration is reached, it is displayed that the target task is successfully executed, wherein the value of the task evaluation parameter increases with an increase in the first duration and / or an increase in the second duration, and the value of the task evaluation parameter decreases with an increase in the third duration and / or an increase in the fourth duration, the third duration being the duration during which the first cursor is not located in the first scale bar during the execution of the target task, and the fourth duration being the duration during which the second cursor is not located in the second scale bar during the execution of the target task.
[0225] Optionally, the above device further includes:
[0226] The fifth display unit is used to display the failure of executing the target task when the first duration and the second duration meet the preset task failure condition.
[0227] Optionally, the second display unit 1104 includes:
[0228] A third display module is used to display the movement of the first scale bar in the first scale slot during the process of the target virtual character performing the virtual flight mission, wherein the movement speed of the first scale bar in the first scale slot corresponds to the first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and the target mission includes the virtual flight mission;
[0229] a fourth display module, used for displaying the second scale bar moving in the second scale slot during the process of the target virtual character performing the virtual flight mission, wherein the moving speed of the second scale bar in the second scale slot corresponds to the second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0230] The fifth display module is used to display the target virtual character in a preset flight balance state when the first time length and the second time length meet the preset balance state maintenance condition.
[0231] According to another aspect of the embodiment of the present application, there is also provided Fig.12 A flight control device for a virtual character is shown, the device comprising:
[0232] The fourth display unit 1202 is used to display a first scale groove, a first scale bar located in the first scale groove, a first cursor located in the first scale groove, a second scale groove, a second scale bar located in the second scale groove, and a second cursor located in the second scale groove on the game interface, wherein the first scale bar and the first cursor are allowed to move in the first scale groove, and the second scale bar and the second cursor are allowed to move in the second scale groove;
[0233] A fifth display unit 1204, used for displaying the first scale bar moving in the first scale slot and the second scale bar moving in the second scale slot during the flight of the target virtual character, and controlling the first cursor to move in the first scale slot in response to a triggering operation on the first cursor, and controlling the second cursor to move in the second scale slot in response to a triggering operation on the second cursor, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0234] The sixth display unit 1206 is used to display the target virtual character in a preset flight balance state when the first time length and the second time length meet the preset balance state maintenance conditions, wherein the first time length is the time length that the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is the time length that the second cursor is located in the second scale bar during the flight of the target virtual character.
[0235] By applying the above device to the first cursor and the second cursor in two different directions and at different speeds controlled by both hands, respectively following the first scale bar moving in the first scale groove and the second scale bar moving in the second scale groove, and when the first time length that the first cursor is located in the first scale bar and the second time length that the second cursor is located in the second scale bar meet the preset task completion conditions, the target task is successfully executed. In other words, by controlling two cursors in two different directions and at different speeds with both hands at the same time, following the two scale bars that move automatically, a game experience of continuously keeping or controlling a virtual object in a preset state can be quickly simulated, which solves the technical problem of a relatively complicated operation process caused by a relatively single movement method of the cursor in the related art, reduces the operation time, and achieves the technical effect of improving the execution efficiency of the target task.
[0236] It should be noted that the embodiments of the target task execution device here can refer to the embodiments of the target task execution method mentioned above, which will not be repeated here.
[0237] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned target task execution method is also provided. The electronic device may be Fig.13 The terminal device shown in FIG. This embodiment is described by taking the electronic device as a background device as an example. Fig.13 As shown, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores a computer program, and the processor 1304 is configured to execute the steps in any of the above method embodiments through the computer program.
[0238] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0239] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0240] S11, displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0241] S12, during the execution of the target task, displaying the first scale bar moving in the first scale slot and displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot;
[0242] S13, when the first time length and the second time length meet the preset task completion conditions, it is displayed that the target task is successfully executed, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
[0243] Alternatively, the processor may also be configured to execute the following steps through a computer program:
[0244] S21, displaying on the game interface a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0245] S22, during the flight of the target virtual character, displaying the first scale bar moving in the first scale slot, displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0246] S23, when the first time length and the second time length satisfy the preset balance state maintaining conditions, display the target virtual character in a preset flight balance state, wherein the first time length is the time length during which the first cursor is located in the first scale bar during the target virtual character's flight, and the second time length is the time length during which the second cursor is located in the second scale bar during the target virtual character's flight.
[0247] Alternatively, a person skilled in the art may understand that: Fig.13 The structure shown is for illustration only, and the electronic device may also be a target terminal such as a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile Internet device (MID), a PAD, etc. Fig.13 The electronic device and the electronic equipment described above are not limited in structure. Fig.13 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.13 Different configurations are shown.
[0248] Among them, the memory 1302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for executing the target task in the embodiment of the present application. The processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, that is, realizing the above-mentioned method for executing the target task. The memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1302 may further include a memory remotely located relative to the processor 1304, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1302 may be specifically used, but not limited to, to store the first duration, the second duration, and the task completion conditions, etc. As an example, such as Fig.13 As shown, the memory 1302 may include, but is not limited to, the first display unit 1102, the second display unit 1104, and the third display unit 1106 in the device for executing the target task, or the fourth display unit 1202, the fifth display unit 1204, and the sixth display unit 1206 in the flight control device of the virtual character. In addition, other module units in the device for executing the target task may also be included but are not limited to, which will not be described in detail in this example.
[0249] Optionally, the transmission device 1306 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1306 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0250] In addition, the electronic device further includes: a display 1308 for displaying the direction prompt information of the target sound; and a connection bus 1310 for connecting various module components in the electronic device.
[0251] In other embodiments, the target terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. Among them, a peer-to-peer network may be formed between the nodes, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0252] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the execution method of the target task provided in various optional implementations of the above-mentioned server verification processing and other aspects, wherein the computer program is configured to execute the steps of any of the above-mentioned method embodiments when running.
[0253] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0254] S11, displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0255] S12, during the execution of the target task, displaying the first scale bar moving in the first scale slot and displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot;
[0256] S13, when the first time length and the second time length meet the preset task completion conditions, it is displayed that the target task is successfully executed, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
[0257] Alternatively, the computer-readable storage medium may also be configured to store a computer program for performing the following steps:
[0258] S21, displaying on the game interface a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot;
[0259] S22, during the flight of the target virtual character, displaying the first scale bar moving in the first scale slot, displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located;
[0260] S23, when the first time length and the second time length satisfy the preset balance state maintenance conditions, display the target virtual character in a preset flight balance state, wherein the first time length is the time length that the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is the time length that the second cursor is located in the second scale bar during the flight of the target virtual character.
[0261] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the target terminal through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0262] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0263] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.
[0264] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0265] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0266] 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 on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0267] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0268] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for executing a target task, characterized in that: include: Displaying a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot on a task interface of a target task, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; During the execution of the target task, displaying the first scale bar moving in the first scale slot and displaying the second scale bar moving in the second scale slot, and in response to a triggering operation on the first cursor, controlling the first cursor to move in the first scale slot, and in response to a triggering operation on the second cursor, controlling the second cursor to move in the second scale slot; When the first time length and the second time length satisfy the preset task completion conditions, the target task is displayed as being successfully executed, wherein the first time length is the time length during which the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length during which the second cursor is located in the second scale bar during the execution of the target task.
2. The method according to claim 1, characterized in that The controlling the first cursor to move in the first scale groove in response to the triggering operation on the first cursor, and the controlling the second cursor to move in the second scale groove in response to the triggering operation on the second cursor, comprises: In response to a triggering operation on the first cursor, the first cursor is controlled to move in the first scale groove along one direction of a first set of directions, and in response to a triggering operation on the second cursor, the second cursor is controlled to move in the second scale groove along one direction of a second set of directions, wherein the directions in the first set of directions are different from the directions in the second set of directions; or In response to a trigger operation on the first cursor, the first cursor is controlled to move along a first path in the first scale groove, and in response to a trigger operation on the second cursor, the second cursor is controlled to move along a second path in the second scale groove, wherein the first path is different from the second path.
3. The method according to claim 2, characterized in that The first group of directions includes two directions in opposite directions, and the second group of directions includes two directions in opposite directions; or, the first group of directions includes a direction from a starting point to an end point in the first path in the first scale groove and a direction from an end point in the first path to a starting point, and the second group of directions includes a direction from a starting point to an end point in the second path in the second scale groove and a direction from an end point in the second path to a starting point.
4. The method according to claim 1, characterized in that: The displaying the first scale bar moving in the first scale groove comprises: displaying the first scale bar moving in the first scale groove, wherein the moving speed of the first scale bar in the first scale groove is fixed or variable; and / or The displaying the second scale bar moving in the second scale groove includes: displaying the second scale bar moving in the second scale groove, wherein the moving speed of the second scale bar in the second scale groove is fixed or variable.
5. The method according to claim 4, characterized in that The method further comprises: Determining a moving speed of the first scale bar in the first scale slot according to a first set of task execution parameters in the target task, wherein the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, and the values of the parameters in the first set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the first scale bar in the first scale slot is different; or Determining a moving speed of the first scale bar in the first scale groove according to the execution time of the target task, wherein the moving speed of the first scale bar in the first scale groove is different for different execution times, or the moving speed of the first scale bar in the first scale groove is different for different time intervals of the execution time; or The moving speed of the first scale bar in the first scale groove is determined according to the execution progress of the target task, wherein the moving speed of the first scale bar in the first scale groove is different for different execution progresses, or the moving speed of the first scale bar in the first scale groove is different for different progress intervals of the execution progress.
6. The method according to claim 5, characterized in that The step of determining the moving speed of the first scale bar in the first scale groove according to the first group of task execution parameters in the target task includes: In the case where the target task is a virtual task executed in a target virtual environment, the moving speed of the first scale bar in the first scale groove is determined according to a first group of virtual environment parameters in the target virtual environment, wherein the first group of task execution parameters includes the first group of virtual environment parameters, the first group of virtual environment parameters includes one or more virtual environment parameters, and during the execution of the target task, at least one virtual environment parameter in the first group of virtual environment parameters changes, the values of the virtual environment parameters in the first group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the first scale bar in the first scale groove is different; or In the case where the target task is to control a target action performed by a target virtual object, a moving speed of the first scale bar in the first scale groove is determined according to a first group of object control parameters of the target virtual object when performing the target action, wherein the first group of task execution parameters includes the first group of object control parameters, the first group of object control parameters includes one or more object control parameters, and during the execution of the target task, at least one object control parameter in the first group of object control parameters changes, the values of the object control parameters in the first group of object control parameters are different or the value intervals of the object control parameters are different, and the moving speed of the first scale bar in the first scale groove is different.
7. The method according to claim 4, characterized in that The method further comprises: Determining the moving speed of the second scale bar in the second scale groove according to a second set of task execution parameters in the target task, wherein the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes, and the values of the parameters in the second set of task execution parameters are different or the value intervals of the parameters are different, and the moving speed of the second scale bar in the second scale groove is different; or Determining a moving speed of the second scale bar in the second scale groove according to the execution time of the target task, wherein the moving speed of the second scale bar in the second scale groove is different for different execution times, or the moving speed of the second scale bar in the second scale groove is different for different time intervals of the execution time; or The moving speed of the second scale bar in the second scale groove is determined according to the execution progress of the target task, wherein the moving speed of the second scale bar in the second scale groove is different for different execution progresses, or the moving speed of the second scale bar in the second scale groove is different for different progress intervals of the execution progress.
8. The method according to claim 7, characterized in that The step of determining the moving speed of the second scale bar in the second scale groove according to the second group of task execution parameters in the target task includes: In the case where the target task is a virtual task executed in a target virtual environment, the moving speed of the second scale bar in the second scale groove is determined according to a second group of virtual environment parameters in the target virtual environment, wherein the second group of task execution parameters includes the second group of virtual environment parameters, the second group of virtual environment parameters includes one or more virtual environment parameters, and during the execution of the target task, at least one virtual environment parameter in the second group of virtual environment parameters changes, the values of the virtual environment parameters in the second group of virtual environment parameters are different or the value intervals of the virtual environment parameters are different, and the moving speed of the second scale bar in the second scale groove is different; or In the case where the target task is to control the target action performed by the target virtual object, the moving speed of the second scale bar in the second scale groove is determined according to the second group of object control parameters of the target virtual object when performing the target action, wherein the second group of task execution parameters includes the second group of object control parameters, the second group of object control parameters includes one or more object control parameters, and during the execution of the target task, at least one object control parameter in the second group of object control parameters changes, the values of the object control parameters in the second group of object control parameters are different or the value ranges of the object control parameters are different, and the moving speed of the second scale bar in the second scale groove is different.
9. The method according to claim 4, characterized in that The moving speed of the first scale bar in the first scale groove is variable, and the moving speed of the second scale bar in the second scale groove is variable, and the change of the moving speed of the first scale bar in the first scale groove is different from the change of the moving speed of the second scale bar in the second scale groove; or The moving speed of the first scale bar in the first scale groove changes with the change of the first group of task execution parameters in the target task, and the moving speed of the second scale bar in the second scale groove changes with the change of the second group of task execution parameters in the target task, the first group of task execution parameters are different from the second group of task execution parameters, the first group of task execution parameters include one or more parameters, during the execution of the target task, at least one parameter in the first group of task execution parameters is changed, the second group of task execution parameters include one or more parameters, during the execution of the target task, at least one parameter in the second group of task execution parameters is changed.
10. The method according to any one of claims 1 to 9, characterized in that The controlling the first cursor to move in the first scale groove in response to the triggering operation on the first cursor comprises: controlling the first cursor to move in the first scale groove in response to the triggering operation on the first cursor, wherein when the first cursor is controlled to move in the first scale groove, the first cursor is not subjected to resistance, or the first cursor is subjected to fixed resistance, or the first cursor is subjected to variable resistance; and / or The step of controlling the second cursor to move in the second scale groove in response to a triggering operation on the second cursor comprises: controlling the second cursor to move in the second scale groove in response to a triggering operation on the second cursor, wherein, when controlling the second cursor to move in the second scale groove, the second cursor is not subjected to resistance, or the second cursor is subjected to a fixed resistance, or the second cursor is subjected to a variable resistance.
11. The method according to claim 10, characterized in that In a case where the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the change in the resistance subjected to the first cursor is different from the change in the resistance subjected to the second cursor; or. In the case where the first cursor is subjected to a changing resistance and the second cursor is subjected to a changing resistance, the resistance applied to the first cursor changes with a first set of task execution parameters in the target task, and the resistance applied to the second cursor changes with a second set of task execution parameters in the target task, the first set of task execution parameters is different from the second set of task execution parameters, the first set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the first set of task execution parameters changes, the second set of task execution parameters includes one or more parameters, and during the execution of the target task, at least one parameter in the second set of task execution parameters changes.
12. The method according to any one of claims 1 to 9, characterized in that When the first duration and the second duration meet the preset task completion condition, displaying that the target task is successfully executed includes: In the case where the first duration is greater than or equal to a preset first duration threshold, and the second duration is greater than or equal to a preset second duration threshold, displaying that the target task is successfully executed; or When the preset total duration of the target task is reached and the first duration is greater than or equal to the preset first duration threshold, and the second duration is greater than or equal to the preset second duration threshold, displaying that the target task is successfully executed; or When the target task is preset with the total duration, and the value of the task evaluation parameter of the target task in the total duration is always greater than or equal to the first preset threshold, or the value of the task evaluation parameter is continuously less than the second preset threshold, when the total duration is reached, it is displayed that the target task is successfully executed, wherein the value of the task evaluation parameter increases with the increase of the first duration and / or the increase of the second duration, and the value of the task evaluation parameter decreases with the increase of the third duration and / or the increase of the fourth duration, the third duration is the duration during which the first cursor is not located in the first scale bar during the execution of the target task, and the fourth duration is the duration during which the second cursor is not located in the second scale bar during the execution of the target task.
13. The method according to any one of claims 1 to 9, characterized in that The method further comprises: When the first duration and the second duration satisfy a preset task failure condition, it is displayed that the target task has failed to execute.
14. The method according to any one of claims 1 to 9, characterized in that The displaying the first scale bar to move in the first scale slot includes: displaying the first scale bar to move in the first scale slot during a process in which a target virtual character performs a virtual flight mission, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in a virtual flight environment where the target virtual character is located, and the target mission includes the virtual flight mission; The displaying the second scale bar to move in the second scale slot includes: displaying the second scale bar to move in the second scale slot during the process of the target virtual character performing the virtual flight mission, wherein the moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located; When the first duration and the second duration satisfy a preset balance state maintaining condition, the target virtual character is displayed in a preset flight balance state.
15. A method for controlling a virtual character's flight, characterized in that: include: Displaying a first scale groove, a first scale bar located in the first scale groove, a first cursor located in the first scale groove, a second scale groove, a second scale bar located in the second scale groove, and a second cursor located in the second scale groove on the game interface, wherein the first scale bar and the first cursor are allowed to move in the first scale groove, and the second scale bar and the second cursor are allowed to move in the second scale groove; During the flight of the target virtual character, the first scale bar is displayed to move in the first scale slot, the second scale bar is displayed to move in the second scale slot, and in response to a triggering operation on the first cursor, the first cursor is controlled to move in the first scale slot, and in response to a triggering operation on the second cursor, the second cursor is controlled to move in the second scale slot, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first group of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second group of virtual environment parameters in the virtual flight environment where the target virtual character is located; When the first duration and the second duration satisfy the preset balance state maintaining conditions, the target virtual character is displayed in a preset flight balance state, wherein the first duration is the duration during which the first cursor is located in the first scale bar during the flight of the target virtual character, and the second duration is the duration during which the second cursor is located in the second scale bar during the flight of the target virtual character.
16. A device for executing a target task, characterized in that: include: A first display unit is used to display a first scale groove, a first scale bar located in the first scale groove, a first cursor located in the first scale groove, a second scale groove, a second scale bar located in the second scale groove, and a second cursor located in the second scale groove on the task interface of the target task, wherein the first scale bar and the first cursor are allowed to move in the first scale groove, and the second scale bar and the second cursor are allowed to move in the second scale groove; a second display unit, configured to display the first scale bar moving in the first scale slot and the second scale bar moving in the second scale slot during the execution of the target task, and to control the first cursor to move in the first scale slot in response to a triggering operation on the first cursor, and to control the second cursor to move in the second scale slot in response to a triggering operation on the second cursor; A third display unit is used to display that the target task is successfully executed when the first time length and the second time length meet the preset task completion conditions, wherein the first time length is the time length that the first cursor is located in the first scale bar during the execution of the target task, and the second time length is the time length that the second cursor is located in the second scale bar during the execution of the target task.
17. A flight control device for a virtual character, characterized in that: include: a fourth display unit, for displaying on the game interface a first scale slot, a first scale bar located in the first scale slot, a first cursor located in the first scale slot, a second scale slot, a second scale bar located in the second scale slot, and a second cursor located in the second scale slot, wherein the first scale bar and the first cursor are allowed to move in the first scale slot, and the second scale bar and the second cursor are allowed to move in the second scale slot; a fifth display unit, used for displaying the movement of the first scale bar in the first scale slot and the movement of the second scale bar in the second scale slot during the flight of the target virtual character, and controlling the movement of the first cursor in the first scale slot in response to a triggering operation on the first cursor, and controlling the movement of the second cursor in the second scale slot in response to a triggering operation on the second cursor, wherein a moving speed of the first scale bar in the first scale slot corresponds to a first set of virtual environment parameters in the virtual flight environment where the target virtual character is located, and a moving speed of the second scale bar in the second scale slot corresponds to a second set of virtual environment parameters in the virtual flight environment where the target virtual character is located; The sixth display unit is used to display the target virtual character in a preset flight balance state when the first time length and the second time length meet the preset balance state maintenance conditions, wherein the first time length is the time length that the first cursor is located in the first scale bar during the flight of the target virtual character, and the second time length is the time length that the second cursor is located in the second scale bar during the flight of the target virtual character.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 14, or to execute the method described in claim 15.
19. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 14 are implemented, or the steps of the method described in claim 15 are implemented.
20. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 14 or the method described in claim 15 through the computer program.