Virtual object control method, device, electronic device and storage medium in a game

By recording and calibrating the control parameters of virtual objects, the problem of virtual objects losing control in racing games after the game is restored is solved, and the game's operating experience and return rate are improved.

CN114904273BActive Publication Date: 2025-05-27NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210637235.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2025-05-27
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

In racing games, when the game is restored after the game is paused, the virtual objects controlled by the player are easily out of control or forced to slow down, resulting in a reduced game return and affecting the player's gaming experience.

Method used

By recording the status parameters of the controlled virtual object before the game is paused, and when the game continues, the restored control parameters are calibrated based on the preset control parameters to ensure that the virtual object can be moved controllably after recovery.

Benefits of technology

It effectively avoids the situation where virtual objects get out of control after the game is restored, improves the game's operating experience and return rate, and ensures the game's competitive fairness and time efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114904273B_ABST
    Figure CN114904273B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, electronic device, and storage medium for controlling virtual objects in a game, which relates to the field of game technologies. Among them, the method for controlling virtual objects in a game includes: in response to an input game pause operation, recording the game state parameters of the controlled virtual object at a target historical time point before receiving the game pause operation; in response to an input game resume operation and a control operation input for the controlled virtual object, calibrating the second control parameter corresponding to the control operation with a preset first control parameter as a reference; and controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter. The present application can effectively avoid the out-of-control phenomenon of the controlled virtual object after the game resumes, avoid the waste of game time caused by the player pausing and resuming during the game process, avoid the abnormal loss of game rewards, and effectively improve the player's game experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for controlling virtual objects in a game. Background Art

[0002] With the development of online games, the types of online games are also increasing. Among them, racing games, as a mainstream online game, are loved by many users.

[0003] During the game process, players usually pause the game due to various situations. Due to the characteristics of racing games, when the game is paused, the virtual object controlled by the player is often in a high-speed moving state. After the game resumes, it is easy for the virtual object to get out of control or be forced to decelerate, resulting in a reduction in game rewards and seriously affecting the player's gaming experience. Summary of the Invention

[0004] In view of this, embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for controlling virtual objects in a game, so as to avoid the out-of-control phenomenon of the controlled virtual object by the player when the game resumes after being paused, and improve the player's gaming operation experience.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a virtual object in a game. A graphical user interface is provided through a terminal device, and the graphical user interface includes: a game scene having a controlled virtual object. The method includes:

[0006] In response to an input game pause operation, record the game state parameters of the controlled virtual object at a target historical time point before receiving the game pause operation;

[0007] In response to an input game resume operation and a control operation input for the controlled virtual object, calibrate the second control parameter corresponding to the control operation with a preset first control parameter as a reference;

[0008] Control the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter.

[0009] In a possible implementation example, the step of calibrating the second control parameter corresponding to the control operation with a preset first control parameter as a reference in response to the input game resume operation and the control operation input for the controlled virtual object includes:

[0010] In response to the game resume operation, display a calibration interface in the graphical user interface, and display a first prompt icon at a position corresponding to the first control parameter on the calibration interface according to the first control parameter;

[0011] In response to the control operation, according to the second manipulation parameter, display a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface;

[0012] In response to an adjustment operation input for the control operation, calibrate the second manipulation parameter according to the adjustment operation.

[0013] In a possible implementation example, the first manipulation parameter includes: a first manipulation orientation, and the second manipulation parameter includes: a second manipulation orientation; the calibration interface includes: a preset orientation graph;

[0014] The step of displaying a first prompt icon at a position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter includes:

[0015] Display the first prompt icon at a position corresponding to the first manipulation orientation in the preset orientation graph according to the first manipulation orientation;

[0016] Correspondingly, the step of displaying a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter includes:

[0017] Display the second prompt icon at a position corresponding to the second manipulation orientation in the preset orientation graph according to the second manipulation orientation.

[0018] In a possible implementation example, the preset orientation graph includes: a plurality of orientation regions, and the plurality of orientation regions respectively correspond to a plurality of different manipulation orientations relative to the controlled virtual object;

[0019] The step of displaying the first prompt icon at a position corresponding to the first manipulation orientation in the preset orientation graph according to the first manipulation orientation includes:

[0020] Display the first prompt icon at a corresponding position within the orientation region to which the first manipulation orientation belongs in the preset orientation graph according to the first manipulation orientation;

[0021] Correspondingly, the step of displaying the second prompt icon at a position corresponding to the second manipulation orientation in the preset orientation graph according to the second manipulation orientation includes:

[0022] Display the second prompt icon at a corresponding position within the orientation region to which the second manipulation orientation belongs in the preset orientation graph according to the second manipulation orientation.

[0023] In a possible implementation example, the method further includes:

[0024] In response to the adjustment operation, control the second prompt icon to move towards the first prompt icon according to the adjustment operation.

[0025] In a possible implementation example, before controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter, the method further includes:

[0026] If the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range, control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second manipulation parameter is completed.

[0027] In a possible implementation example, before controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter, the method further includes:

[0028] If the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range, switch the display mode of the second prompt icon to indicate that the calibration of the second manipulation parameter is completed.

[0029] In a possible implementation example, the method further includes:

[0030] In response to the game continuation operation, display a countdown for a preset calibration duration in the graphical user interface.

[0031] In a possible implementation example, the method further includes:

[0032] In response to the game continuation operation, determine whether the game state parameters meet the state conditions for a preset operation;

[0033] If the state conditions for the preset operation are met, display the operation control for the preset operation in the graphical user interface.

[0034] In a possible implementation example, the method further includes:

[0035] If the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range, switch the display mode of the operation control to indicate that the calibration of the second manipulation parameter is completed.

[0036] In a possible implementation example, before calibrating the second manipulation parameter corresponding to the control operation with the preset first manipulation parameter in response to the input game continuation operation and the control operation input for the controlled virtual object, the method further includes:

[0037] In response to the game pause operation, record the first manipulation parameter for the controlled virtual object at the target time point.

[0038] In a possible implementation example, before calibrating the second manipulation parameter corresponding to the control operation based on the preset first manipulation parameter, the method further includes:

[0039] Determine the optimal manipulation parameter in the current game mode as the first manipulation parameter according to the game state parameter.

[0040] In a second aspect, an embodiment of the present application further provides a virtual object control device in a game. A graphical user interface is provided through a terminal device, and the graphical user interface includes: a game scene with a controlled virtual object. The device includes:

[0041] A recording module, configured to respond to an input game pause operation and record the game state parameter of the controlled virtual object at a target historical time point before receiving the game pause operation;

[0042] A calibration module, configured to respond to an input game resume operation and a control operation input for the controlled virtual object, and calibrate the second manipulation parameter corresponding to the control operation based on a preset first manipulation parameter;

[0043] A control module, configured to control the controlled virtual object to move in the game scene based on the game state parameter according to the calibrated second manipulation parameter.

[0044] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of a virtual object control method in a game as described in any item of the first aspect.

[0045] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it performs the steps of a virtual object control method in a game as described in any item of the first aspect.

