Method, device, equipment, storage medium, and computer program for controlling virtual skills

By introducing composite skill control and direction indicator technology in virtual scenes, the problem of complex and inefficient release of motor skills in virtual scenes in the prior art is solved, and more efficient skill release and hardware resource utilization are achieved.

JP7667293B2Active Publication Date: 2025-04-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023551789
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-08-16
Filing Date
2022-06-27
Publication Date
2025-04-22
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

When the prior art releases motor skills in virtual scenes, the operation is complex and inefficient, and the multiple switching of skill keys increases the data processing burden of the device and reduces the utilization rate of hardware resources.

Method used

By introducing compound skill control in the virtual scene, including a direction indicator, when the user receives a trigger operation, switch to display to compound skill control, and adjust the command to change the attributes of the direction indicator according to the user's direction, controlling the target virtual object to release the motor skills along the specified direction.

Benefits of technology

The operation process is simplified, the efficiency of releasing motor skills in designated directions is improved, the efficiency of human-computer interaction and the utilization rate of hardware resources is improved, and the fast-paced virtual scenes and user operation experience is adapted to fast-paced virtual scenes and user operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007667293000001
    Figure 0007667293000001
  • Figure 0007667293000002
    Figure 0007667293000002
  • Figure 0007667293000003
    Figure 0007667293000003
Patent Text Reader

Abstract

The present application provides a method, device, electronic device, computer-readable storage medium, and computer program product for controlling a virtual skill, the method including: displaying a skill control of a virtual scene, the skill control corresponding to a motor skill of a target virtual object; switching the display of the skill control to a display of a composite skill control including a directional sign when a trigger operation on the skill control is received; modifying an attribute of the composite skill control of the directional sign in response to a first directional adjustment command triggered based on the composite skill control; and controlling the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional sign after the attribute change.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to computer technology and human-computer interaction technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for controlling virtual skills.

[0002] This application is proposed based on and claims priority to a Chinese patent application having application number 202110937321.4 and filing date of August 16, 2021, the entire contents of which are hereby incorporated by reference into this application. [Background technology]

[0003] In many virtual scene applications involving motor skills, in the related art, when releasing a motor skill, it is often necessary to first tap the skill key corresponding to the motor skill to control the character to move a certain distance along its own direction, and then control the movement of the lens to change the character's movement direction. This method can only release the motor skill along a specified direction through the cooperation of multiple push buttons, which is complicated to operate, low in efficiency, and low in efficiency of human-computer interaction; at the same time, in the course of a game, the user often needs to control the virtual object multiple times to release the motor skill, and the switching of multiple push buttons each time the skill is released (also called skill activation, skill cast) increases the data processing burden of the electronic device, thereby reducing the utilization rate of hardware resources. Summary of the Invention [Problem to be solved by the invention]

[0004] The embodiments of the present application provide a method, device, apparatus, and computer-readable storage medium for controlling virtual skills, which can improve the release efficiency of motor skills in a specified direction, the efficiency of human-computer interaction, and the utilization rate of hardware resources. [Means for solving the problem]

[0005] The technical means of the embodiments of the present application are realized as follows.

[0006] An embodiment of the present application provides a method for controlling a virtual skill, displaying a skill control of a virtual scene, the skill control corresponding to a motor skill of a target virtual object; When a trigger operation on the skill control is received, a display of the skill control is switched to a display of a composite skill control including a directional indicator; modifying an attribute of the composite skill control of the directional sign in response to a first directional adjustment command triggered based on the composite skill control; and controlling the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional indicator after attribute modification.

[0007] An embodiment of the present application provides a device for controlling a virtual skill, a control display module configured to display a skill control of a virtual scene, the skill control corresponding to a motor skill of a target virtual object; a control switching module configured to switch a display of the skill control to a display of a composite skill control including a directional sign when a trigger operation on the skill control is received; an attribute changing module configured to change an attribute in the composite skill control of the directional sign in response to a first directional adjustment command triggered based on the composite skill control; and a first control module configured to control the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional sign after attribute modification.

[0008] An embodiment of the present application provides an electronic device, a memory configured to store executable instructions; and a processor configured to implement a virtual skill control method provided by an embodiment of the present application when executing executable instructions stored in the memory.

[0009] An embodiment of the present application provides a computer-readable storage medium for storing executable instructions that, when executed by a processor, can be used to realize a method for controlling a virtual skill provided by an embodiment of the present application.

[0010] An embodiment of the present application further provides a computer program product, which includes a computer program or instructions, which, when executed by a processor, realizes the method of controlling a virtual skill provided by the embodiment of the present application. Effect of the Invention

[0011] The embodiments of the present application have the following beneficial effects:

[0012] By triggering a skill control corresponding to a motor skill, the displayed skill control is switched to a composite skill control, and in response to a first direction adjustment command triggered based on the composite skill control, an attribute in the composite skill control of the direction indicator is changed. That is, the attribute in the composite skill control of the direction indicator is changed to respond to a first direction adjustment command triggered by a user, that is, the direction adjustment is instructed by changing the attribute, and when a first skill release command is triggered based on the composite skill control, the target virtual object is controlled to release the motor skill along the first direction, that is, the motor skill is released along the adjusted direction. In this way, the adjustment to the motion direction of the target virtual object and the release of the motor skill in the specified direction can be realized by one composite skill control, the operation is simple, and the release efficiency of the motor skill in the specified direction, the efficiency of human-computer interaction, and the utilization rate of hardware resources can be improved, and at the same time, the adaptability in a fast-rhythmic virtual scene and the operation experience of the user can be improved. [Brief description of the drawings]

[0013] [Figure 1] 1 is an architecture schematic diagram of a virtual skill control system 100 provided by an embodiment of the present application. [Diagram 2] FIG. 1 is a structural schematic diagram of an electronic device 500 provided in an embodiment of the present application. [Diagram 3] 1 is a flowchart of a method for controlling virtual skills provided by an embodiment of the present application; [Figure 4] FIG. 2 is a movement schematic diagram of a target virtual object provided by an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram of a skill release mode provided by an embodiment of the present application. [Figure 6] FIG. 2 is a movement schematic diagram of a target virtual object provided by an embodiment of the present application. [Figure 7]FIG. 2 is a movement schematic diagram of a target virtual object provided by an embodiment of the present application. [Figure 8] 1 is a flowchart of a method for controlling virtual skills provided by an embodiment of the present application; [Figure 9] FIG. 2 is a structural schematic diagram of a virtual skill control device provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to make the objectives, technical means and advantages of the present application clearer, the present application will be described in more detail below in conjunction with the drawings. The described embodiments should not be regarded as limitations on the present application, and any other embodiments obtained by those skilled in the art under the premise that no creative labor is required will all belong to the protection scope of the present application.

[0015] In the following description, references to "some embodiments" are intended to describe a subset of all possible embodiments, but it will be understood that "some embodiments" may refer to the same or different subsets of all possible embodiments and may be combined with each other in non-inconsistent circumstances.

[0016] In the following description, the use of the terms "first\second..." in relation to the objects merely distinguishes between similar objects and does not represent a particular order to the objects. It will be understood that the terms "first\second..." may be interchanged with the particular order or sequence of events, where permitted, such that the embodiments of the present application described herein may be practiced in other orders than those illustrated or described herein.

