Method and device for controlling virtual object in game, and electronic terminal

By displaying speed controls in the game interface, players can set and maintain the movement speed of virtual objects, solving the problem of high operational costs in large game scenes and improving the gaming experience.

WO2024260251A1PCT designated stage expired Publication Date: 2024-12-26NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/097264
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-19
Filing Date
2024-06-04
Publication Date
2024-12-26

AI Technical Summary

Technical Problem

In large-scale game scenarios, players need to perform a lot of operations to control virtual objects to reach distant destinations, resulting in high operational costs and fatigue, which reduces the gaming experience.

Method used

By displaying speed controls in the graphical user interface, players can set the movement speed of virtual objects and maintain that speed after the first movement operation, automatically controlling the virtual objects to move at the set speed.

Benefits of technology

It reduces the operational cost for players, alleviates fatigue caused by prolonged operation, and improves the gaming experience without affecting the driving experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024097264_26122024_PF_FP_ABST
    Figure CN2024097264_26122024_PF_FP_ABST
Patent Text Reader

Abstract

A method and device for controlling a virtual object in a game, and an electronic terminal, relating to the technical field of games, and relieving the technical problem of high costs of operations that a player needs to perform to control a virtual object. The method comprises: in response to a first movement operation for a virtual object, on the basis of the first movement operation, controlling the virtual object to move in a game scene; displaying in a graphical user interface a speed control for the movement of the virtual object in the game scene; and, in response to a setting operation for the speed control, once the first movement operation has been finished, controlling the virtual object to keep moving at a setting speed corresponding to the setting operation.
Need to check novelty before this filing date? Find Prior Art

Description

Control method, device and electronic terminal for virtual objects in games

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202310729392.4, filed on June 19, 2023, entitled “Method, device and electronic terminal for controlling virtual objects in games”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of game technology, and in particular to a method, device, and electronic terminal for controlling virtual objects in a game. Background Art

[0004] Currently, in many related racing games, players can control virtual objects to perform various movement actions in the game scene. For example, in a car racing game, players can control a car to move in the game scene.

[0005] However, when the game scene is large, the destination that the player needs to control the virtual object to reach is often far away. In order to reach a distant destination, the operation cost required by the player to control the virtual object is high, which makes the player easily fatigued during the game and reduces the gaming experience.

[0006] Summary of the Invention

[0007] The present disclosure aims to provide a method, device and electronic terminal for controlling virtual objects in a game, so as to alleviate the technical problem of high operation costs required for players to control virtual objects.

[0008] In a first aspect, embodiments of the present disclosure provide a method for controlling a virtual object in a game, wherein a graphical user interface is provided by a terminal device, and a game scene of the game includes a virtual object controlled by the terminal device. The method includes:

[0009] In response to a first movement operation on the virtual object, controlling the virtual object to move in the game scene according to the first movement operation;

[0010] displaying, in the graphical user interface, a speed control for movement of the virtual object in the game scene;

[0011] In response to a setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at a set speed corresponding to the setting operation.

[0012] In a second aspect, a device for controlling a virtual object in a game is provided, wherein a graphical user interface is provided through a terminal device, and a game scene of the game includes a virtual object controlled by the terminal device, including:

[0013] A first control module is configured to execute, in response to a first movement operation on the virtual object, control the virtual object to move in the game scene according to the first movement operation;

[0014] A display module configured to display a speed control for the virtual object moving in the game scene in the graphical user interface;

[0015] The second control module is configured to execute, in response to a setting operation on the speed control, control the virtual object to keep moving at a set speed corresponding to the setting operation when the first movement operation ends.

[0016] In a third aspect, an embodiment of the present disclosure provides an electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0017] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in the first aspect above.

[0018] The embodiments of the present disclosure bring the following beneficial effects:

[0019] The embodiments of the present disclosure provide a method, device, and electronic terminal for controlling a virtual object in a game, which can respond to a first movement operation on the virtual object, control the virtual object to move in the game scene according to the first movement operation, display a speed control for the movement of the virtual object in the game scene in the graphical user interface, and respond to a setting operation on the speed control. When the first movement operation is completed, the virtual object is controlled to keep moving at a set speed corresponding to the setting operation. In this solution, by performing a setting operation on the speed control displayed in the graphical user interface, even if the first movement operation for controlling the movement of the virtual object is no longer executed, In this case, the virtual object can be automatically controlled to keep moving at the set speed corresponding to the set operation, so that the movement of the virtual object can be kept constant at the speed set by the set operation. The player no longer needs to perform continuous operations with high operating costs to keep the virtual object moving. The virtual object can also reach a farther destination, which reduces the player's operating cost and alleviates the technical problem of high operating costs required for players to control virtual objects. Furthermore, it also greatly alleviates the fatigue brought to players by operations such as long-term touch interfaces in racing games such as racing due to the large racing venues, avoids player fatigue during the game, and does not reduce the driving experience, thereby improving the gaming experience.