[0046] The virtual object control method, device, electronic device, and storage medium in a game provided by the embodiments of the present application first record the game state parameters of the controlled virtual object at the target historical time point before receiving the game pause operation when receiving the game pause operation. That is, when detecting the game pause, record the game state parameters of the controlled virtual object at the target historical time point before the game pause. Then, when receiving the game resume operation and the control operation input for the controlled virtual object, that is, after detecting the game resume, the second control parameter after the game resume can be calibrated based on the preset first control parameter. After calibration, according to the calibrated second operation parameter, control the controlled virtual object to move in the game scene based on the game state parameters recorded before the pause. Since in this solution, when receiving the input game pause operation, record the game state parameters of the controlled virtual object at the target historical time point, it is possible to accurately judge the timing of passive game pause and record the game state parameters of the controlled virtual object before the pause. Secondly, after the game resumes, the second control parameter after the game resume can also be calibrated based on the preset first control parameter, realizing the calibration of the control parameter for the controlled virtual object after the game resume, ensuring that the control of the controlled virtual object after the game resume is more controllable. Moreover, after the game resumes, based on the calibrated second control parameter, controlling the controlled virtual object to move based on the game state parameters before the game pause can make the state of the controlled virtual object consistent with that before the game pause when controlling the controlled virtual object after the game resume, further ensuring the controllability of the controlled virtual object after the game resume, effectively avoiding the out-of-control phenomenon of the controlled virtual object after the game resume, thus avoiding the problem of wasted game time caused by the player pausing and resuming during the game, avoiding the abnormal loss of game rewards, and effectively improving the player's game experience.

[0047] To make the above objects, features, and advantages of the present application more obvious and understandable, some possible embodiments are specifically exemplified below and described in detail in conjunction with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0049] Figure 1 It is a flowchart of a method for controlling a virtual object in a game provided by an embodiment of the present application;

[0050] Figure 2Flowchart of a method for calibrating a second manipulation parameter in a method for controlling a controlled virtual object in a game provided by an embodiment of the present application;

[0051] Figure 3 Schematic diagram of a graphical user interface before calibration provided by an embodiment of the present application;

[0052] Figure 4 Flowchart of a method for displaying a prompt icon in a controlled virtual object in a game provided by an embodiment of the present application;

[0053] Figure 5 Schematic diagram of a graphical user interface after calibration provided by an embodiment of the present application;

[0054] Figure 6 Flowchart of a method for interface display after receiving a game continuation operation in a method for controlling a virtual object in a game provided by an embodiment of the present application;

[0055] Figure 7 Schematic diagram of the structure of a virtual object control device in a game provided by an embodiment of the present application;

[0056] Figure 8 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application to be protected, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.

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

[0059] In an optional embodiment, various cloud applications can run under a cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running entity of the game program and the presenting entity of the game screen are separated. The storage and running of the game loading method are completed on the cloud game server. The function 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; however, the information processing is performed by the cloud game server in the cloud. When playing a game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses data such as the game screen, returns it to the client device through the network, and finally, decodes it through the client device and outputs the game screen.

[0060] In an optional embodiment, taking a game as an example, the 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 the graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The way for the local terminal device to provide the graphical user interface to the player can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, and the graphical user interface includes the game screen. 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.

[0061] In a possible embodiment, the embodiment of the present invention provides a method for controlling a virtual object in a game. A graphical user interface is provided through a terminal device, and the graphical user interface includes: a game scene with a controlled virtual object. Among them, the terminal device can be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system. The terminal device can be, for example, a mobile terminal, a television, a computer, a personal digital assistant, etc. The solution provided by the embodiment of the present application can be applied to racing games. For racing games, the controlled virtual object refers to a virtual object controlled by the player's operation instruction. The specific form of the controlled virtual object can be, for example, a virtual vehicle, such as a virtual bicycle, a virtual motorcycle, a virtual car, a virtual sled, a virtual aircraft, a virtual sphere, a virtual wheel, or even a virtual character, or any other virtual object that can move quickly in a specific direction.

[0062] Figure 1 The flowchart of a method for controlling a virtual object in a game provided by the embodiment of the present application is as Figure 1 shown. The method for controlling a virtual object in a game provided by the embodiment of the present application may include:

[0063] S101. In response to an input game pause operation, record the game state parameters of the controlled virtual object at a target historical time point before receiving the game pause operation.

[0064] Exemplarily, the game pause operation may be a game pause operation input by a player, such as a game pause operation input by the player through a pause control displayed on a graphical user interface, or a game pause operation input by the player through a physical button with a pause function on a keyboard connected to a terminal device. In another possible implementation, the game pause operation may also be a game pause operation triggered by a game event in the game world. It should be noted that the game pause operation may be a pause operation actively input by the player or a pause operation input by the player due to accidental touch.

[0065] Once the game pause operation is received, based on the current time, that is, the reception time of the game pause operation, and a preset duration, determine the historical time point that is the preset duration away from the reception time as the target historical time point. The preset duration may be, for example, 1 s or 2 s. That is, in the case of receiving a game pause operation, the game state parameters at the target time point before the pause are recorded. Of course, the preset duration may also be 0 s, then the target historical time point is the time point when the game pause operation is received, and the recording of the game state parameters of the controlled virtual object at the target historical time point before receiving the game pause operation is the recording of the game state parameters at the time point when the game pause operation is received. Among them, the game state parameters may include, for example: the moving speed and moving direction of the controlled virtual object.

[0066] S102. In response to an input game resume operation and a control operation input for the controlled virtual object, calibrate the second control parameter corresponding to the control operation with a preset first control parameter as a reference.

[0067] In a possible implementation, the game resume operation may be, for example, a game resume operation input by the player through a preset pause resume control on a graphical user interface, or a game resume operation input by the player at any position on the graphical user interface, or a game resume operation input by the player through a physical button with a preset resume function on a keyboard, or a game resume operation input by the player through any button on the keyboard. It should be noted that the embodiments of the present application do not limit the specific implementation manners of the game pause operation and the game resume operation.

[0068] Generally, after a player inputs a game resume operation, the player will also input control operations for the controlled virtual object to resume control of the controlled virtual object after the game resumes. Among them, the control operations input for the controlled virtual object can be, for example, control operations input through virtual controls or virtual joysticks with preset control functions on the graphical user interface, or control operations input through physical buttons with preset control functions on the keyboard, or control operations input through buttons corresponding to preset control functions on a game control device connected to the terminal device, such as a gamepad.

[0069] In the case of receiving a game resume operation and control operations continuously input after the game resume operation, the preset first manipulation parameter can be used as a reference, and the second manipulation parameter corresponding to the control operation can be automatically calibrated through program logic. It can also be that the preset first manipulation parameter is used as a reference, and in cooperation with the graphical user interface and the interactive operations input by the player, the second manipulation parameter is calibrated.

[0070] If it is automatic calibration by program logic, the second manipulation parameter can be calibrated and adjusted to the first manipulation parameter to achieve calibration of the second manipulation parameter. If it is calibration in cooperation with the player's interactive operations, the second manipulation parameter can be gradually adjusted based on the interactive operations input by the player so that the second manipulation parameter is as close as possible to the first operation parameter.

[0071] S103. Control the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter.

[0072] In the case of calibrating the second operation parameter after receiving a game resume operation, that is, after the game resumes, based on the preset first operation parameter, the controlled virtual object can be controlled to move based on the game state parameters of the controlled virtual object recorded before the game was paused. In the solution of this embodiment, controlling the controlled virtual object to move according to the calibrated second manipulation parameter can make the movement control of the controlled virtual object more controllable when a game resume operation is received, that is, after the game resumes. Secondly, when controlling the controlled virtual object to move based on the calibrated second operation parameter, the game state parameter of the controlled virtual object is the game state parameter before the game was paused, which can make the state of the controlled virtual object consistent with that before the game was paused when controlling the controlled virtual object after the game resumes.