[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terms used herein are only for describing the embodiments of the present application and are not intended to be limiting of the present application.

[0018] Before describing the embodiments of the present application in more detail, the nouns and terms related to the embodiments of the present application will be explained, and the nouns and terms related to the embodiments of the present application will be interpreted as follows.

[0019] 1) Client: An application program that runs on a terminal and is used to provide various services, such as a video playback client and a game client.

[0020] 2) In response to: Used to express a condition or state on which an operation to be performed depends. When the dependent condition or state is satisfied, the operation or operations to be performed may be in real time or may have a configurable delay. Unless otherwise specified, there is no restriction on the order in which the operations to be performed are performed.

[0021] 3) Virtual scene: a virtual scene that is displayed (or provided) when an application program is running on a terminal. The virtual scene may be a simulation environment for the real world, a semi-simulated semi-fictional virtual environment, or even a purely fictional virtual environment. The virtual scene may be any kind of 2D virtual scene, 2.5D virtual scene, or 3D virtual scene, and the embodiment of the present application does not limit the dimension of the virtual scene.

[0022] For example, when the virtual scene is a three-dimensional virtual space, the three-dimensional virtual space may be an open space. The virtual scene can be used to simulate a real environment in reality, for example, the virtual scene may include sky, land, and ocean, etc., and the land may include environmental elements such as desert and city. Of course, virtual objects in the virtual scene, such as buildings, vehicles, and virtual objects in the virtual scene, can be used to arm themselves, and may further include tools such as weapons required for fighting with other virtual objects. The virtual scene can also be used to simulate a real environment in different weather, such as sunny weather, rainy weather, foggy day, or dark night. A user can control a virtual object to move in the virtual scene.

[0023] 4) Virtual object: Also called virtual character, it refers to various images of people or things that can interact in the virtual scene, or an actionable object in the virtual scene. The actionable object may be a virtual person, a virtual animal, a cartoon character, etc., such as a person, an animal, a plant, an oil barrel, a wall, and a stone displayed in the virtual scene. The virtual object may be a single virtual image used to represent the user in the virtual scene. A virtual scene may include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0024] In some embodiments, the virtual object may be a user character controlled by an operation on a client, an artificial intelligence (AI) set for a battle in a virtual scene by training, or a non-player character (NPC) set for an interaction in a virtual scene. In some embodiments, the virtual object may be a virtual person performing a confrontation-type interaction in a virtual scene. In some embodiments, the number of virtual objects participating in an interaction in the virtual scene may be preset or may be dynamically determined according to the number of clients joining the interaction.

[0025] Taking a shooting game as an example, a user can control a virtual object to freely fall, glide, or open a parachute and fall in the sky of the virtual scene, run, jump, crawl, or lean forward on land, and control a virtual object to swim, drift, or dive in the ocean. Of course, a user can also control a virtual object to ride a virtual vehicle and move in the virtual scene, for example, the virtual vehicle may be a virtual car, a virtual airplane, or a virtual yacht. Here, the above scene is merely used as an example for the description, but the embodiment of the present application is not specifically limited thereto. A user can also control a virtual object to perform a confrontation-type interaction with another virtual object by using a virtual tool. For example, the virtual tool may be a throwing-type virtual tool such as a grenade, a cluster mine, or a sticky grenade, or a shooting-type virtual tool such as a machine gun, a pistol, or a rifle, and the present application does not specifically limit the control type of the virtual skill.

[0026] 5) Virtual Skills: Various special functions that can help a target virtual object to interact with other virtual objects in a virtual scene. A motor skill is a type of virtual skill that can help a target virtual object to perform skills that can move the position, such as walking, running, jumping, and sliding, in a virtual scene.

[0027] 6) Scene data: represents various features appearing in the interaction process of an object in a virtual scene, and may include, for example, the position of the object in the virtual scene. Of course, different types of features may be included according to the type of virtual scene. For example, in a game virtual scene, the scene data may include the time that needs to be waited when configuring various functions in the virtual scene (determined by the number of times the same function can be used within a certain time), and may further represent the attribute values ​​of various states of a game character, such as the life value (also called the energy value, the remaining amount of the red bar), and the magic value (also called the remaining amount of the blue bar), etc.

[0028] Referring to Fig. 1, Fig. 1 is an architecture schematic diagram of a virtual skill control system 100 provided by an embodiment of the present application. To realize the support of an exemplary application, terminals (exemplary terminals 400-1 and 400-2) are connected to a server 200 by a network 300, which may be a wide area network, a local area network, or a combination of both, and realizes data transmission using wireless or wired links.

[0029] The terminal may be various types of user terminals such as a smartphone, a tablet PC, and a notebook computer, or may be a desktop computer, a game console, a television, or a combination of any two or more of these data processing devices. The server 200 may be a single server configured to support various services, or may be configured as a server cluster, or may be a cloud server, etc.

[0030] In practical applications, an application program supporting virtual scenes is installed and running on the terminal, and the application program may be any one of a first-person shooter game (FPS), a third-person shooter game, a multiplayer online battle arena game (MOBA), a two-dimensional (2D) game application, a three-dimensional (3D) game application, a virtual reality application program, a three-dimensional map program, or a multiplayer gun battle type survival game, and the application program may also be a standalone application program, for example a standalone 3D game program.

[0031] The virtual scene in the embodiment of the present application can be used to simulate a three-dimensional virtual space, and the three-dimensional virtual space can be an open space. The virtual scene can be used to simulate a real environment in reality, for example, the virtual scene can include sky, land, and ocean, and the land can include environmental elements such as desert and city. Of course, the virtual scene can also include virtual objects, such as buildings, tables, vehicles, and tools such as weapons that are necessary for the virtual object in the virtual scene to arm itself or to fight with other virtual objects. The virtual scene can also be used to simulate a real environment in different weather conditions, such as sunny weather, rainy weather, foggy days, or dark nights. The virtual object can be a virtual image used to represent a user in the virtual scene, and the virtual image can be any form, such as a simulated person, a simulated animal, etc., but the present application is not limited thereto. In actual implementation, a user can use the terminal to control virtual objects to perform actions in the virtual scene, including but not limited to at least one of adjusting body posture, crawling, running, cycling, jumping, driving, picking up, shooting, attacking, throwing, and poking.

[0032] Taking an electronic game scene as an exemplary scene, a user can operate in advance on the terminal. After detecting the user's operation, the terminal can download a game configuration file of the electronic game, which may include the application program, interface display data, or virtual scene data of the electronic game, so that when the user (or player) logs in to the electronic game on the terminal, the game configuration file can be called to render and display the interface of the electronic game. The user can perform a touch control operation on the terminal, and after detecting the touch control operation, the terminal can send an acquisition request for game data corresponding to the touch control operation to the server. The server determines game data corresponding to the touch control operation based on the acquisition request and returns it to the terminal. The terminal renders and displays the game data, which may include virtual scene data and behavior data of virtual objects in the virtual scene, etc.