[0020] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the related technologies, the following briefly introduces the drawings required for use in the specific embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] FIG1 shows a schematic diagram of an application scenario provided by one embodiment of the present disclosure;

[0023] FIG2 shows a schematic structural diagram of a mobile phone provided by one embodiment of the present disclosure;

[0024] FIG3 shows a schematic diagram of a usage scenario of a touch terminal provided by one embodiment of the present disclosure;

[0025] FIG4 is a flow chart of a method for controlling a virtual object in a game according to one embodiment of the present disclosure;

[0026] FIG5 shows a schematic diagram of a touch terminal displaying a graphic user interface according to one embodiment of the present disclosure;

[0027] FIG6 shows a schematic diagram of another touch terminal displaying a graphic user interface provided by one embodiment of the present disclosure;

[0028] FIG7 shows a schematic diagram of another touch terminal displaying a graphic user interface provided by one embodiment of the present disclosure;

[0029] FIG8 is a schematic structural diagram of a control device for a virtual object in a game provided by one embodiment of the present disclosure;

[0030] FIG9 shows a schematic structural diagram of an electronic device provided by one embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0032] The terms "including," "having," and any variations thereof, as used in the embodiments of the present disclosure, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0033] Currently, when the game scene is large, the player often needs to control the virtual object to reach a distant destination. This requires the player to continuously operate the accelerator and brake pedals, which is costly and can lead to fatigue and reduce the gaming experience. For example, in mobile games, players need to continuously touch the accelerator control in the graphical user interface for a long time to control the virtual object to reach a distant destination. Therefore, in related technologies, the player's control costs for virtual objects are relatively high.

[0034] Based on this, the embodiments of the present disclosure provide a method, device, and electronic terminal for controlling virtual objects in a game, which can alleviate the technical problem of high operating costs required for players to control virtual objects.

[0035] In one embodiment of the present disclosure, the method for controlling a virtual object in a game can be executed on a local terminal device or a server. When the method for controlling a virtual object in a game is executed on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0036] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the control method of the virtual objects in the game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0037] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0038] In one possible implementation, an embodiment of the present disclosure provides a method for controlling virtual objects in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above.

[0039] For example, as shown in Figure 1, Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure. The application scenario may include a touch terminal (e.g., a mobile phone 102) and a server 101. The touch terminal may communicate with the server 101 via a wired network or a wireless network. The touch terminal is used to run a virtual desktop, and through the virtual desktop, it can interact with the server 101 to control the content in the server 101.

[0040] The touch terminal of this embodiment is described using a mobile phone 102 as an example. The mobile phone 102 includes components such as a radio frequency (RF) circuit 110, a memory 120, a touch screen 130, and a processor 140. Those skilled in the art will appreciate that the mobile phone structure shown in FIG2 does not limit the mobile phone and may include more or fewer components than shown, or combine or split certain components, or arrange the components differently. Those skilled in the art will appreciate that the touch screen 130 is a user interface (UI), and that the mobile phone 102 may include a user interface (UI) than shown or fewer.

[0041] The RF circuit 110 can also communicate with a network and other devices via wireless communications. The wireless communications can use any communication standard or protocol, including but not limited to Global System of Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0042] The memory 120 can be used to store software programs and modules. The processor 140 executes the various functional applications and data processing of the mobile phone 102 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, etc.; the data storage area may store data generated based on the use of the mobile phone 102, etc. In addition, the memory 120 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state memory device.

[0043] The touch screen 130 can be used to display a graphical user interface and receive user operations on the graphical user interface. The specific touch screen 130 may include a display panel and a touch panel. The display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel may collect user contact or non-contact operations on or near it (for example, as shown in FIG3 , the user uses a finger 103 , a stylus, or any other suitable object or accessory to operate on or near the touch panel) and generate pre-set operation instructions. In addition, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch direction and posture, detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into information that the processor can process, and then sends it to the processor 140, and can receive commands sent by the processor 140 and execute them. In addition, the touch panel can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave, and any technology developed in the future can also be used to implement the touch panel. Furthermore, the touch panel can cover the display panel, and the user can operate on or near the touch panel covered on the display panel according to the graphical user interface displayed on the display panel. After the touch panel detects the operation on or near it, it transmits it to the processor 140 to determine the user input, and then the processor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be implemented as two independent components or integrated.

