CN110420453B - Virtual object motion control method and device, storage medium and electronic equipment - Google Patents

Virtual object motion control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110420453B
CN110420453B CN201910032505.9A CN201910032505A CN110420453B CN 110420453 B CN110420453 B CN 110420453B CN 201910032505 A CN201910032505 A CN 201910032505A CN 110420453 B CN110420453 B CN 110420453B
Authority
CN
China
Prior art keywords
virtual object
virtual
track
controlling
user interface
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
CN201910032505.9A
Other languages
Chinese (zh)
Other versions
CN110420453A (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 CN201910032505.9A priority Critical patent/CN110420453B/en
Publication of CN110420453A publication Critical patent/CN110420453A/en
Application granted granted Critical
Publication of CN110420453B publication Critical patent/CN110420453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/20Input arrangements for video game devices
    • A63F13/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
    • 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
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention relates to a virtual object motion control method and a device, belonging to the technical field of man-machine interaction, wherein the method comprises the following steps: detecting a first touch operation of a control medium acting on the user interface; according to a first operation track of the first touch operation, controlling the virtual object to move in a first movement track; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track; detecting a second control operation of the control medium within a preset distance range in front of the user interface; and controlling the virtual object to move in a second moving track according to a second operation track of the second control operation, and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track. The method reduces the transition time of the virtual object from the first movement track movement to the second movement track movement.

Description

Virtual object motion control method and device, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of man-machine interaction, in particular to a virtual object motion control method, a virtual object motion control device, a computer readable storage medium and electronic equipment.
Background
With the development of science and technology, the hand tour is more and more widely popular. In many hand-moves, there is an operation of moving a game character, and a player typically controls the game character to move by operating a rocker operation area under a screen of a mobile phone.
In one hand game, the player can manipulate the joystick area with his fingers and then create an action to manipulate the game character, i.e., the game character can move in a planar dimension. Taking a certain mobile game as an example, when a player moves by fingers in the process of operating a game character, the player cannot choose whether to eat an obstacle in a travel route, but must select to eat by default, and when other states (such as not eating the obstacle to directly advance) need to be replaced, additional auxiliary operation is needed; in another mobile game, when a player moves a game character in a virtual scene by moving a finger, it is impossible to select which state the game character moves in (e.g., may include a running state, a jogging state, a squatting state, or other states, such as a jump, etc., which is not particularly limited in this example), but the game character must default to a running state; when the switch is needed to be changed to other states, the switch is needed to be additionally performed by touching an additional tab button.
In the above control of the game character, it is impossible to generate various operations on the virtual character only by using a finger, so that the player needs to change the status of the game character in other ways during the game process, which consumes time, increases complexity and reduces the user experience of the player.
Therefore, it is necessary to provide a new method and apparatus for controlling motion of a virtual object.
It should be noted that the information of the present invention in the above background section is only for enhancing the understanding of the background of the present invention and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The present invention aims to provide a virtual object motion control method, a virtual object motion control device, a computer-readable storage medium, and an electronic apparatus, which overcome, at least to some extent, the problems of complicated and time-consuming state replacement of a virtual object due to limitations and drawbacks of the related art.
According to one aspect of the present disclosure, there is provided a virtual object motion control method applied to an equipment terminal; wherein, the user interface presented by the equipment terminal comprises a virtual object; the virtual object motion control method comprises the following steps:
detecting a first touch operation of a control medium acting on the user interface;
according to a first operation track of the first touch operation, controlling the virtual object to move in a first movement track; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track;
detecting a second control operation of the control medium within a preset distance range in front of the user interface;
and controlling the virtual object to move in a second moving track according to a second operation track of the second control operation, and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track.
In an exemplary embodiment of the present disclosure, the first touch operation includes a sliding operation;
the detecting the first touch operation of the control medium acting on the user interface comprises:
and detecting the sliding operation of the control medium on the user interface through the touch device.
In an exemplary embodiment of the present disclosure, according to a first operation track of the first touch operation, controlling the virtual object to move with a first movement track includes:
judging whether the sliding time length of the sliding operation reaches a preset time length or not;
and if the sliding time length of the sliding operation reaches the preset time length, controlling the virtual object to move according to a first moving track of the first touch operation.
In one exemplary embodiment of the present disclosure, the front preset distance range includes a non-contact operation sensing region;
wherein detecting a second control operation of the manipulation medium within a preset distance range in front of the user interface comprises:
and detecting a second control operation of the control medium in a non-contact operation sensing area of the user interface through a sensing device.
In an exemplary embodiment of the present disclosure, the first movement track includes a first movement speed and/or a first movement direction of the virtual object;
the second movement track comprises a second movement speed and/or a second movement direction of the virtual object.
In one exemplary embodiment of the present disclosure, the first virtual operation includes picking up a virtual item;
the second virtual operation includes avoiding a virtual article.
In one exemplary embodiment of the present disclosure, the first virtual operation is to avoid virtual items;
the second virtual operation is picking up a virtual article.
According to one aspect of the present disclosure, there is provided a virtual object motion control apparatus applied to a device terminal; wherein, the user interface presented by the equipment terminal comprises a virtual object; the virtual object motion control apparatus includes:
the touch device is used for detecting a first touch operation of the control medium acting on the user interface;
the first control module is used for controlling the virtual object to move according to a first operation track of the first touch operation; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track;
the sensing device is used for detecting a second control operation of the control medium within a preset distance range in front of the user interface;
and the second control module is used for controlling the virtual object to move in a second moving track according to a second operation track of the second control operation and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track.
According to one 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 the virtual object motion control method of any one of the above.
According to one 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 the virtual object motion control method of any one of the above via execution of the executable instructions.
According to the virtual object motion control method and device, on one hand, a virtual object is controlled to move in a first moving track according to a first operation track of a first touch operation; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track; according to a second operation track of the second control operation, controlling the virtual object to move in a second movement track, and controlling the virtual object to execute a second virtual operation on the virtual object on the second movement track; the method solves the problems that the state replacement of the virtual object is complex and time-consuming in the prior art, reduces the complexity of the state replacement of the virtual object, and reduces the conversion time of the virtual object from the first movement track movement to the second movement track movement; on the other hand, the player can control the virtual object to freely switch between the first moving track and the second moving track, so that the virtual object is prevented from having only one single moving track, the game interestingness is improved, and the user experience is improved; on the other hand, by controlling different movement tracks through different operations, the problem that the same operation controls a plurality of different movement tracks can be confused with each other is avoided, the time for switching between the movement tracks is reduced, and the user experience is further 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 invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 schematically shows a flow chart of a virtual object motion control method.
Fig. 2 schematically shows a flow chart of another virtual object motion control method.
Fig. 3 schematically shows an example diagram of an application scenario of a virtual object motion control method.
Fig. 4 schematically shows an example diagram of an application scenario of another virtual object motion control method.
Fig. 5 schematically shows an example diagram of an application scenario of another virtual object motion control method.
Fig. 6 schematically shows a block diagram of a virtual object motion control device.
Fig. 7 schematically illustrates an example diagram of an electronic device for implementing the virtual object control method described above.
Fig. 8 schematically illustrates a computer-readable storage medium for implementing the virtual object control method described above.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. 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 invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known aspects have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In this example embodiment, a virtual object motion control method is provided first, where the virtual object motion control method may operate on a device terminal having a touch device and an sensing device; the user interface presented by the terminal equipment comprises a virtual object. Referring to fig. 1, the virtual object motion control method may include the steps of:
step S110, detecting a first touch operation of a control medium acting on the user interface.
S120, controlling the virtual object to move according to a first operation track of the first touch operation; and controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track.
And S130, detecting a second control operation of the control medium within a preset distance range in front of the user interface.
And S140, controlling the virtual object to move in a second moving track according to a second operation track of the second control operation, and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track.
In the above method for controlling motion of a virtual object, on one hand, the virtual object is controlled to move in a first movement track according to a first operation track of a first touch operation; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track; according to a second operation track of the second control operation, controlling the virtual object to move in a second movement track, and controlling the virtual object to execute a second virtual operation on the virtual object on the second movement track; the method solves the problems that the state replacement of the virtual object is complex and time-consuming in the prior art, reduces the complexity of the state replacement of the virtual object, and reduces the conversion time of the virtual object from the first movement track movement to the second movement track movement; on the other hand, the player can control the virtual object to freely switch between the first moving track and the second moving track, so that the virtual object is prevented from having only one single moving track, the game interestingness is improved, and the user experience is improved; on the other hand, by controlling different movement tracks through different operations, the problem that the same operation controls a plurality of different movement tracks can be confused with each other is avoided, the time for switching between the movement tracks is reduced, and the user experience is further improved.
Hereinafter, each step in the virtual object motion control method in the present exemplary embodiment will be explained and described in detail with reference to the accompanying drawings.
In step S110, a first touch operation of the manipulation medium on the user interface is detected.
In the present exemplary embodiment, the first touch operation may include a sliding operation; the manipulation medium may include a finger of a user, or may include other objects that may perform a sliding operation on a user interface of the device terminal, for example, a stylus, etc., which is not particularly limited in this example. Further, the sliding operation of the control medium on the user interface can be detected through the touch control device; the touch device may be a screen of the terminal device, or may be an external device, etc., which is not particularly limited in this example.
In step S120, according to a first operation track of the first touch operation, the virtual object is controlled to move in a first movement track; and controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track.
In this example embodiment, first, it is determined whether the sliding duration of the first touch operation (sliding operation) reaches a preset duration (for example, may be 3s or 5s, etc., which is not limited in this example), and if the sliding operation reaches the preset duration, the virtual object may be controlled to move in the first movement track according to the sliding track of the sliding operation; then, the virtual object is controlled to execute a first virtual operation on the virtual object on the first moving track.
For example, the first movement track may include a first movement speed (fast, slow, stop, etc.), a first movement direction (forward, backward, upward, downward, etc.), and so on; the first virtual operation may include picking up or eliminating the virtual item, may include avoiding the virtual item, and so on; further, the virtual object on the first moving track may include a common obstacle, for example, a stake, a small animal, a ball, etc.; the device can also be a large-volume obstacle, such as a wall body and the like; active obstructions may also be included, such as virtual objects that may be manipulated by the opposing player, and so forth.
In a specific embodiment of this example, the first touch operation is a sliding operation, for example, in a game scene, when the sliding operation of the finger is detected, according to a first operation track of an operation point of the sliding operation of the finger, the virtual object is controlled to move along the first operation track, and the virtual object is controlled to pick up or eliminate a virtual object on the first operation track. It should be understood that, in other embodiments, the virtual object may be controlled to avoid the virtual object on the first operation track, and it should be noted that, in this embodiment, the virtual object on the first operation track may be avoided in a bypassing manner, or may be avoided in a passing but non-picking manner.
In another specific embodiment of the present example, for example, in a certain game scene, when a sliding operation of a finger is detected, a virtual object is controlled to advance in a slow manner, and the virtual object is controlled to perform a pickup operation on a virtual article on the slow advancing track; further, when the sliding time of the sliding operation does not reach the preset duration, other operations may be performed. For example, when the sliding time of the sliding operation is detected to reach a preset duration, the moving track of the virtual object is 1.1; if the sliding duration of the sliding operation does not reach the preset duration, the moving track of the virtual object can be controlled to be 1.2.
Further, the user can switch the moving track of the virtual object according to the requirement. Specifically, the replacement instruction can be performed according to a specific action of the relative movement operation of the finger; for example, when the relative movement operation of the finger is forward with respect to the current state of the virtual object, the forward movement may be quickly performed in a manner of being replaced to avoid the obstacle; when the relative movement operation of the finger is reversed with respect to the current state of the virtual object, it may be changed to a slow advance in such a manner as to eliminate an obstacle, or it may be changed to a reverse or the like, which is not particularly limited in this example.
In step S130, a second control operation of the manipulation medium within a preset distance range in front of the user interface is detected.
In the present exemplary embodiment, the front preset distance range of the user interface may include a non-contact operation sensing area above the user interface, which is not particularly limited by the present example. Further, the sensing device may be used to detect whether the non-contact operation sensing area above the display device (screen) of the terminal device has the second control operation; the sensing device may be a camera of a mobile phone or a sensor, which is not particularly limited in this example.
Further, the second control operation may include an interactive operation of manipulating the medium, where the interactive operation of manipulating the medium may include a relative movement operation of the medium, and may also include other operations, for example, may be other compatible suitable interactive operations, such as a jump operation, and the example is not limited in particular; the manipulation medium may include a finger, or may include other objects, for example, living goods, which are not particularly limited in this example. Further, the above-described sensing device (sensor or camera) may be used to detect whether or not there is a relative movement operation of an object (finger) in the non-contact operation sensing area.
And step S140, according to the second operation track of the second control operation, controlling the virtual object to move along the second movement track, and controlling the virtual object to execute a second virtual operation on the virtual object on the second movement track.
In the present exemplary embodiment, the second movement trajectory may include, for example, a second movement speed (fast, slow, stop, etc.), a second movement direction (forward, backward, upward, downward, etc.), and so on; when the first virtual operation is to pick up or eliminate the virtual article, the second virtual operation is to avoid the virtual article; when the first virtual operation is to avoid the virtual article, the second virtual operation is to pick up or eliminate the virtual article, and so on. Further, the virtual object on the first moving track may include a common obstacle, for example, a stake, a small animal, a ball, etc.; the device can also be a large-volume obstacle, such as a wall body and the like; active obstructions may also be included, such as virtual objects that may be manipulated by the opposing player, and so forth.
In a specific embodiment of this example, the second control operation is a floating movement operation, for example, in a certain game scene, when a floating movement operation of a finger within a preset distance range in front of the user interface is detected, according to a second operation track of an operation point of the finger floating movement operation, the virtual object is controlled to move in the second operation track, and the virtual object is controlled to avoid virtual objects on the second operation track, where it is to be noted that in this embodiment, virtual objects on the first operation track are avoided, virtual objects on the first operation track may be avoided in a bypassing manner, or virtual objects on the first operation track may be avoided in a passing but non-picking manner. It will be appreciated that in other embodiments, the virtual object may also be controlled to pick up or eliminate virtual items on the first operational track.
In another specific embodiment of the present example, the virtual object may be controlled to move in a second movement locus according to a second operation locus of a second control operation (an operation locus that may be operated according to a relative movement of the finger); for example, when the relative movement operation of the finger is an up-down operation, the movement locus may include a longitudinal movement locus; the virtual object is then controlled to perform a second virtual operation (avoidance) on the virtual object on the second movement trajectory. For example, when the virtual object is an object (wall) to be avoided by the virtual object, the virtual object can be controlled to generate a jumping action through the longitudinal operation track of the finger, and the virtual object can directly avoid the wall to continue to advance.
Next, a virtual object motion control method of the present exemplary embodiment is further explained and explained with reference to fig. 2. Referring to fig. 2, the virtual object motion control method may include the following steps.
Step S210, the device terminal 301 detects a relative movement operation (a first touch operation) of the user' S finger 303 in the non-contact operation sensing area; a specific example diagram may be seen with reference to fig. 3;
step S220, according to a first operation track of the relative movement operation of the user' S finger 303, controlling the virtual object 302 to move along the first movement track; and controlling the virtual object 302 to avoid the virtual object 304 on the first moving track; a specific example diagram may be seen with reference to fig. 4;
step S230, the device terminal 301 detects a sliding operation (second touch operation) of the finger 505 on the screen; a specific example diagram may be seen with reference to fig. 5;
step S240, according to a second operation track of the sliding operation (second touch operation) of the user finger 505, controlling the virtual object 302 to move along the second movement track; and controls the virtual object 302 to pick up the virtual object 304 on the second moving trajectory.
It should be further added here that when the virtual object is on the first movement track and the virtual object is a pickable object, the virtual object may also be controlled to pick up the virtual object on the vertical movement track.
The disclosure also provides a virtual object motion control device applied to the equipment terminal; the user interface presented by the equipment terminal comprises a virtual object. Referring to fig. 6, the virtual object motion control device may include a touch device 610, a first control module 620, a sensing device 630, and a second control module 640. Wherein:
the touch device 610 may be configured to detect a first touch operation of the manipulation medium on the user interface.
The first control module 620 may be configured to control the virtual object to move according to a first movement track of the first touch operation; and controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track.
The sensing means 630 may be used to detect a second control operation of the manipulation medium within a preset distance range in front of the user interface.
The second control module 640 may be configured to control the virtual object to move along a second movement track according to a second operation track of the second control operation, and control the virtual object to perform a second virtual operation on the virtual object on the second movement track.
In one example embodiment of the present disclosure, the first touch operation includes a sliding operation;
the detecting the first touch operation of the control medium acting on the user interface comprises: and detecting the sliding operation of the control medium on the user interface through the touch device.
In an example embodiment of the present disclosure, according to a first operation track of the first touch operation, controlling the virtual object to move with a first movement track includes: judging whether the sliding time length of the sliding operation reaches a preset time length or not; and if the sliding time length of the sliding operation reaches the preset time length, controlling the virtual object to move according to a first moving track of the first touch operation.
In one example embodiment of the present disclosure, the front preset distance range includes a non-contact operation sensing region;
wherein detecting a second control operation of the manipulation medium within a preset distance range in front of the user interface comprises: and detecting a second control operation of the control medium in a non-contact operation sensing area of the user interface through a sensing device.
In an example embodiment of the present disclosure, the first movement track includes a first movement speed and/or a first movement direction of the virtual object;
the second movement track comprises a second movement speed and/or a second movement direction of the virtual object.
In one exemplary embodiment of the present disclosure, the first virtual operation includes picking up a virtual item; the second virtual operation includes avoiding a virtual article.
In one example embodiment of the present disclosure, the first virtual operation is to avoid a virtual article; the second virtual operation is picking up a virtual article.
The specific details of each module in the above-mentioned virtual object motion control device have been described in detail in the corresponding virtual object motion control method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods of the present invention are depicted in the accompanying drawings in a particular order, this is not required to either imply that the steps must be performed in that particular order, or that all of the illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to this embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 7, the electronic device 700 is embodied in the form of a general purpose computing device. Components of electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, and a bus 730 connecting the different system components, including the memory unit 720 and the processing unit 710.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs steps according to various exemplary embodiments of the present invention described in the above-mentioned "exemplary methods" section of the present specification. For example, the processing unit 710 may perform step S110 as shown in fig. 1: detecting a first touch operation of a control medium acting on the user interface; s120: according to a first operation track of the first touch operation, controlling the virtual object to move in a first movement track; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track; step S130: detecting a second control operation of the control medium within a preset distance range in front of the user interface; step S140: and controlling the virtual object to move in a second moving track according to a second operation track of the second control operation, and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track.
The memory unit 720 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 7201 and/or cache memory 7202, and may further include Read Only Memory (ROM) 7203.
The storage unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 730 may be a bus representing 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 700 may also communicate with one or more external devices 780 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 700, and/or any device (e.g., router, modem, etc.) that enables the electronic device 700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 770. As shown, network adapter 760 communicates with other modules of electronic device 700 over bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In an exemplary embodiment of the present invention, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 8, a program product 800 for implementing the above-described 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 thereto, and in this 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. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (8)

1. The virtual object motion control method is characterized by being applied to the equipment terminal; wherein, the user interface presented by the equipment terminal comprises a virtual object; the virtual object motion control method comprises the following steps:
detecting a first touch operation of a control medium acting on the user interface;
according to a first operation track of the first touch operation, controlling the virtual object to move in a first movement track; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track;
detecting a second control operation of the control medium within a preset distance range in front of the user interface; wherein the front preset distance range comprises a non-contact operation sensing area;
controlling the virtual object to move in a second moving track according to a second operation track of the second control operation, and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track; wherein, when the first virtual operation is to pick up the virtual article, the second virtual operation is to avoid the virtual article; when the first virtual operation is to avoid the virtual article, the second virtual operation is to pick up the virtual article.
2. The virtual object motion control method according to claim 1, wherein the first touch operation includes a sliding operation;
the detecting the first touch operation of the control medium acting on the user interface comprises:
and detecting the sliding operation of the control medium on the user interface through the touch device.
3. The virtual object motion control method according to claim 2, wherein controlling the virtual object to move in a first movement trajectory according to a first operation trajectory of the first touch operation comprises:
judging whether the sliding time length of the sliding operation reaches a preset time length or not;
and if the sliding time length of the sliding operation reaches the preset time length, controlling the virtual object to move according to a first moving track of the first touch operation.
4. The virtual object motion control method according to claim 1, wherein detecting a second control operation of the manipulation medium within a preset distance range in front of the user interface comprises:
and detecting a second control operation of the control medium in a non-contact operation sensing area of the user interface through a sensing device.
5. The virtual object motion control method according to claim 1, wherein the first movement trajectory comprises a first movement speed and/or a first movement direction of the virtual object;
the second movement track comprises a second movement speed and/or a second movement direction of the virtual object.
6. A virtual object motion control apparatus, characterized by being applied to a device terminal; wherein, the user interface presented by the equipment terminal comprises a virtual object; the virtual object motion control apparatus includes:
the touch device is used for detecting a first touch operation of the control medium acting on the user interface;
the first control module is used for controlling the virtual object to move according to a first operation track of the first touch operation; controlling the virtual object to execute a first virtual operation on the virtual object on the first moving track;
the sensing device is used for detecting a second control operation of the control medium within a preset distance range in front of the user interface; wherein the front preset distance range comprises a non-contact operation sensing area;
the second control module is used for controlling the virtual object to move in a second moving track according to a second operation track of the second control operation and controlling the virtual object to execute a second virtual operation on the virtual object on the second moving track; wherein, when the first virtual operation is to pick up the virtual article, the second virtual operation is to avoid the virtual article; when the first virtual operation is to avoid the virtual article, the second virtual operation is to pick up the virtual article.
7. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the virtual object motion control method of any of claims 1-5.
8. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the virtual object motion control method of any of claims 1-5 via execution of the executable instructions.
CN201910032505.9A 2019-01-14 2019-01-14 Virtual object motion control method and device, storage medium and electronic equipment Active CN110420453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910032505.9A CN110420453B (en) 2019-01-14 2019-01-14 Virtual object motion control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910032505.9A CN110420453B (en) 2019-01-14 2019-01-14 Virtual object motion control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110420453A CN110420453A (en) 2019-11-08
CN110420453B true CN110420453B (en) 2023-07-14

Family

ID=68408342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910032505.9A Active CN110420453B (en) 2019-01-14 2019-01-14 Virtual object motion control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110420453B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113244611B (en) * 2021-06-03 2024-02-02 网易(杭州)网络有限公司 Virtual article processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017051493A (en) * 2015-09-10 2017-03-16 株式会社バンダイナムコエンターテインメント Program and game system
JP6318228B1 (en) * 2016-12-22 2018-04-25 株式会社コロプラ Information processing method, apparatus, and program for causing computer to execute information processing method
CN108958475A (en) * 2018-06-06 2018-12-07 阿里巴巴集团控股有限公司 virtual object control method, device and equipment
CN109126129A (en) * 2018-08-31 2019-01-04 腾讯科技(深圳)有限公司 The method, apparatus and terminal that virtual objects are picked up in virtual environment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010141484A1 (en) * 2009-06-01 2010-12-09 Sony Computer Entertainment Of America Track generation
CN105045481A (en) * 2015-06-26 2015-11-11 深圳市金立通信设备有限公司 Operation method and terminal
CN106774907B (en) * 2016-12-22 2019-02-05 腾讯科技(深圳)有限公司 A kind of method and mobile terminal adjusting virtual objects visible area in virtual scene
CN108295466B (en) * 2018-03-08 2021-09-07 网易(杭州)网络有限公司 Virtual object motion control method and device, electronic equipment and storage medium
CN109107151A (en) * 2018-06-22 2019-01-01 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017051493A (en) * 2015-09-10 2017-03-16 株式会社バンダイナムコエンターテインメント Program and game system
JP6318228B1 (en) * 2016-12-22 2018-04-25 株式会社コロプラ Information processing method, apparatus, and program for causing computer to execute information processing method
CN108958475A (en) * 2018-06-06 2018-12-07 阿里巴巴集团控股有限公司 virtual object control method, device and equipment
CN109126129A (en) * 2018-08-31 2019-01-04 腾讯科技(深圳)有限公司 The method, apparatus and terminal that virtual objects are picked up in virtual environment

Also Published As

Publication number Publication date
CN110420453A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN107019909B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
US20180314400A1 (en) Pinch Gesture to Navigate Application Layers
AU2015314951B2 (en) Inactive region for touch surface based on contextual information
US9626020B2 (en) Handedness detection from touch input
JP2022502719A (en) Screen mirroring method, device, terminal and storage medium
CN108553892B (en) Virtual object control method and device, storage medium and electronic equipment
CN109960558B (en) Virtual object control method and device, computer storage medium and electronic equipment
CN107273037A (en) Virtual object control method and device, storage medium, electronic equipment
CN109460179B (en) Virtual object control method and device, electronic equipment and storage medium
CN104572322A (en) Method for operating terminal screen
CN109542323B (en) Interaction control method and device based on virtual scene, storage medium and electronic equipment
JP7127202B2 (en) Dynamic motion detection method, dynamic motion control method and device
CN108379843B (en) Virtual object control method and device
CN104572071A (en) Terminal
CN111481923B (en) Rocker display method and device, computer storage medium and electronic equipment
CN108434731B (en) Virtual object control method and device, storage medium and electronic equipment
CN110614634B (en) Control method, portable terminal, and storage medium
CN105393218A (en) Reconfiguration with virtual machine switching
CN110420453B (en) Virtual object motion control method and device, storage medium and electronic equipment
CN102402361A (en) Method and device for controlling on computer based on movement track of mouse
CN110088719B (en) Display method of mobile equipment and mobile equipment
CN110908568B (en) Control method and device for virtual object
CN103064506A (en) Device and method for remote control
JP2021524108A (en) How to handle application partitions, devices and computer readable storage media
CN110604918B (en) Interface element adjustment 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