[0033] In practical application, the terminal displays a skill control corresponding to a motor skill possessed by a target virtual object in an interface of a virtual scene, and switches the display of the skill control to a composite skill control including a directional indicator when a trigger operation for the skill control is received, where the composite skill control is used to control the motor skill of the target virtual object, and changes an attribute of the directional indicator in the composite skill control in response to a first direction adjustment command triggered based on the composite skill control, and controls the target virtual object to move along a direction indicated by the attribute-changed directional indicator in response to a first skill release command triggered based on the composite skill control.

[0034] Referring to FIG. 2, FIG. 2 is a structural schematic diagram of an electronic device 500 provided by an embodiment of the present application. In practical application, the electronic device 500 may be the terminal 400-1, the terminal 400-2, or the server in FIG. 1. Taking the electronic device as the terminal 400-1 or the terminal 400-2 shown in FIG. 1 as an example, an electronic device implementing the virtual skill control method of the embodiment of the present application will be described. The electronic device 500 shown in FIG. 2 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The individual components in the electronic device 500 are coupled together by a bus system 540. As can be understood, the bus system 540 is used to realize the connection communication between these components. In addition to including a data bus, the bus system 540 further includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, all the various buses in FIG. 2 are marked as a bus system 540.

[0035] The processor 510 may be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a digital signal processor (DSP), other programmable logic devices, discrete gate and transistor logic devices, or discrete hardware components, among which the general purpose processor may be a microprocessor or any common processor.

[0036] User interface 530 includes one or more output devices 531 capable of displaying media content, including one or more speakers, and / or one or more visual display screens. User interface 530 further includes one or more input devices 532, including user interface members that contribute user input, such as a keyboard, a mouse, a microphone, a touch panel display screen, a camera, other input push buttons, and controls.

[0037] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 includes one or more storage devices whose physical location is separate from the processor 510.

[0038] The memory 550 may include volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0039] In some embodiments, the virtual skill control device provided by the embodiments of the present application can be realized by adopting a software approach. Figure 2 shows a virtual skill control device 555 stored in memory 550, which can be software in the form of programs, plug-in components, etc., and includes software modules of a control display module 5551, a control switching module 5552, an attribute change module 5553, and a first control module 5554. These modules are logical, and therefore can be arbitrarily combined or further divided according to the functions to be realized. The functions of each module are described below.

[0040] Next, a method for controlling virtual skills provided by an embodiment of the present application will be described. In practical implementation, the method can be implemented by a server or a terminal alone, or can be implemented by a server and a terminal in cooperation with each other. As shown in FIG. 3, FIG. 3 is a flow chart of a method for controlling virtual skills provided by an embodiment of the present application, which will be described in conjunction with the steps shown in FIG.

[0041] Step 101: A terminal displays a skill control of a virtual scene, and the skill control corresponds to a motor skill of a target virtual object.

[0042] Here, a client supporting a virtual scene is installed in a terminal, and when a user opens the client in the terminal and the terminal operates the client, the terminal displays an interface of the virtual scene obtained by observing the virtual scene from the viewpoint of a target virtual object. The target virtual object is a virtual object in the virtual scene corresponding to the currently logged-in account. In the virtual scene, the user can control the target virtual object to interact with other virtual objects based on the interface of the virtual scene. For example, the target virtual object can be controlled to shoot other virtual objects with a virtual shooting tool, and the target virtual object can also be controlled to use a virtual skill. For example, the target virtual object can be controlled to use a virtual skill called a motor skill to move to a target position according to a specified direction, thereby supporting the target virtual object to interact with other virtual objects in the virtual scene. In practical applications, the skill control of the virtual skill possessed by the target virtual object displayed in the interface of the virtual scene may be an icon corresponding to the motor skill, a push button, etc.

[0043] Step 102: When a trigger operation on a skill control is received, the display of the skill control is switched to the display of a composite skill control including a direction indicator.

[0044] Here, when a user triggers a skill control (e.g., taps, double taps, or slides), the terminal switches the displayed skill control to a composite skill control in response to the trigger operation, where the composite skill control is used to control the motor skill of a target virtual object, for example, to control the motion direction corresponding to the target virtual object and to control the release direction of the motor skill.

[0045] Step 103: In response to a first direction adjustment command triggered based on the composite skill control, change an attribute in the composite skill control of the directional sign.

[0046] Here, the composite skill control includes a directional sign, and as the user drags or slides the directional sign in the composite skill control, the attributes of the directional sign in the composite skill control can also change accordingly, for example the position and angle of the directional sign in the composite skill control can change accordingly.

[0047] The first direction adjustment command is used to instruct the adjustment of the release direction of the motor skill, and the attribute of the directional indicator in the composite skill control can instruct the release direction of the motor skill, and responds to the first direction adjustment command by changing the attribute of the directional indicator. That is, in the example where the direction adjustment is instructed by changing the attribute, and the attribute is the position of the directional indicator in the composite skill control, before triggering the first direction adjustment command, the position of the directional indicator in the composite skill control is set to a first position. The first position corresponds to the first release direction of the motor skill, and in response to the first direction adjustment command triggered based on the composite skill control, the position of the directional indicator in the composite skill control is converted from the first position to a second position, and the second position corresponds to the second release direction of the motor skill. In this way, it is instructed that the release direction of the motor skill is changed.

[0048] In some embodiments, before changing the attribute of the directional indicator in the above-mentioned composite skill control, the terminal may receive a first direction adjustment command in the following manner: displaying directional indication information used for indicating a release direction corresponding to a motor skill, and receiving a first direction adjustment command in response to a trigger operation on the directional indicator in the composite skill control when the current motion direction of the target virtual object does not match the release direction.

[0049] Here, the direction indication information is used to indicate the release direction of the motor skill, i.e., indicates which direction the target virtual object is most useful in. When the current movement direction of the target virtual object does not match the release direction based on the release direction indicated by the direction indication information, a corresponding first direction adjustment command is triggered by sliding or dragging the direction indication sign in the composite skill control, thereby controlling the motor skill to be released in the direction indicated by the first direction adjustment command. That is, the target virtual object is controlled to move in the direction indicated by the first direction adjustment command. In this way, the target virtual object can be quickly controlled to move in the optimal direction, improving the efficiency of the release of the motor skill.

[0050] Step 104: In response to a first skill release command triggered based on the composite skill control, control the target virtual object to release the motor skill along a first direction, where the first direction is a direction indicated by the attribute-modified directional sign.

[0051] Here, the user can trigger a first skill release command by the composite skill control, and the terminal controls the target virtual object to release the motor skill along a first direction in response to the first skill release command. The motor skill moves the target virtual object, i.e., causes a displacement in the virtual scene. That is, the terminal controls the target virtual object to move along a direction indicated by the attribute-changed directional sign in response to the first skill release command.

[0052] Referring to FIG. 4, FIG. 4 is a motion schematic diagram of a target virtual object provided by an embodiment of the present application. When a user triggers a skill control 401, the terminal switches the displayed skill control 401 to the display of a composite skill control 402 in response to the trigger operation, and when the user drags the direction indicator 403 in the composite skill control 402, the terminal receives a first direction adjustment command. Here, the direction indicated by the first direction adjustment command is the direction indicated by the direction indicator 403 after the attribute change. When the user releases the drag on the direction indicator 403 or the user drags the direction indicator 403 by a target distance, the terminal receives a first skill release command, and in response to the first skill control command, controls the movement skill to be released along the direction indicated by the first direction adjustment command. That is, the target virtual object 404 is controlled to move along the direction indicated by the first direction adjustment command.