[0044] The processor 140 is the control center of the mobile phone 102. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the mobile phone 102 and processes data, thereby monitoring the mobile phone as a whole.

[0045] The embodiments of the present disclosure are further described below with reference to the accompanying drawings.

[0046] FIG4 is a flow chart of a method for controlling a virtual object in a game provided by an embodiment of the present disclosure. The method can be applied to a terminal device capable of presenting a graphical user interface (e.g., the mobile phone 102 shown in FIG2 ). The graphical user interface is provided by the terminal device, and the game scene includes virtual objects controlled by the terminal device. As shown in FIG4 , the method includes:

[0047] Step S410 , in response to a first movement operation on the virtual object, controlling the virtual object to move in the game scene according to the first movement operation.

[0048] The first movement operation may include multiple operation modes. As an example, the first movement operation may be a touch operation on any non-control location in the graphical user interface. For example, when a player touches and holds the game scene area in the graphical user interface, the virtual object is controlled to accelerate in the game scene. When the player lifts their hand to stop touching the graphical user interface, the virtual object is controlled to gradually decelerate and finally stop in the game scene.

[0049] As another example, the first movement operation may be an operation on a throttle control, a brake control, or other controls in a graphical user interface. For example, as shown in FIG5 , if the player operates the throttle control 501, the virtual object 502 is controlled to move at an accelerated speed in the game scene. If the player operates the brake control 503, the virtual object 502 is controlled to move at a decelerated speed in the game scene.

[0050] Step S420: Displaying a speed control for the virtual object moving in the game scene in the graphical user interface.

[0051] In actual applications, for racing games, as shown in FIG5 , a speed control 504 for the movement of virtual objects in the game scene may be added to the graphical user interface, for example, an adaptive cruise control for a racing car.

[0052] In an optional embodiment, the speed control can be a relatively large area on the graphical user interface, or a relatively small area on the graphical user interface. The speed control can be square, rectangular, frame-shaped, or other shapes (for example, circular, etc.). The content presented by the graphical user interface can include the entire speed control, or it can be a part of the content hotspot. For example, when the speed control is magnified and displayed in the graphical user interface, the local content of the content hotspot is displayed on the graphical user interface of the terminal device. The speed control can be displayed in the upper left, upper right, or other positions in the graphical user interface, and this exemplary embodiment does not limit it.

[0053] Step S430 : In response to the setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at the set speed corresponding to the setting operation.

[0054] In actual applications, when players need to drive a vehicle for a long distance, they can perform a setting operation on the speed control. After the setting operation is completed, the virtual object can continue to move at the set speed corresponding to the setting operation. For example, as shown in Figure 6, after the setting operation is completed, the adaptive cruise function takes effect, that is, the setting of the adaptive cruise speed is completed, and the vehicle speed adaptive cruise is realized in the racing game.

[0055] In the embodiment of the present disclosure, by performing setting operations on the speed control displayed in the graphical user interface, even if the first movement operation controlling the movement of the virtual object is no longer executed, the virtual object can be automatically controlled to continue moving at the set speed corresponding to the set operation, so that the movement of the virtual object can be kept constant at the speed set by the set operation. The player no longer needs to perform continuous operations with high operating costs to keep the virtual object moving, and the virtual object can also reach a farther destination, which reduces the player's operating costs and alleviates the technical problem of high operating costs that players need to perform to control virtual objects. Furthermore, it also greatly alleviates the fatigue brought to players by operations such as long-term touch interfaces in racing games such as racing due to the large racing venue, avoids player fatigue during the game, and does not reduce the driving experience, thereby improving the gaming experience.

[0056] The above steps are described in detail below.

[0057] In some embodiments, the speed control setting operation may be selected from a plurality of speed values ​​to make the setting operation more convenient. As an example, the above step S430 may include the following steps:

[0058] Step a), in response to a specified operation on a speed control, displaying a plurality of speed values ​​for a virtual object moving in a game scene in a graphical user interface;

[0059] Step b) In response to a selection operation for a target speed value among the plurality of speed values, controlling the virtual object to keep moving at the target speed value when the first movement operation ends.

[0060] As a possible implementation, when the player needs to drive a vehicle for a long distance, he or she long presses the speed control 504, as shown in FIG7 , and an adaptive speed selector 701 is expanded in the graphical user interface, which includes multiple speed values ​​to choose from, such as 85 m / s, 90 m / s, 95 m / s, 100 m / s, 110 m / s, 125 m / s, etc.

[0061] In the disclosed embodiment, the setting operation of the speed control may be an operation of selecting from a plurality of speed values, so that the player can perform the setting operation more conveniently and quickly.

