Task Processing Method, Device and Electronic Device in a Game
By introducing virtual objects and preset task areas into the game, automatically detecting target tasks and displaying action controls, the problem of monotonous task processing in existing games is solved, and the game's interactivity and experience is improved.
Patent Information
- Application Number
- CN202111234123.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-22
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-10-22
AI Technical Summary
The task processing method in existing games is monotonous, resulting in low gaming experience, especially in MMO games, where players lack interactivity and fun when completing tasks.
By introducing virtual objects and preset task areas in the game, the target task is automatically detected according to the location of the virtual object and displaying corresponding action controls. Players complete the specified actions through touch operations to complete the task.
It improves the interactiveness and fun of the game, makes the task completion process smoother and more interesting, and improves the overall game experience.
Smart Images

Figure CN113952715B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of games, and in particular, to a method, device, and electronic device for task processing in a game. Background Art
[0002] In PC online games, specific tasks are set. Players can call up actions through shortcut keys and select specific actions to complete corresponding tasks. In some existing MMO games, players can complete the worship task by clicking on the task / NPC dialogue. However, the process of completing tasks in this way is relatively monotonous, and the game experience is not good enough. Summary of the Invention
[0003] The purpose of this application is to provide a method, device, and electronic device for task processing in a game, which can automatically detect the target tasks that a virtual object needs to complete according to the position of the virtual object, display corresponding action controls, and quickly complete the specified actions of the target tasks through touch operations on the action controls, thereby improving the game experience.
[0004] In a first aspect, an embodiment of this application provides a method for task processing in a game, which provides a graphical user interface of the game through a touch terminal; the game includes a game scene and virtual objects located in the game scene, and at least one preset task area is included in the game scene; each preset task area corresponds to a preset task; the method includes: determining the target task corresponding to the virtual object according to the current position of the virtual object and the preset task area; displaying an action selection interface including at least one action control; each action control corresponds to a specified action of the target task; and in response to a second touch operation on the target action control in the action selection interface, controlling the virtual object to execute the target specified action corresponding to the target action control to complete the corresponding target task.
[0005] Further, the above-mentioned preset task area is in a hidden state.
[0006] Further, the step of displaying an action selection interface including at least one action control includes: in response to a second touch operation on the virtual object, displaying an action selection interface including at least one action control.
[0007] Further, both the first touch operation and the second touch operation are pressing operations of a preset duration or clicking operations of a preset number of times.
[0008] Further, the second touch operation is a pressing operation of a preset duration; the first touch operation is a sliding operation and an end operation of the touch point following the second touch operation.
[0009] Further, the above method further includes: in response to a sliding operation of a touch point that follows a second touch operation acting on a target action control, setting the current state of the target action control to a selected state.
[0010] Further, the step of displaying an action selection interface including at least one action control includes: based on a target position, displaying an action selection interface including at least one action control; the target position includes: the position of the touch point of the second touch operation or the position where the virtual object is located.
[0011] Further, the above action selection interface is a preset toroidal surface; the step of displaying an action selection interface including at least one action control based on the target position includes: using the target position as the center of the preset toroidal surface, and displaying an action selection interface including at least one action control.
[0012] Further, after the step of responding to the first touch operation acting on the target action control in the action selection interface, the method further includes: hiding the action selection interface.
[0013] Further, the step of determining a target task corresponding to the virtual object according to the current position of the virtual object and a preset task area includes: detecting whether the current position of the virtual object is located in a preset task area; if so, detecting whether there is a preset task to be completed corresponding to the virtual object in the preset task area; if so, determining the preset task as the target task corresponding to the virtual object.
[0014] Further, after the step of determining a target task corresponding to the virtual object according to the current position of the virtual object and a preset task area, the method further includes: displaying a task prompt identifier in the graphical user interface.
[0015] Further, the step of displaying a task prompt identifier in the graphical user interface includes: based on the position of the virtual object and / or the task content of the target task, displaying a task prompt identifier in the graphical user interface.
[0016] Further, the step of displaying a task prompt identifier in the graphical user interface based on the position of the virtual object and / or the task content of the target task includes: near the position of the virtual object, displaying a task prompt identifier of a specified color or shape; and / or, at a specified position in the graphical user interface, displaying task content prompt information corresponding to the target task.
[0017] Further, after the step of responding to the first touch operation on the target action control in the action selection interface and controlling the virtual object to execute the specified action corresponding to the target action control to complete the corresponding target task, the method further includes: detecting whether there is an uncompleted specified action corresponding to the target task; if not, canceling the task prompt identifier.
[0018] Further, the above-mentioned specified actions include: specifying a facial expression action or a body action.
[0019] In a second aspect, an embodiment of the present application further provides a task processing device in a game, which provides a graphical user interface of the game through a touch terminal; the game includes a game scene and virtual objects located in the game scene, and at least one preset task area is included in the game scene; each preset task area corresponds to a preset task; the device includes: a task determination module, configured to determine a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area; a control display module, configured to display an action selection interface including at least one action control; each action control corresponds to a specified action of the target task; an action execution module, configured to respond to a first touch operation on the target action control in the action selection interface, and control the virtual object to execute the target specified action corresponding to the target action control to complete the corresponding target task.
[0020] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method described in the first aspect above.
[0021] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer executable instructions, and when the computer executable instructions are called and executed by the processor, the computer executable instructions cause the processor to implement the method described in the first aspect above.
[0022] In the task processing method, device and electronic device in the game provided by the embodiments of the present application, a graphical user interface of the game is provided through a touch terminal; the game includes a game scene and virtual objects located in the game scene, and at least one preset task area is included in the game scene; each preset task area corresponds to a preset task; first, according to the current position of the virtual object and the preset task area, the target task corresponding to the virtual object is determined, and an action selection interface including at least one action control is displayed; each action control corresponds to a specified action of the target task; finally, according to a second touch operation on the target action control in the action selection interface, the virtual object is controlled to execute the target specified action corresponding to the target action control to complete the corresponding target task. In the embodiments of the present application, the target task that the virtual object needs to complete can be automatically detected according to the position of the virtual object, and the corresponding action control is displayed. By touching the action control, the specified action of the target task can be quickly completed, improving the game experience. Description of the Drawings
[0023] To more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0024] Figure 1 It is a flowchart of a method for task processing in a game provided by an embodiment of the present application;
[0025] Figure 2 It is a flowchart of another method for task processing in a game provided by an embodiment of the present application;
[0026] Figure 3 It is a schematic diagram of a preset task area provided by an embodiment of the present application;
[0027] Figure 4 It is a schematic diagram of a task prompt identifier provided by an embodiment of the present application;
[0028] Figure 5 It is a schematic diagram of a task selection interface and task controls provided by an embodiment of the present application;
[0029] Figure 6 It is a structural block diagram of a task processing device in a game provided by an embodiment of the present application;
[0030] Figure 7 It is a structural block diagram of another task processing device in a game provided by an embodiment of the present application;
[0031] Figure 8 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Specific Embodiments
[0032] The following will clearly and completely describe the technical solutions of the present application in conjunction with the embodiments. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0033] Currently, in games, there are often tasks that require the user's corresponding virtual object to perform some simple actions. For example, sacrifice tasks, smile tasks, etc. Taking the sacrifice task as an example, in PC online games, there is a sacrifice task. Players can call out the sacrifice action through a shortcut key and select the sacrifice action to complete the sacrifice task. However, in mobile games, users often can only click on the task / NPC dialogue to complete the task, with a monotonous and boring form and a low user game experience.
[0034] Based on this, an embodiment of the present application provides a method, device and electronic device for processing tasks in a game. To facilitate understanding of the present embodiment, a method for processing tasks in a game disclosed in an embodiment of the present application is first introduced in detail.
[0035] In order to improve the fun and experience of the game, the embodiment of the present application provides a task processing method in the game, which provides a graphical user interface of the game through a touch terminal; the game includes a game scene and a virtual object located in the game scene, and the game scene includes at least one preset task area; each preset task area corresponds to a preset task; for example, the preset task corresponding to the preset task area in front of the temple is a worship task, which requires the virtual object to perform a worship action, and different preset task areas correspond to different preset tasks. When the virtual object is in the preset task area, the virtual object can perform the corresponding task, while the virtual object cannot complete the corresponding task in the non-preset task area.
[0036] See also Figure 1 The flowchart of the task processing method in the game provided by the embodiment of the present application shown in the figure specifically includes the following steps:
[0037] Step S102, determining a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area.
[0038] When a virtual object moves in a game scene, if the current position of the virtual object is in a preset task area, it can be further determined whether there is a task that the virtual object needs to complete. If so, the task is determined as the target task.
[0039] Step S104, displaying an action selection interface including at least one action control; each action control corresponds to a specified action of the target task.
[0040] After determining the target task, an action selection interface of at least one action control can be automatically displayed, or the action selection interface can be called out by touching the virtual object. Each action control in the action selection interface corresponds to a specified action of the target task. Further, by touching any action control, the virtual object can perform the action corresponding to the action control. In the embodiment of the present application, the specified action includes a specified body movement or a specified facial expression, such as: putting your hands together, bowing, smiling, crying, etc. Different specified actions can be configured according to different game scenarios.
[0041] Step S106 , in response to a first touch operation on a target action control in the action selection interface, controlling the virtual object to execute a target designated action corresponding to the target action control to complete a corresponding target task.
[0042] The above first touch operation may be a pressing operation for a preset duration or a clicking operation for a preset number of times. It should be noted that if the above target task corresponds to at least two specified actions, that is, the action selection interface includes at least two action controls, then after selecting one specified action and completing it, another specified action can be selected again until all actions are completed, and then it can be determined that the target task has been completed.
[0043] In the task processing method for games provided by the embodiments of the present application, a graphical user interface of the game is provided through a touch terminal; the game includes a game scene and virtual objects located in the game scene, and the game scene includes at least one preset task area; each preset task area corresponds to a preset task; first, according to the current position of the virtual object and the preset task area, the target task corresponding to the virtual object is determined; then an action selection interface including at least one action control is displayed; each action control corresponds to a specified action of the target task; finally, according to the first touch operation acting on the target action control in the action selection interface, the virtual object is controlled to execute the target specified action corresponding to the target action control. In the embodiments of the present application, the target task that the virtual object needs to complete can be automatically detected according to the position where the virtual object is located, and the corresponding action controls are displayed, and through the touch operation on the action controls, the specified actions of the target task can be quickly completed, improving the game experience.
[0044] The embodiments of the present application also provide another task processing method in a game, which is implemented on the basis of the above embodiments; this embodiment focuses on the display method of key controls and identifiers and some other preferred methods.
[0045] See Figure 2 The flowchart of another task processing method in a game shown in the figure specifically includes the following steps:
[0046] Step S202, detecting whether the current position of the virtual object is located in a preset task area; if so, detecting whether there is a preset task to be completed corresponding to the virtual object in the preset task area; if so, determining the preset task as the target task corresponding to the virtual object.
[0047] The above preset task area may be in a hidden state or in a normal display state.
[0048] The embodiments of the present application are illustrated by taking a worship task as an example. For example, in the game scene provided by the embodiments of the present application, there is a preset task area, which is a rectangular area such as Figure 3 in front of the temple. When the virtual object moves into this area, it is detected whether there is a preset task to be completed corresponding to the virtual object. If it is detected that there is, the next step S204 is performed.
[0049] Step S204: Display a task prompt identifier in the graphical user interface.
[0050] The advantage of displaying the task prompt identifier is that it can prompt the user to facilitate the user's subsequent task operations to complete the corresponding target task. There are various ways to display the task prompt identifier. For example, based on the position of the virtual object and / or the task content of the target task, display the task prompt identifier in the graphical user interface.
[0051] Specifically, a task prompt identifier of a specified color or shape can be displayed near the position of the virtual object. For example, display a colored aperture around the virtual object (not shown in the figure), or display a task corner mark above the virtual object, as Figure 4 shown; and / or display the task content prompt information corresponding to the target task at a specified position in the graphical user interface.
[0052] Step S206: Respond to the second touch operation on the virtual object, and based on the target position, display an action selection interface including at least one action control; the target position includes: the position of the touch point of the second touch operation or the position where the virtual object is located.
[0053] The above second touch operation can also be a pressing operation of a preset duration or a clicking operation of a preset number of times. Here, the virtual object is equivalent to a control. Performing a second touch operation on the virtual object can display an action selection interface of at least one action control, and each action control corresponds to a specified action of the target task. For example, when the above second touch operation is a long-press operation, after long-pressing the virtual object, an action selection interface will be displayed in the graphical user interface.
[0054] In a preferred embodiment, the second touch operation is a long-press operation, and the first touch operation is a sliding operation and an end operation following the touch point of the second touch operation. That is, when the touch point slides from the position of the virtual object to the target action control and then releases, control the virtual object to execute the target specified action corresponding to the target action control.
[0055] To facilitate user operation, in the embodiment of the present application, the action selection interface can be displayed near the position of the virtual object. For example, the above action selection interface is a preset toroidal surface; with the target position as the center of the preset toroidal surface, display an action selection interface including at least one action control.
[0056] As Figure 5 shown, the action selection interface is in a circular ring shape and is divided into multiple small grids. Each small grid corresponds to an action control. Taking the worship task as an example, if there is only one corresponding specified action, then display the identifier corresponding to the specified action in one small grid, as Figure 5 the icon of folding hands in.
[0057] It should be noted that the action selection interface can also be set to other shapes, such as a rectangle, or a triangle, etc.
[0058] Step S208, in response to the sliding operation of the touch point that follows the second touch operation acting on the target action control, set the current state of the target action control to the selected state.
[0059] After the long - press operation is performed above and the action selection interface is displayed, further, a sliding operation can be continued so that the sliding operation acts on the target action control. At this time, the target action control can be displayed as the selected state, the icon line of the target action control becomes thicker, or the selected state can also be characterized by a color change.
[0060] Step S210, in response to the end operation of the sliding operation, hide the action selection interface and control the virtual object to execute the target specified action corresponding to the target action control.
[0061] When the hand is released on the target action control, the action selection interface disappears and is hidden. At this time, the virtual object will automatically execute the target specified action corresponding to the target action control, such as a worship action.
[0062] Step S212, detect whether there is an unfinished specified action corresponding to the target task; if not, cancel the task prompt identifier. After the virtual object completes the above - mentioned target specified action, it will automatically detect whether there is still an unfinished specified action corresponding to the target task. If so, the task prompt identifier will continue to be displayed. If not, the task prompt identifier will be cancelled, indicating that the virtual object has completed the above - mentioned target task.
[0063] In the task processing method for the game provided by the embodiments of the present application, it is possible to automatically detect the target task that the virtual object needs to complete according to the position of the virtual object, and perform task prompts so that the user can perform touch operations according to the task prompts. Further, according to the touch operation on the virtual object, the action control corresponding to the specified action that needs to be completed for the target task is displayed, and then according to the touch operation on the action control, the virtual object is controlled to quickly complete the specified action corresponding to the action control, improving the game interest and the game experience.
[0064] Based on the above - mentioned method embodiments, the embodiments of the present application further provide a task processing device in a game, which provides a graphical user interface for the game through a touch - controlled terminal; the game includes a game scene and a virtual object located in the game scene, and at least one preset task area is included in the game scene; each preset task area corresponds to a preset task; see Figure 6As shown in the figure, the device includes: a task determination module 702, configured to determine a target task corresponding to a virtual object according to the current position of the virtual object and a preset task area; a control display module 704, configured to display an action selection interface including at least one action control; each action control corresponds to a specified action of the target task; an action execution module 706, configured to respond to a first touch operation on the target action control in the action selection interface, and control the virtual object to execute the target specified action corresponding to the target action control to complete the corresponding target task.
[0065] The task processing device in the game provided by the embodiment of the present application can automatically detect the target task that the virtual object needs to complete according to the position of the virtual object, display the corresponding action control, and quickly complete the specified action of the target task through the touch operation on the action control, improving the game experience.
[0066] The above-mentioned preset task area is in a hidden state.
[0067] The above-mentioned control display module 704 is configured to respond to a second touch operation on the virtual object and display an action selection interface including at least one action control.
[0068] Both the above-mentioned first touch operation and the second touch operation are pressing operations with a preset duration or clicking operations with a preset number of times.
[0069] The above-mentioned second touch operation is a pressing operation with a preset duration; the first touch operation is a sliding operation and an ending operation of the touch point following the second touch operation.
[0070] In another implementation manner, as shown in Figure 7 the figure, the above-mentioned device further includes: a state setting module 708, configured to respond to a sliding operation of the touch point following the second touch operation acting on the target action control, and set the current state of the target action control to a selected state.
[0071] The above-mentioned control display module 704 is further configured to display an action selection interface including at least one action control based on the target position; the target position includes: the position of the touch point of the second touch operation or the position of the virtual object.
[0072] The above-mentioned action selection interface is a preset toroidal surface; the above-mentioned control display module 704 is further configured to display an action selection interface including at least one action control with the target position as the center of the preset toroidal surface.
[0073] The above-mentioned device further includes: an interface hiding module 710, configured to hide the action selection interface after the step of responding to the first touch operation on the target action control in the action selection interface.
[0074] The above-mentioned task determination module 702 is configured to: detect whether the current position of the virtual object is located in a preset task area; if so, detect whether there is a preset task to be completed corresponding to the virtual object in the preset task area; if so, determine the preset task as the target task corresponding to the virtual object.
[0075] The above-mentioned device further includes: an identification display module 712, configured to display a task prompt identification in the graphical user interface.
[0076] The above-mentioned identification display module 712 is further configured to: display a task prompt identification in the graphical user interface based on the position of the virtual object and / or the task content of the target task.
[0077] The above-mentioned identification display module 712 is further configured to: display a task prompt identification of a specified color or a specified shape near the position of the virtual object; and / or, display task content prompt information corresponding to the target task at a specified position in the graphical user interface.
[0078] The above-mentioned device further includes: an identification cancellation module 714, configured to detect whether there is an uncompleted specified action corresponding to the target task; if not, cancel the task prompt identification.
[0079] The above-mentioned specified action includes: a specified facial expression action or a specified limb action.
[0080] The task processing device in the game provided by the embodiments of the present application has the same implementation principle and the same technical effects as those of the foregoing method embodiments. For a brief description, for the parts not mentioned in the embodiments of the device, reference may be made to the corresponding content in the foregoing embodiments of the game task processing method.
[0081] The embodiments of the present application further provide an electronic device, as Figure 8 shown, is a schematic structural diagram of the electronic device. Among them, the electronic device includes a processor 81 and a memory 80. The memory 80 stores computer-executable instructions that can be executed by the processor 81, and the processor 81 executes the computer-executable instructions to implement the above method.
[0082] In Figure 8 the shown embodiment, the electronic device further includes a bus 82 and a communication interface 83. Among them, the processor 81, the communication interface 83, and the memory 80 are connected through the bus 82.
[0083] Among them, the memory 80 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented through at least one communication interface 83 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 82 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. The bus 82 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 only a bidirectional arrow is used in Figure 8 , but it does not mean that there is only one bus or one type of bus.
[0084] The processor 81 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the processor 81. The above-mentioned processor 81 can be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it can also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. This storage medium is located in the memory, and the processor 81 reads the information in the memory and combines its hardware to complete the steps of the method in the foregoing embodiments.
[0085] The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above method. For specific implementation, reference may be made to the foregoing method embodiments, which will not be elaborated herein.
[0086] The computer program products of the method, device, and electronic device provided by the embodiments of the present application include a computer-readable storage medium storing program codes. The instructions included in the program codes can be used to execute the method described in the foregoing method embodiments. For specific implementation, reference may be made to the method embodiments, which will not be elaborated herein.
[0087] Unless otherwise specifically stated, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
[0088] If the above functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0089] In the description of the present application, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present application. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and should not be construed as indicating or implying relative importance.
[0090] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the technical field of the present application can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for task processing in a game, characterized in that, a graphical user interface of the game is provided through a touch terminal; the game includes a game scene and virtual objects located in the game scene, and at least one preset task area is included in the game scene; each preset task area corresponds to a preset task; the method includes: determining a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area; responding to a second touch operation acting on the virtual object, and based on the target position, displaying an action selection interface including at least one action control; the target position includes: the position of the touch point of the second touch operation or the position where the virtual object is located; each action control corresponds to a specified action of the target task; responding to a first touch operation acting on the target action control in the action selection interface, and controlling the virtual object to execute the target specified action corresponding to the target action control to complete the corresponding target task; the second touch operation is a pressing operation for a preset duration; the first touch operation is a sliding operation and an end operation following the touch point of the second touch operation.
2. The method according to claim 1, characterized in that, the preset task area is in a hidden state.
3. The method according to claim 1, characterized in that, the method further includes: responding to a sliding operation of the touch point following the second touch operation acting on the target action control, and setting the current state of the target action control to a selected state.
4. The method according to claim 1, characterized in that, the action selection interface is a preset toroidal surface; the step of displaying an action selection interface including at least one action control based on the target position includes: displaying an action selection interface including at least one action control with the target position as the center of the preset toroidal surface.
5. The method according to claim 1, characterized in that, after the step of responding to the first touch operation acting on the target action control in the action selection interface, it further includes: hiding the action selection interface.
6. The method according to claim 1, characterized in that, the step of determining a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area includes: detecting whether the current position of the virtual object is located in a preset task area; if so, detecting whether there is a preset task to be completed corresponding to the virtual object in the preset task area; if so, determining the preset task as the target task corresponding to the virtual object.
7. The method according to claim 1, characterized in that, after the step of determining a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area, it further includes: displaying a task prompt identifier in the graphical user interface.
8. The method according to claim 7, characterized in that, the step of displaying a task prompt identifier in the graphical user interface includes: Display a task prompt identifier in the graphical user interface based on the position of the virtual object and / or the task content of the target task.
9. The method according to claim 8, wherein, The step of displaying a task prompt identifier in the graphical user interface based on the position of the virtual object and / or the task content of the target task includes: Display a task prompt identifier of a specified color or shape near the position of the virtual object; and / or, Display task content prompt information corresponding to the target task at a specified position in the graphical user interface.
10. The method according to claim 7, wherein, After the step of controlling the virtual object to perform a specified action corresponding to the target action control to complete the corresponding target task in response to a first touch operation on the target action control in the action selection interface, the method further includes: Detect whether there is an unfinished specified action corresponding to the target task; If not, cancel the task prompt identifier.
11. The method according to claim 1, wherein, The specified action includes: a specified facial expression action or a specified limb action.
12. A task processing device in a game, wherein, Provide a graphical user interface of the game through a touch terminal; the game includes a game scene and a virtual object located in the game scene, and at least one preset task area is included in the game scene; Each preset task area corresponds to a preset task; the device includes: A task determination module for determining a target task corresponding to the virtual object according to the current position of the virtual object and the preset task area; A control display module for responding to a second touch operation on the virtual object and displaying an action selection interface including at least one action control based on the target position; the target position includes: the position of the touch point of the second touch operation or the position where the virtual object is located; each action control is used to perform a specified action of the target task; An action execution module for controlling the virtual object to perform the target specified action corresponding to the target action control to complete the corresponding target task in response to a first touch operation on the target action control in the action selection interface; The second touch operation is a pressing operation of a preset duration; the first touch operation is a sliding operation and an end operation of the touch point following the second touch operation.
13. An electronic device, wherein, Includes a processor and a memory, the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to implement the method according to any one of claims 1 to 11.