[0053] With the above method, when a user triggers a skill control corresponding to a motor skill, the displayed skill control is switched to a composite skill control, and one composite skill control can be used to adjust the movement direction of the target virtual object and release the motor skill in a specified direction, thereby simplifying the operation, improving the efficiency of releasing the motor skill in a specified direction, and further improving the adaptability of the motor skill in a fast-rhythmic virtual scene.

[0054] In some embodiments, after performing step 102, i.e., after switching the display of the skill control to the display of the composite skill control including the directional indicator, the terminal can further set the triggering manner of the first skill release command by the following manner: displaying a setting interface of the skill release method corresponding to the composite skill control, and displaying a first release method and a second release method in the setting interface of the skill release method; when receiving a selection operation for the first release method, controlling the skill release method of the composite skill control to be the first release method, thereby triggering the first skill release command by releasing a drag operation on the composite skill control; when receiving a selection operation for the second release method, controlling the skill release method of the composite skill control to be the second release method, thereby triggering the first skill release command by dragging the composite skill control by a target distance.

[0055] Here, before using a motor skill, a skill release method of the motor skill can be set. For example, the terminal displays a setting interface of the skill release method corresponding to the composite skill control in response to a tap operation on the composite skill control. Or, the terminal displays presentation information used to instruct a user to set the skill release method, and when the user taps the presentation information, the terminal displays a setting interface of the skill release method corresponding to the composite skill control in response to a tap operation on the presentation information, and displays a plurality of selectable skill release methods in the skill release method setting interface, but the trigger methods for the first skill release command instructed by different skill release methods are different.

[0056] Referring to FIG. 5, FIG. 5 is a schematic diagram of a skill release mode provided by an embodiment of the present application. In a skill release mode setting interface 501, selectable skill release modes, such as a first release mode 502 and a second release mode 503, are displayed. When a user selects the first release mode 502, the skill release mode of the composite skill control is controlled to be the first release mode, that is, the user can trigger a first skill release command by releasing a drag operation on the composite skill control (which is essentially a directional indicator) in the process of adjusting the motion direction of the target virtual object by subsequently dragging the composite skill control (which is essentially a directional indicator). When a user selects the second release mode 503, the skill release mode of the composite skill control is controlled to be the second release mode, that is, the user can trigger a first skill release command by dragging the composite skill control (which is essentially a directional indicator) by a target distance in the process of adjusting the motion direction of the target virtual object by subsequently dragging the composite skill control (which is essentially a directional indicator).

[0057] In some embodiments, the terminal may receive a first direction adjustment command in the following manner before changing an attribute in the above-mentioned composite skill control of a directional indicator: in response to a drag operation on the directional indicator in the composite skill control, receive a first direction adjustment command triggered based on the drag operation. Correspondingly, the terminal may receive a first skill release command in the following manner before controlling the target virtual object to release the motor skill along the first direction: when the release manner corresponding to the composite skill control is a first release manner, receive a first skill release command when the drag operation is released, and when the release manner corresponding to the composite skill control is a second skill release manner, receive a first skill release command when the drag distance corresponding to the drag operation reaches a target distance.

[0058] Here, when the user drags the directional indicator in the composite skill control, a first direction adjustment command can be triggered, and a change in the attribute of the directional indicator in the composite skill control by dragging the directional indicator in the composite skill control can indicate a change in the release direction (i.e., the movement direction) of the motor skill indicated by the first direction adjustment command. Here, the direction indicated by the first direction adjustment command is the release direction of the motor skill, and the release direction of the motor skill is the movement direction of the target virtual object when the skill is released. If the user selects the first skill release method as the release method of the composite skill control, when the user releases the drag operation on the directional indicator, the terminal receives the first skill release command. If the user selects the second skill release method as the release method of the composite skill control, when the user drags the directional indicator by a target distance, i.e., when the drag distance of the drag operation on the directional indicator reaches the target distance, the terminal receives the first skill release command.

[0059] In some embodiments, the terminal can control the target virtual object to release the motor skill along a first direction in the following manner: obtain a mapping relationship between an attribute in the composite skill control of the directional indicator and a release direction of the motor skill, determine a direction indicated by the first direction adjustment command as a first direction based on the attribute in the composite skill control of the changed directional indicator and the mapping relationship, and control the target virtual object to release the motor skill along the first direction. For example, control the target virtual object to move along the first direction.

[0060] In practical application, the attribute in the composite skill control of the directional indicator and the release direction of the motor skill have a certain mapping relationship, so the direction indicated by the directional indicator after the attribute change is the direction indicated by the first direction adjustment command. For example, before dragging or sliding the directional indicator, the center of the directional indicator overlaps with the center of the skill control, and when the directional indicator is slid or dragged along a 45-degree direction starting from the center, the triggered direction adjustment command instructs the target virtual object to move along a 45-degree direction. Therefore, the user can change the attribute in the composite skill control of the directional indicator by dragging or sliding the directional indicator, adjust the movement direction of the target virtual object, and control the target virtual object to move toward the adjusted movement direction.

[0061] In some embodiments, the terminal can control the target virtual object to move along a direction indicated by the attribute-modified directional sign in the following manner: When determining a level of the target virtual object and a target distance corresponding to the level, the target distance is a movement distance of the target virtual object when a movement skill is released, and a target position that is away from the origin by the target distance along a first direction with the current position of the target virtual object as an origin is determined, and the target virtual object is controlled to move to the target position along the first direction.

[0062] Here, the first direction is the movement direction of the target virtual object indicated by the first direction adjustment command, that is, the release direction of the motor skill. For the same motor skill, if the level of the target virtual object is different when the motor skill is released, the distance that the target virtual object can be controlled and moved under the action of the released skill is also different, and in normal circumstances, the higher the level of the target virtual object, the farther the distance that the target virtual object can be controlled. Here, according to the level of the target virtual object, under the action of the released motor skill, a target position is determined where the distance that the target virtual object starts from the current position and moves away from the current position along the release direction of the motor skill is the target distance, and the target virtual object is controlled to move to the target position along the release direction of the motor skill.

[0063] In some embodiments, the terminal may control the target virtual object to move to a target position along a direction indicated by the attribute-modified directional sign in the following manner: performing obstacle detection for the target position, obtaining a detection result, and controlling the target virtual object to move to the target position along a first direction when the detection result indicates that no obstacle exists at the target position; similarly, controlling the target virtual object to move to another position along the first direction when the detection result indicates that an obstacle exists at the target position, where no obstacle exists at the other position and a distance between the other position and the target position is less than a distance threshold.

[0064] Here, in order to fix the loophole in the motion logic, obstacle detection can be performed to determine whether an obstacle exists at the target position. When it is detected that an obstacle exists at the target position, it means that the target position cannot be reached. In actual implementation, a camera component bound to a target virtual object or a camera component bound to a virtual tool used by the target virtual object can emit detection radiation that is consistent with the orientation of the target virtual object at the current position of the target virtual object, or emit detection radiation that is consistent with the orientation of the virtual tool at the position of the virtual tool, and determine whether an obstacle exists at the target position based on the detection radiation.