[0073] The virtual object control method in the game provided by the embodiment of the present application first records the game state parameters of the controlled virtual object at the target historical time point before receiving the game pause operation when receiving the game pause operation. That is, when detecting the game pause, the game state parameters of the controlled virtual object at the target historical time point before the game pause are recorded. Then, when receiving the game resume operation and the control operation input for the controlled virtual object, that is, after detecting the game resume, the second control parameter after the game resume can be calibrated based on the preset first control parameter. After calibration, according to the calibrated second operation parameter, the controlled virtual object is controlled to move in the game scene based on the game state parameters recorded before the pause. In this solution, when receiving the input game pause operation, the game state parameters of the controlled virtual object at the target historical time point are recorded, which realizes the accurate judgment of the passive pause timing of the game and records the game state parameters of the controlled virtual object before the pause. Secondly, after the game resumes, the second control parameter after the game resume can also be calibrated based on the preset first control parameter, realizing the calibration of the control parameter for the controlled virtual object after the game resume, ensuring that the control of the controlled virtual object after the game resume is more controllable. Moreover, after the game resumes, based on the calibrated second control parameter, the controlled virtual object is controlled to move based on the game state parameters before the game pause, which can make the state of the controlled virtual object consistent with that before the game pause when controlling the controlled virtual object after the game resume, further ensuring the controllability of the controlled virtual object after the game resume, effectively avoiding the out-of-control phenomenon of the controlled virtual object after the game resume, thus avoiding the problem of wasted game time caused by the player pausing and resuming during the game process, avoiding the abnormal loss of game rewards, and effectively improving the player's game experience.

[0074] Since the solution of the present application is based on the calibrated second control parameter to control the controlled virtual object to move based on the game state parameters before the pause after the game resumes, it not only ensures the game rewards in the game, but also ensures the competitive fairness of the game, avoids the repeated cycle of a certain section in the game, effectively saves the game time of the whole game, and thus effectively improves the player's game experience.

[0075] Based on the virtual object control method for the controlled virtual object in the game provided in the above embodiment, the embodiment of the present application also provides a possible implementation manner for calibrating the second control parameter. The following takes the figure as an example to explain the specific implementation of calibrating the second control parameter in combination with the graphic user interface and the interactive operation input by the player. Figure 2 It is a flowchart of a method for calibrating the second control parameter in a virtual object control method for a game provided by an embodiment of the present application. As Figure 2As shown, in the above method, S102 responds to the input game continue operation and the control operation input for the controlled virtual object, and calibrates the second manipulation parameter corresponding to the control operation with the preset first manipulation parameter as the reference, which may include:

[0076] S201. Respond to the game continue operation, display a calibration interface in the graphical user interface, and display a first prompt icon at the position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter.

[0077] In a possible implementation example, when detecting the input game continue operation, the game continue operation can be responded to, and a calibration interface is displayed in a preset area in the graphical user interface. The preset area can be, for example, the central area of the graphical user interface, or a preset area centered on a preset reference point in the controlled virtual object in the graphical user interface. For example, taking the controlled virtual object as a virtual vehicle, the preset area can be, for example, a preset area centered on the top reference point in the controlled virtual object in the graphical user interface.

[0078] Since the first manipulation parameter is a preset reference parameter, and in the case of receiving the game continue operation, the first manipulation parameter is actually a known parameter. Therefore, in the case of displaying the calibration interface, a first prompt icon can also be displayed at the position corresponding to the first operation parameter in the calibration interface based on the first manipulation parameter, so as to indicate the calibration reference of the manipulation parameter to the player.

[0079] S202. Respond to the control operation, and display a second prompt icon at the position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter.

[0080] In the case of inputting the game continue operation, usually in order to control the controlled virtual object as soon as possible, the player will continuously input control operations for the controlled virtual object. And since the control operations in this case are continuously input after receiving the game continue operation, the player cannot accurately perceive the input control operations and there will be a perception error. Then in this case, a second prompt icon can also be displayed at the position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter, so as to indicate the currently input manipulation parameter to the player, that is, the second manipulation parameter.

[0081] In the case of displaying the first prompt icon in the calibration interface based on the first manipulation parameter, and also displaying the second prompt icon in the calibration interface based on the second manipulation parameter, the player can accurately perceive the gap between the manipulation parameter input after resuming the game, that is, the second manipulation parameter, and the calibration reference, so as to facilitate the player to adjust the control operation to calibrate and adjust the second manipulation parameter.

[0082] In a possible implementation example, the first control parameter and the second control parameter can be of the same type of control parameter. Then, the first hint icon and the second hint icon can be icons of the same or similar shapes. For example, the first hint icon can be a hollow graphic of a preset shape, and the second hint icon can be a solid graphic of the preset shape. To enable players to more clearly perceive the first control parameter and the second control parameter, on the calibration interface, the first hint icon and the second hint icon can be displayed in different display manners. For example, the first hint icon and the second hint icon are respectively displayed in two different colors; or, they are respectively displayed with two different display brightness levels. It can also be that one hint icon is constantly and fixedly lit, and the other hint icon blinks at a preset frequency. The specific display manners of the first hint icon and the second hint icon are not limited to the above examples, as long as the two hint icons can be distinguished from each other.

[0083] S203. In response to the adjustment operation input for the control operation, calibrate the second control parameter according to the adjustment operation.

[0084] When the first hint icon and the second hint icon are displayed on the calibration interface, the player can perceive the calibration reference, that is, the first control parameter, and the deviation of the currently input second control parameter after the game resumes. If the player confirms that the control parameter needs to be adjusted, the player can input an adjustment operation for the control operation, thereby enabling calibration of the second control parameter.

[0085] The method provided in this embodiment can, when receiving a game resume operation, display a first hint icon at the position corresponding to the first control parameter in the graphical user interface, and also display a second hint icon at the position corresponding to the second control parameter, so as to accurately and vividly inform the player of the deviation between the currently input control parameter, that is, the second control parameter, and the calibration reference, that is, the first control parameter, thereby facilitating the player to accurately calibrate the second control parameter through the input adjustment. That is to say, through the interaction operation of the graphical user interface in cooperation with the player's input, it is convenient for the player to accurately calibrate the control parameter, thereby effectively avoiding the out-of-control phenomenon of the controlled virtual object after the game resumes, improving the player's sense of operation participation during the game process, improving the player's sense of operation achievement during the game process, and thus improving the player's game operation experience.

[0086] In other possible implementations, when a game continuation operation and a control operation are received, the game screen of the game scene is not a fixed perspective. When the player inputs a game continuation operation, the game continuation operation can be responded to, and the screen perspective of the game scene can be adjusted according to the relative deviation between the first control parameter and the second control parameter. After receiving the game continuation operation, the screen perspective of the game scene can initially be a perspective looking down on the virtual vehicle (it can also be other abnormal game perspectives). According to the control operations continuously input by the player for the controlled virtual object, the perspective screen of the game scene continuously changes. When the calibration of the control parameters is completed, the screen perspective of the game scene can be restored to the preset game perspective (i.e., the normal game perspective).

