CN108037888B - Skill control method, skill control device, electronic equipment and storage medium - Google Patents

Skill control method, skill control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108037888B
CN108037888B CN201711305546.8A CN201711305546A CN108037888B CN 108037888 B CN108037888 B CN 108037888B CN 201711305546 A CN201711305546 A CN 201711305546A CN 108037888 B CN108037888 B CN 108037888B
Authority
CN
China
Prior art keywords
skill control
touch
virtual object
displacement
touch operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711305546.8A
Other languages
Chinese (zh)
Other versions
CN108037888A (en
Inventor
刘峥
吴银坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201711305546.8A priority Critical patent/CN108037888B/en
Publication of CN108037888A publication Critical patent/CN108037888A/en
Application granted granted Critical
Publication of CN108037888B publication Critical patent/CN108037888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a skill control method, a skill control device, electronic equipment and a computer readable storage medium, and relates to the technical field of human-computer interaction. The method comprises the following steps: responding to a first touch operation acted on a skill control, and providing a starting point as a displacement range of the current position of the virtual object; controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point; and responding to a second touch operation acting on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position. The present disclosure can improve the accuracy of the rapid displacement.

Description

Skill control method, skill control device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of human-computer interaction, and in particular, to a skill control method and a skill control apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of communication technology, a large number of game applications are emerging on various terminals. In a mobile MOBA (Multiplayer Online Battle Arena), a character quick displacement skill is generally realized by clicking a skill button to control a skill release direction.
Referring to fig. 1, when a virtual object is operated to perform quick displacement, a skill button may be clicked to enter a rocker state, and then the skill rocker is slid to control a releasing direction of the skill; after the skill button is released, the virtual object releases the displacement skill in the direction, so that the virtual object is rapidly displaced for a distance.
Although the above operation mode can make the virtual object move rapidly in one direction, the position of the virtual object moving rapidly in the direction cannot be flexibly controlled, and the accuracy is poor; in addition, to achieve ideal displacement, skilled operation is required to complete the displacement, and for a novice player, the operability is poor and the fluency of the game application is affected, so that the user experience is poor.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a skill control method, a skill control apparatus, an electronic device, and a computer-readable storage medium, which overcome one or more of the problems due to the limitations and disadvantages of the related art, at least to some extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, a skill control method is provided, which is applied to a touch terminal capable of presenting an operation interface of a game scene, where the game scene at least includes a virtual object, and the method includes:
responding to a first touch operation acted on a skill control, and providing a starting point as a displacement range of the current position of the virtual object;
controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point;
and responding to a second touch operation acting on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position.
In an exemplary embodiment of the present disclosure, the controlling the displacement range to automatically extend along a direction corresponding to the first touch operation touch point specifically includes:
and determining an extension direction according to the position of the current position of the first touch operation touch point relative to the skill control origin, and controlling the displacement range to automatically extend according to the extension direction.
In an exemplary embodiment of the present disclosure, the providing a displacement range with a starting point as the current position of the virtual object in response to the first touch operation acting on a skill control specifically includes:
responding to a first touch operation acted on the skill control, providing a starting point as a displacement range of the current position of the virtual object, providing an auxiliary displacement area by taking the virtual object as a center, and determining a preset time length according to the auxiliary displacement area.
In an exemplary embodiment of the present disclosure, the method further comprises:
and if the second touch operation acting on the skill control is not detected within the preset time length, controlling the virtual object to keep the current position unchanged.
In an exemplary embodiment of the present disclosure, the preset time period includes a first time period during which the displacement range extends to the auxiliary displacement region and a second time period during which the displacement range is maintained.
In an exemplary embodiment of the present disclosure, the method further comprises:
providing a direction mark at a preset position of the displacement range to display the extending direction of the displacement range in an identifying way.
In an exemplary embodiment of the present disclosure, the method further comprises:
and providing a prompt identifier on the operation interface to display the preset duration in an identifying manner.
In an exemplary embodiment of the present disclosure, the first touch operation includes one or more of a click operation, a press operation, and a long press operation.
In an exemplary embodiment of the present disclosure, the second touch operation includes one or more of a first touch end operation or a click operation, a press operation, and a long press operation, which are consecutive to the first touch operation.
According to an aspect of the present disclosure, a skill control device is provided, which can be applied to a touch terminal capable of presenting an operation interface of a game scene, where the game scene at least includes a virtual object, and the skill control device includes:
the range providing module is used for responding to a first touch operation acted on a skill control and providing a displacement range with a starting point as the current position of the virtual object;
the extension control module is used for controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point;
and the position transfer module is used for responding to a second touch operation acted on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a skill control method as recited in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any of the skill control methods described above via execution of the executable instructions.
In a skill control method, a skill control apparatus, an electronic device, and a computer-readable storage medium provided in an exemplary embodiment of the present disclosure, a displacement range in which a starting point is a current position of a virtual object is provided by responding to a first touch operation applied to a skill control; controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point; and responding to a second touch operation acting on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position. On one hand, through the first touch operation acting on the skill control, the displacement range can be controlled to automatically extend along the direction corresponding to the first touch operation touch point, and then when the second touch operation is received, the virtual object can be controlled to be rapidly transferred to the end point of the displacement range, so that the efficiency of rapid displacement is improved, and the accuracy of rapid displacement is improved; on the other hand, the quick displacement can be realized through the first touch operation and the second touch operation which act on the skill control, the game is simple and easy to learn, the operability is strong, meanwhile, the smoothness of the game application is improved, and further the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 is a schematic diagram of a game application operating interface in the related art;
FIG. 2 schematically illustrates a skill control method in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a schematic view of an operator interface providing a range of displacements in an exemplary embodiment of the present disclosure;
fig. 4 is a schematic view schematically illustrating an operation interface for determining a target position according to a second touch operation in an exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates a structure of a skill control device in an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a block diagram of an electronic device in an exemplary embodiment of the disclosure;
fig. 7 schematically illustrates a program product in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
The exemplary embodiment first discloses a skill control method, which may be applied to a touch terminal presenting an operation interface of a game scene, and the operation interface may be obtained by executing a software application on a processor of the touch terminal and rendering on a display of the touch terminal. The game scene presented by the touch terminal at least comprises one virtual object, and the virtual object can be a virtual character controlled by a user. The touch terminal can be various electronic devices with touch screens, such as a mobile phone, a tablet computer, a notebook computer, a game machine, a PDA, and the like. It should be noted that, in some non-touch devices, it is also possible to simulate a keyboard operation and a mouse operation as a touch operation by means of a simulator or the like, and this manner can also be regarded as a touch terminal described in this disclosure.
The skill control method in this example may be applied to various mobile game applications or client game applications, and the mobile game applications are taken as an example for description here. Referring to fig. 2, the skill control method may include the steps of:
s210, responding to a first touch operation acting on a skill control, and providing a starting point as a displacement range of the current position of the virtual object;
s220, controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point;
and S230, responding to a second touch operation acted on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position.
According to the skill control method in the exemplary embodiment, on one hand, through the first touch operation acting on the skill control, the displacement range can be controlled to automatically extend along the direction corresponding to the first touch operation touch point, and then when the second touch operation is received, the virtual object can be controlled to be rapidly transferred to the end point of the displacement range, so that the efficiency of rapid displacement is improved, and the accuracy of rapid displacement is improved; on the other hand, the quick displacement can be realized through the first touch operation and the second touch operation which act on the skill control, the game is simple and easy to learn, the operability is strong, meanwhile, the smoothness of the game application is improved, and further the user experience is improved.
Next, the respective steps in the skill control method will be further explained with reference to fig. 2 to 4.
In step S210, a starting point is provided as a displacement range of the current position of the virtual object in response to a first touch operation applied to a skill control.
In the exemplary embodiment, as shown in fig. 3, the skill control 300 may be located at the lower right corner, the lower left corner or any position of the operation interface, and the skill control may include a function control for controlling the quick displacement, so as to implement any one or more of the normal displacement skill, the flash skill or the transfer skill according to the quick displacement control. The first touch operation may include any one of or a combination of plural kinds of touch operations such as clicking, pressing, and long-pressing, and may also include touch operations such as double-clicking and sliding.
The system can detect whether the click operation acted on the operation interface is received or not, when the click operation is received, the position where the click operation occurs can be determined through the position sensor, the position where the click operation occurs is compared with the range of the skill control, and therefore whether the click operation acted on the skill control is received or not is judged. The clicking action may occur, for example, anywhere on the skill control. When determining that a click operation acting on a certain skill control is received, providing a displacement range which can be used for determining a region where a virtual object can move rapidly on the operation interface in response to the click operation.
Specifically, referring to fig. 3, when a click operation on the skill control 300 is received, the current position of the virtual object 301 may be obtained first, and a displacement range 302 whose starting point is the current position of the virtual object may be provided on the operation interface. The displacement range may be, for example, a square, a circle, or a regular range or an irregular range of any other arbitrary shape, as long as the current position a of the virtual object is taken as a starting point, and this example is described by taking a square area as an example. In addition, the displacement range can be displayed on the operation interface to better assist the user in judging the area capable of being rapidly displaced, and the displacement range can be hidden or displayed in a semitransparent mode. When the displacement range is displayed, the boundary of the displacement range can be displayed in a thickening, flashing and highlighting manner or in a different color manner, so that information such as the release range of the quick displacement skill can be prompted, misoperation can be avoided, the virtual object can be assisted to execute effective skill release operation, and the accuracy of skill release can be improved.
Next, in step S220, the displacement range is controlled to automatically extend along a direction corresponding to the first touch operation touch point.
The displacement range may be controlled to extend in a certain direction while providing the displacement range. Specifically, the displacement range may be controlled to automatically extend along a direction corresponding to the first touch operation touch point. The direction corresponding to the first touch operation touch point can be understood as the direction of the first touch operation touch point relative to the skill control origin. In detail, the controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point includes:
and determining an extension direction according to the position of the current position of the first touch operation touch point relative to the skill control origin, and controlling the displacement range to automatically extend according to the extension direction.
In this example, when a first touch operation acting on any position in the skill control is received, the current position coordinates of the touch point of the first touch operation may be acquired and recorded by the coordinate system or the position acquisition module, and the position of the touch point relative to the center or the origin of the skill control is determined based on the current position coordinates of the touch point, and then the extending direction of the displacement range may be quickly determined according to the direction of the touch point.
For example, if the position of the virtual object 301 is (0, 6), the position of the origin of the skill control 300 is (4, 6), and the current position coordinates of the first touch operation touch point is (4, 8), the direction of the touch point relative to the origin of the skill control can be determined to be the 12 o 'clock direction, and therefore the extending direction of the displacement range can be determined to be the 12 o' clock direction. When the current position of the touch point changes, the direction of the touch point can be determined again according to the current position coordinate of the touch point, and the extending direction of the displacement range can be determined again according to the direction of the touch point. For example, if the current position coordinate of the first touch operation touch point is (5, 6), it may be determined that the first touch operation touch point is in the 3 o 'clock direction of the skill control origin, and thus the extending direction of the displacement range may be switched to the 3 o' clock direction.
In this example, the displacement range may be controlled to automatically extend according to a preset rule. For example, the size of the displacement range can be controlled to be constant according to a preset speed or automatically extend according to a variable speed. The preset speed can be set by self according to the actual requirement, and for example, the preset speed can be set to be 1 m/s. When the displacement range is relatively large, a larger value, for example 5 m/s, may be set.
Meanwhile, the method may further include: providing a direction mark at a preset position of the displacement range to display the extending direction of the displacement range in an identifying way. The preset position may be any position of the displacement range, such as the inner side and the outer side of the boundary of the displacement range, or the start point and the end point of the displacement range. The direction indicator may be a triangle, an arrow, a pointer, or any indicator with a direction, for example. The display parameters such as the color and the size of the direction identifier can be set by a developer according to actual requirements. For example, as shown in FIG. 3, an arrow 304 may be provided at the end of the displacement range. In addition, the pointing direction of the direction identifier can be continuously changed by 360 degrees along with the position of the current position of the touch point relative to the original point of the skill control, that is, when the position of the current position of the touch point relative to the original point of the skill control is changed, the pointing direction of the direction identifier is correspondingly changed.
Through the direction identification, the extension direction of the displacement range can be accurately determined by a user, the current direction of the rapid displacement is further determined, and the direction of the rapid displacement can be timely adjusted when the current direction of the rapid displacement is inconsistent with the ideal displacement direction.
In this example, the extension direction of the displacement range and the size of the displacement range can be directly and quickly determined by the position of the first touch operation touch point acting on the skill control, so that the efficiency of determining the displacement range is improved.
It should be added that, the responding to the first touch operation acting on a skill control provides a displacement range with a starting point as the current position of the virtual object, specifically:
responding to a first touch operation acted on the skill control, providing a starting point as a displacement range of the current position of the virtual object, providing an auxiliary displacement area by taking the virtual object as a center, and determining a preset time length according to the auxiliary displacement area.
The auxiliary displacement region 303 in this example may be understood as a maximum extension range of the displacement range, for example, when the first touch operation acting on the skill control is received, an auxiliary displacement region with a radius as a preset value may be provided by taking the virtual object as a center, where the preset value may be, for example, 10 meters or 15 meters. The auxiliary displacement area may be used to assist the user in skill release. The auxiliary displacement area can be controlled to be displayed on the operation interface, and the auxiliary displacement area can also be hidden.
The preset duration may include a first duration that the displacement range extends to be consistent with the size of the auxiliary displacement area and a second duration that the displacement range is maintained.
The first duration refers to an extension duration required when the displacement range extends to the boundary of the auxiliary displacement region, the first duration is also the maximum extension duration, and at this time, the displacement range can be controlled to maintain the second duration, so as to improve the effectiveness of the user operation. Specifically, the first time period may be determined according to the radius of the auxiliary displacement area and the speed at which the displacement range is automatically extended, and the second time period may be set according to actual requirements, for example, 3 seconds or 5 seconds. For example, when the radius of the auxiliary displacement area is 10 meters, the displacement range is automatically extended at a speed of 5 meters/second, and the first duration is 2 seconds.
In step S230, in response to a second touch operation applied to the skill control, determining an end point of the displacement range as a target position, and controlling the virtual object to transfer from the current position to the target position.
When a second touch operation acting on the skill control is received, a target position can be determined in the displacement range, and the virtual object is controlled to be transferred to the target position from the current position, so that the virtual object is rapidly displaced. Wherein the end point of the displacement range can be determined as the target position of the rapid displacement. Assuming that the current position of the virtual object is P1 and the end of the displacement range, i.e., the end point of the displacement range, is P2, the vector U1 from the end point of the displacement range to the current position of the virtual object can be calculated as U1-P2-P1, the direction of the vector U1 is the moving direction of the virtual object, and the length or size of the vector U1 is the moving distance of the virtual object.
In this example, the end point of the displacement range is determined as the target position, so that the transfer position of the virtual object can be uniquely determined, the accuracy of position determination is improved, and the effective release of the quick displacement skill is ensured.
It is to be added that the second touch operation includes one or more of a first touch end operation or a click operation, a press operation, and a long press operation that are consecutive to the first touch operation. For example, the target position may be determined and the virtual object may be controlled to move when a first touch end operation continuous with the first touch operation is detected; or determining a target position and controlling the virtual object to move when a click operation, a press operation, a long press operation or other touch operations are received after the first touch end operation; it is also possible to determine only the target position when a click operation, a press operation, a long press operation, or other touch operations are received, and to control the virtual object to move from the current position to the target position when the touch operations are ended.
The first touch ending operation may be an operation in which the finger leaves the operation interface, or an operation in which the duration of the finger staying at a certain position on the skill control exceeds a preset duration, where the preset duration may be, for example, 10 seconds, or other operations; the click operation, the press operation, the long press operation, or the other touch operations may be ended in the same manner, which is not particularly limited in the present exemplary embodiment.
If the second touch operation comprises a first touch ending operation which is continuous with the first touch operation, the virtual object can be controlled to move from the current position to the target position through continuous operations of clicking the skill control and lifting the finger, the operation steps are simple and convenient, and the operation efficiency is improved; if the second touch operation comprises the touch operation after the first touch operation is finished, double verification is performed in a double-click mode, repentance operation can be provided for a user, and misoperation is avoided.
It should be added that, if a second touch operation acting on the skill control is received within a preset time period, the virtual object may be controlled to be transferred from the current position to the target position in response to the second touch operation. Correspondingly, if the second touch operation acting on the skill control is not detected within the preset time length, the skill may not be released, that is, the virtual object is controlled to keep the current position unchanged.
In addition, a prompt mark can be provided at any position on the operation interface so as to display the preset duration in an identifying manner. The prompt identifier can be in a countdown mode, a progress bar mode or a prompt box mode, so that a user is reminded of finishing quick displacement within preset time, and effective execution of quick displacement skills is guaranteed.
In the example, the technical control is clicked once or twice, and the consistent operation of lifting the finger can control the virtual object to be transferred to a certain determined target position quickly, so that the efficiency is improved and the game fluency is improved while the quick displacement accuracy is improved.
In an exemplary embodiment of the present disclosure, there is also provided a skill control apparatus 500, which may be applied to a touch terminal capable of presenting an operation interface of a game scene, where the game scene includes at least one virtual object, and referring to fig. 5, the apparatus 500 may include:
a range providing module 501, configured to provide a displacement range with a starting point as a current position of the virtual object in response to a first touch operation applied to a skill control;
an extension control module 502, configured to control the displacement range to automatically extend along a direction corresponding to the first touch operation touch point;
the position transfer module 503 may be configured to determine the end point of the displacement range as a target position in response to a second touch operation applied to the skill control, and control the virtual object to be transferred from the current position to the target position.
The specific details of each functional module of the skill control device 500 have been described in detail in the corresponding skill control method, and therefore are not described herein again.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: the at least one processing unit 610, the at least one memory unit 620, a bus 630 connecting different system components (including the memory unit 620 and the processing unit 610), and a display unit 640.
Wherein the storage unit stores program code that is executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 610 may perform the steps as shown in fig. 2: s210, responding to a first touch operation acting on a skill control, and providing a starting point as a displacement range of the current position of the virtual object; s220, controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point; and S230, responding to a second touch operation acted on the skill control, determining the end point of the displacement range as a target position, and controlling the virtual object to be transferred from the current position to the target position.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. As shown, the network adapter 660 communicates with the other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 7, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (11)

1. A skill control method is applied to a touch terminal capable of presenting an operation interface of a game scene, wherein the game scene at least comprises a virtual object, and is characterized by comprising the following steps:
responding to a first touch operation acting on a skill control, providing a starting point as a displacement range of the current position of the virtual object, providing an auxiliary displacement area by taking the virtual object as a center, and determining a preset duration according to the auxiliary displacement area;
controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point according to a preset rule;
and if a second touch operation acting on the skill control is received within the preset time length, responding to the second touch operation, determining the end point of the displacement range as a target position for representing the transfer position of the virtual object, and controlling the virtual object to be transferred from the current position to the target position so as to perform displacement within the preset time length.
2. The skill control method according to claim 1, wherein the controlling of the displacement range automatically extends along a direction corresponding to the first touch operation touch point, specifically:
and determining an extension direction according to the position of the current position of the first touch operation touch point relative to the skill control origin, and controlling the displacement range to automatically extend according to the extension direction.
3. The skill control method of claim 1, further comprising:
and if the second touch operation acting on the skill control is not detected within the preset time length, controlling the virtual object to keep the current position unchanged.
4. The skill control method according to claim 1 or 3, wherein the preset period of time includes a first period of time during which the displacement range extends to the auxiliary displacement region and a second period of time during which the displacement range is maintained.
5. The skill control method of claim 2, further comprising:
providing a direction mark at a preset position of the displacement range to display the extending direction of the displacement range in an identifying way.
6. The skill control method of claim 1, further comprising:
and providing a prompt identifier on the operation interface to display the preset duration in an identifying manner.
7. The skill control method of claim 1, wherein the first touch operation comprises one or more of a click operation, a press operation, and a long press operation.
8. The skill control method of claim 1, wherein the second touch operation comprises one or more of a first touch end operation or a click operation, a press operation, and a long press operation that are continuous with the first touch operation.
9. A skill control device can be applied to a touch terminal capable of presenting an operation interface of a game scene, wherein the game scene at least comprises a virtual object, and the skill control device is characterized by comprising:
the range providing module is used for responding to a first touch operation acted on a skill control, providing a displacement range with a starting point as the current position of the virtual object, providing an auxiliary displacement area by taking the virtual object as a center, and determining a preset time length according to the auxiliary displacement area;
the extension control module is used for controlling the displacement range to automatically extend along the direction corresponding to the first touch operation touch point according to a preset rule;
and the position transfer module is used for responding to a second touch operation acted on the skill control if the second touch operation acted on the skill control is received within the preset time length, determining the end point of the displacement range as a target position for representing the transfer position of the virtual object, and controlling the virtual object to be transferred from the current position to the target position so as to carry out displacement within the preset time length.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the skill control method of any one of claims 1 to 8.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the skill control method of any of claims 1-8 via execution of the executable instructions.
CN201711305546.8A 2017-12-11 2017-12-11 Skill control method, skill control device, electronic equipment and storage medium Active CN108037888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711305546.8A CN108037888B (en) 2017-12-11 2017-12-11 Skill control method, skill control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711305546.8A CN108037888B (en) 2017-12-11 2017-12-11 Skill control method, skill control device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108037888A CN108037888A (en) 2018-05-15
CN108037888B true CN108037888B (en) 2020-11-24

Family

ID=62102007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711305546.8A Active CN108037888B (en) 2017-12-11 2017-12-11 Skill control method, skill control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108037888B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108744507B (en) 2018-05-18 2023-03-24 腾讯科技(深圳)有限公司 Virtual object falling control method and device, electronic device and storage medium
CN108733288B (en) * 2018-05-21 2021-01-26 网易(杭州)网络有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN108920069B (en) * 2018-06-13 2020-10-23 网易(杭州)网络有限公司 Touch operation method and device, mobile terminal and storage medium
CN109032493A (en) * 2018-08-03 2018-12-18 网易(杭州)网络有限公司 Information processing method, device and electronic equipment
CN109806579A (en) * 2019-02-01 2019-05-28 网易(杭州)网络有限公司 The control method of virtual objects, device, electronic equipment and storage medium in game
CN110955370B (en) * 2019-12-02 2021-04-20 网易(杭州)网络有限公司 Switching method and device of skill control in game and touch terminal
CN111228806B (en) * 2020-01-08 2022-07-01 腾讯科技(深圳)有限公司 Control method and device of virtual operation object, storage medium and electronic device
CN111589135B (en) * 2020-04-28 2022-03-04 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111773675A (en) * 2020-07-16 2020-10-16 网易(杭州)网络有限公司 Game instruction processing method and device, storage medium and processor
CN111968621B (en) * 2020-08-10 2022-08-30 腾讯科技(深圳)有限公司 Audio testing method and device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898953A (en) * 2015-06-16 2015-09-09 深圳市腾讯计算机系统有限公司 Touch screen based control method and device
EP2977881A1 (en) * 2014-07-25 2016-01-27 Shanghai Douwu Network Technology Co., Ltd. Method and apparatus of touch control for multi-point touch terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354418B (en) * 2016-11-16 2019-07-09 腾讯科技(深圳)有限公司 A kind of control method and device based on touch screen
CN106598465A (en) * 2016-12-20 2017-04-26 上海逗屋网络科技有限公司 Control method, device and equipment based on virtual rocker
CN107391000B (en) * 2017-06-09 2022-08-05 网易(杭州)网络有限公司 Information processing method and device, storage medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2977881A1 (en) * 2014-07-25 2016-01-27 Shanghai Douwu Network Technology Co., Ltd. Method and apparatus of touch control for multi-point touch terminal
CN104898953A (en) * 2015-06-16 2015-09-09 深圳市腾讯计算机系统有限公司 Touch screen based control method and device

Also Published As

Publication number Publication date
CN108037888A (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN108037888B (en) Skill control method, skill control device, electronic equipment and storage medium
CN107992251B (en) Skill control method, skill control device, electronic equipment and storage medium
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
CN107019909B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN108579089B (en) Virtual item control method and device, storage medium and electronic equipment
CN107656620B (en) Virtual object control method and device, electronic equipment and storage medium
JP6875346B2 (en) Information processing methods and devices, storage media, electronic devices
US20190060745A1 (en) Information Processing Method and Apparatus, Storage Medium, and Electronic Device
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN110090444B (en) Game behavior record creating method and device, storage medium and electronic equipment
US10908799B2 (en) Method and a device for controlling a moving object, and a mobile apparatus
CN107329690B (en) Virtual object control method and device, storage medium and electronic equipment
CN107967096A (en) Destination object determines method, apparatus, electronic equipment and storage medium
CN107823884A (en) Destination object determines method, apparatus, electronic equipment and storage medium
CN107185232B (en) Virtual object motion control method and device, electronic equipment and storage medium
CN107748641B (en) Numerical value adjustment control method and device, electronic equipment and storage medium
CN108897489B (en) Interaction method, system, equipment and storage medium for page return
CN109939440A (en) Generation method, device, processor and the terminal of 3d gaming map
CN109939445B (en) Information processing method and device, electronic equipment and storage medium
CN110624241A (en) Information processing method and device, electronic equipment and storage medium
CN108553894B (en) Display control method and device, electronic equipment and storage medium
CN108776544B (en) Interaction method and device in augmented reality, storage medium and electronic equipment
CN111481923B (en) Rocker display method and device, computer storage medium and electronic equipment
CN108355352B (en) Virtual object control method and device, electronic device and storage medium
CN107391000B (en) Information processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant