Method and device for controlling virtual objects, mobile terminal and computer program

The method and device provide efficient control of virtual objects in shooting games by using joystick controls for automatic running, enhancing interaction efficiency and flexibility.

JP7601488B2Active Publication Date: 2024-12-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021558011
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-08-30
Filing Date
2020-07-20
Publication Date
2024-12-17
Estimated Expiration
2040-07-20

AI Technical Summary

Technical Problem

Existing shooting game technologies require complex and inefficient operations for controlling virtual objects, particularly in moving them continuously within game scenes.

Method used

A method and device that utilize a joystick control on a user interface to enable automatic running of virtual objects through quick click or slide operations, allowing the virtual object to switch states and move without continuous user input.

Benefits of technology

Enhances operational efficiency by enabling one-key automatic movement of virtual objects, improving human-machine interaction and allowing users to perform other tasks concurrently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007601488000001
    Figure 0007601488000001
  • Figure 0007601488000002
    Figure 0007601488000002
  • Figure 0007601488000003
    Figure 0007601488000003
Patent Text Reader

Abstract

A method for controlling a virtual object and a related device includes displaying a user interface including a joystick control for controlling movement of a virtual object (301), receiving a quick-click operation signal acting on a target area corresponding to the joystick control (302), and controlling the virtual object to automatically run in a virtual scene displayed by the user interface in response to the quick-click operation signal (303). By displaying the joystick control on the user interface, the method controls the virtual object to automatically run in a virtual environment displayed by the user interface when a quick-click operation signal acting on a target area corresponding to the joystick control is received, thereby realizing one-key triggering of the function of the virtual object automatically running without the user having to repeatedly click or press an operation control, thereby improving operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed on August 30, 2019, bearing application number 201910812631.6, and entitled "Virtual object control method, device, terminal, and storage medium," the entire contents of which are incorporated herein by reference.

[0002] FIELD OF THE DISCLOSURE Embodiments of the present application relate to the field of computer and internet technologies, and more particularly to controlling virtual objects. [Background technology]

[0003] Currently, in some shooting games on the mobile side, a player can control a virtual object in a game scene provided in a game battle, for example, by controlling the movement of the virtual object.

[0004] In a related technology, a user interface of a shooting game provides buttons for controlling and moving a virtual object, and a user can operate the buttons to realize control over the movement of the virtual object, for example, to control the virtual object to move in a certain direction in a virtual scene. Summary of the Invention [Means for solving the problem]

[0005] In order to solve the technical problem of complex and inefficient operations when controlling and continuously moving a virtual object in the related art, the embodiments of the present application provide a method and a related device for controlling a virtual object. The technical solution is as follows:

[0006] According to one aspect, an embodiment of the present application provides a method for controlling a virtual object, the method comprising: displaying a user interface including a joystick control for controlling a movement of the virtual object; receiving a quick click operation signal acting on a target area corresponding to the joystick control; In response to the quick click operation signal, controlling the virtual object to automatically run in a virtual scene displayed on the user interface.

[0007] According to another aspect, an embodiment of the present application provides a method for controlling a virtual object, the method comprising: displaying a user interface including a joystick control for controlling movement of a virtual object; When the virtual object is in a non-standing state, when a slide operation signal is received in which an initial position is located at the joystick control, the virtual object is controlled to switch from the non-standing state to a standing state; After the virtual object is switched to the standing state, controlling the virtual object to automatically run in the virtual scene displayed in the user interface.

[0008] According to another aspect, an embodiment of the present application provides a device for controlling a virtual object, the device comprising: an interface display module for displaying a user interface including a joystick control for controlling movement of a virtual object; a signal receiving module for receiving a quick click operation signal acting on a target area corresponding to the joystick control; and a running control module for controlling the virtual object to automatically run in a virtual scene displayed on the user interface in response to the quick click operation signal.

[0009] According to another aspect, an embodiment of the present application provides a device for controlling a virtual object, the device comprising: an interface display module for displaying a user interface including a joystick control for controlling movement of a virtual object; a posture switching module for controlling the virtual object to switch from the non-standing state to a standing state when a slide operation signal is received indicating that an initial position of the virtual object is located on the joystick control when the virtual object is in a non-standing state; and a running control module for controlling the virtual object to automatically run in a virtual scene displayed on the user interface after the virtual object is switched to the standing state.

[0010] According to a further aspect, an embodiment of the present application provides a mobile terminal, the mobile terminal including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one program, code set or instruction set being loaded and executed by the processor to realize the above-mentioned method for controlling a virtual object.

[0011] According to a further aspect, an embodiment of the present application provides a storage medium for storing a computer program for executing the method for controlling a virtual object according to the above aspect.

[0012] According to another aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, causes the computer to execute the above-mentioned method for controlling a virtual object.

[0013] According to the technical solution provided in the embodiments of the present application, by displaying a joystick control on a user interface, when a quick click operation signal acting on a target area corresponding to the joystick control is received, a virtual object is controlled to automatically run in the virtual environment displayed on the user interface, so that the user can trigger the function of the virtual object automatically running with one key without having to continuously click or press an operation control, thereby improving operation efficiency. [Brief description of the drawings]