[0087] For example, the first control parameter as shown above may include: the first control orientation. Correspondingly, the second control parameter also includes: the second control orientation. Both the first control orientation and the second control orientation are control orientations relative to the controlled virtual object. For example, the screen perspective of the game scene can be adjusted according to the relative position between the second control orientation and the first control orientation. Among them, the screen perspective can be used to present the relative orientation between the second control orientation and the first control orientation. For example, if the second control orientation is at the lower right side of the first control orientation, the screen perspective can be the perspective of the left rear side of the virtual vehicle.

[0088] Figure 3 It is a schematic diagram of a graphical user interface before calibration provided by an embodiment of the present application. As Figure 3 shown, a game scene with a controlled virtual object 1 is displayed in the graphical user interface. To clearly display the first control orientation and the second control orientation, when an input game continuation operation is received, that is, when continuing the game, the game continuation operation can be responded to, and a calibration interface including a preset orientation graphic 2 is displayed on the graphical interaction interface.

[0089] Correspondingly, in S201 as shown above, according to the first control parameter, displaying the first prompt icon at the position corresponding to the first control parameter on the calibration interface may include:

[0090] Displaying the first prompt icon 21 at the position corresponding to the first control orientation in the preset orientation graphic 2 according to the first control orientation.

[0091] In the specific implementation process, according to the first control orientation, the position of the first operation orientation in the preset orientation graphic 2 can be determined, and then the first prompt icon 21 is displayed at the position corresponding to the first control orientation in the preset orientation graphic 2.

[0092] Correspondingly, in S202 as shown above, according to the second control parameter, displaying the second prompt icon in the calibration prompt may include:

[0093] According to the second control orientation, a second prompt icon 22 is displayed at the position corresponding to the second control orientation in the preset orientation graph 2.

[0094] In the specific implementation process, according to the second control orientation, the position of the second operation orientation in the preset orientation graph 2 can be determined, and then the second prompt icon 22 is displayed at the position corresponding to the second control orientation in the preset orientation graph 2.

[0095] Exemplarily, the above-mentioned preset orientation graph 2 includes: multiple orientation areas. The preset orientation graph 2 can be, for example, an orientation graph relative to the controlled virtual object, which can be used to represent multiple control orientations relative to the controlled virtual object. In the preset orientation graph, multiple orientation areas can be used to represent multiple different control orientations relative to the controlled virtual object respectively. The preset orientation graph 2 can include, for example, 8 orientation areas to respectively represent 8 control orientations relative to the controlled virtual object. The 8 control orientations can include, for example: the front control orientation, the rear control orientation, the left front control orientation, the right front control orientation, the left rear control orientation, the right rear control orientation, the left front control orientation, and the right rear control orientation. Among them, the front control orientation is used to control the controlled virtual object to move forward, and the front refers to the head orientation of the controlled virtual object, such as the front of the vehicle; the rear control orientation is used to control the controlled virtual object to move backward, and the rear refers to the tail orientation of the controlled virtual object, such as the rear of the vehicle. Of course, the specific number of control orientations can be selected according to needs. In addition to setting 8 control orientations, it can also be 6, 4 or other numbers.

[0096] Figure 3 In the preset orientation graph 2 is a spherical orientation graph, which is divided into 9 areas by multiple arcs. Among the 9 areas, the 8 areas except the central area are the 8 orientation areas. Displaying the preset orientation graph 2 in a spherical shape can make the representation of the orientation areas in the preset orientation graph have a better perspective effect for players and can more vividly display multiple orientation areas. In another possible implementation manner, the preset orientation graph 2 can also be an orientation graph of other shapes, such as a rectangular orientation graph, which can include 9 rectangular sub-areas.

[0097] Based on the preset orientation graph 2 with multiple orientation areas, the embodiment of the present application also provides a possible implementation manner for displaying a prompt icon during the process of calibrating the second control parameter. Figure 4 It is a flowchart of a method for displaying a prompt icon in a controlled virtual object in a game provided by the embodiment of the present application. As Figure 4 shown, in the above method, according to the first control orientation, displaying the first prompt icon at the position corresponding to the first control orientation in the preset orientation graph includes:

[0098] S401. Display a first prompt icon at a corresponding position in a direction area to which the first control direction belongs in a preset direction graphic according to the first control direction.

[0099] Since each orientation area in the preset orientation graphic is actually a regional range of a control orientation, the orientation area to which the first control orientation in the preset orientation graphic 2 belongs can be determined according to the first control orientation, and the specific position of the first control orientation in the orientation area to which it belongs can be determined, and the first prompt icon 21 can be displayed at the corresponding position in the orientation area to which the first control orientation belongs.

[0100] Reference Figure 3 If the first control direction is the front control direction, the orientation area to which the first control direction belongs in the preset orientation graphic 2 may be, for example, the front control area 211. Therefore, the first prompt icon 21 may be displayed at the corresponding position in the front control area 211 in the preset orientation graphic 2.

[0101] Correspondingly, in the above method, according to the second manipulation orientation, displaying the second prompt icon at a position corresponding to the second manipulation orientation in the preset orientation graphic includes:

[0102] S402: Display a second prompt icon at a corresponding position in the orientation area to which the second operating orientation belongs in the preset orientation graphic according to the second operating orientation.

[0103] Correspondingly, in the implementation process of this step, the orientation area to which the second control direction in the preset orientation graphic 2 belongs can be determined according to the second control direction, and the specific position of the second control direction in the orientation area to which it belongs can be determined, and the second prompt icon 21 can be displayed at the corresponding position in the orientation area to which the first control direction belongs.

[0104] Reference Figure 3 If the second control direction is the front control direction, the orientation area to which the second control direction belongs in the preset orientation graphic 2 may be, for example, the right front control area 221. Therefore, the second prompt icon 22 may be displayed at the corresponding position in the right front control area 221 in the preset orientation graphic 2.

[0105] In the solution provided in this embodiment, by displaying a preset orientation graphic, and then displaying a corresponding prompt icon in the orientation area to which it belongs in the preset orientation graphic based on the first control parameter and the second control parameter, the player can more accurately perceive the deviation between the first control parameter and the second control parameter, and achieve clear feedback of the calibration operation, thereby facilitating the player to accurately calibrate the second control parameter, effectively ensuring precise control of the controlled virtual object, and effectively avoiding the control loss of the controlled virtual object after pause and resumption.

[0106] In the above Figure 2Based on the method shown, the method for controlling virtual objects in the game provided in this embodiment may further include:

[0107] In response to an adjustment operation, according to the adjustment operation, control the second prompt icon to move towards the first prompt icon.

[0108] In this implementation, according to the adjustment operation, the second prompt image can be controlled to move towards the first prompt icon. Each time an adjustment operation is input, the second prompt icon will move accordingly, realizing the dynamic movement of the second prompt icon during the calibration process of the second control parameter, which is convenient for players to accurately perceive the calibration progress of the touch parameter.

[0109] Based on the above embodiment, for the method for controlling virtual objects in the game provided in the embodiment of the present application, before controlling the controlled virtual object to move in the game scene based on the game state parameter according to the calibrated second control parameter, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, then control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

[0110] When the deviation between the calibrated second control parameter and the first control parameter is within a preset range, that is, when the deviation between the calibrated second control parameter and the first control parameter is small or there is no deviation, it can be determined that the calibration of the second control parameter is completed, and then the second prompt icon displayed on the graphical user interface can be directly controlled to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