[0062] Based on the above steps a) and b), the speed values ​​displayed for selection may include the current speed value and multiple speed values ​​within a preset range around it, so that the selection range of the target speed value is more reasonable and consistent with the current actual situation of the virtual object. As an example, the above step a) may include the following steps:

[0063] Step c) In response to a designated operation on the speed control, a current speed value of the virtual object moving in the game scene and a plurality of speed values ​​within a preset numerical range around the current speed value are displayed in a graphical user interface.

[0064] Exemplarily, after the player long presses the speed control 504, as shown in Figure 7, an adaptive speed selector 701 is expanded in the graphical user interface based on the player's current vehicle speed (such as 95m / s). The selector 701 is based on the current speed (such as 95m / s), and each selection interval is 5km / h to display multiple speed values ​​within a preset numerical range around the current speed value, such as 90m / s, 85m / s, 100m / s, 105m / s, etc.

[0065] In an embodiment of the present disclosure, the selectable speed values ​​displayed in the graphical user interface may include the current speed value and multiple speed values ​​within a preset numerical range around the current speed value, so that the selection range of the target speed value is more reasonable and in line with the current actual situation of the virtual object.

[0066] Based on the above steps a) and b), the designated operation for triggering the display of multiple speed values ​​can include multiple operation modes to make the player's operation more flexible and convenient. As an example, the designated operation includes any one or more of the following:

[0067] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.

[0068] As an example, the player long presses the speed control 504, then the adaptive speed selector 701 is displayed in the graphical user interface. As another example, the player starts a sliding operation from the speed control 504, then the adaptive speed selector 701 is displayed in the graphical user interface.

[0069] In the disclosed embodiment, the designated operation for triggering the display of multiple speed values ​​may include multiple operation modes, thereby making the player's operation more flexible and convenient.

[0070] Based on the above steps a) and b), after triggering the display of multiple speed values, the specified operation can continue to perform the selected action, and the coherent operation makes the player's operation more convenient and quick. As an example, the above step b) can include the following steps:

[0071] Step d) in response to the designated operation of sliding to a target speed value among the plurality of speed values ​​and ending the touch operation at the target speed value, controlling the virtual object to keep moving at the target speed value when the first movement operation ends.

[0072] As a possible implementation, after triggering the display of multiple speed values, the specified operation can continue to perform the selection action, such as continuing to maintain touch and slide to the target speed value that the player wants to select. At this time, the player releases his finger to confirm the selection of the speed value.

[0073] In the disclosed embodiment, after triggering the display of multiple speed values, the designated operation can continue the selection process, and the selection process is completed when the touch is ended, thereby making the player's operation more convenient and quick through continuous operation.

[0074] Based on the above steps a) and b), the numerical range of multiple speed values ​​can be adjusted by sliding operation, making the selection range of multiple speed values ​​more flexible and wide. As an example, after step a), the method may further include the following steps:

[0075] Step e) In response to a sliding operation on the speed values, adjusting the display mode of the plurality of speed values ​​in the graphical user interface according to the sliding direction of the sliding operation.

[0076] For example, the player can select a target speed by sliding their finger left or right. For example, as shown in FIG7 , swiping left increases the selected speed value, and swiping right decreases the selected speed value. The speed value in the middle of the selector 701 is the currently selected speed. Of course, it can also be set to decrease the speed value by swiping left and increase the speed value by swiping right, or to adjust the selected speed value by swiping up or down.

[0077] In the disclosed embodiment, the numerical range of multiple speed values ​​displayed in the graphical user interface can be adjusted through a sliding operation, so that the player can have a more flexible and broad selection range for the multiple speed values.

[0078] Based on step e), the speed values ​​can be displayed in a variety of ways in the graphical user interface, making the display in the interface more flexible and easier for players to observe. As an example, the display mode includes any one or more of the following: highlighting, displaying the position, and hiding the display.

[0079] For example, as shown in FIG7 , the currently selected speed (95 m / s) is highlighted, the currently selected speed (95 m / s) is displayed in the middle of the selector 701, sliding to the left hides the display for a lower speed value, sliding to the right hides the display for a higher speed value, and so on.

[0080] In the embodiment of the present disclosure, the display method of multiple speed values ​​in the graphical user interface can include multiple methods, thereby making the display of multiple speed values ​​in the graphical user interface more flexible and easier for players to observe.

[0081] In some embodiments, the player's speed control operation can affect or even interrupt the previously set process of the virtual object moving at a constant speed, so that the speed control effect of the virtual object is more flexible and changeable.

[0082] As an example, after step S430, the method may further include the following steps:

[0083] Step f) in response to the second movement operation on the virtual object, canceling the control of the virtual object to keep moving at the set speed, and controlling the movement of the virtual object in the game scene according to the second movement operation.

[0084] As a possible implementation method, when the virtual object maintains a constant speed movement, when the player actively operates the throttle control again, the process of the virtual object maintaining a constant speed movement is interrupted, that is, the constant speed mode is exited. For example, the virtual object exits the adaptive cruise state and returns to the speed control mode that requires the player to continuously operate to control the speed of the virtual object. The virtual object then moves at the speed corresponding to the second movement operation.

[0085] As another example, after step S430, the method may further include the following steps:

[0086] Step g) in response to a stop movement operation on the virtual object, canceling the control of the virtual object to keep moving at the set speed, and controlling the virtual object to stop moving in the game scene according to the stop movement operation.

[0087] As a possible implementation method, when the virtual object maintains a constant speed and the player actively operates the brake control again, the process of the virtual object maintaining a constant speed is interrupted, that is, the constant speed mode is broken. For example, the virtual object exits the adaptive cruise state and returns to the speed control mode that requires the player to continuously operate to control the speed of the virtual object. The virtual object decelerates and eventually stops moving according to the stop movement operation.

[0088] In the embodiment of the present disclosure, if the player controls the speed while the virtual object is moving at a constant speed, the previously set process of the virtual object moving at a constant speed can be interrupted, causing the virtual object to move according to the player's control operation, thereby making the speed control effect of the virtual object more flexible and changeable.

[0089] In some embodiments, the virtual object can also automatically adjust the constant speed according to the different scene positions, so that the movement of the virtual object is more suitable for the game scene, and the movement effect of the virtual object in the game scene is more flexible and optimized.

[0090] As an example, after step S430, the method may further include the following steps:

[0091] Step h), in response to the virtual object moving to a preset scene position, determining a speed increase value or a speed decrease value corresponding to the preset scene position;

[0092] Step i) When the first movement operation ends, controlling the movement speed of the virtual object to increase the speed increase value or decrease the speed decrease value based on the set speed.

[0093] For example, after the player selects a speed value, the virtual object can appropriately speed up or slow down based on that speed value according to different racing scenarios. For example, when approaching a curve, the virtual object can adaptively reduce its speed based on the player's selected speed value to smoothly pass the curve. When driving over long distances without obstacles or curves, the virtual object can adaptively increase its speed based on the player's selected speed value to improve racing efficiency.

[0094] By automatically adjusting the constant speed of virtual objects according to their positions in different scenes, the movement of virtual objects is more suitable for the game scene, the movement effect of virtual objects in the game scene is more flexible and optimized, and the control efficiency of racing is improved.

[0095] FIG8 is a schematic diagram of a control device for a virtual object in a game. A graphical user interface is provided by a terminal device, and the game scene of the game includes virtual objects controlled by the terminal device. As shown in FIG8 , the control device 800 for the virtual object in the game includes:

[0096] A first control module 801 is configured to execute a first movement operation in response to the virtual object, and control the virtual object to move in the game scene according to the first movement operation;

[0097] The display module 802 is configured to display a speed control for the movement of the virtual object in the game scene in the graphical user interface;

[0098] The second control module 803 is configured to execute, in response to a setting operation on the speed control, control the virtual object to keep moving at a set speed corresponding to the setting operation when the first movement operation ends.

[0099] In the above manner, by performing setting operations on the speed control displayed in the graphical user interface, even if the first movement operation controlling the movement of the virtual object is no longer executed, the virtual object can be automatically controlled to continue moving at the set speed corresponding to the set operation, so that the movement of the virtual object can be kept constant at the speed set by the set operation. The player no longer needs to perform continuous operations with high operating costs to keep the virtual object moving, and the virtual object can also reach a farther destination, which reduces the player's operating costs and alleviates the technical problem of high operating costs required for players to control virtual objects. Furthermore, it also greatly alleviates the fatigue brought to players by operations such as long-term touch interfaces in racing games such as racing due to the large racing venue, avoids player fatigue during the game, and does not reduce the driving experience, thereby improving the gaming experience.

[0100] In one feasible embodiment, the second control module 803 is further configured to execute:

[0101] In response to a designated operation on the speed control, displaying a plurality of speed values ​​for the virtual object moving in the game scene in the graphical user interface;

[0102] In response to a selection operation for a target speed value among the plurality of speed values, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0103] In one feasible embodiment, the second control module 803 is further configured to execute:

[0104] In response to a designated operation on the speed control, a current speed value of the virtual object moving in the game scene and a plurality of speed values ​​within a preset numerical range around the current speed value are displayed in the graphical user interface.