[0014] In order to more clearly explain the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces drawings that need to be used in the description of the embodiments or the prior art. Of course, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without making any creative efforts. [Figure 1] 1 is a schematic diagram of an implementation environment provided in one embodiment of the present application. [Diagram 2] FIG. 2 is a structural schematic diagram of a terminal provided in an embodiment of the present application; [Diagram 3] 1 is a flowchart of a method for controlling a virtual object provided in an embodiment of the present application. [Figure 4] 1 shows an exemplary schematic diagram of one user interface. [Diagram 5] 1 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 6] 1 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 7] 10 shows an exemplary schematic diagram of another user interface. [Figure 8] 4 is a flowchart of a slide operation signal control method provided in an embodiment of the present application. [Figure 9]11 is a flowchart of a method for controlling a virtual object provided in yet another embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of yet another user interface of the present application. [Figure 11] FIG. 2 is a schematic diagram of another user interface of the present application. [Figure 12] 11 is a flowchart of a method for controlling a virtual object provided in yet another embodiment of the present application. [Figure 13] FIG. 2 is a block diagram of a control device for a virtual object provided in one embodiment of the present application. [Figure 14] FIG. 11 is a block diagram of a control device for a virtual object provided in another embodiment of the present application. [Figure 15] FIG. 13 is a block diagram of a control device for a virtual object provided in yet another embodiment of the present application. [Figure 16] FIG. 13 is a block diagram of a control device for a virtual object provided in yet another embodiment of the present application. [Figure 17] FIG. 2 is a structural block diagram of a mobile terminal provided in an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application are further described in detail below in conjunction with the drawings.

[0016] Before describing the embodiments of the present application, the relevant terms used in the present application will be explained.

[0017] 1. Virtual Scene A virtual scene is a scene that is displayed (or provided) when a client of an application (e.g., a game application) is executed on a terminal. The virtual scene is a scene created for virtual objects to move (e.g., playing a game, etc.), and may be, for example, a virtual house, a virtual island, or a virtual map. The virtual scene may be a simulated scene of the real world, a semi-simulated semi-fictional scene, or a completely fictional scene. The virtual scene may be a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene, but this is not limited in the embodiment of the present application.

[0018] 2. Virtual Objects A virtual object is a virtual character controlled by a user account in an application. For example, if the application is a game application, the virtual object is a game character controlled by a user account in the game application. The virtual object may be in the form of a human, an animal, a cartoon, or other form, but this is not limited in the embodiment of the present application. The virtual object may be displayed in a three-dimensional form or a two-dimensional form, but this is not limited in the embodiment of the present application.

[0019] In different game applications, the operations that can be performed by the virtual object controlled by the user account may be different, for example, in a shooting game application, the user account may control the virtual object to perform operations such as shooting, running, jumping, picking up a gun, changing a gun, loading a gun, etc.

[0020] Of course, in addition to game applications, objects can be displayed to users and functions corresponding to virtual objects can be provided in other types of applications, such as augmented reality (AR) applications, social applications, or interactive entertainment applications, but are not limited to the embodiments of this application. Moreover, the forms and corresponding functions of virtual objects vary according to different applications and can be preset according to actual requirements, which is not limited to the embodiments of this application. In addition, the forms and corresponding functions of virtual objects provided by different applications are different and can be preset according to actual requirements, which is not limited to the embodiments of this application.

[0021] 1, a schematic diagram of an implementation environment provided in one embodiment of the present application is shown. The implementation environment may include a mobile terminal 10 and a server 20.

[0022] ] The mobile terminal 10 may be, for example, a portable electronic device such as a mobile phone, a tablet PC, a game console, an e-book reader, a multimedia playback device, a wearable device, etc. A game application program client, such as a shooting game application program client, may be installed on the mobile terminal 10.

[0023] The server 20 is used to provide background services to clients of an application (e.g., a game application) in the mobile terminal 10. For example, the server 20 may be a back-end server of the application (e.g., a game application). The server 20 may be a single server, a server collection consisting of multiple servers, or a cloud computing service center.

[0024] The mobile terminal 10 and the server 20 can communicate with each other via a network 30. This network 30 may be a wired network or a wireless network.

[0025] In the method embodiment of the present application, the execution subject of each step may be a terminal. Referring to Figure 2, a structural schematic diagram of a terminal provided in one embodiment of the present application is shown. The mobile terminal 10 may include a motherboard 110, an external output / input device 120, a memory 130, an external interface 140, a touch system 150, and a power supply 160.

[0026] Here, processing elements such as a processor and a controller are integrated on the motherboard 110 .

[0027] The external output / input device 120 may include a display component (eg, a screen), an audio broadcasting component (eg, a speaker), an audio collecting component (eg, a microphone), and various buttons.

[0028] The memory 130 stores program codes and data.

[0029] The external interface 140 may include an earphone interface, a charging interface, a data interface, and the like.

[0030] The touch system 150 can be integrated with a display component or button of the external output / input device 120, and the touch system 150 is used to detect a touch operation performed by a user on the display component or button.

[0031] Power supply 160 is used to provide power to the other components in mobile terminal 10 .

[0032] In an embodiment of the present application, the processor in the motherboard 110 can execute or call the program codes and data stored in the memory to generate a user interface (e.g., a game interface) and display the generated user interface (e.g., a game interface) through an external output / input device. During the display of the user interface (e.g., a game interface), the touch system 150 can detect and respond to a touch action performed during an interaction between a user and the user interface (e.g., a game interface).