[0111] In a possible implementation, when it is detected that the calibration of the second control parameter is completed, controlling the second prompt icon to move to the position where the first prompt icon is located can make the first prompt icon and the second prompt icon be displayed simultaneously at the position where the first prompt icon is located to represent that the second control parameter has been calibrated to the first control parameter. Among them, that the second control parameter has been calibrated to the first control parameter and that the calibration of the second control parameter is completed can both refer to: the deviation between the calibrated second control parameter and the first control parameter is within a preset range.

[0112] For example, the first prompt icon can be a hollow graphic with a preset shape, and the second prompt icon is a solid graphic with a preset shape. Therefore, when controlling the second prompt icon to move to the position where the first prompt icon is located, for example, the second prompt icon can be filled into the outline of the first prompt image to vividly represent that the calibration of the second control parameter is completed.

[0113] The movement of the second prompt icon will be illustrated by way of example in conjunction with the accompanying drawings. Figure 5 This is a schematic diagram of a calibrated graphical user interface provided in the embodiment of the present application. Refer to Figure 5, the first prompt icon 21 can be, for example, a hollow star-shaped graphic, and the second prompt icon 22 can be a solid star-shaped graphic. Therefore, when the deviation between the calibrated second control parameter and the first control parameter is within a preset range, the second prompt icon 22 can be controlled to move to the position where the first prompt icon 21 is located, and the outline of the first prompt icon 21 can be filled.

[0114] Of course, in other possible implementation manners, when it is detected that the calibration of the second control parameter is completed, the display of the first prompt icon and the second prompt icon can also be cancelled, and another icon can be redisplayed at the position where the first prompt icon is located to indicate that the second control parameter has been calibrated. The embodiments of the present application do not limit this.

[0115] Based on the above embodiments, for the method for controlling a virtual object in a game provided by the embodiments of the present application, before controlling the controlled virtual object to move in the game scene based on the game state parameter according to the calibrated second control parameter, the method may further include:

[0116] If the deviation between the calibrated second control parameter and the first control parameter is within a preset range, the display mode of the second prompt icon is switched to indicate that the calibration of the second control parameter is completed.

[0117] That is to say, when it is detected that the calibration of the second control parameter is completed, the display mode of the second prompt icon can also be switched. For example, the display color of the second prompt icon is switched from a preset color to another color. For example, before the calibration is completed, the second prompt icon is displayed in yellow, and after the calibration is detected, the second prompt icon is switched to be displayed in green.

[0118] There is also another possible implementation example. Even if the player does not calibrate the second control parameter, but the deviation between the input second control parameter and the first control parameter is within a preset range, it can be considered that the second control parameter meets the calibration condition, and the display mode of the second prompt icon displayed on the graphical user interface can also be the target display mode to indicate that the second control parameter meets the preset calibration condition and does not need to be calibrated. Of course, the target display mode can be the same as the display mode of the second prompt icon after the above calibration is completed, for example, it can also be displayed in green, and of course, it can also be different. The embodiments of the present application do not limit this.

[0119] Continue to refer to the above Figure 3 , in some possible implementation manners of the embodiments of the present application, it may further include: responding to a game continuation operation, and displaying a countdown for a preset calibration duration on the graphical user interface.

[0120] When it is detected that the input game continues operation, that is, when the player continues the game, a countdown of a preset calibration duration can also be displayed on the graphical user interface to indicate the calibration duration for the player, so as to ensure that the player completes the calibration of the second control parameter within the preset calibration duration as quickly as possible. By way of example, the preset calibration duration can be, for example, Figure 3 the 3 seconds shown in

[0121] During the process of calibrating the second control parameter, as time goes by, the countdown also needs to be updated in real time. Referring to Figure 5 , if when the preset calibration duration arrives, that is, when its countdown is 0, and if the calibration of the second control parameter is completed, then the controlled virtual object can be controlled to move with the game state parameters based on the calibrated second control parameter. And if, within the preset calibration duration, the player does not calibrate the second control parameter, or calibrates the second control parameter but does not complete the calibration, then when the preset calibration duration arrives, the controlled virtual object can be directly controlled to move based on the second control parameter, or the controlled virtual object can be controlled to move based on the second control parameter that has been calibrated up to.

[0122] The above method provided by the embodiments of the present application can, when it is detected that the deviation between the calibrated second control parameter and the first control parameter is within the preset range, control the second prompt icon to move to the position where the first prompt icon moves, or the display mode of the second prompt icon can also be switched. That is to say, when it is detected that the calibration of the second control parameter is completed, it can indicate to the player that the second control parameter has been calibrated and there is no need to continue calibration adjustment through multiple different methods, realizing the operation feedback of the control parameter calibration and avoiding the player's misoperation.

[0123] Based on the method shown in any of the above embodiments, the embodiments of the present application also provide a possible implementation manner of the interface display after continuing the game in a method for controlling virtual objects in a game. Figure 6 It is a flowchart of the method for interface display after receiving the game continue operation in a method for controlling virtual objects in a game provided by the embodiments of the present application. As shown in Figure 6 , the method may further include:

[0124] S601. In response to the game continue operation, determine whether the game state parameter meets the state condition of the preset operation.

[0125] For example, taking the controlled virtual object as a virtual vehicle as an example, when receiving the game continue operation, it can be determined whether the state conditions of the braking operation and the offset operation are met according to the moving speed and moving direction in the game state parameter.

[0126] S602. If the state condition of the preset operation is met, display the operation control of the preset operation in the graphical user interface.

[0127] For example Figure 3 As shown, when the state condition for braking is met, the operation control 4 for the braking operation can be displayed in the graphical user interface.

[0128] During the process of calibrating the second manipulation parameter, if a preset control operation input for the operation control of a preset operation is detected, the display state of the operation control 4 for the braking operation in the graphical user interface can also be controlled to switch, for example Figure 5 as shown in, switching from the operation control 4 in the non-braking state to the operation control 4 in the braking state.

[0129] To enrich the display of the calibration feedback of the second manipulation parameter on the graphical user interface, the method may further include:

[0130] If the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range, the display mode of the operation control is switched to indicate that the calibration of the second manipulation parameter is completed.

[0131] By way of example, when the operation control of the preset operation is displayed in the graphical user interface, the display mode of the operation control can also be switched, for example, switching the operation control to another color, to indicate that the calibration of the second manipulation parameter is completed. Suppose that when a game continuation operation is detected, the operation control of the preset operation is displayed in a first color such as yellow, then after detecting that the calibration of the second manipulation parameter is completed, the operation control of the preset manipulation can be switched to be displayed in a second color, such as displaying the operation control of the preset operation in green.

[0132] In the method provided by the embodiments of the present application, when the operation control of the preset operation is displayed, the display mode of the operation control of the preset operation can also be switched to indicate that the calibration of the second manipulation parameter is completed, enriching the operation feedback during the calibration process and effectively avoiding misoperations by players after calibration is completed.

[0133] Based on any of the above methods, for the calibration reference of the manipulation parameter, that is, the first calibration parameter, the embodiments of the present application also provide various possible implementation manners.

[0134] In a possible implementation example, before calibrating the second manipulation parameter corresponding to the control operation with the preset first manipulation parameter as the reference in response to the input game continuation operation and the control operation input for the controlled virtual object in the above method S102, the method may further include:

[0135] Respond to the game pause operation and record the first manipulation parameter for the controlled virtual object at the target time point.