[0105] In a feasible embodiment, the specified operation includes any one or more of the following:

[0106] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.

[0107] In one feasible embodiment, the second control module 803 is further configured to execute:

[0108] In response to the designated operation of sliding to a target speed value among the multiple speed values ​​and ending the touch at the target speed value, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0109] In one feasible embodiment, the device further comprises:

[0110] The adjustment module is configured to, in response to a sliding operation on the speed value, adjust a display mode of the plurality of speed values ​​in the graphical user interface according to a sliding direction of the sliding operation.

[0111] In a feasible embodiment, the display mode includes any one or more of the following:

[0112] Highlight, show position, and hide display.

[0113] In one feasible embodiment, the device further comprises:

[0114] The cancellation module is configured to execute, in response to a second movement operation on the virtual object, cancel the control of the virtual object to keep moving at the set speed, and control the movement of the virtual object in the game scene according to the second movement operation.

[0115] In one possible embodiment, the cancellation module is further configured to perform:

[0116] In response to a stop movement operation for the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the virtual object is controlled to stop moving in the game scene according to the stop movement operation.

[0117] In one feasible embodiment, the device further comprises:

[0118] a determining module configured to determine, in response to the virtual object moving to a preset scene position, a speed increase value or a speed decrease value corresponding to the preset scene position;

[0119] The third control module is configured to control the movement speed of the virtual object to increase the speed increase value or decrease the speed decrease value based on the set speed when the first movement operation ends.

[0120] The control device for virtual objects in a game provided by the embodiment of the present disclosure has the same technical features as the control method for virtual objects in a game provided by the above embodiment, and therefore can also solve the same technical problems and achieve the same technical effects.

[0121] FIG9 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including: a processor 901, a storage medium 902, and a bus 903. The storage medium 902 stores machine-readable instructions executable by the processor 901. When the electronic device executes a method 999 in the embodiment, the processor 901 communicates with the storage medium 902 via the bus 903. The processor 901 executes the machine-readable instructions. The processor 901 performs the preamble of the method item to perform the following steps:

[0122] In response to a first movement operation on the virtual object, controlling the virtual object to move in the game scene according to the first movement operation;

[0123] displaying, in the graphical user interface, a speed control for movement of the virtual object in the game scene;

[0124] In response to a setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at a set speed corresponding to the setting operation.

[0125] In a feasible embodiment, when the processor executes, in response to a setting operation for the speed control, controlling the virtual object to keep moving at a set speed corresponding to the setting operation when the first movement operation ends, the processor is specifically configured to execute:

[0126] In response to a designated operation on the speed control, displaying a plurality of speed values ​​for the virtual object moving in the game scene in the graphical user interface;

[0127] In response to a selection operation for a target speed value among the plurality of speed values, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0128] In a feasible embodiment, when the processor displays multiple speed values ​​for the virtual object moving in the game scene in the graphical user interface in response to a specified operation on the speed control, the processor is specifically configured to execute:

[0129] In response to a designated operation on the speed control, a current speed value of the virtual object moving in the game scene and a plurality of speed values ​​within a preset numerical range around the current speed value are displayed in the graphical user interface.

[0130] In a feasible embodiment, the specified operation includes any one or more of the following:

[0131] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.

[0132] In a feasible embodiment, when executing, in response to a selection operation for a target speed value among the multiple speed values, controlling the virtual object to keep moving at the target speed value when the first movement operation ends, the processor is specifically configured to execute:

[0133] In response to the designated operation of sliding to a target speed value among the multiple speed values ​​and ending the touch at the target speed value, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0134] In one possible embodiment, the processor is further configured to execute:

[0135] In response to a sliding operation on the speed values, a display manner of the plurality of speed values ​​in the graphical user interface is adjusted according to a sliding direction of the sliding operation.

[0136] In a feasible embodiment, the display mode includes any one or more of the following:

[0137] Highlight, show position, and hide display.

[0138] In one possible embodiment, the processor is further configured to execute:

[0139] In response to a second movement operation on the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the movement of the virtual object in the game scene is controlled according to the second movement operation.

[0140] In one possible embodiment, the processor is further configured to execute:

[0141] In response to a stop movement operation for the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the virtual object is controlled to stop moving in the game scene according to the stop movement operation.

[0142] In one possible embodiment, the processor is further configured to execute:

[0143] In response to the virtual object moving to a preset scene position, determining a speed increase value or a speed decrease value corresponding to the preset scene position;

[0144] In a case where the first movement operation ends, the movement speed of the virtual object is controlled to increase the speed increase value or decrease the speed decrease value based on the set speed.