[0065] For example, a camera component in a virtual tool used by a target virtual object emits a detection ray at the position of the virtual tool that matches the orientation of the virtual tool, and the detection ray determines whether an obstacle is present at the target position. When there is an intersection between the detection ray and an impactor component (e.g., a collision box, a collision ball, etc.) bound to an obstacle (e.g., a wall, an object that obstructs the movement of the target virtual object, such as an oil barrel), it means that an obstacle is present at the target position. When there is no intersection between the detection ray and an impactor component bound to an obstacle, it means that an obstacle is not present at the target position.

[0066] When it is determined that an obstacle exists at the target position, the target virtual object is controlled to move to another nearby position where no obstacle exists, thereby satisfying the user's initial needs as much as possible, and when it is determined that no obstacle exists at the target position, the target virtual object is controlled to move to the target position along the direction indicated by the attribute-changed directional sign.

[0067] In some embodiments, in the process of controlling the target virtual object to release the motor skill along the first direction, when the target virtual object moves to an obstacle area where an obstacle exists and the target virtual object cannot pass through the obstacle area, the terminal automatically adjusts the motion path of the target virtual object to avoid the obstacle. When the target virtual object moves to an obstacle area where an obstacle exists and the target virtual object can pass through the obstacle area, the terminal controls the target virtual object to move while maintaining the current motion direction.

[0068] In order to correct the loophole in the motion logic, in the process of controlling the target virtual object to move, it is possible to detect whether an obstacle area exists in front of the target virtual object where the target virtual object is moving. When it is detected that an obstacle area of ​​an obstacle exists in front of the target virtual object where the target virtual object is moving, it is determined whether the target virtual object can pass through the obstacle area. When the target virtual object cannot pass through the obstacle area, it means that an obstacle area exists in front of the target virtual object and the target virtual object cannot reach the obstacle area. In such a situation, the target virtual object is controlled to adjust the motion path to avoid the obstacle. When the target virtual object can pass through the obstacle area (e.g., fly over or pass through), it means that an obstacle area exists in front of the target virtual object but the target virtual object can reach the obstacle area. In such a situation, the target virtual object is controlled to maintain the current motion direction and continue to move.

[0069] In actual implementation, a camera component bound to a target virtual object or a camera component bound to a virtual tool used by the target virtual object may emit detection radiation at the current position of the target virtual object, which corresponds to the orientation of the target virtual object, or emit detection radiation at the position of the virtual tool, which corresponds to the orientation of the virtual tool, and determine whether an obstacle exists in front of the target virtual object where the target virtual object is moving based on the detection radiation. The specific detection method is similar to the above detection method for detecting whether an obstacle exists at the target position, and therefore will not be described in detail again here.

[0070] In some embodiments, the terminal may further control the movement of the target virtual object by releasing the motor skill in the following manner: display a movement control used for controlling the movement direction of the target virtual object, and upon receiving a second direction adjustment command triggered based on the movement control, determine a direction indicated by the second direction adjustment command as a second direction, and control the target virtual object to release the motor skill along the second direction in response to a second skill release command triggered based on the skill control.

[0071] Here, the movement control is used to control the movement direction of the target virtual object, and when the user first triggers the movement control to adjust the release direction of the movement skill, the skill control is used to release the corresponding movement skill. In practical application, when the user triggers the movement control (e.g., dragging or sliding), the terminal receives a corresponding second direction adjustment command. Here, the direction indicated by the second adjustment command is the drag direction or slide direction for the movement control. When the user triggers the skill control, the terminal receives a second skill release command for the movement skill, and in response to the second skill release command, controls the movement skill to be released along the direction indicated by the second adjustment command, i.e. controls the target virtual object to move along the direction indicated by the second adjustment command.

[0072] Referring to Fig. 6, Fig. 6 is a movement schematic diagram of a target virtual object provided by an embodiment of the present application. In the interface of a virtual scene, a skill control 601 and a movement control 602 are displayed. When a user first triggers the movement control 602, the terminal receives a second direction adjustment command, and the drag direction or slide direction of the movement control is determined as the direction indicated by the second direction adjustment command. Then, the user triggers the skill control, and the terminal receives a corresponding second skill release command, and controls the target virtual object 603 to move along the direction indicated by the second direction adjustment command.

[0073] As can be seen, in FIG. 6, when a user first triggers the skill control 601, the skill control 602 is used to call the composite skill control, and the composite skill control can adjust the movement direction of the target virtual object (i.e., adjust the release direction of the motor skill) and control the release timing of the motor skill (see steps 101 to 104). Such a method is abbreviated as method 1, and when a user first triggers the movement control 602 and then triggers the skill control 601, the movement control can adjust the movement direction of the target virtual object (i.e., adjust the release direction of the motor skill), and the skill control 601 can control the release timing of the motor skill. Such a method is abbreviated as method 2. As can be seen, both of the completely different embodiments of method 1 and method 2 can achieve the purpose of controlling the target virtual object to move along the direction indicated by the direction adjustment command. In this way, the implementation methods of the motor skill releasing along the specified direction are enriched, and the user can choose any method according to the operation habits and actual situation, so as to meet the selectable needs of the user for the implementation method.

[0074] In some embodiments, in the process of controlling the target virtual object to release the motor skill along the second direction, the terminal may further receive a third direction adjustment command triggered based on the composite skill control. In response to the third skill release command triggered based on the composite skill control, when the third direction indicated by the third direction adjustment command does not match the second direction, the terminal controls the target virtual object to convert the release direction of the motor skill from the second direction to the third direction, i.e., controls the target virtual object to move along the third direction (i.e., release the motor skill).

[0075] Here, in the process of controlling the target virtual object to move along the second direction based on the above method 2, when the terminal receives the third direction adjustment command and the third skill release command triggered by adopting the method 1, the terminal compares the third direction indicated by the third direction adjustment command with the second direction indicated by the second direction adjustment command, and when the two do not match, the terminal can control the target virtual object to move along the third direction indicated by the third direction adjustment command triggered by the method 1, since the realization process of the method 1 is simpler and faster.

[0076] Referring to Fig. 7, Fig. 7 is a movement schematic diagram of a target virtual object provided in an embodiment of the present application. When the direction 1 indicated by the third direction adjustment command triggered by the composite skill control in the manner 1 is not consistent with the direction 2 indicated by the second direction adjustment command triggered by the movement control in the manner 2, the target virtual object is controlled to move according to the direction 1.

[0077] It is necessary to note that in practical application, different priorities can be set for the method 1 and the method 2. When the terminal simultaneously receives a direction adjustment command triggered by the method 1 and a direction adjustment command triggered by the method 2, and the directions indicated by the two direction adjustment commands are not consistent, the terminal controls the target virtual object to move according to the direction indicated by the direction adjustment command triggered by the method with higher priority.

[0078] In some embodiments, the terminal can further control the movement of the target virtual object by releasing the motor skill in the following manner: determine the orientation of the target virtual object in the virtual scene, and control the target virtual object to release the motor skill (i.e., move) along its own orientation when receiving a skill release command triggered based on the skill control.