[0033] Referring to Figure 3, a flowchart of a method for controlling a virtual object provided in an embodiment of the present application is shown. The method is applicable to the mobile terminal described above, for example, to a client of an application program (for example, a shooting game application program) of the mobile terminal. The method may include the following steps:

[0034] In step 301, a user interface is displayed that includes a joystick control for controlling the movement of a virtual object.

[0035] Taking a shooting game application program as an example, the user interface may be a display interface of a game battle, which is used to display a virtual environment of the game battle to a user, and may include, for example, elements in the virtual environment, such as virtual buildings, virtual props, virtual objects, etc. Optionally, the user interface further includes operation controls, such as buttons, sliders, icons, etc., for the user to operate.

[0036] In the embodiment of the present application, as shown in FIG. 4, the user interface 40 includes a joystick control 41, which is an operation control for controlling and moving a virtual object. In the embodiment of the present application, the display parameters of the joystick control 41 are not limited, and the shape, size, position, style, etc. of the joystick control 41 are not limited. For example, the joystick control 41 may be circular or square, the area of ​​the joystick control 41 may be 1 / 10 of the area of ​​the user interface 40 or 1 / 20 of the area of ​​the user interface 40, the joystick control 41 may be located in the lower left corner of the user interface 40 or in the lower right corner of the user interface 40, and the joystick control 41 may be displayed in a transparent form or in a color-filled form. In the embodiment of the present application, the display of the joystick control 41 does not obstruct the main display elements of the user interface 40.

[0037] Optionally, the user interface includes a first view layer and a second view layer, and the display level of the first view layer is higher than the display level of the second view layer. The joystick control is located in the first view layer, and the game screen displaying the virtual environment of the game battle is located in the second view layer. Of course, the first view layer can include other operation controls, such as operation controls for controlling the attitude of a virtual object, operation controls for controlling virtual equipment assembled on a virtual object, in addition to the joystick control described above, but this is not limited in the embodiment of the present application.

[0038] In step 302, a quick click actuation signal is received that acts on a target area corresponding to the joystick control.

[0039] The target area corresponding to the joystick control refers to an area overlapping with the joystick control, in which the mobile terminal can respond to a user's touch action, such as a click or press operation. After the user performs a click or press operation acting on the target area, the mobile terminal receives a corresponding operation signal.

[0040] In one example, the target area corresponding to the joystick control completely overlaps with the joystick control, i.e., the size and shape of the target area corresponding to the joystick control are exactly the same as the size and shape of the joystick control, and the center position of the joystick control overlaps with the center position of the target area.

[0041] In another example, the target area corresponding to the joystick control includes the joystick control, and the size of the target area corresponding to the joystick control is larger than the size of the joystick control. For example, as shown in Fig. 4, the target area 42 is a rectangular area whose size is larger than the size of the joystick control 41. Optionally, the center position of the joystick control overlaps with the center position of the target area.

[0042] In yet another example, a size of the target region corresponding to the joystick control is smaller than a size of the joystick control. Optionally, a center position of the joystick control overlaps with a center position of the target region.

[0043] Additionally, the target area may be an area in the user interface that is visible to the user, or an area in the user interface that is invisible to the user, for example, the target area may be a completely transparent area, although this is not limited to the embodiments of the present application.

[0044] In the embodiment of the present application, the quick click operation signal refers to a signal generated by triggering a plurality of consecutive click operations, in which the time interval between two adjacent click operations is smaller than a preset threshold. Optionally, the quick click operation signal can be a double click operation signal. The double click operation signal refers to two consecutive clicks, and the time interval between the two consecutive clicks is smaller than a preset threshold operation signal. Of course, in other examples, the quick click operation signal can be a triple click operation signal, a quadra click operation signal, etc., which is not limited in the embodiment of the present application.

[0045] In step 303, in response to the quick click operation signal, a virtual object is controlled to automatically run in a virtual scene displayed on a user interface.

[0046] In one example, when the quick click operation signal is received, if the virtual object is in a standing position, the virtual object is controlled to automatically run in the virtual scene in a standing position.

[0047] In another example, when the quick click operation signal is received, if the virtual object is in a non-standing state, the virtual object is controlled to automatically run in the virtual scene in a non-standing state.

[0048] Optionally, in order to provide the user with various virtual object control manners and improve the man-machine interaction experience, after the above step 303, the method further includes receiving a posture switching command corresponding to the virtual object. The posture switching command refers to an operation command for controlling posture switching of the virtual object. The posture switching command may be triggered by the user through a manner such as operating a control, voice or gesture. When the virtual object is in a non-standing state, the virtual object is controlled to switch from the non-standing state to a standing state according to the posture switching command, and then the virtual object is controlled to automatically run in the virtual scene in the standing state. When the virtual object is in a standing state, the virtual object is controlled to switch from the standing state to a non-standing state according to the posture switching command, and then the virtual object is controlled to automatically run in the virtual scene in the non-standing state. Optionally, referring to FIG. 4, a posture switching icon 43 is displayed in the above user interface, and when the user clicks the posture switching icon 43, the mobile terminal receives the posture switching command. Optionally, the posture switching icon 43 may be a crouching icon.

[0049] Optionally, in order to approximate the running manner of the object in the real environment, the speed when automatically running in the non-standing state is slower than the speed when automatically running in the standing state. For example, when the virtual object automatically runs in the virtual scene in a crouching state, the automatic running speed is 1 m / s. When the mobile terminal receives a posture switching command, it controls the virtual object to switch from the crouching state to a standing state, and controls the virtual object to automatically run in the virtual scene in a standing state, and the automatic running speed is 3 m / s.