[0145] In the above manner, by performing setting operations on the speed control displayed in the graphical user interface, even if the first movement operation controlling the movement of the virtual object is no longer executed, the virtual object can be automatically controlled to continue moving at the set speed corresponding to the set operation, so that the movement of the virtual object can be kept constant at the speed set by the set operation. The player no longer needs to perform continuous operations with high operating costs to keep the virtual object moving, and the virtual object can also reach a farther destination, which reduces the player's operating costs and alleviates the technical problem of high operating costs required for players to control virtual objects. Furthermore, it also greatly alleviates the fatigue brought to players by operations such as long-term touch interfaces in racing games such as racing due to the large racing venue, avoids player fatigue during the game, and does not reduce the driving experience, thereby improving the gaming experience.

[0146] In practical applications, the memory 901 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element communicates with at least one other network element via at least one communication interface 904 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, and the like.

[0147] Bus 903 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG9 shows only one bidirectional arrow, but this does not mean that there is only one bus or one type of bus.

[0148] Among them, the memory 901 is used to store programs, and the processor 902 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present disclosure can be applied to the processor 902 or implemented by the processor 902.

[0149] The processor 902 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 902 or software instructions. The above-mentioned processor 902 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 901, and processor 902 reads the information in memory 901 and, in conjunction with its hardware, completes the steps of the above method.

[0150] The present disclosure also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium. The computer program is executed by a processor when the processor is running, and the processor performs the following steps:

[0151] In response to a first movement operation on the virtual object, controlling the virtual object to move in the game scene according to the first movement operation;

[0152] displaying, in the graphical user interface, a speed control for movement of the virtual object in the game scene;

[0153] In response to a setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at a set speed corresponding to the setting operation.

[0154] In a feasible embodiment, when the processor executes, in response to a setting operation for the speed control, controlling the virtual object to keep moving at a set speed corresponding to the setting operation when the first movement operation ends, the processor is specifically configured to execute:

[0155] In response to a designated operation on the speed control, displaying a plurality of speed values ​​for the virtual object moving in the game scene in the graphical user interface;

[0156] In response to a selection operation for a target speed value among the plurality of speed values, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0157] In a feasible embodiment, when the processor displays multiple speed values ​​for the virtual object moving in the game scene in the graphical user interface in response to a specified operation on the speed control, the processor is specifically configured to execute:

[0158] In response to a designated operation on the speed control, a current speed value of the virtual object moving in the game scene and a plurality of speed values ​​within a preset numerical range around the current speed value are displayed in the graphical user interface.

[0159] In a feasible embodiment, the specified operation includes any one or more of the following:

[0160] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.

[0161] In a feasible embodiment, when executing, in response to a selection operation for a target speed value among the multiple speed values, controlling the virtual object to keep moving at the target speed value when the first movement operation ends, the processor is specifically configured to execute:

[0162] In response to the designated operation of sliding to a target speed value among the multiple speed values ​​and ending the touch at the target speed value, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

[0163] In one possible embodiment, the processor is further configured to execute:

[0164] In response to a sliding operation on the speed values, a display manner of the plurality of speed values ​​in the graphical user interface is adjusted according to a sliding direction of the sliding operation.

[0165] In a feasible embodiment, the display mode includes any one or more of the following:

[0166] Highlight, show position, and hide display.

[0167] In one possible embodiment, the processor is further configured to execute:

[0168] In response to a second movement operation on the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the movement of the virtual object in the game scene is controlled according to the second movement operation.

[0169] In one possible embodiment, the processor is further configured to execute:

[0170] In response to a stop movement operation for the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the virtual object is controlled to stop moving in the game scene according to the stop movement operation.

[0171] In one possible embodiment, the processor is further configured to execute:

[0172] In response to the virtual object moving to a preset scene position, determining a speed increase value or a speed decrease value corresponding to the preset scene position;

[0173] In a case where the first movement operation ends, the movement speed of the virtual object is controlled to increase the speed increase value or decrease the speed decrease value based on the set speed.

[0174] In the above manner, by performing setting operations on the speed control displayed in the graphical user interface, even if the first movement operation controlling the movement of the virtual object is no longer executed, the virtual object can be automatically controlled to continue moving at the set speed corresponding to the set operation, so that the movement of the virtual object can be kept constant at the speed set by the set operation. The player no longer needs to perform continuous operations with high operating costs to keep the virtual object moving, and the virtual object can also reach a farther destination, which reduces the player's operating costs and alleviates the technical problem of high operating costs required for players to control virtual objects. Furthermore, it also greatly alleviates the fatigue brought to players by operations such as long-term touch interfaces in racing games such as racing due to the large racing venue, avoids player fatigue during the game, and does not reduce the driving experience, thereby improving the gaming experience.