[0136] For single-player games or multi-player online games, when the game is paused, that is, when a game pause operation is received, the control parameters input by the player for the controlled virtual object at the target historical point before the pause are recorded as the first control parameters. In this way, when the game resumes, that is, when a game resume operation is received, the calibration is actually based on the first control parameters before the pause, which can effectively ensure that the second control parameters after calibration are as consistent as possible with the first control parameters. After the game resumes, the control parameters are consistent with those before the pause, which can effectively avoid the out-of-control phenomenon of the controlled virtual object after the game resumes.

[0137] In a possible implementation example, before calibrating the second control parameter corresponding to the control operation with the preset first control parameter in response to the input game resume operation and the control operation input for the controlled virtual object in the above method S102, the method may further include:

[0138] Determine the optimal control parameter in the current game mode as the first control parameter according to the game state parameter.

[0139] For example, in the single-player game mode, according to the movement speed in the game state parameter, using the corresponding relationship between the preset movement speed and the calibration requirement, determine the calibration requirement corresponding to the movement speed as the target calibration requirement, and then based on this target calibration requirement, determine the optimal control parameter in the single-player game mode as the first control parameter. It is also possible to determine the optimal calibration requirement in the current state as the target calibration requirement according to the movement speed and movement direction in the game state parameter, based on the preset judgment rule and the position of the controlled virtual object.

[0140] In this implementation example, when a game resume operation is received, determining the optimal control parameter as the first operation parameter based on the game state parameter can enable the player to enter the optimal control parameter through calibration after the game resumes. In this way, while avoiding the out-of-control of the controlled virtual object, it can also enable the player to master and learn the optimal control parameter as soon as possible, improving the player's game operation experience.

[0141] The following describes the virtual object control device, device, and storage medium in the game provided by the present application for execution. For the specific implementation process and technical effects, refer to the above, and the following will not be elaborated.

[0142] Figure 7 FIG. is a schematic structural diagram of a virtual object control device in a game provided by an embodiment of the present application. The virtual object control device in the game can provide a graphical user interface through a terminal device. The graphical user interface includes: a game scene with a controlled virtual object. As Figure 7 shown, the virtual object control device 700 in the game may include:

[0143] A recording module 701, configured to respond to an input game pause operation and record game state parameters of a controlled virtual object at a target historical time point before receiving the game pause operation.

[0144] A calibration module 702, configured to respond to an input game resume operation and a control operation input for the controlled virtual object, and calibrate a second manipulation parameter corresponding to the control operation with a preset first manipulation parameter as a reference.

[0145] A control module 703, configured to control the controlled virtual object to move in a game scene based on the game state parameters according to the calibrated second manipulation parameter.

[0146] The virtual object control device in a game provided by an embodiment of the present application can record game state parameters of a controlled virtual object at a target historical time point when receiving an input game pause operation through the recording module, and can record game state parameters of the controlled virtual object before pausing when accurately judging the passive pause timing of the game. Secondly, after the game resumes, the calibration module can also calibrate the second manipulation parameter after the game resumes based on the preset first manipulation parameter, realizing the calibration of the manipulation parameter for the controlled virtual object after the game resumes, ensuring that the control of the controlled virtual object after the game resumes is more controllable. Moreover, after the game resumes, the control module can also control the controlled virtual object to move based on the calibrated second manipulation parameter and the game state parameters before the game pause, enabling the state of the controlled virtual object to be consistent with that before the game pause when controlling the controlled virtual object after the game resumes, thereby further ensuring the controllability of the controlled virtual object after the game resumes, effectively avoiding the out-of-control phenomenon of the controlled virtual object after the game resumes, and thus avoiding the problem of wasted game time caused by pausing and resuming during the game process, effectively improving the game experience of players.

[0147] In a feasible implementation, the calibration module 702 is specifically configured to, in response to a game resume operation, display a calibration interface in a graphical user interface, and display a first prompt icon at a position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter; in response to a control operation, display a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter; and in response to an adjustment operation input for the control operation, calibrate the second manipulation parameter according to the adjustment operation.

[0148] In a feasible implementation, the first control parameter includes: a first control orientation, and the second control parameter includes: a second control orientation; the calibration interface includes: a preset orientation graph. The calibration module 702 is specifically configured to display a first prompt icon at a position corresponding to the first control orientation in the preset orientation graph according to the first control orientation; and display a second prompt icon at a position corresponding to the second control orientation in the preset orientation graph according to the second control orientation.

[0149] In a feasible implementation, the preset orientation graph includes: a plurality of orientation regions, and the plurality of orientation regions respectively correspond to a plurality of different control orientations relative to the controlled virtual object. The calibration module 702 is specifically configured to display a first prompt icon at a corresponding position within the orientation region to which the first control orientation belongs in the preset orientation graph according to the first control orientation; and display a second prompt icon at a corresponding position within the orientation region to which the second control orientation belongs in the preset orientation graph according to the second control orientation.

[0150] In a feasible implementation, the control module 703 is further configured to respond to an adjustment operation, and control the second prompt icon to move towards the first prompt icon according to the adjustment operation.

[0151] In a feasible implementation, the control module 703 is further configured to, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

[0152] In a feasible implementation, the control module 703 is further configured to, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the second prompt icon to indicate that the calibration of the second control parameter is completed.

[0153] In a feasible implementation, the control module 703 is further configured to respond to a game continuation operation and display a countdown for a preset calibration duration in the graphical user interface.

[0154] In a feasible implementation, the control module 703 is further configured to respond to a game continuation operation, determine whether the game state parameter meets the state condition of a preset operation; if the state condition of the preset operation is met, display an operation control of the preset operation in the graphical user interface.

[0155] In a feasible implementation, the control module 703 is further configured to, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the operation control to indicate that the second control parameter has been calibrated.

[0156] In a feasible implementation, the recording module 701 is further configured to record, in response to a game pause operation, the first manipulation parameter for the controlled virtual object at the target time point.

[0157] In a feasible implementation, the virtual object control device 700 in the game may further include:

[0158] A determination module, configured to determine the optimal manipulation parameter in the current game mode as the first manipulation parameter according to the game state parameter.

[0159] Figure 8 The following is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may be a client device or a server, such as Figure 8 As shown, the electronic device 800 may include: a processor 801, a storage medium 802, and a bus 803. The storage medium 802 stores machine-readable instructions executable by the processor 801. When the electronic device runs a method for controlling a virtual object in a game as described in the embodiment, the processor 801 communicates with the storage medium 802 through the bus 803. The processor 801 executes the machine-readable instructions, and the processor 801 provides a graphical user interface through a terminal device. The graphical user interface includes: a game scene with a controlled virtual object, and further performs the following steps:

[0160] In response to an input game pause operation, record the game state parameter of the controlled virtual object at the target historical time point before receiving the game pause operation;

[0161] In response to an input game resume operation and a control operation input for the controlled virtual object, calibrate the second manipulation parameter corresponding to the control operation with the preset first manipulation parameter as a reference;

[0162] Control the controlled virtual object to move in the game scene based on the game state parameter according to the calibrated second manipulation parameter.

[0163] In a feasible implementation, when the processor 801 executes the operation of responding to an input game resume operation and a control operation input for the controlled virtual object, and calibrating the second manipulation parameter corresponding to the control operation with the preset first manipulation parameter as a reference, it is specifically configured to:

[0164] In response to the game resume operation, display a calibration interface in the graphical user interface, and display a first prompt icon at the position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter;

[0165] In response to the control operation, display a second prompt icon at the position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter;

[0166] In response to an adjustment operation input for a control operation, calibrate the second control parameter according to the adjustment operation.