[0050] Optionally, in order to improve the man-machine interaction experience and conveniently know the state of a virtual object, when the virtual object is in a non-standing state, a first prompt information is displayed on the user interface to indicate that the virtual object is in a non-standing state, and when the virtual object is in a standing state, a second prompt information is displayed on the user interface to indicate that the virtual object is in a standing state. Optionally, the first prompt information and the second prompt information can be displayed based on the same icon. For example, as shown in FIG. 4, both the first prompt information and the second prompt information are based on a posture switching icon 43 in the user interface, the posture switching icon 43 is used to indicate whether the virtual object is in a standing state or a crouching state, when the virtual object is in a crouching state, the first prompt information is displayed and the posture switching icon 43 is highlighted, and when the virtual object is in a standing state, the second prompt information is displayed, for example, the posture switching icon 43 is not highlighted.

[0051] In addition, in the embodiment of the present application, the standing state is a state in which the virtual object is standing, and the non-standing state is a state in which the virtual object is not standing. In one possible embodiment, the non-standing state may be a crouching state, i.e., the virtual object is in a crouching state. In the embodiment of the present application, the direction and speed of the virtual object automatically running may be preset, for example, the direction in which the virtual object automatically runs may be preset to the front direction, and the speed may be preset to 3 m / s, where the front direction refers to the direction the virtual object faces.

[0052] In summary, according to the technical solution provided in the embodiment of the present application, by displaying a joystick control on the user interface, when a quick click operation signal acting on a target area corresponding to the joystick control is received, a virtual object is controlled to automatically run in the virtual environment displayed on the user interface, and the user does not need to continuously click or press an operation control, and the function of the virtual object automatically running can be triggered with one key, improving operation efficiency. Then, after triggering the virtual object to start running automatically, the user can release his finger, and use the released finger to complete other operations, such as observing the virtual environment while running, changing equipment while running, communicating with other users while running, etc., bringing about richer interaction functions.

[0053] In addition, if the virtual object is in a non-standing state before receiving a quick click operation signal of the target area, the virtual object is triggered to automatically start running in the non-standing state, and then the virtual object is controlled to switch from the non-standing state to a standing state through a posture switching command, and then the virtual object can be controlled to automatically run in a standing state, thereby providing the user with various methods for controlling virtual objects to automatically run and further improving the man-machine interaction experience.

[0054] In one possible embodiment, in order to improve the man-machine interaction experience and the flexibility of the automatic running control of the virtual object, the above step 303 includes: obtaining an attribute value corresponding to the quick click operation signal, determining a running speed of the virtual object according to the attribute value, and controlling the virtual object to automatically run according to the running speed in the virtual scene.

[0055] In the embodiment of the present application, the attribute value refers to an operating parameter corresponding to the quick click operation signal. For example, the attribute value may be an operation time interval, an operation count, etc., but this is not limited to the embodiment of the present application.

[0056] Exemplarily, when the quick click operation signal is a double click operation signal, the attribute value is a click time interval of the double click operation signal. Optionally, the click time interval of the double click operation signal has a negative correlation with the running speed of the virtual object, that is, the smaller the click time interval, the larger the running speed, and the longer the click time interval, the smaller the running speed.

[0057] Exemplarily, the attribute value of the quick click operation signal may further be a click number. Optionally, the click number of the quick click operation signal is positively correlated with the running speed of the virtual object, that is, the more the click number, the faster the running speed, and the less the click number, the slower the running speed.

[0058] In another possible embodiment, in order to further improve the man-machine interaction experience and the flexibility of the automatic running control of the virtual object, the above step 303 includes: the mobile terminal detects the operation position of the quick click operation signal, and determines the running direction of the virtual object according to the operation position, and controls the virtual object to automatically run according to the running direction in the virtual scene. For example, the above target area is equally divided into four areas, described as area 1, area 2, area 3, and area 4, the direction corresponding to area 1 is east, the direction corresponding to area 2 is south, the direction corresponding to area 3 is west, and the direction corresponding to area 4 is north, and when it is detected that the operation position of the quick click operation signal is in area 2, that is, when it is determined that the running direction of the virtual object is south, the virtual object is controlled to automatically run according to the south direction in the virtual scene. In the embodiment of the present application, there is no limitation on whether the target area is specifically divided into several areas and the direction corresponding to each area.

[0059] In practical applications, the above two methods can be combined to simultaneously control the running speed and direction of a virtual object.

[0060] In yet another possible embodiment, referring to FIG. 5, the method for controlling a virtual object provided in the embodiments of the present application may include the following steps.

[0061] In step 501, it is determined whether the virtual object is in a standing state. If it is in a standing state, the following step 502 is executed. If it is not in a standing state, step 501 is executed again.

[0062] In step 502, it is determined whether a quick click operation signal is received. If received, the following step 503 is executed; if not, step 502 is continued.

[0063] In step 503, it is determined whether the quick click operation signal is located in the target area; if so, the following step 504 is executed; if not, the step 503 is continued.

[0064] In step 504, the running speed and running direction of the virtual object are determined according to the attribute value and operation position of the quick click operation signal.