[0079] Here, in practical application, when a user directly triggers a skill control without adjusting the motion direction of a target virtual object, the terminal receives a corresponding skill release command, and controls the target virtual object to move along its own orientation in response to the skill control command, thus meeting the need for quickly releasing a motion skill without needing to adjust the motion direction.

[0080] In some embodiments, in a process of controlling a target virtual object to move along a first direction, the terminal receives a fourth direction adjustment command triggered based on the movement control, and controls the target virtual object to maintain the movement along the first direction when the first direction and the fourth direction indicated by the fourth direction adjustment command do not match.

[0081] Here, in the process of controlling the target virtual object to move along a direction indicated by the first direction adjustment command triggered in the above-mentioned method 1, when the terminal receives a fourth direction adjustment command triggered based on the method 2, the terminal compares the first direction with the fourth direction, and if the first direction and the fourth direction do not match, the terminal can control the target virtual object to maintain the movement along the first direction triggered in the method 1 because the process of realizing the method 1 is simpler and faster.

[0082] By applying the above-mentioned embodiment of the present application, a composite skill control can be called up by triggering a skill control, and one composite skill control can be used to adjust the movement direction of a target virtual object and release a motor skill in a specified direction, thereby simplifying the operation, improving the efficiency of releasing a motor skill in a specified direction, the efficiency of human-computer interaction, and the utilization rate of hardware resources, while improving the adaptability in fast-paced virtual scenes and the user's operation experience.

[0083] Hereinafter, an exemplary application of the embodiment of the present application in one actual application scene will be described. Taking the virtual scene as a game as an example, the control method of the virtual skill provided by the embodiment of the present application will be continued. In the related art, the operation method adopted when releasing a motor skill is relatively single, for example, first tap the skill key corresponding to the motor skill to control the character to move a certain distance along its own direction, and then control the movement of the lens to change the character's movement direction. This method can only release the motor skill along a specified direction through the cooperation of the skill key and the lens key, etc., which is complicated to operate, has low efficiency, and cannot be adapted to a fast-paced virtual scene.

[0084] Therefore, the embodiments of the present application provide a virtual skill control method, device, equipment, and computer-readable storage medium, which calls up a composite skill control by triggering a skill control, and can realize adjustment to the movement direction of a target virtual object and release of a motor skill in a specified direction through one composite skill control, thereby simplifying the operation and improving the efficiency of releasing the motor skill in a specified direction.

[0085] Referring to FIG. 8, FIG. 8 is a flowchart of a virtual skill control method provided in an embodiment of the present application, which includes the following steps 201 to 212.

[0086] Step 201: The terminal displays skill controls and movement controls corresponding to the motor skills possessed by a target virtual object in an interface of a virtual scene.

[0087] Here, the movement control (or movement joystick) is used to control the movement direction of the target virtual object, and when the user first triggers the movement control to adjust the release direction of the motor skill (i.e., the movement direction of the target virtual object), the skill control (or skill key) is used to release the corresponding motor skill. When the user first triggers the skill control, the skill control is used to call up a composite skill control (also called a skill wheel, which belongs to a type of joystick), and the composite skill control is used to adjust the release direction of the motor skill and control the release timing of the motor skill.

[0088] Step 202: It is determined whether or not a trigger operation for skill control has been received.

[0089] Here, when the terminal receives a trigger operation for skill control, execute step 203; otherwise, execute step 207.

[0090] Step 203: The display of skill controls is switched to the display of composite skill controls.

[0091] Step 204: Receive a first direction adjustment command in response to a drag operation on the composite skill control.

[0092] Here, the composite skill control is essentially a kind of joystick, which includes a draggable directional indicator, and as the user drags the directional indicator in the composite skill control, the position, angle, etc. of the directional indicator in the composite skill control are changed accordingly. The direction indicated by the first direction adjustment command is the direction of the changed directional indicator with respect to the composite skill control, for example, before dragging the directional indicator in the composite skill control, the center of the directional indicator overlaps with the center of the skill control, and when dragging the directional indicator along a 45-degree direction starting from the center, the triggered first direction adjustment command instructs the target virtual object to move along a 45-degree direction.

[0093] Step 205: When the drag operation on the composite skill control is released, a first skill release command is received.

[0094] Here, when the user releases the drag on the directional indicator, a first skill release command for the motor skill is triggered. In practical application, other implementation manners for triggering the first skill release command can also be set. For example, the directional indicator can be dragged to the edge of the composite skill control, or when the drag distance of the directional indicator reaches a target distance, a corresponding first skill release command can be triggered without needing to release the drag on the directional indicator. These multiple implementation manners can be set in the interface of the virtual scene for the user to select.

[0095] Step 206: In response to the first skill release command, control the target virtual object to move along a direction indicated by the first direction adjustment command.

[0096] Here, when the terminal receives a first skill release command for a motor skill, it can control the terminal to release the motor skill along a direction indicated by the first directional adjustment command, i.e., control the target virtual object to move along the direction indicated by the first directional adjustment command.

[0097] Step 207: It is determined whether or not a trigger operation for the movement control has been received.

[0098] Here, when the terminal receives a trigger operation for the mobility control, execute step 208; otherwise, execute step 211.

[0099] Step 208: Receive a second direction adjustment command in response to a trigger operation on the movement control.

[0100] In practical application, when a user triggers a moving control (e.g., dragging or sliding), the terminal receives a corresponding second direction adjustment command, where the direction indicated by the second adjustment command is the drag direction or slide direction for the moving control.

[0101] Step 209: Receive a second skill release command in response to a trigger operation on the skill control.

[0102] Step 210: In response to the second skill release command, control the target virtual object to move along a direction indicated by the second direction adjustment command.

[0103] When the user triggers the skill control, the terminal receives a second skill release command for the motor skill, and in response to the second skill release command, controls the motor skill to be released along a direction indicated by the second adjustment command, i.e., controls the target virtual object to move along the direction indicated by the second adjustment command.

[0104] Step 211: Receive a skill release command for a motor skill in response to a trigger operation for a skill control.

[0105] Step 212: In response to the skill release command, the target virtual object is controlled to move along its own orientation.

[0106] In practical application, when a user directly triggers a skill control without adjusting the motion direction of a target virtual object, the terminal receives a corresponding skill release command, and controls the target virtual object to move along its own orientation in response to the skill control command, thus meeting the need for quickly releasing a motion skill without needing to adjust the motion direction.

[0107] As can be seen from FIG. 8, steps 201 to 206 are an implementation method (abbreviated as method 1) for controlling the movement direction of a target virtual object and the timing of the release of a motor skill by a composite skill control. Steps 201 to 202 and steps 207 to 210 are an implementation method (abbreviated as method 2) for first adjusting the movement direction of a target virtual object by a movement control. Next, the timing of the release of a motor skill is controlled by a skill control. Steps 201 to 202, step 207, and steps 211 to 212 are an implementation method (abbreviated as method 3) for quickly releasing a motor skill without the need to adjust the movement direction. As can be seen from this, both of the completely different implementation methods of method 1 and method 2 can achieve the purpose of controlling a target virtual object to move along the direction indicated by a direction adjustment command.