[0167] In a feasible implementation, the first control parameter includes: a first control orientation, and the second control parameter includes: a second control orientation; the calibration interface includes: a preset orientation graph. When the processor 801 executes to display a first prompt icon at the position corresponding to the first control parameter on the calibration interface according to the first control parameter, it is specifically used for: displaying the first prompt icon at the position corresponding to the first control orientation in the preset orientation graph according to the first control orientation.

[0168] When the processor 801 executes to display a second prompt icon at the position corresponding to the second control parameter on the calibration interface according to the second control parameter, it is specifically used for: displaying the second prompt icon at the position corresponding to the second control orientation in the preset orientation graph according to the second control orientation.

[0169] In a feasible implementation, the preset orientation graph includes: a plurality of orientation regions, and the plurality of orientation regions respectively correspond to a plurality of different control orientations relative to the controlled virtual object.

[0170] When the processor 801 executes to display the first prompt icon at the position corresponding to the first control orientation in the preset orientation graph according to the first control orientation, it is specifically used for: displaying the first prompt icon at the corresponding position within the orientation region to which the first control orientation belongs in the preset orientation graph according to the first control orientation.

[0171] When the processor 801 executes to display the second prompt icon at the position corresponding to the second control orientation in the preset orientation graph according to the second control orientation, it is specifically used for: displaying the second prompt icon at the corresponding position within the orientation region to which the second control orientation belongs in the preset orientation graph according to the second control orientation.

[0172] In a feasible implementation, the processor 801 is further configured to, in response to the adjustment operation, control the second prompt icon to move towards the first prompt icon according to the adjustment operation.

[0173] In a feasible implementation, before the processor 801 is further configured to control the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, then control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

[0174] In a feasible implementation, before the processor 801 is further configured to control the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter, if the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range, the display mode of the second prompt icon is switched to indicate that the calibration of the second manipulation parameter is completed.

[0175] In a feasible implementation, the processor 801 is further configured to respond to a game continuation operation and display a countdown for a preset calibration duration in the graphical user interface.

[0176] In a feasible implementation, the processor 801 is further configured to respond to a game continuation operation and determine whether the game state parameters meet the state conditions for a preset operation; if the state conditions for the preset operation are met, an operation control for the preset operation is displayed in the graphical user interface.

[0177] In a feasible implementation, the processor 801 is further configured to switch the display mode of the operation control to indicate that the calibration of the second manipulation parameter is completed if the deviation between the calibrated second manipulation parameter and the first manipulation parameter is within a preset range.

[0178] In a feasible implementation, before the processor 801 is further configured to calibrate the second manipulation parameter corresponding to a control operation with the preset first manipulation parameter as a reference in response to an input game continuation operation and a control operation input for the controlled virtual object, in response to a game pause operation, the first manipulation parameter for the controlled virtual object at the target time point is recorded.

[0179] In a feasible implementation, before the processor 801 is further configured to calibrate the second manipulation parameter corresponding to a control operation with the preset first manipulation parameter as a reference in response to an input game continuation operation and a control operation input for the controlled virtual object, the optimal manipulation parameter in the current game mode is determined as the first manipulation parameter according to the game state parameters.

[0180] In the above manner, when the electronic device receives an input game pause operation, it can record the game state parameters of the controlled virtual object at the target historical time point, achieving accurate judgment of the passive game pause timing and recording the game state parameters of the controlled virtual object before the pause. Secondly, after the game resumes, it can also calibrate the second control parameter after the game resumes based on the preset first control parameter, realizing the calibration of the control parameter for the controlled virtual object after the game resumes, ensuring that the control of the controlled virtual object after the game resumes is more controllable. Moreover, after the game resumes, it can also control the controlled virtual object to move based on the game state parameters before the game pause based on the calibrated second control parameter, enabling the state of the controlled virtual object to be consistent with that before the game pause when controlling the controlled virtual object after the game resumes, thus further ensuring the controllability of the controlled virtual object after the game resumes, effectively avoiding the out-of-control phenomenon of the controlled virtual object after the game resumes, and thus avoiding the problem of wasted game time caused by the player pausing and resuming during the game process, effectively improving the player's game experience.

[0181] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the processor executes the following steps:

[0182] Respond to the input game pause operation, and record the game state parameters of the controlled virtual object at the target historical time point before receiving the game pause operation;

[0183] Respond to the input game resume operation and the control operation input for the controlled virtual object, and use the preset first control parameter as a reference to calibrate the second control parameter corresponding to the control operation;

[0184] According to the calibrated second control parameter, control the controlled virtual object to move in the game scene based on the game state parameters.

[0185] In a feasible implementation, when the processor executes the response to the input game resume operation and the control operation input for the controlled virtual object, and uses the preset first control parameter as a reference to calibrate the second control parameter corresponding to the control operation, it is specifically used for:

[0186] Respond to the game resume operation, display a calibration interface in the graphical user interface, and display a first prompt icon at the position corresponding to the first control parameter on the calibration interface according to the first control parameter;

[0187] Respond to the control operation, and display a second prompt icon at the position corresponding to the second control parameter on the calibration interface according to the second control parameter;

[0188] In response to an adjustment operation input for a control operation, calibrate the second control parameter according to the adjustment operation.

[0189] In a feasible implementation, the first control parameter includes: a first control orientation, and the second control parameter includes: a second control orientation; the calibration interface includes: a preset orientation graph. When the processor 801 executes to display a first prompt icon at a position corresponding to the first control parameter on the calibration interface according to the first control parameter, it is specifically configured to: display the first prompt icon at a position corresponding to the first control orientation in the preset orientation graph according to the first control orientation.

[0190] When the processor executes to display a second prompt icon at a position corresponding to the second control parameter on the calibration interface according to the second control parameter, it is specifically configured to: display the second prompt icon at a position corresponding to the second control orientation in the preset orientation graph according to the second control orientation.

[0191] In a feasible implementation, the preset orientation graph includes: a plurality of orientation regions, and the plurality of orientation regions respectively correspond to a plurality of different control orientations relative to the controlled virtual object.

[0192] When the processor executes to display the first prompt icon at a position corresponding to the first control orientation in the preset orientation graph according to the first control orientation, it is specifically configured to: display the first prompt icon at a corresponding position within the orientation region to which the first control orientation belongs in the preset orientation graph according to the first control orientation.

[0193] When the processor executes to display the second prompt icon at a position corresponding to the second control orientation in the preset orientation graph according to the second control orientation, it is specifically configured to: display the second prompt icon at a corresponding position within the orientation region to which the second control orientation belongs in the preset orientation graph according to the second control orientation.

[0194] In a feasible implementation, the processor is further configured to respond to the adjustment operation and control the second prompt icon to move towards the first prompt icon according to the adjustment operation.

[0195] In a feasible implementation, before the processor is further configured to control the controlled virtual object to move in the game scene based on the game state parameter according to the calibrated second control parameter, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, then control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

[0196] In a feasible implementation, the processor is further configured to, before controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the second prompt icon to indicate that the calibration of the second control parameter is completed.

[0197] In a feasible implementation, the processor is further configured to respond to a game resume operation and display a countdown for a preset calibration duration in the graphical user interface.

[0198] In a feasible implementation, the processor is further configured to respond to a game resume operation and determine whether the game state parameters meet the state conditions for a preset operation; if the state conditions for the preset operation are met, display the operation control for the preset operation in the graphical user interface.