[0065] In step 505, the virtual object is controlled to automatically run at the running speed and in the running direction.

[0066] In summary, according to the technical solution provided in the embodiments of the present application, the running speed and running direction of the virtual object are automatically determined according to the attribute value and operation position of the quick click operation signal, thereby providing the user with more ways to control the virtual object and better meeting the user's operation needs.

[0067] Referring to Figure 6, a flowchart of a method for controlling a virtual object provided in another embodiment of the present application is shown. The method is applicable to the mobile terminal described above, for example, to a client of an application program (for example, a shooting game application program) of the mobile terminal. The method can include the following steps:

[0068] In step 601, a user interface is displayed that includes a joystick control for controlling the movement of a virtual object.

[0069] In step 602, when the virtual object is in a non-standing state, upon receiving a slide operation signal whose initial position is located on the joystick control, the virtual object is controlled to switch from the non-standing state to a standing state.

[0070] In an exemplary embodiment, the method further includes performing the steps of obtaining a touch position of the slide operation signal before controlling the virtual object to switch from a non-standing state to a standing state, and controlling the virtual object to switch from the non-standing state to a standing state when the touch position of the slide operation signal is located at a display position of a quick stand-up icon. Optionally, when the touch position of the slide operation signal is located at a display position of a quick stand-up icon, the quick stand-up icon is highlighted to prompt the user that the state switching is successfully triggered, and to improve man-machine interaction efficiency.

[0071] In an exemplary embodiment, the method further includes obtaining a distance between the touch position of the slide operation signal and a target position after obtaining the touch position of the slide operation signal, and displaying a quick rise icon on the user interface when the distance is detected to be greater than the distance threshold. In an embodiment of the present application, the size of the distance threshold is set according to the size of the user interface of the applied mobile terminal, for example, the distance threshold is set to 5 cm when the mobile terminal is a tablet computer, and the distance threshold is set to 3 cm when the mobile terminal is a mobile phone, such setting allows the distance threshold to be flexibly changed according to different sizes of the user interface of the applied mobile terminal, which further improves the man-machine interaction experience.

[0072] In an exemplary embodiment, in order to provide more ways to control the virtual object and further improve the man-machine interaction experience, after obtaining the distance between the touch position of the slide operation signal and the target position, the method further includes determining a moving speed of the virtual object according to the distance, where the distance is negatively correlated with the moving speed, that is, the larger the distance, the smaller the moving speed, and the smaller the distance, the faster the moving speed, and the closer the touch position of the slide operation signal is to the target position, the faster the moving speed of the virtual object.

[0073] In step 603, after the virtual object is switched to the standing state, the virtual object is controlled to automatically run in the virtual scene displayed in the user interface.

[0074] In an exemplary embodiment, as shown in FIG. 7(a), a user interface 70 includes a joystick control 71 and a quick rise icon 73, where the joystick control 71 is used to control the movement of a virtual object, the quick rise icon 73 is used to switch the state of the virtual object, and controls the virtual object to run automatically in the virtual scene after the state is switched. Optionally, the joystick control 71 includes a drag icon 72 for changing the moving speed and direction of the virtual object. Optionally, in order to improve the man-machine man-machine interaction experience, the drag icon 72 can change its position in real time according to a slide operation signal, and the position transformation of the drag icon 72 reflects the position transformation of the virtual object. Optionally, the center position of the drag icon overlaps with the center position of the touch position of the slide operation signal. For example, when the slide operation signal is to quickly swipe to the upper left corner of the user interface, the drag icon 72 is also quickly moved to the upper left corner of the user interface, which is reflected as the virtual object quickly moving in the northwest direction in the virtual scene displayed in the user interface. Also, when the distance between the center position of the drag icon and the center position of the joystick control is greater than a distance threshold, a quick stand-up icon 73 is displayed on the user interface 70. As shown in Fig. 7(b), when the center position of the drag icon 72 is located at the display position of the quick stand-up icon 73, the virtual object is controlled to quickly stand up and then run automatically, and the quick stand-up icon 73 is controlled to be highlighted. Optionally, as shown in Fig. 7(a), the user interface 70 includes a crouching icon 74, and when the virtual object is in a crouching state, the crouching icon 74 is highlighted.Optionally, as shown in FIG. 7( b ), when the center position of the drag icon 72 is at the display position of a quick stand-up icon 73, the virtual object is controlled to quickly stand up and then run automatically, and the crouching icon 74 is not highlighted.

[0075] In summary, the technical solution provided in the embodiments of the present application provides a method for controlling a virtual object to quickly stand up and then automatically run when the virtual object is in a non-standing state, thereby avoiding the need for additional operations to stand up and control the virtual object to automatically run after controlling the virtual object to a non-standing state to automatically run, and further improving the man-machine interaction efficiency and man-machine interaction experience.

[0076] In one possible embodiment, referring to FIG. 8, the method for controlling a slide operating signal in an embodiment of the present application includes the following steps.

[0077] In step 801, a slide operation signal is received.

[0078] In step 802, the distance between the center position of the slide operation signal and the center position of the joystick control is calculated.

[0079] In step 803, if the distance is greater than a distance threshold, a quick run icon is displayed.

[0080] In step 804, the center position of the slide operation signal is controlled to be the display position of the quick run icon.

[0081] In one possible embodiment, referring to FIG. 9, the method for controlling a virtual object provided in the embodiments of the present application may include the following steps.

[0082] In step 901, a virtual object is controlled to be in a non-standing state.

[0083] In step 902, it is determined whether a slide operation signal is received. If a slide operation signal is received, the following step 903 is executed. If not, step 902 is executed again.

[0084] In step 903, the distance between the touch position of the slide operation signal and the target position is calculated.

[0085] In step 904, it is determined whether the distance is greater than the distance threshold, and if the distance is greater than the distance threshold, the following step 905 is executed, and if the distance is not greater than the distance threshold, the above step 903 is executed.

[0086] In step 905, a quick launch icon is displayed.

[0087] In step 906, it is determined whether the touch position of the slide operation signal is located at the display position of the quick start-up icon. If it is located, the following step 907 is executed; if it is not located, step 906 is continued.

[0088] In step 907, the virtual object is controlled to switch from a non-standing state to a standing state.

[0089] In step 908, the virtual object is controlled to run automatically.

[0090] In one possible embodiment, the above method may further include the following steps:

[0091] A user interface including an automatic running icon for controlling a virtual object to automatically run is displayed, a trigger signal acting on the automatic running icon is received, and the virtual object is controlled to automatically run in response to the trigger signal.

[0092] For example, as shown in Fig. 10, an automatic running icon 101 is displayed on a user interface 100, and when a trigger signal corresponding to the automatic running icon 101 is received, a virtual object is controlled to run automatically. Optionally, the automatic running icon 101 is highlighted after the virtual object runs automatically, prompting that the virtual object is in an automatic running state. Optionally, the trigger signal may be a click signal or a press signal, which is not limited in the embodiment of the present application.

[0093] In another possible embodiment, the above method may further include the following steps:

[0094] When a slide operation signal whose initial position is located on the joystick control is received, the touch position of the slide operation signal is obtained, and when the distance between the center position of the touch position of the slide operation signal and the center position of the joystick control is greater than a distance threshold, an automatic running icon is displayed, and when the touch position of the slide operation signal is located at the display position of the automatic running icon, the virtual object is controlled to run automatically.

[0095] Optionally, the joystick control includes a drag icon for controlling a movement of a virtual object, and a center position of the drag icon overlaps with a center position of the touch position of the slide operation signal.

[0096] Optionally, the auto-run icon is highlighted after the virtual object runs automatically to prompt the user that the virtual object is in a state to run automatically.

[0097] For example, as shown in Fig. 11(a), a joystick control 111 including a drag icon 112 is displayed in a user interface 110, and the position of the drag icon 112 can be changed by receiving a slide operation signal. As shown in Fig. 11(b), when the center position of the touch position of the slide operation signal overlaps with the center position of the joystick control 111, that is, when the center position of the touch position of the slide operation signal overlaps with the center position of the drag icon 112, an automatic running icon 113 is displayed in the user interface. When the center position of the drag icon 112 is positioned at the display position of the automatic running icon 113, the virtual object is controlled to run automatically, and the automatic running icon 113 is controlled to be highlighted.

[0098] In one possible embodiment, referring to FIG. 12, the method for controlling a virtual object provided in the embodiments of the present application may include the following steps.

[0099] In step 1201, the virtual object is controlled to be in a standing position.

[0100] In step 1202, it is determined whether or not a slide operation signal has been received. If a slide operation signal has been received, the following step 1203 is executed. If a slide operation signal has not been received, step 1202 is executed again.

[0101] In step 1103, the distance between the touch position of the slide operation signal and the target position is calculated.

[0102] In step 1104, it is determined whether the distance is greater than the distance threshold, and if the distance is greater than the distance threshold, the following step 1205 is executed, and if the distance is not greater than the distance threshold, the above step 1203 is executed.

[0103] In step 1205, the autorun icon is displayed.

[0104] In step 1206, it is determined whether the touch position of the slide operation signal is located at the display position of the automatic running icon. If the touch position of the slide operation signal is located at the display position of the automatic running icon, the following step 1207 is executed. If the touch position of the slide operation signal is not located at the display position of the automatic running icon, step 1206 is continued.

[0105] In step 1207, the virtual object is controlled to run automatically.

[0106] The following are examples of apparatus according to the present application, which can be used to carry out the method embodiments according to the present application. For details not disclosed in the apparatus embodiments according to the present application, please refer to the method embodiments according to the present application.

[0107] 13, a block diagram of a control device for a virtual object provided in an embodiment of the present application is shown. The device has exemplary functions for implementing the above-mentioned method examples, and the functions may be implemented by hardware or by executing corresponding software by hardware. The device may be a mobile terminal or may be installed in a mobile terminal. The device 1300 may include an interface display module 1310, a signal receiving module 1320 and a running control module 1230.

[0108] The interface display module 1310 displays a user interface including a joystick control for controlling the movement of a virtual object.

[0109] The signal receiving module 1320 is used for receiving a quick click operation signal acting on a target area corresponding to the joystick control.

[0110] A running control module 1330 is used to control the virtual object to automatically run in a virtual scene displayed in the user interface in response to the quick click operation signal.

[0111] In an exemplary embodiment, as shown in FIG. 14, the signal receiving module 1320 is used to receive a quick click operation signal acting on a target area corresponding to the joystick control, or a press operation signal acting on a target area corresponding to the joystick control.