[0175] In the embodiments of the present disclosure, the computer program can also execute other machine-readable instructions when run by the processor to execute methods as described in other embodiments. For the specific execution method steps and principles, please refer to the description of the embodiments and will not be repeated here.

[0176] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0177] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0178] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0179] In addition, each functional unit in the embodiments provided in the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0180] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the control method of the virtual object in the game described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0181] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0182] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-mentioned embodiments, ordinary technicians in this field should understand that any technician familiar with this technical field can still modify the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present disclosure, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for controlling a virtual object in a game, wherein a graphical user interface is provided by a terminal device, and a game scene of the game includes a virtual object controlled by the terminal device, the method comprising: In response to a first movement operation on the virtual object, controlling the virtual object to move in the game scene according to the first movement operation; displaying in the graphical user interface a speed control for movement of the virtual object in the game scene; In response to a setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at a set speed corresponding to the setting operation.

2. The method according to claim 1, wherein: In response to the setting operation for the speed control, when the first movement operation ends, controlling the virtual object to keep moving at the set speed corresponding to the setting operation, comprises: In response to a specified operation on the speed control, displaying a plurality of speed values ​​for the movement of the virtual object in the game scene in the graphical user interface; In response to a selection operation for a target speed value among the plurality of speed values, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

3. The method according to claim 2, wherein: In response to a specified operation on the speed control, displaying a plurality of speed values ​​for the movement of the virtual object in the game scene in the graphical user interface comprises: In response to a designated operation on the speed control, a current speed value of the virtual object moving in the game scene and a plurality of speed values ​​within a preset numerical range around the current speed value are displayed in the graphical user interface.

4. The method according to claim 2, characterized in that: The specified operation includes any one or more of the following: Click operations, sliding operations, and operations with a touch duration longer than the preset duration.

5. The method according to claim 2, wherein: In response to a selection operation for a target speed value among the plurality of speed values, controlling the virtual object to keep moving at the target speed value when the first movement operation ends, comprises: In response to the designated operation of sliding to a target speed value among the multiple speed values ​​and ending the touch operation at the target speed value, the virtual object is controlled to keep moving at the target speed value when the first movement operation ends.

6. The method according to claim 2, wherein: After displaying a plurality of speed values ​​for the virtual object moving in the game scene in the graphical user interface in response to a specified operation on the speed control, the method further includes: In response to a sliding operation on the speed value, a display mode of the plurality of speed values ​​in the graphical user interface is adjusted according to a sliding direction of the sliding operation.

7. The method according to claim 6, wherein: The display method includes any one or more of the following: Highlight, show position, and hide display.

8. The method according to claim 1, characterized in that After, in response to the setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at the set speed corresponding to the setting operation, the method further includes: In response to a second movement operation on the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the movement of the virtual object in the game scene is controlled according to the second movement operation.

9. The method according to claim 1, wherein: After, in response to the setting operation for the speed control, when the first movement operation ends, the virtual object is controlled to keep moving at the set speed corresponding to the setting operation, the method further includes: In response to a stop movement operation for the virtual object, the control of the virtual object to keep moving at the set speed is canceled, and the virtual object is controlled to stop moving in the game scene according to the stop movement operation.

10. The method according to claim 1, wherein: After, in response to the setting operation for the speed control, controlling the virtual object to keep moving at the set speed corresponding to the setting operation when the first movement operation ends, the method further includes: In response to the virtual object moving to a preset scene position, determining a speed increase value or a speed decrease value corresponding to the preset scene position; In a case where the first movement operation ends, the movement speed of the virtual object is controlled to increase the speed increase value or decrease the speed decrease value based on the set speed.

11. A control device for a virtual object in a game, providing a graphical user interface through a terminal device, wherein a game scene of the game includes a virtual object controlled by the terminal device, comprising: A first control module is configured to execute a first movement operation in response to the virtual object, and control the virtual object to move in the game scene according to the first movement operation; A display module configured to display, in the graphical user interface, a speed control for the movement of the virtual object in the game scene; The second control module is configured to execute, in response to a setting operation for the speed control, control the virtual object to keep moving at a set speed corresponding to the setting operation when the first moving operation ends.

12. An electronic terminal comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 10 when executing the computer program.

13. A computer-readable storage medium storing computer-executable instructions, wherein when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

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

    CN107930105A

  • Speed control method and device of virtual carrier, electronic equipment and storage medium

    CN108379836A

  • Method and device for adjusting speed mode of virtual object, electronic equipment and storage medium

    CN108514740A

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

    CN109045685A

  • Movement control method in game and deviceand electronic equipment

    CN113769404A