[0199] In a feasible implementation, the processor is further configured to, if the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the operation control to indicate that the calibration of the second control parameter is completed.

[0200] In a feasible implementation, the processor is further configured to, before calibrating the second control parameter corresponding to a control operation with the preset first control parameter as a reference in response to an input game resume operation and a control operation input for the controlled virtual object, record the first control parameter for the controlled virtual object at the target time point in response to a game pause operation.

[0201] In a feasible implementation, the processor is further configured to, before calibrating the second control parameter corresponding to a control operation with the preset first control parameter as a reference in response to an input game resume operation and a control operation input for the controlled virtual object, determine the optimal control parameter in the current game mode as the first control parameter according to the game state parameters.

[0202] In the above - mentioned manner, when receiving an input game pause operation, the game state parameters of the controlled virtual object at the target historical time point can be recorded. When the accurate judgment of the passive pause timing of the game is achieved, the game state parameters of the controlled virtual object before the pause are recorded. Secondly, after the game resumes, the second control parameter after the game resume can be calibrated based on the preset first control parameter, realizing the calibration of the control parameter for the controlled virtual object after the game resume, ensuring that the control of the controlled virtual object after the game resume is more controllable. Moreover, after the game resumes, based on the calibrated second control parameter, it can be controlled that the controlled virtual object moves based on the game state parameters before the game pause, enabling the state of the controlled virtual object to be consistent with that before the game pause when controlling the controlled virtual object after the game resume, further ensuring the controllability of the controlled virtual object after the game resume, effectively avoiding the out - of - control phenomenon of the controlled virtual object after the game resume, thus avoiding the problem of wasted game time caused by the player pausing and resuming during the game process, and effectively improving the player's game experience.

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

[0204] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. Also, 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 displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0205] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0206] In addition, the functional units in the embodiments provided in the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0207] When the above-mentioned 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 this application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing 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 methods described in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0208] It should be noted that: similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.

[0209] Finally, it should be noted that: the above-mentioned embodiments are only specific implementation manners of this application, used to illustrate the technical solution of this application, rather than limiting it. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed in this application can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. A method for controlling virtual objects in a game, characterized in that, a graphical user interface is provided by a terminal device, and the graphical user interface includes: a game scene with controlled virtual objects, and the method includes: responding to an input game pause operation, and recording game state parameters of the controlled virtual object at a target historical time point before receiving the game pause operation; responding to an input game resume operation and a control operation input for the controlled virtual object, and calibrating a second manipulation parameter corresponding to the control operation with a preset first manipulation parameter as a reference; controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter; wherein, the first manipulation parameter includes: a first manipulation orientation, and the second manipulation parameter includes: a second manipulation orientation; the step of responding to an input game resume operation and a control operation input for the controlled virtual object, and calibrating a second manipulation parameter corresponding to the control operation with a preset first manipulation parameter as a reference includes: responding to the game resume operation, displaying a calibration interface in the graphical user interface, and displaying a first prompt icon at a position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter; responding to the control operation, and displaying a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter; responding to an adjustment operation input for the control operation, and calibrating the second manipulation parameter according to the adjustment operation.

2. The method according to claim 1, characterized in that, the calibration interface includes: a preset orientation graph; the step of displaying a first prompt icon at a position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter includes: displaying the first prompt icon at a position corresponding to the first manipulation orientation in the preset orientation graph according to the first manipulation orientation; correspondingly, the step of displaying a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter includes: displaying the second prompt icon at a position corresponding to the second manipulation orientation in the preset orientation graph according to the second manipulation orientation.

3. The method according to claim 2, characterized in that, the preset orientation graph includes: a plurality of orientation regions, and the plurality of orientation regions respectively correspond to a plurality of different manipulation orientations relative to the controlled virtual object; the step of displaying the first prompt icon at a position corresponding to the first manipulation orientation in the preset orientation graph according to the first manipulation orientation includes: displaying the first prompt icon at a corresponding position within the orientation region to which the first manipulation orientation belongs in the preset orientation graph according to the first manipulation orientation; correspondingly, the step of displaying the second prompt icon at a position corresponding to the second manipulation orientation in the preset orientation graph according to the second manipulation orientation includes: According to the second control orientation, display the second prompt icon at a corresponding position within the orientation area to which the second control orientation belongs in the preset orientation graph.

4. The method according to claim 1, wherein, the method further includes: In response to the adjustment operation, according to the adjustment operation, control the second prompt icon to move towards the first prompt icon.

5. The method according to claim 1, wherein, before controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter, the method further includes: If the deviation between the calibrated second control parameter and the first control parameter is within a preset range, control the second prompt icon to move to the position where the first prompt icon is located to indicate that the calibration of the second control parameter is completed.

6. The method according to claim 1, wherein, before controlling the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second control parameter, the method further includes: If the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the second prompt icon to indicate that the calibration of the second control parameter is completed.

7. The method according to claim 1, wherein, the method further includes: In response to the game continuation operation, display a countdown for a preset calibration duration in the graphical user interface.

8. The method according to claim 1, wherein, the method further includes: In response to the game continuation operation, determine whether the game state parameter meets the state condition of a preset operation; If the state condition of the preset operation is met, display the operation control of the preset operation in the graphical user interface.

9. The method according to claim 8, wherein, the method further includes: If the deviation between the calibrated second control parameter and the first control parameter is within a preset range, switch the display mode of the operation control to indicate that the calibration of the second control parameter is completed.

10. The method according to claim 1, wherein, before calibrating the second control parameter corresponding to the control operation with the preset first control parameter in response to the input game continuation operation and the control operation input for the controlled virtual object, the method further includes: In response to the game pause operation, record the first control parameter for the controlled virtual object at the target historical time point.

11. The method according to claim 1, wherein, before calibrating the second control parameter corresponding to the control operation with the preset first control parameter, the method further includes: According to the game state parameter, determine the optimal control parameter in the current game mode as the first control parameter.

12. A virtual object control device in a game, wherein, A graphical user interface is provided through a terminal device, and the graphical user interface includes: a game scene with a controlled virtual object, and the device includes: A recording module, configured to respond to an input game pause operation and record the game state parameters of the controlled virtual object at a target historical time point before receiving the game pause operation; A calibration module, configured to respond to an input game resume operation and a control operation input for the controlled virtual object, and calibrate the second manipulation parameter corresponding to the control operation with a preset first manipulation parameter as a reference; A control module, configured to control the controlled virtual object to move in the game scene based on the game state parameters according to the calibrated second manipulation parameter; Wherein, the first manipulation parameter includes: a first manipulation orientation, and the second manipulation parameter includes: a second manipulation orientation; The calibration module is specifically configured to, in response to the game resume operation, display a calibration interface in the graphical user interface, and display a first prompt icon at a position corresponding to the first manipulation parameter on the calibration interface according to the first manipulation parameter; in response to the control operation, display a second prompt icon at a position corresponding to the second manipulation parameter on the calibration interface according to the second manipulation parameter; and in response to an adjustment operation input for the control operation, calibrate the second manipulation parameter according to the adjustment operation.

13. An electronic device, Characterized in that, It includes: A processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the method for controlling a virtual object in a game according to any one of claims 1 to 11.

14. A computer-readable storage medium, Characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, it performs the steps of the method for controlling a virtual object in a game according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Object control method and device, storage medium and electronic device

    CN109806590A

  • Control method and device of aiming direction in game, electronic equipment and storage medium

    CN110665222A