[0112] In an exemplary embodiment, as shown in FIG. 14 , the running control module 1330 includes a speed control sub-module 1331 for obtaining an attribute value corresponding to the quick click operation signal, determining a running speed of the virtual object according to the attribute value, and controlling the virtual object to automatically run according to the running speed in the virtual scene.

[0113] In an exemplary embodiment, as shown in FIG. 14 , the running control module 1330 includes a direction control sub-module 1332 for detecting an operation position corresponding to the quick click operation signal, determining a running direction of the virtual object according to the operation position, and controlling the virtual object to automatically run according to the running direction in the virtual scene.

[0114] In an exemplary embodiment, the run control module 1330 further controls the virtual object to automatically run in the virtual scene in a non-standing state when the virtual object is in a non-standing state when the quick click manipulation signal is received.

[0115] In an exemplary embodiment, the running control module 1330 is further used to receive a posture-switching command corresponding to the virtual object, control the virtual object to switch from the non-standing state to a standing state in accordance with the posture-switching command, and control the virtual object to automatically run in the virtual scene in the standing state.

[0116] In summary, according to the technical solution provided in the embodiment of the present application, by displaying a joystick control on the user interface, when a quick click operation signal acting on a target area corresponding to the joystick control is received, a virtual object is controlled to automatically run in the virtual environment displayed on the user interface, and the user does not need to continuously click or press an operation control, and the function of the virtual object automatically running can be triggered with one key, improving operation efficiency. Then, after triggering the virtual object to start running automatically, the user can release his finger, and use the released finger to complete other operations, such as observing the virtual environment while running, changing equipment while running, communicating with other users while running, etc., bringing about richer interaction functions.

[0117] In addition, if the virtual object is in a non-standing state before receiving a quick click operation signal of the target area, the virtual object is triggered to automatically start running in the non-standing state, and then the virtual object is controlled to switch from the non-standing state to a standing state through a posture switching command, and then the virtual object is controlled to automatically run in a standing state, thereby providing the user with various methods for controlling virtual objects to automatically run and further improving the man-machine interaction experience.

[0118] Referring to FIG. 15, a block diagram of a control device for a virtual object provided in another embodiment of the present application is shown. The device has an exemplary function for implementing the above-mentioned method example, and the function may be implemented by hardware or by executing corresponding software by hardware. The device may be a mobile terminal or may be installed in a mobile terminal. The device 1500 may include an interface display module 1510, a posture switching module 1520, and a running control module 1530.

[0119] The interface display module 1510 displays a user interface including a joystick control for controlling the movement of a virtual object.

[0120] The posture switching module 1520 is used to control the virtual object to switch from the non-standing state to a standing state when a slide operation signal is received whose initial position is located at the joystick control when the virtual object is in a non-standing state.

[0121] A running control module 1530 is used to control the virtual object to automatically run in the virtual scene displayed in the user interface after the virtual object is switched to the standing state.

[0122] In an exemplary embodiment, the posture switching module 1520 is further used for performing a step of obtaining a touch position of the slide operation signal, and controlling the virtual object to switch from the non-standing state to a standing state when the touch position of the slide operation signal is located at a display position of a quick stand-up icon.

[0123] In an exemplary embodiment, the posture switching module 1520 is further used to obtain a distance between the touch position of the slide operation signal and a target position, and display the quick stand up icon on the user interface when it is detected that the distance is greater than a distance threshold.

[0124] In an exemplary embodiment, the pose switching module 1520 is further used to determine a moving speed of the virtual object according to the distance, the distance being negatively correlated with the moving speed.

[0125] In an exemplary embodiment, as shown in FIG. 16 , the device 1500 further includes an information display module 1540 for displaying, when the virtual object is in the non-standing state, first prompt information in the user interface to indicate that the virtual object is in the non-standing state, and for displaying, when the virtual object is in the standing state, second prompt information in the user interface to indicate that the virtual object is in the standing state.

[0126] In summary, the technical solution provided in the embodiments of the present application provides a method for controlling a virtual object to quickly stand up and then automatically run when the virtual object is in a non-standing state, thereby avoiding the need for additional operations to stand up and control the virtual object to automatically run after controlling the virtual object to a non-standing state to automatically run, and further improving the man-machine interaction efficiency and man-machine interaction experience.

[0127] In addition, the device provided in the above embodiment is described as being divided into the above functional modules when realizing its functions, but in actual applications, the above functions may be completed in different functional modules as necessary, that is, the internal configuration of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment belongs to the same idea as the method embodiment, and the specific realization process thereof is referred to in detail in the method embodiment, but the details thereof are omitted here.

[0128] Referring to Fig. 17, a structural block diagram of a mobile terminal 1700 provided in an embodiment of the present application is shown. The mobile terminal 1700 may be a portable electronic device, such as a mobile phone, a tablet PC, a game console, an e-book reader, a multimedia playback device, a wearable device, etc. The mobile terminal is used to implement the method for controlling a virtual object provided in the above embodiment. The mobile terminal may be the mobile terminal 10 in the implementation environment shown in Fig. 1. Specifically, as follows:

[0129] Generally, the terminal 1700 includes a processor 1701 and a memory 1702 .

[0130] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1701 may include a main processor and a coprocessor, where the main processor is a processor that processes data in a wake state and is also called a CPU (Central Processing Unit). The coprocessor is a low-power processor that processes data in a standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content to be displayed on a display screen. In some embodiments, the processor 1701 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.