[0108] In practical application, different priorities can be set for the method 1 and the method 2. When the terminal simultaneously receives a direction adjustment command triggered by the method 1 and a direction adjustment command triggered by the method 2, and the directions indicated by the two direction adjustment commands are not consistent, the terminal controls the target virtual object to move according to the direction indicated by the direction adjustment command triggered by the method with the higher priority.

[0109] According to the above method, the embodiment of the present application combines a plurality of realization methods of controlling the release of motor skills along a specified direction, supports 360° omnidirectional adjustment of the motion direction of the target virtual object without relying on the lens, and enriches the realization methods of the release of motor skills along a specified direction. Users can choose any of the methods according to their operation habits and actual situations, so as to meet the selectable needs of users for the realization methods.

[0110] The following continues to describe an exemplary structure implemented as a software module of the virtual skill control device 555 provided by the embodiments of the present application. In some embodiments, refer to FIG. 9, which is a structural schematic diagram of the virtual skill control device provided by the embodiments of the present application. The software modules in the virtual skill control device 555 stored in the memory 550 in FIG. 2 include: A control display module 5551 configured to display skill controls of a virtual scene, the skill controls corresponding to motor skills of a target virtual object; a control switching module 5552 configured to switch a display of the skill control to a display of a composite skill control including a directional sign when a trigger operation on the skill control is received; Wherein, the composite skill control is used to control the motor skill of the target virtual object, a control switching module 5552; an attribute change module 5553 configured to change an attribute in the composite skill control of the directional sign in response to a first directional adjustment command triggered based on the composite skill control; and a first control module 5554 configured to control the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional indicator after attribute modification.

[0111] In some embodiments, the apparatus further comprises: Display the setting interface for the skill release method of the above composite skill control, In the above-mentioned skill release method setting interface, the first release method and the second release method are displayed; When a selection operation for the first release method is received, the skill release method of the composite skill control is controlled to be the first release method, and the first skill release command is triggered by releasing a drag operation for the composite skill control; The device further includes a mode setting module configured to trigger the first skill release command by dragging the composite skill control a target distance by controlling the skill release method of the composite skill control to be the second release method when a selection operation for the second release method is received.

[0112] In some embodiments, the apparatus further comprises: a command receiving module configured to receive, in response to a drag operation on the directional sign, a first directional adjustment command triggered based on the drag operation; The command receiving module further receives the first skill release command when the drag operation is released when the release manner corresponding to the composite skill control is a first release manner; When the release method corresponding to the composite skill control is a second skill release method, the first skill release command is received when the drag distance corresponding to the drag operation reaches a target distance.

[0113] In some embodiments, the apparatus further comprises: displaying a movement control for use in controlling a direction of movement of the target virtual object; When receiving a second direction adjustment command triggered based on the movement control, determine a direction indicated by the second direction adjustment command as a second direction; and a second control module configured to control the target virtual object to release the motor skill along the second direction in response to a second skill release command triggered based on the skill control.

[0114] In some embodiments, the apparatus further comprises: receiving a third directional adjustment command triggered based on the composite skill control in the process of controlling the target virtual object to release the motor skill along the second direction; The present invention further includes a third control module configured to control the target virtual object to convert a release direction of the motor skill from the second direction to the third direction when a third direction indicated by the third direction adjustment command does not match the second direction in response to a third skill release command triggered based on the composite skill control.

[0115] In some embodiments, the apparatus further comprises: determining an orientation of the target virtual object in the virtual scene; and a fourth control module configured to control the target virtual object to release the motor skill along the direction upon receiving a skill release command triggered based on the skill control.

[0116] In some embodiments, the apparatus further comprises: displaying a movement control for use in controlling a direction of movement of the target virtual object; receiving a fourth direction adjustment command triggered based on the movement control in the process of controlling the target virtual object to move along a first direction; The fifth control module is configured to control the target virtual object to maintain the release of the motor skill along the first direction when the first direction and the fourth direction indicated by the fourth direction adjustment command do not match.

[0117] In some embodiments, the command receiving module further comprises displaying directional information used to indicate a release direction corresponding to the motor skill; and configured to receive the first direction adjustment command in response to a trigger operation on a directional indicator in the composite skill control when a current motion direction of the target virtual object does not match the release direction.

[0118] In some embodiments, the first control module further obtains a mapping relationship between an attribute of the directional sign in the composite skill control and a release direction of the motor skill; determining a direction indicated by the first direction adjustment command as a first direction based on the changed attribute and the mapping relationship; configured to control the target virtual object to release the motor skill along the first direction.

[0119] In some embodiments, the first control module further determines a level of the target virtual object and a target distance corresponding to the level, the target distance being a movement distance of the target virtual object when releasing the movement skill; and determining a target position along the first direction, the target position being a target distance away from the origin, the target position being determined from a current position of the target virtual object; and controlling the target virtual object to move along a first direction to the target position.

[0120] In some embodiments, the first control module further performs obstacle detection on the target position, obtains a detection result, and When the detection result indicates that no obstacle is present at the target position, the target virtual object is controlled to move along a first direction to the target position; configured to control the target virtual object to move to another position along a first direction when the detection result indicates that an obstacle exists at the target position; Wherein, there is no obstacle at the other position, and the distance between the other position and the target position is less than a distance threshold.

[0121] In some embodiments, the apparatus further comprises: In the process of controlling the target virtual object to move along a first direction, when the target virtual object moves to an obstacle area where an obstacle exists and the target virtual object cannot pass through the obstacle area, the obstacle is avoided by automatically adjusting a motion path of the target virtual object; The sixth control module is configured to control the target virtual object to move while maintaining a current direction of movement when the target virtual object moves to an obstacle area where an obstacle is present and the target virtual object can pass through the obstacle area.

[0122] An embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of a computing device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, thereby causing the computing device to perform the above-mentioned virtual skill control method of the embodiment of the present application.

[0123] An embodiment of the present application provides a computer-readable storage medium having executable instructions stored thereon, the executable instructions being stored such that, when executed by a processor, the processor performs a method for controlling a virtual skill provided by an embodiment of the present application.

[0124] An embodiment of the present application further provides a computer program product, which includes a computer program or instructions, which, when executed by a processor, realizes the method of controlling a virtual skill provided by the embodiment of the present application.

[0125] In some embodiments, the computer-readable storage medium may be a memory such as Read-Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory, magnetic surface memory, optical disk, or CD-ROM, or may be any type of device including one or any combination of the above memories.

[0126] In some embodiments, the executable instructions may take the form of a program, software, software module, script, or code, programmed according to any type of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be arranged according to any type, including as a separate program or as a module, component, subroutine, or separate unit suitable for use in a computing environment.

[0127] As an example, the executable instructions may, but do not necessarily, correspond to a file in a file system and may be stored in part of another program or file that stores data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file of the considered program, or in multiple cooperating files (e.g., files that store one or more modules, subroutines, or code portions).

[0128] As an example, the executable instructions may be arranged to be executed on one computing device, or on multiple computing devices located at one location, and / or on multiple computing devices distributed across multiple locations and coupled together by a communications network.

[0129] The above is merely an embodiment of the present application and is not used to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are all included in the scope of protection of the present application. [Explanation of symbols]