[0131] The memory 1702 may include one or more computer readable storage media, which may be non-transitory. The memory 1702 may further include high speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer readable storage medium in the memory 1702 is adapted to store at least one instruction, at least one program, code set, or instruction set, configured to be executed by the one or more processors 1701 to implement the method for controlling a virtual object described above.

[0132] In some embodiments, the mobile terminal 1700 may further include a peripheral interface 1703 and at least one peripheral device. The processor 1701, the memory 1702, and the peripheral interface 1703 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral interface 1703 via a bus, signal lines, or a circuit board. Specifically, the peripheral device may include at least one of a radio frequency circuit 1704, a touch screen 1705, a camera 1706, an audio circuit 1707, a positioning component 1708, and a power source 1709.

[0133] Those skilled in the art will appreciate that the structure shown in FIG. 17 is not intended to limit the mobile terminal 1700, and that the mobile terminal 1700 may include more or fewer components than those shown, or a combination of some of the components, or a different arrangement of the components.

[0134] In an exemplary embodiment, there is further provided a storage medium, said storage medium for storing a computer program, said computer program for performing the above method for controlling a virtual object.

[0135] Optionally, the computer-readable storage medium may include a read only memory (ROM), a random access memory (RAM), a solid state drive (SSD), an optical disk, etc. The random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM).

[0136] In an exemplary embodiment, a computer program product is further provided, which, when executed on a terminal device, causes the terminal device to perform the above-described method for controlling a virtual object.

[0137] It should be understood that "multiple" as referred to herein means two or more than two. "And / or" describes the association of related objects and indicates that three relationships are possible, for example, A and / or B can represent three cases: A exists alone, A and B exist simultaneously, and B exists simultaneously. The character " / " generally indicates that the related objects are in an "or" relationship. The step numbers described herein are merely illustrative of possible execution sequences between steps. In some other embodiments, the steps may not be performed according to the order of the numbers, for example, two steps with different numbers may be performed simultaneously, or two steps with different numbers may be performed in a reverse order to that shown in the figure, but this is not limited to the embodiments of the present application.

[0138] The above are only preferred embodiments of the present invention, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present application should be included within the protection scope of the present application. [Explanation of symbols]

[0139] 10 Mobile Devices 20 Servers 30 Network 40 User Interface 41 Joystick Control 42 Target Area 43 Icons 70 User Interface 71 Joystick Control 72 Drag Icon 73 Icons 74 Icons 100 User Interface 101 Icons 110 User Interface 111 Joystick Control 112 Drag Icon 113 Icons 120 Input Devices 130 Memory 140 External Interface 150 Touch System 160 Power supply 1300 equipment 1310 Interface Display Module 1320 signal receiving module 1330 and Drive Control Module 1331 Speed ​​Control Submodule 1332 Directional Control Submodule 1500 equipment 1510 Interface Display Module 1520 Attitude Switching Module 1530 and driving control module 1540 Information Display Module 1700 terminals 1701 Processor 1702 Memory 1703 Peripheral Device Interface 1704 Radio Frequency Circuits 1705 Touch Screen 1706 Camera 1707 Audio Circuit 1708 Positioning Component 1709 Power supply

Claims

1. A method for controlling a virtual object executed by a terminal device, the method comprising: displaying a user interface including a joystick control for controlling movement of a virtual object; receiving a quick click operation signal, the quick click operation signal being a signal generated by triggering a number of successive click operations acting on a target area corresponding to the joystick control; and controlling the virtual object to automatically run in a virtual scene displayed on the user interface in response to the quick click operation signal; controlling the virtual object to automatically run in a virtual scene displayed on the user interface in response to the quick click operation signal, when the quick click operation signal is received, if the virtual object is in a non-standing state, controlling the virtual object to automatically run in the virtual scene in the non-standing state; obtaining an attribute value, which is an operation time interval or an operation count corresponding to the quick click operation signal; determining a running speed of the virtual object according to the attribute value; controlling the virtual object to automatically run in the virtual scene according to the running speed; The speed when automatically running in the non-standing state is slower than the speed when automatically running in the standing state. method.

2. controlling the virtual object to automatically run in a virtual scene displayed on the user interface in response to the quick click operation signal, detecting an operation position corresponding to the quick click operation signal; determining a running direction of the virtual object in accordance with the operation position; and controlling the virtual object to automatically run in the virtual scene according to the running direction.

3. after controlling the virtual object to automatically run in the virtual scene in the non-standing state, receiving a pose-switching command corresponding to the virtual object; controlling the virtual object to switch from the non-standing state to a standing state in accordance with the posture switch command; and controlling the virtual object to automatically run in the virtual scene in the standing position.

4. A control device for a virtual object, comprising: An apparatus for executing the method for controlling a virtual object according to any one of claims 1 to 3.

5. A mobile terminal, the mobile terminal including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, code set or instruction set being loaded and executed by the processor to realize a method for controlling a virtual object according to any one of claims 1 to 3.

6. A computer program comprising instructions, A computer program product, when executed on a computer, causes the computer to execute the method for controlling a virtual object according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Virtual object moving control method and apparatus, electronic apparatus and storage medium

    CN108509139A

  • Continuous shot detection and recording medium

    JP1999076615A

  • Information processing method, device, electronic apparatus, and storage medium

    JP2019067390A

  • User control of objects

    US20150258430A1