[0130] 300 Network 400-1 Terminal 400-2 Terminal 401 Skill Control 402 Complex Skill Control 403 Directional signs 404 Target Virtual Object 500 Electronic equipment 501 Configuration Interface 510 Processor 520 Network Interface 530 User Interface 531 Output Device 532 Input Device 540 Bus System 550 Memory 555 Control Device 601 Skill Control 603 Target Virtual Object 5551 Control Display Module 5553 Attribute Change Module 5554 First Control Module

Claims

1. 1. A method for controlling a virtual skill, executed by an electronic device, the method comprising: displaying a skill control of a virtual scene, the skill control corresponding to a motor skill of a target virtual object; When a trigger operation on the skill control is received, a display of the skill control is switched to a display of a composite skill control including a directional indicator; displaying a setting interface for a skill release method of the composite skill control; Displaying a first release method and a second release method different from the first release method in a setting interface of the skill release method; When a selection operation for the first release method is received, a skill release method of the composite skill control is controlled to be the first release method; When a selection operation for the second release method is received, a skill release method of the composite skill control is controlled to be the second release method; changing a direction of the directional sign in the composite skill control in response to a first direction adjustment command triggered based on the composite skill control; and controlling the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional indicator after a direction change.

2. the first release method is releasing a drag operation on the composite skill control, The method of claim 1 , wherein the second release mechanism is dragging the composite skill control a target distance.

3. Prior to the step of changing a direction in the composite skill control of the directional sign in response to a first direction adjustment command triggered based on the composite skill control, the method further comprises: The method further includes receiving, in response to a drag operation on the directional indicator, a first directional adjustment command triggered based on the drag operation; Prior to the step of controlling the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the method further comprises: receiving the first skill release command when the drag operation is released when a release manner corresponding to the composite skill control is a first release manner; 3. The method of claim 2, further comprising: receiving the first skill release command when a drag distance corresponding to the drag operation reaches a target distance when a release manner corresponding to the composite skill control is a second skill release manner.

4. 1. A method for controlling a virtual skill, executed by an electronic device, the method comprising: displaying a skill control for a virtual scene, the skill control corresponding to a motor skill of a target virtual object, the motor skill being a skill involving a movement of a position of the target virtual object; When a trigger operation on the skill control is received, a display of the skill control is switched to a display of a composite skill control including a directional indicator; changing a direction of the directional sign in the composite skill control in response to a first direction adjustment command triggered based on the composite skill control; In response to a first skill release command triggered based on the composite skill control, controlling the target virtual object to release the motor skill along a first direction, the first direction being a direction indicated by the directional indicator after a direction change; displaying a movement control, the movement control being used to control a direction of movement of the target virtual object; determining, when receiving a second direction adjustment command triggered based on the movement control, a direction indicated by the second direction adjustment command as a second direction; controlling the target virtual object to release the motor skill along the second direction in response to a second skill release command triggered based on the skill control; receiving a third directional adjustment command triggered based on the composite skill control in the process of controlling the target virtual object to release the motor skill along the second direction; In response to a third skill release command, when a third direction indicated by the third direction adjustment command does not match the second direction, controlling the target virtual object to convert a release direction of the motor skill from the second direction to the third direction; A method for controlling a virtual skill, including:

5. The method comprises: determining an orientation of the target virtual object in the virtual scene; 2. The method of claim 1, further comprising: controlling the target virtual object to release the motor skill along the direction upon receiving a skill release command triggered based on the skill control.

6. The method comprises: displaying a movement control, the movement control being used to control a direction of movement of the target virtual object; receiving a fourth directional adjustment command triggered based on the movement control in a process of controlling the target virtual object to release the motor skill along a first direction; and controlling the target virtual object to maintain the motor skill released along a first direction when the first direction and a fourth direction indicated by the fourth directional adjustment command do not match.

7. Prior to the step of changing a direction in the composite skill control of the directional sign in response to a first direction adjustment command triggered based on the composite skill control, the method further comprises: displaying directional information, the directional information being used to indicate a direction of release of the motor skill; 2. The method of claim 1, further comprising: receiving the first directional adjustment command in response to a trigger operation on the directional indicator when a current movement direction of the target virtual object does not match the release direction.

8. The step of controlling the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control includes: Obtaining a mapping relationship between the direction of the directional sign in the complex skill control and the release direction of the motor skill; determining a direction indicated by the first direction adjustment command as a first direction based on the changed direction and the mapping relationship; and controlling the target virtual object to release the motor skill along the first direction.

9. The step of controlling the target virtual object to release the motor skill along a first direction in response to a first directional adjustment command triggered based on the composite skill control includes: determining a level of the target virtual object and a target distance corresponding to the level, the target distance being a movement distance of the target virtual object when releasing the movement skill; determining a target position along the first direction, the target position being a target distance away from the origin, the target position being determined from a current position of the target virtual object; and controlling the target virtual object to move along the first direction to the target position.

10. The step of controlling the target virtual object to move along the first direction to the target position includes: performing obstacle detection for the target position and obtaining a detection result; and when the detection result indicates that no obstacle exists at the target position, controlling the target virtual object to move along the first direction to the target position; The method comprises: When the detection result indicates that an obstacle exists at the target position, controlling the target virtual object to move to another position along the first direction; The method of claim 9 , wherein the other location is free of obstacles and the distance between the other location and the target location is less than a distance threshold.

11. The method comprises: In the process of controlling the target virtual object to release the motor skill along a first direction, when the target virtual object moves to an obstacle area where an obstacle exists and the target virtual object cannot pass through the obstacle area, automatically adjusting the motion path of the target virtual object; 2. The method of claim 1, further comprising: controlling the target virtual object to move while maintaining a current direction of movement when the target virtual object moves into an obstacle area where an obstacle exists, and the target virtual object can pass through the obstacle area.

12. A virtual skill control device, a control display module configured to display a skill control of a virtual scene, the skill control corresponding to a motor skill of a target virtual object; a mode setting module, Display the setting interface for the skill release method of the composite skill control including the directional sign, In the setting interface of the skill release method, a first release method and a second release method are displayed; When a selection operation for the first release method is received, a skill release method of the composite skill control is controlled to be the first release method; When a selection operation for the second release method is received, the skill release method of the composite skill control is controlled to be the second release method. a mode setting module configured to a control switching module configured to switch a display of the skill control to a display of the composite skill control when a trigger operation on the skill control is received; a direction change module configured to change a direction of the directional sign in the composite skill control in response to a first direction adjustment command triggered based on the composite skill control; a first control module configured to control the target virtual object to release the motor skill along a first direction in response to a first skill release command triggered based on the composite skill control, the first direction being a direction indicated by the directional indicator after a direction change; and

13. An electronic device, a memory adapted to store executable instructions; A processor used to realize the virtual skill control method according to any one of claims 1 to 11 when executing executable instructions stored in the memory.

14. A computer program which, when executed by a processor, implements the method for controlling a virtual skill according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Game machine

    JP2009056181A

  • Input device, information processing device and input value acquisition method

    JP2012168931A

  • Interface program and game program

    JP2016129579A

  • Computer program and game system

    JP2017191436A

  • Information processing program, information processing method, and information processing device

    JP2018075225A