Virtual object control method and apparatus, storage medium, and electronic device
By displaying operation guidance controls and visual elements in shooting games, the problem of low training efficiency caused by players figuring out gun recoil on their own is solved, which improves the intuitiveness and efficiency of recoil control training and enhances the gaming experience.
Patent Information
- Application Number
- CN202210979543.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2042-08-16
AI Technical Summary
In existing shooting games, players need to learn to adapt to gun recoil through a lot of independent exploration, resulting in low efficiency in recoil control training and a poor gaming experience.
By displaying operation guidance controls and visual elements on the graphical user interface, it assists players in correcting operational deviations in real time, improving the intuitiveness and efficiency of recoil control training.
It improves the efficiency of players controlling virtual objects for recoil control training, enhancing the gaming experience.
Smart Images

Figure CN115317898B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of games, and particularly relates to a virtual object control method, a virtual object control device, a computer readable storage medium and an electronic device. BACKGROUND
[0002] In order to simulate the real gun shooting performance, the recoil force generated when the shooting props shoot is also added to the shooting game on the market. When the shooting props are continuously fired, the recoil force causes the position of each impact point to change constantly, so players generally adapt to the recoil force of the shooting props through a large amount of gun pressing training, thereby improving the accuracy of shooting.
[0003] However, when the current player controls the virtual object to control the shooting props to perform the gun pressing training, the player generally gradually adapts through self-exploration, thereby improving the accuracy of shooting.
[0004] Therefore, the current gun pressing training efficiency is low. SUMMARY
[0005] The present disclosure provides a virtual object control method, a virtual object control device, a computer readable storage medium and an electronic device, thereby improving the efficiency of the player controlling the virtual object to control the virtual props to perform the gun pressing training and improving the game experience of the player.
[0006] In a first aspect, an embodiment of the present disclosure provides a virtual object control method, which comprises: receiving a control operation, controlling a virtual object to control a shooting prop to perform a shooting behavior according to the control operation; in the case that a response to the shooting behavior meets a preset shooting parameter, obtaining operation information of the control operation; and controlling an operation guide control on a graphical user interface to display a visual element corresponding to the operation information according to the operation information of the control operation.
[0007] In an optional embodiment of the present disclosure, the operation guide control is obtained according to a prop parameter of the shooting prop.
[0008] In an optional embodiment of the present disclosure, the operation guide control comprises a target path identifier with a preset path shape and a progress identifier, wherein the progress identifier is configured to update the progress according to a preset speed.
[0009] In an optional embodiment of the present disclosure, the operation guide control on the graphical user interface is controlled to display the visual element corresponding to the operation information according to the operation information of the control operation, comprising: according to operation path information in the operation information, displaying an operation path identifier corresponding to the operation path information at the target path identifier.
[0010] In an optional embodiment of the present disclosure, according to the operation path information in the operation information, the operation path identifier corresponding to the operation path information is displayed on the target path identifier, including: in the case that the deviation angle between the current operation path identifier and the target path identifier is greater than the preset deviation angle, generating first warning information for indicating path deviation, and / or, differentially displaying the operation path identifier of the path deviation.
[0011] In an optional embodiment of the present disclosure, in the case that the deviation angle between the current operation path identifier and the target path identifier is greater than the preset deviation angle, the first warning information for indicating path deviation is generated, including: based on the deviation angle between the current operation path identifier and the target path identifier being greater than the preset deviation angle, and the path deviation duration being greater than the preset deviation duration, generating the first warning information for indicating path deviation.
[0012] In an optional embodiment of the present disclosure, according to the operation information of the control operation, the operation guide control on the graphical user interface is controlled to display visual elements corresponding to the operation information, including: based on the operation path change speed information in the operation information, generating display parameters of the operation path identifier corresponding to the operation path information in the operation information at the target path identifier.
[0013] In an optional embodiment of the present disclosure, based on the operation path change speed information in the operation information, the display parameters of the operation path identifier corresponding to the operation path information in the operation information are generated at the target path identifier, including: in the case that the difference between the current operation path change speed and the operation path change speed corresponding to the operation guide control is greater than the preset speed threshold, then generating second warning information for indicating speed deviation, and / or, differentially displaying the display parameters of the speed deviation.
[0014] In an optional embodiment of the present disclosure, in response to the exit operation on the gun pressing training control, the gun pressing training mode is exited according to the exit operation.
[0015] In a second aspect, an embodiment of the present disclosure provides a virtual object control device, which comprises: an information receiving module configured to receive a control operation, and control a virtual object to control a shooting prop to perform a shooting behavior according to the control operation; an information obtaining module configured to obtain operation information of the control operation in response to the shooting parameter of the shooting behavior meeting a preset shooting parameter; and an indication display module configured to control an operation guide control on a graphical user interface to display visual elements corresponding to the operation information according to the operation information of the control operation.
[0016] In an optional embodiment of the present disclosure, the information obtaining module is configured to obtain the corresponding operation guide control according to the prop parameter of the shooting prop.
[0017] In an optional embodiment of the present disclosure, the information determining module is configured to operate the instruction control to include a target path identifier with a preset path shape and a progress identifier, wherein the progress identifier is configured to update the progress identifier according to the preset speed.
[0018] In an optional embodiment of the present disclosure, the instruction display module is configured to display, according to the operation path information in the operation information, an operation path identifier corresponding to the operation path information at the target path identifier.
[0019] In an optional embodiment of the present disclosure, the instruction display module is configured to generate first warning information for indicating the path deviation and / or to display the operation path identifier of the path deviation differently, in a case where the deviation angle between the current operation path identifier and the target path identifier is greater than a preset deviation angle.
[0020] In an optional embodiment of the present disclosure, the instruction display module is configured to generate first warning information for indicating the path deviation, in a case where the deviation angle between the current operation path identifier and the target path identifier is greater than a preset deviation angle, and the path deviation duration is greater than a preset deviation duration.
[0021] In an optional embodiment of the present disclosure, the instruction display module is configured to generate, based on the operation path change speed information in the operation information, a display parameter of the operation path identifier corresponding to the operation path information in the operation information at the target path identifier.
[0022] In an optional embodiment of the present disclosure, the instruction display module is configured to generate second warning information for indicating the speed deviation and / or to display the display parameter of the speed deviation differently, in a case where the difference between the current operation path change speed and the operation path change speed corresponding to the instruction control is greater than a preset speed threshold.
[0023] In an optional embodiment of the present disclosure, the gun exit module is configured to exit the gun training mode according to an exit operation of the gun training control in response to the exit operation.
[0024] In a third aspect, an embodiment of the present disclosure provides a computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the virtual object control method as above.
[0025] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the virtual object control method as above via execution of the executable instructions.
[0026] The technical solution of the present disclosure has the following beneficial effects:
[0027] The virtual object control method provided by the example embodiment of the present disclosure comprises: receiving a control operation, controlling a virtual object to control a shooting prop to perform a shooting action according to the control operation; in the case that the shooting action meets a preset shooting parameter, obtaining operation information of the control operation; and controlling an operation guide control on a graphical user interface to display a visual element corresponding to the operation information according to the operation information of the control operation. When a player controls a virtual object to control a shooting prop to perform a continuous shooting operation, the method intuitively displays an operation guide control assisting the player in the control operation in an image user interface, and also displays a visual element corresponding to the operation information on the image interface, so that the player can intuitively determine the actual operation state and the error between the operation guide control, so as to correct the current operation in real time, thereby improving the efficiency of the gun pressing training. The technical scheme solves the technical problem of low efficiency of the gun pressing training caused by the need for the player to independently explore to gradually adapt to the recoil force law in the traditional method, thereby achieving the technical effect of improving the efficiency of the gun pressing training of the game player, and further improving the game experience of the player.
[0028] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0029] The drawings incorporated into the specification and forming part of the specification, show embodiments consistent with the present disclosure, and together with the specification, serve to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.
[0030] Figure 1 The bullet drop position diagram of a gun continuous shooting process in the example embodiment is schematically shown;
[0031] Figure 2 The application scenario diagram of a virtual object control method in the example embodiment is schematically shown;
[0032] Figure 3 The flowchart of a virtual object control method in the example embodiment is schematically shown;
[0033] Figure 4 The flowchart of another virtual object control method in the example embodiment is schematically shown;
[0034] Figure 5 The diagram of determining an operation guide control in the example embodiment is schematically shown;
[0035] Figure 6FIG. 6 is a diagram illustrating another example of determining an operation instruction control in the present exemplary embodiment;
[0036] Figure 7 FIG. 7 is a diagram illustrating an example of displaying first warning information and performing a differentiated display in the present exemplary embodiment;
[0037] Figure 8 FIG. 8 is a diagram illustrating an example of displaying second warning information and performing a differentiated display in the present exemplary embodiment;
[0038] Figure 9 FIG. 9 is a diagram illustrating an example of displaying prompt information and performing a differentiated display in the present exemplary embodiment;
[0039] Figure 10 FIG. 10 is a diagram illustrating an example of a virtual object control device structure in the present exemplary embodiment;
[0040] Figure 11 FIG. 11 is a diagram illustrating another example of a virtual object control device structure in the present exemplary embodiment;
[0041] Figure 12 FIG. 12 is a diagram illustrating an example of an electronic device structure in the present exemplary embodiment. DETAILED DESCRIPTION
[0042] Example embodiments now will be described more fully hereinafter with reference to the accompanying drawings. Example embodiments, however, can be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of example embodiments to those skilled in the art. Like reference numerals refer to like elements throughout. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting; terms such as "first," "second," and the like can be understood as having a temporal meaning inasmuch as they refer to sequential priority, and do not necessarily refer to a spatial priority. Unless explicitly stated otherwise, embodiments described herein are not mutually exclusive; that is, aspects of the described embodiments can be selectably combined with each other independently of or in combination with other aspects or features described herein. The terminology includes the sense indicated by the
[0043] In addition, the drawings of the various aspects are diagrammatic and so are not necessarily to scale. Like reference numerals in different drawings denote like features, and so repeated description of these features can be omitted. Some of the drawings can be schematic representations of functional entities, which do not necessarily correspond to physically or logically separate entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0044] The flowchart shown in the drawing is only an exemplary illustration and does not necessarily include all the steps. For example, some steps can be further broken down, and some steps can be combined or partially combined, so the actual execution order can be changed according to the actual situation.
[0045] The virtual object control method provided by the exemplary embodiments of the present disclosure can be applied to any application scenario using firearms shooting. For example, a training field of a gunfight network game, a battle game, and the like.
[0046] In a gunfight network game, in order to simulate the real performance of firearm shooting, the recoil force generated when a firearm shooting prop is shot is usually added to the game. In different network games, the intensity of the recoil force of the same firearm is different, and the recoil force of different firearms in the same network game is also different. Among them, the recoil force is the pressure of the bullet shell when the firearm is fired, which pushes the gun back, and the push generated by the gun that hits the machine frame connected to the buttstock. For players, especially beginners, the bullet impact point position is not at the same position during continuous shooting with a firearm, and therefore, adapting to the recoil force of the firearm is one of the difficulties of shooting games.
[0047] Figure 1 A schematic diagram of a bullet impact point position in a continuous shooting process of a firearm in the exemplary embodiments is shown. Referring to Figure 1 In the game interface 100 shown in the exemplary virtual scene, a shooting prop 101, a shooting target object 102, and a virtual object 104 are included. When the virtual object 104 uses the shooting prop 101 to continuously shoot at the shooting target object 102, a bullet impact point position 103 appears on the shooting target object 102 under the influence of the recoil force. Due to the recoil force of the firearm, the bullet impact point position is different, thereby affecting the shooting accuracy during continuous shooting. For example, in a battle shooting game, a player can kill an enemy character by continuous shooting. Due to the recoil force of the firearm, the bullet impact point position is different, which can cause the player to be unable to accurately shoot. Therefore, the player needs to overcome the recoil force of the firearm to improve the shooting accuracy.
[0048] Currently, players usually overcome the recoil force of the firearm in shooting games through a large amount of gun pressing training. This method requires the player to independently explore the recoil force rule of the firearm. The player can also observe the connection line of the bullet impact point positions of each firearm during continuous shooting, which is used as a reference to train the moving direction of the firearm and improve the gun pressing operation level of the player. However, this method is only for visual observation, and the player still needs to perform a large amount of training to gradually explore, thereby causing poor intuitiveness of the gun pressing training, low efficiency of the gun pressing training of the player, and reduced game experience of the player.
[0049] The exemplary embodiments of the present disclosure consider the above problems, and propose a virtual object control method. The method displays, in real time, operation guide controls for indicating player operations and visual elements corresponding to operation information of the player in an actual operation process on a graphical user interface of a terminal device when the player controls a virtual object to control a shooting prop to perform a continuous shooting operation. The method can intuitively assist the player in performing a control operation according to the operation guide controls to complete a gun pressing training process of the shooting prop, so as to timely adjust the control operation process of the player when there is a deviation between the actual operation of the corresponding visual elements and the operation guide controls. The method solves the problem in the prior art that the player needs to gradually explore the recoil force law of the firearm through a large amount of gun pressing training, which makes the gun pressing training less intuitive and low in efficiency. The method can intuitively provide the operation guide controls for the gun pressing training for the player, improve the intuitiveness of the player in performing the gun pressing training process of the virtual object controlling the shooting prop, and improve the gun pressing training efficiency of the player according to the operation guide controls for the gun pressing training, thereby improving the technical effect of the player's game experience.
[0050] The application environment of the virtual object control method provided by the embodiments of the present disclosure is briefly introduced as follows:
[0051] Figure 2 An application scenario of a virtual object control method in the exemplary embodiments is schematically shown. Referring to Figure 2 , Figure 2 The terminal device and a game scenario of a gun battle type game (first person perspective) are taken as examples for illustration.
[0052] The terminal device can be a personal computer, a server, a personal digital assistant (PDA), a notebook computer, or any other computing device with networking function.
[0053] In the game scenario 201 of the gun battle type game, a shooting control 202 for controlling bullet firing, a shooting prop 203, a bullet 204, a target 205, and a bullet impact point position 206 are included. The game scenario 201 further includes a virtual object not shown, and the virtual object is equipped with the shooting prop 203. The player can make the bullet 204 hit the bullet impact point position 206 from the shooting prop 203 along a bullet flight direction by touching the shooting control 202. Generally, the shooting control 202 can be continuously clicked to continuously fire the bullet 204 from the shooting prop 203.
[0054] To assist the player in controlling the virtual object to control the shooting props to adapt to the recoil of the firearm, the pre-configured operation guide control 2071 and the operation guide control 2072 for indicating the player to perform the gun pressing training can be displayed in the game scene 201. Among them, the operation guide control 2072 is a whole preset operation process pre-configured and displayed in the game scene 201; and the operation guide control 2071 is the operation information completed at the current time.
[0055] If the terminal device is a PAD, the PAD can receive and respond to the control operation of the player on the graphical user interface of the PAD to control the virtual object to control the shooting props to perform the shooting behavior according to the control operation; in the case that the shooting parameter of the shooting behavior meets the preset shooting parameter, the operation information 209 of the control operation is obtained; and the operation guide control 2071 and the operation guide control 2072 on the graphical user interface are controlled to display the visual element 208 corresponding to the operation information 209 according to the operation information 209 of the control operation. That is, the player can slide on the mobile phone interface according to the operation guide control 2072 (i.e., the control operation), to form the operation information 209 of the control operation. Finally, the visual element 208 corresponding to the operation information 209 is displayed at the position corresponding to the operation guide control 2072.
[0056] The example embodiment of the present disclosure can be applied to a terminal device, and can also be applied to a server. Hereinafter, the terminal device will be taken as an execution subject, and the virtual object control method will be taken as an example for illustration.
[0057] Figure 3 An example flowchart of a virtual object control method in the example embodiment is schematically shown. Referring to Figure 3 The virtual object control method provided by the example embodiment of the present disclosure includes the following steps S301-S303:
[0058] In step S301, a control operation is received, and a virtual object is controlled to control shooting props to perform a shooting behavior according to the control operation.
[0059] The control operation is a preset manner in which a game player controls a virtual object to control shooting props to perform a certain shooting behavior. The shooting behavior can be a continuous shooting behavior or a single-shot shooting behavior. The preset manner can be determined according to the current game control manner of bullet firing.
[0060] For example, for the preset manner of using a mouse to control bullet firing, the control operation of the player can be to click the mouse key to fire bullets (for example, the left mouse button) and move the mouse position to control the barrel to move; for a mobile game (for example, a PAD), the control operation of the player can be to click the shooting control to trigger the shooting props to perform the shooting behavior and to control the barrel position to move by sliding on the PAD screen.
[0061] In a case where the shooting parameter of the shooting behavior meets a preset shooting parameter, operation information of the control operation is acquired.
[0062] The shooting parameter can be a parameter information of a shooting frequency and a shooting times of the shooting behavior. The preset shooting parameter can be a parameter information of a continuous shooting behavior of the shooting prop, for example, a shooting frequency threshold and a shooting times threshold.
[0063] In a case where the shooting parameter of the shooting behavior meets a preset shooting parameter, operation information of the control operation is acquired.
[0064] The operation information can be information determined according to the control operation in a process in which the player controls the virtual object in the virtual scene to control the shooting prop to perform the shooting behavior.
[0065] For example, for a mobile phone game in which the terminal device is a mobile phone, the operation information can be operation information generated by the terminal device according to a sliding control operation of the player on the display screen of the mobile phone. For a computer game in which the terminal device is a server, the operation information of the control operation can be operation information determined according to a mouse sliding operation of the player to adjust a gun aiming point. For example, the player slides vertically downward by 2 cm on the screen of the mobile phone, and the terminal device can correspondingly slide the gun barrel position downward by the corresponding distance, and convert the actual 2 cm sliding of the player on the screen to operation information of a downward sliding path of the gun barrel aiming point.
[0066] For example, the shooting behavior of the shooting prop can be a continuous shooting effect formed by rapid and continuous mouse key clicking or shooting control of the player; can be a continuous shooting effect formed after long-pressing the mouse key or the shooting control; or can be a continuous shooting effect formed after detecting that the shooting mode of the currently used shooting prop is switched to a continuous shooting mode. The shooting mode of the shooting prop can be switched according to a gun control clicking of the player.
[0067] In a case where the shooting parameter of the shooting behavior meets a preset shooting parameter, operation information of the control operation is acquired.
[0068] The operation guide control can be a display component displayed on the graphical user interface and used to assist the player in controlling the virtual object to control the shooting prop to perform the gun pressing training operation. That is, the player can operate according to the content displayed by the operation guide control, so as to complete the gun pressing training of a continuous shooting process. The visual element corresponding to the operation information can be a visual display of the corresponding information on the terminal device according to the actual control operation of the player. For example, if the player controls the movement of the gun by using a mouse, the path of the mouse controlling the movement of the gun is synchronously displayed at the corresponding position of the graphical user interface of the terminal device.
[0069] Taking the control operation as an example, the control operation is to adjust the barrel position by moving the mouse position and to fire bullets by clicking the mouse button, the operation guide control can be the information such as the path, speed and position of the mouse movement.
[0070] In some embodiments of the present disclosure, the technical solution provided is that, by receiving a control operation, the virtual object is controlled to control the shooting prop to perform a shooting behavior according to the control operation; operation information of the control operation is acquired in response to the shooting parameter of the shooting behavior satisfying a preset shooting parameter; and an operation guide control on the graphical user interface is controlled to display a visual element corresponding to the operation information according to the operation information of the control operation. When the shooting parameter of the shooting prop satisfies the preset shooting parameter, that is, when the continuous shooting behavior is triggered, the operation guide control assisting the gun pressing operation is intuitively displayed in the game interface, and the visual element corresponding to the operation information of the player is also displayed. Therefore, the player can intuitively determine the actual operation state and the error between the actual operation state and the displayed operation guide control, so as to correct the current control operation in real time, thereby improving the intuitiveness of the player in controlling the virtual character to control the shooting prop to perform the gun pressing training process. At the same time, the displayed operation guide control improves the efficiency of the player in performing the gun pressing training. The technical solution solves the technical problem of poor intuitiveness caused by the need for the player to independently explore to gradually adapt to the recoil force law of the gun in the traditional method, thereby achieving the technical effects of improving the intuitiveness of the player in controlling the virtual character to control the shooting prop to perform the gun pressing training process, the efficiency of the game player in the gun pressing training, and the game experience of the player.
[0071] In the exemplary embodiments of the present disclosure, the gun pressing training mode is exited according to an exit operation in response to the exit operation of the gun pressing training control.
[0072] The gun pressing training is a training of gun pressing operation when the shooting parameter of the shooting behavior performed by the shooting prop satisfies a preset shooting parameter, that is, when the game server determines that the shooting prop performs a continuous shooting behavior. The gun pressing operation refers to a process of forcibly adjusting the aiming point of the gun downward to offset the upward floating of the aiming point caused by the recoil force, so as to make the shooting more accurate during the continuous shooting or sweeping shooting process using the shooting prop.
[0073] For example, the player can enter the gun pressing training mode by selecting the gun pressing training control to be turned on, or can select the gun pressing training control to be turned off.
[0074] It should be understood that the style of the gun pressing training control can be sliding selection between turning on and turning off, or a control can be used to realize the turning on and turning off functions. The present disclosure does not limit the style of the gun pressing training control.
[0075] For example, the gun pressing training mode can be turned on by default, or can be selected by the player according to the player's needs.
[0076] For example, when the game server detects that the player enters the training field game scene, the default "gun pressing training mode" can be set to be turned on in advance. In addition, the player can exit the "gun pressing training mode" by turning off the gun pressing training control, so as to verify the gun pressing training results. When the player enters the battle game application scene, the default "gun pressing training mode" can be set to be turned off in advance, and the player can select to turn on or turn off the "gun pressing training mode" in the setting interface.
[0077] The player can exit the gun pressing training mode according to the exit operation after completing the gun pressing training, so as to perform the control operation of the gun pressing without displaying the operation guide control, to verify the learning results after the operation guide control is used for gun pressing auxiliary training, thereby improving the player's game experience and the flexibility of entering the gun pressing training mode.
[0078] In an exemplary embodiment of the present disclosure, the determination that the shooting parameter of the shooting prop performing the shooting behavior meets the preset shooting parameter can be made by detecting that the shooting prop is switched to the "continuous shooting mode". That is, the shooting prop includes multiple shooting modes, such as a single-shot shooting mode, a continuous shooting mode, etc., and the player can switch the shooting mode of each shooting prop.
[0079] In another exemplary embodiment of the present disclosure, the determination that the shooting parameter of the shooting prop performing the shooting behavior meets the preset shooting parameter, i.e., entering the "continuous shooting mode", can be made by detecting the shooting frequency of the shooting prop. For example, if a gun shoots more than 5 times at a frequency of 5 times per second, it can be determined that the gun has entered the "continuous shooting behavior".
[0080] Further, when the player performs the control operation of the gun pressing, the operation guide control can be displayed in advance, and then the operation guide control is controlled to display the visual element corresponding to the operation information. The operation guide control can also be displayed while the visual element corresponding to the operation information is displayed.
[0081] According to some embodiments of the present disclosure, the operation guide control can be displayed on the image user interface in advance or can be displayed on the image user interface when the shooting parameter of the terminal device responding to the shooting prop performing the shooting behavior meets the preset shooting parameter.
[0082] It can be understood that the present disclosure does not make any specific limitation on the timing of displaying the operation guide control, and all are within the protection scope of the present disclosure.
[0083] The following will be described in combination with Figure 4 The above process of displaying the operation guide control on the graphical user interface will be described exemplarily.
[0084] Figure 4 An exemplary flowchart of another virtual object control method in the present exemplary embodiment is schematically shown. Referring to Figure 4 The virtual object control method provided by the present exemplary embodiment of the present disclosure includes the following steps S401-S403:
[0085] Step S401, display a pre-configured operation guide control for indicating control of the shooting prop performing the shooting behavior.
[0086] Step S402, in the case that the shooting parameter of the shooting behavior meets the preset shooting parameter, obtain operation information of the control operation.
[0087] Step S403, display a visual element corresponding to the operation information at a position corresponding to the operation guide control according to the operation information of the control operation.
[0088] The operation guide control includes a target path identifier with a preset path shape; the visual element corresponding to the operation information can be a moving path trajectory of the actual operation of the player or a moving speed trajectory of the actual operation of the player. Taking the mouse control of the shooting prop performing the continuous shooting behavior as an example, when the player controls the virtual prop to perform the continuous shooting behavior, the moving path is the path of the mouse moving controlled by the player, and the moving speed is the speed of the mouse moving controlled according to the above moving path.
[0089] Exemplarily, the pre-displayed operation guide control for indicating control of the shooting prop performing the shooting behavior can let the player know the overall trend in the process of performing the gun pressing operation in advance, avoid the player observing the bullet impact point rule by himself, and thus can improve the efficiency of the player controlling the virtual character to control the shooting prop to perform the shooting training.
[0090] Meanwhile, the visual element corresponding to the operation information can be displayed at the same position of the operation guide control or at a position having a relative displacement with the operation guide control, so as to facilitate the player to compare the operation guide control and the visual element corresponding to the operation information in the actual operation process.
[0091] In the example embodiment of the present disclosure, before the operation guide control on the graphical user interface is controlled according to the operation information of the control operation to display the visual element corresponding to the operation information in step S301, the corresponding operation guide control can be acquired according to the prop parameter of the shooting prop.
[0092] The prop parameter can be parameter information of the shooting prop when performing the continuous shooting behavior, and the parameter information can be a recoil parameter of the shooting prop, an operation speed corresponding to the player adjusting the movement of the shooting prop aiming point, a movement offset of adjacent impact points, and the like.
[0093] The operation speed can be the movement speed of the mouse controlled by the player for adjusting the movement of the shooting prop aiming point, or can be the sliding speed on the screen of the terminal device when the player adjusts the movement of the shooting prop aiming point, which is determined by the method of the player adjusting the movement of the shooting prop aiming point.
[0094] It can be understood that the prop parameter of each shooting prop is pre-set by the developer, and the prop parameter of each shooting prop is usually different. For example, the recoil parameters of the sniper rifle and the ordinary rifle are quite different.
[0095] For example, in a continuous shooting process, each shooting position formed in the shooting behavior can be determined according to the prop parameter, so as to determine the operation guide control according to each shooting position.
[0096] In the case where the shooting parameter of the shooting behavior meets the preset shooting parameter, each shooting position is each impact point position shot by the shooting prop.
[0097] The following will be described in detail in combination with Figure 5 , Figure 6 The process of determining each shooting position in the shooting behavior according to the shooting parameter of the shooting prop to determine the operation guide control will be described in detail.
[0098] Figure 5 An example schematic diagram of determining the operation guide control according to the example embodiment of the present disclosure is schematically shown. Referring to Figure 5 , Figure 5(a) includes the trajectory of the bullet drop position appearing in the process of performing a continuous shooting action under the action of the recoil force of the shooting prop when the player does not perform the gun pressing operation, wherein the lowest bullet drop position is the initial shooting position.
[0099] Taking the example of controlling the muzzle position by dragging the mouse to perform the shooting action, after the first bullet drop position appears at the initial shooting position, the second shooting position is generated under the action of the recoil force parameter and the operation speed of the corresponding player adjusting the movement of the shooting prop sight. Taking the second shooting position as the reference, the third shooting position is generated under the action of the recoil force and the operation speed of the corresponding player adjusting the movement of the shooting prop sight, until all the bullet drop positions in the continuous shooting process are obtained.
[0100] Then, the bullet drop positions obtained above are connected into a line. In the process of connecting the line, the approximate line segment of the same movement trend can be obtained as shown in Figure 5 (a). Taking the approximate line segment as the center, the path shape including all the bullet drop positions as shown in Figure 5 (a) is generated.
[0101] Finally, the operation guide control shown in Figure 5 (b) is generated by mirroring Figure 5 (a).
[0102] Figure 6 Another schematic diagram for determining the operation guide control is schematically shown according to an exemplary embodiment of the present disclosure.
[0103] As shown in Figure 6 , when the obtained bullet drop positions are connected into a line, the adjacent bullet drop positions can be connected into a part of the line, so that the irregular line segment as shown in Figure 6 (a) is obtained by superposition, and then the irregular line segment is smoothed, that is, the path shape including all the bullet drop positions as shown in Figure 6 (a) is obtained by taking the edge bullet drop position as the reference.
[0104] Finally, the operation guide control shown in Figure 6 (b) is generated by mirroring Figure 6 (a).
[0105] As described above, the operation guide control is formed by mirroring the path shape formed by the bullet drop positions obtained according to the prop parameters of the shooting prop in the process of performing the continuous shooting action, so that the deviation caused by the recoil force of the shooting prop when controlling the shooting prop to perform the shooting action can be overcome through the operation guide control.
[0106] The shooting parameters of the shooting props are used to determine the shooting positions to obtain the operation guide control displayed on the operation interface. The visual operation guide control can be generated based on the known recoil force, the operation speed of adjusting the shooting prop aiming movement corresponding to the player, and other parameters affecting the bullet drop position, so as to facilitate the player to perform the gun pressing training and improve the gun pressing training efficiency.
[0107] In the example embodiment of the present disclosure, the operation guide control includes a target path identifier with a preset path shape and a progress identifier.
[0108] The progress identifier is configured to update the path progress identifier in the target path identifier according to the preset speed. The target path identifier has a preset path shape, for example, Figure 5 (b)、 Figure 6 (b) shows the mirror path shape of the trajectory formed by the gun pressing operation.
[0109] The progress identifier can be the operation progress recommended to the player when the player performs the gun pressing operation. The progress identifier can include the operation path progress recommended to the player, the operation path change progress, etc. For example, for the player to realize the control operation by the mouse, the progress identifier can be the progress of the path of the mouse moved by the player with respect to the displayed target path identifier, or the progress of the speed of the mouse moved by the player according to the target path identifier.
[0110] Taking the adjustment of the aiming position of the shooting prop by dragging the mouse as an example, when the player performs a continuous shooting behavior, a target path identifier for guiding the mouse movement is displayed on the graphical user interface of the terminal device. When the player moves the mouse according to the recommended target path identifier, the progress of the path of the mouse moved by the player based on the target path identifier is generated in real time, or the progress of the speed of the mouse moved by the player based on the target speed identifier is generated in real time.
[0111] It can be understood that the progress identifier can be displayed in different forms of coincidence with the target path identifier, for example, in different saturation, color, etc. The progress identifier can also be displayed adjacent to the target path identifier. The above-mentioned manner can facilitate the player to compare the current progress identifier and the target path identifier.
[0112] The method can facilitate the player to intuitively view the progress bar of the progress identifier of the current operation with respect to the target path identifier, so that the player can understand the progress of the current operation with respect to the displayed target path identifier, thereby improving the game experience of the player.
[0113] According to some embodiments of the present disclosure, when the step of controlling the operation guide control on the graphical user interface to display the visual element corresponding to the operation information according to the control operation is performed, the operation path identifier corresponding to the operation path information in the operation information can be displayed at the target path identifier according to the operation path information in the operation information.
[0114] The operation path information is the path information of the actual control operation of the player, for example, the path information of the actual mouse movement of the player. The operation path identifier is the path identifier displayed on the graphical user interface in real time corresponding to the operation path information.
[0115] In the process of the control operation of the player forming the operation path information, the shooting prop is controlled to emit bullets at a preset frequency to form each shooting position, so as to adapt to each shooting position in the operation guide control, thereby improving the efficiency of the gun pressing training.
[0116] For example, the operation path identifier corresponding to the actual operation path of the player can be displayed at the position overlapping with the target path identifier or the position adjacent to the target path identifier according to the actual operation path of the player.
[0117] By displaying the operation path identifier corresponding to the operation path information at the target path identifier, the player can view the current operation path information in real time, so as to adjust the current operation path information in real time according to the target path identifier, thereby avoiding the need for the player to adapt to the recoil of the shooting prop through a large amount of gun pressing training in the traditional method, and improving the efficiency of the gun pressing training. At the same time, the comparison display facilitates the player to view the current operation information, and improves the game experience of the user.
[0118] According to some embodiments of the present disclosure, when the step of controlling the operation guide control on the graphical user interface to display the visual element corresponding to the operation information according to the control operation is performed, the operation path identifier corresponding to the operation path information in the operation information can be displayed at the target path identifier according to the operation path information in the operation information.
[0119] The operation path change speed information is the speed information in the process of the operation path of the player. In the process of the control operation of the player forming the operation path information, the operation is also performed at a specific speed, so that the speed information of the displayed operation path is different.
[0120] For example, in the process of the player moving the mouse to adjust the position of the sighting device of the shooting prop, not only the movement path (or movement track) of the mouse is obtained, but also the movement speed of the mouse in the process of forming the movement path is obtained, so that the operation path change speed information is obtained.
[0121] For example, the speed of change of the operation path can affect the distance between adjacent bullet impact points, thus affecting the recoil control training operation of the shooting prop. Generally, the greater the speed of change of the operation path, the farther apart the adjacent bullet impact points are; conversely, the smaller the speed of change of the operation path, the closer the adjacent bullet impact points are.
[0122] Based on the operation path change speed information, a display parameter can be generated at the target path marker to show the change speed of the corresponding operation path marker. The change speed of the operation path marker can be displayed in the overlapping part of the target path marker or at a position adjacent to the target path marker.
[0123] By displaying the speed of change of the operation path at the target path marker, players can view the current operation path marker in real time. In addition to operating according to the recommended target path marker, they can also view the speed of path change during the current operation path marker process in real time, so that players can adjust their current operation speed in real time, thereby improving the efficiency of players' recoil control training.
[0124] In an exemplary embodiment of this disclosure, if the deviation angle between the current operation path identifier and the target path identifier is greater than a preset deviation angle, a first warning message for indicating path deviation is generated, and / or, the operation path identifier for path deviation is displayed in a differentiated manner.
[0125] Here, path offset refers to the offset between the current operation path identifier corresponding to the player's actual operation information and the target path identifier in the operation guidance control. The first warning message is a prompt message to alert the player of the path offset, which can be displayed through color, vibration intensity, voice, pop-up, text, etc. Differential display can also be based on color, saturation, etc.
[0126] This disclosure does not impose any restrictions on the specific prompting methods or the methods of distinguishing display, and any method of reminding players of path deviation is within the protection scope of the technical solution disclosed herein.
[0127] It is understandable that when the operation path identifier deviates from the target path identifier, the entire operation path identifier can be displayed differently, or only the operation path identifier that deviates from the target path identifier can be displayed differently.
[0128] Next, we will combine Figure 7 This section explains the process of displaying the first warning message when the deviation angle between the current operation path identifier and the operation guidance control is greater than the preset deviation angle, and the process of differentiating the operation guidance control for path deviation.
[0129] This explanation will use the example of dragging the mouse to control recoil in a computer game. Figure 7A schematic diagram of displaying the first warning information and the differentiated display in the present exemplary embodiment is shown. When the player starts the continuous shooting, Figure 7 (a) and Figure 7 Both (a) and (b) include the operation guide control displayed on the graphical user interface of the terminal device, that is, the operation guide control includes the target path identifier 704 with a preset path shape, the current progress identifier 702 displayed in the overlapping area with the target path identifier, and the current operation path identifier 703 of the actual mouse movement controlled by the player, and the first warning information 701.
[0130] The progress identifier 702 can include the progress identifier of the operation path and the operation path change speed information or the progress identifier of the operation path only. If the progress identifier 702 can include the progress identifier of the operation path and the operation path change speed information, the operation path change speed coincides with the preset operation path change speed (i.e., the progress identifier 702). In Figure 7 In (b), the progress identifier 702 is taken as an example of the progress identifier of the operation path only.
[0131] Referring to Figure 7 , Figure 7 (a) If the deviation angle between the operation path identifier 703 of the current time in the progress identifier 702 and the target path identifier 704 or the current progress identifier 702 does not exceed the preset deviation angle, the first warning information 701 displays the text prompt of “path appropriate”, and the un-deviated operation path identifier 703 is marked as green. Figure 7 (b) If the deviation angle between the operation path identifier 703 of the current time in the progress identifier 702 and the target path identifier 704 or the current progress identifier 702 exceeds the preset deviation angle, the first warning information 701 displays the text prompt of “path deviation”, and the deviated operation path identifier is marked as red. For example, when the deviation angle between the operation path identifier 703 and the target path identifier 704 or the current progress identifier 702 exceeds 5°, the text prompt of path deviation is displayed, and the entire operation path identifier 703 is changed to red.
[0132] It should be understood that the preset deviation angle can be set according to the needs of the player, or can be set by the developer according to the standard value obtained by analyzing a large amount of data. The present disclosure does not make any limitation on how to determine the preset deviation angle.
[0133] When the terminal device detects that the deviation angle between the operation path identifier and the target path identifier of the operation guide control exceeds the preset deviation angle, the differentiated display of the visual element corresponding to the operation information can remind the player that the current gun pressing operation has deviation on the movement path, so that the player can adjust the direction in time and improve the efficiency of gun pressing training.
[0134] According to some embodiments of the present disclosure, if the deviation angle between the current operation path and the target path is greater than a preset deviation angle, and the path deviation duration is greater than a preset deviation duration, the first warning information indicating the path deviation is generated.
[0135] For example, when the terminal device detects that the path deviation duration is less than or equal to the preset deviation duration, the first warning information is not generated; when the terminal device detects that the path deviation duration is greater than the preset deviation duration, the first warning information is generated. For example, when the terminal device detects that the path deviation duration is greater than 0.5 seconds, the first warning information indicating the path deviation is generated.
[0136] It should be understood that the preset deviation duration can be set according to the needs of the player, or can be set by the developer according to the standard value obtained by analyzing a large amount of data. The present disclosure does not make any limitation on how to determine the preset deviation duration.
[0137] The first warning information for the path deviation is generated to facilitate reminding the user to timely adjust the path direction. If the user finds the path deviation and timely adjusts to return to the preset path direction, the first warning information is not generated. This method can avoid the problem that the player's patience is consumed due to too much path deviation prompt information, thereby improving the player's game experience.
[0138] In another exemplary embodiment of the present disclosure, in a case where the difference between the current operation path change speed and the preset operation path change speed corresponding to the operation guide control is greater than a preset speed threshold, second warning information indicating the speed deviation is generated, and / or the display parameters of the speed deviation are displayed differently.
[0139] The operation path change speed is a control operation of the player changing the speed of the path change. For example, in the process of continuous shooting of a gun, the player controls the speed of the mouse movement to change the speed of the control gun aiming reticle movement path progress displayed by the operation guide control. The second warning information is prompt information generated based on the deviation between the actual operation path change speed of the player and the preset operation path change speed displayed in the operation guide control. The prompt mode of the second warning information can be the same as or different from that of the first warning information. The actual speed of the visual element corresponding to the operation information can be the speed of the player sliding on the mobile phone screen or the speed of the mouse movement.
[0140] Next, the second warning information will be described in combination with Figure 8 The actual speed of the visual element corresponding to the operation information and the preset shooting speed corresponding to the operation guide control are greater than the preset speed threshold.
[0141] Similarly, taking the operation of pressing the gun by dragging the mouse as an example,Figure 8 Fig. 2 shows a schematic diagram illustrating a display of second alert information and a differentiated display in the present exemplary embodiment. Figure 8 (a) the target path identifier 804, and Figure 8 (b) the operation guide control displayed on the graphical user interface of the terminal device, the operation guide control comprising the target path identifier 804 having a preset path shape, the current progress identifier 802 displayed in an overlapping area with the target path identifier 804, and the current operation path change speed 803 of the actual mouse movement speed controlled by the player, and the second alert information 801.
[0142] The progress identifier 802 can comprise a progress identifier of the operation path and the operation path change speed or a progress identifier of only the operation path change speed. If the progress identifier 802 can comprise a progress identifier of the operation path identifier and the operation path change speed information, the operation path identifier coincides with the target path identifier 804 (or the progress identifier 802). Hereinafter, the progress identifier 802 is taken as an example of a progress identifier of only the operation path change speed, i.e., the preset operation path change speed 802.
[0143] Referring to Figure 8 , Figure 8 (a) the target path identifier 804, the progress bar of the actual mouse movement speed (i.e., the current operation path change speed 803) controlled by the player at the current time coincides with the progress bar of the preset operation path change speed displayed by the operation guide control at the current time, i.e., the progress identifier 802 of the operation path change speed, and the second alert information 801 can display a prompt text of “speed appropriate” and mark the progress bar of the mouse operation path change speed 803 at the current time as green.
[0144] Figure 8 (b) the progress bar of the actual mouse operation path change speed 803 at the current time is different from the progress bar of the preset operation path change speed 802 displayed by the operation guide control, i.e., the difference between the current operation path change speed 803 and the operation path change speed 802 corresponding to the operation guide control is greater than the preset speed threshold, and the second alert information 801 can generate a prompt text of “speed deviation”. At the same time, the progress bar of the mouse operation path change speed at the current time can be changed from green to red.
[0145] It should be understood that the preset speed threshold can be set according to the needs of the player or can be set by the developer according to a standard value obtained by analyzing a large amount of data, and the present disclosure does not make any limitation on how to determine the preset speed threshold.
[0146] The terminal device displays the visual element corresponding to the operation information in a distinguished manner when the speed difference between the operation path change speed and the operation guide control exceeds the preset speed threshold, which can remind the player that the current gun pressing operation has a deviation in the moving speed, so that the player can adjust the speed in time and improve the gun pressing training efficiency.
[0147] In the example embodiment of the present disclosure, if the deviation angle between the current operation path and the target path is less than the preset deviation angle, and the difference between the current operation path change speed and the preset operation path change speed corresponding to the operation guide control is less than the preset speed threshold, the player is prompted that the current mouse moving path and the mouse moving speed are consistent with the mouse moving path and the mouse moving speed prompted in the operation guide control.
[0148] In the example embodiment of the present disclosure, if the deviation angle between the current operation path and the target path in the operation guide control is greater than the preset deviation angle, and the difference between the actual speed of the visual element corresponding to the operation information and the preset shooting speed corresponding to the operation guide control is greater than the preset speed threshold, the prompt information as shown in Figure 9 is displayed in the target path identification of the operation guide control, and the visual element is displayed in a distinguished manner.
[0149] Figure 9 (a) and Figure 9 (b) both include the operation guide control displayed on the graphical user interface of the terminal device, the operation guide control includes a target path identification 905 with a preset path shape, and a current progress identification 902 is displayed in the overlapping area of the target path identification 905, where the progress identification 902 includes an operation path and a preset operation path change speed. In addition, the progress bar of the operation path speed change 903 at the current time, the progress bar of the operation path identification 904 at the current time, and the prompt information 901 are also displayed.
[0150] Referring to Figure 9 , Figure 9 (a) The progress bar of the actual mouse moving speed (i.e., the current operation path change speed 903) at the current time is the same as the progress bar of the progress identification 902 including the operation path and the preset operation path change speed displayed in the operation guide control, and the deviation angle between the operation path identification 904 at the current time and the target path identification 905 or the progress identification 902 including the operation path and the preset operation path change speed is less than the path deviation threshold. The prompt information 901 can display the prompt text “path and speed are appropriate”, and the progress bars of the mouse operation path change speed 903 and the operation path identification 904 at the current time overlap and are both marked in green.
[0151] Figure 9(b) the difference between the current operation path change speed 903 and the speed of the operation guide control containing the operation path and the preset operation path change speed is greater than the preset speed threshold, and the deviation angle between the operation path identifier 904 at the current time and the target path identifier 905 or the progress identifier 902 containing the operation path and the preset operation path change speed is greater than the preset deviation angle, then the prompt information 901 can display the prompt text "path and speed deviation", and the progress bar of the current time mouse operation path change speed 903 and the operation path identifier 904 are marked in red.
[0152] For example, when the deviation angle between the operation path identifier 904 and the target path identifier 905 exceeds 5°, and the difference between the current operation path change speed 903 and the speed of the operation guide control containing the operation path and the preset operation path change speed is greater than 10 m / s, then the deviated operation path identifier 904 and the operation path change speed 903 are marked in red, and the prompt information at 901 displays the warning information "path and speed deviation".
[0153] In order to implement the virtual object control method described above, one embodiment of the present disclosure provides a virtual object control device. Figure 10 A schematic architectural diagram of the virtual object control device 1000 is shown.
[0154] The virtual object control device 1000 includes an information receiving module 1001, an information obtaining module 1002, and an indication display module 1003.
[0155] The information receiving module 1001 is configured to receive a control operation, and control a virtual object control shooting prop to perform a shooting behavior according to the control operation; the information obtaining module 1002 is configured to obtain operation information of the control operation in response to a shooting parameter of the shooting behavior satisfying a preset shooting parameter; and the indication display module 1003 is configured to control an operation guide control on a graphical user interface to display a visual element corresponding to the operation information according to the operation information of the control operation.
[0156] The virtual object control device 1000 provided by the embodiments of the present disclosure can execute the technical solutions of the virtual object control method in any of the above embodiments, and the implementation principles and beneficial effects thereof are similar to those of the virtual object control method. For details, refer to the implementation principles and beneficial effects of the virtual object control method, which will not be described here.
[0157] In order to implement the virtual object control method described above, one embodiment of the present disclosure provides another virtual object control device. Figure 11 A schematic architectural diagram of the virtual object control device 1100 is shown.
[0158] The virtual object control apparatus 1100 comprises an information obtaining module 1101, an information determining module 1102, an indication display module 1103, and a gun pressure exit module 1104.
[0159] In an optional embodiment of the present disclosure, the information obtaining module 1101 is configured to obtain an operation instruction control corresponding to the prop parameter of the shooting prop according to the prop parameter of the shooting prop.
[0160] In an optional embodiment of the present disclosure, the information determining module 1102 is configured to determine that the operation instruction control comprises a target path identifier with a preset path shape and a progress identifier, wherein the progress identifier is configured to update the progress according to a preset speed.
[0161] In an optional embodiment of the present disclosure, the indication display module 1103 is configured to display an operation path identifier corresponding to the operation path information in the operation information at the target path identifier according to the operation path information in the operation information.
[0162] In an optional embodiment of the present disclosure, the indication display module 1103 is configured to generate first warning information for indicating the path deviation based on the deviation angle between the current operation path identifier and the target path identifier being greater than a preset deviation angle, and / or to display the operation path identifier of the path deviation in a differentiated manner.
[0163] In an optional embodiment of the present disclosure, the indication display module 1103 is configured to generate first warning information for indicating the path deviation based on the deviation angle between the current operation path identifier and the target path identifier being greater than a preset deviation angle and the path deviation duration being greater than a preset deviation duration.
[0164] In an optional embodiment of the present disclosure, the indication display module 1103 is configured to generate a display parameter of the operation path identifier corresponding to the operation path information in the operation information at the target path identifier based on the operation path change speed information in the operation information.
[0165] In an optional embodiment of the present disclosure, the indication display module 1103 is configured to generate second warning information for indicating the speed deviation based on the difference between the current operation path change speed and the operation path change speed corresponding to the operation instruction control being greater than a preset speed threshold, and / or to display the display parameter of the speed deviation in a differentiated manner.
[0166] In an optional embodiment of the present disclosure, the gun pressure exit module 1104 is configured to exit the gun pressure training mode according to an exit operation of the gun pressure training control in response to the exit operation.
[0167] The virtual object control apparatus 1100 provided by the embodiments of the present disclosure can execute the technical solutions of the virtual object control method in any of the above embodiments, and the implementation principles and beneficial effects thereof are similar to those of the virtual object control method. For details, refer to the implementation principles and beneficial effects of the virtual object control method, which will not be described here again.
[0168] In the exemplary embodiments of the present disclosure, a computer-readable storage medium having a program product stored thereon capable of implementing the above-described method of the present disclosure is also provided. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program codes for causing a terminal device to perform the steps described in the above-mentioned “Exemplary Methods” section according to various exemplary embodiments of the present disclosure when the program product is run on the terminal device.
[0169] The program product for implementing the above-described method according to the embodiments of the present disclosure can take the form of a portable compact disc read-only memory (CD-ROM) and include program codes, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited to this, and in the present document, the readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus or device.
[0170] The program product can take any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, be but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0171] The computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, in which readable program codes are borne. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable signal medium can also be any readable medium other than the readable storage medium, which can send, propagate or transmit the program for use by or in conjunction with an instruction execution system, apparatus or device.
[0172] The program code embodied on the computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, and the like, or any suitable combination of the foregoing.
[0173] The program code, when executed, can implement the methods described herein. The program code can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's computing device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider.
[0174] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-described method is also provided.
[0175] Those skilled in the art can understand that each aspect of the present disclosure can be implemented as a system, a method or a program product. Therefore, each aspect of the present disclosure can be embodied as a whole hardware embodiment, a whole software embodiment (including firmware, microcode, etc.), or a combination of hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system".
[0176] The electronic device 1200 according to this embodiment of the present disclosure will be described below with reference to Figure 12 Figure 12 The electronic device 1200 shown is merely an example and should not limit the function and usage range of the embodiments of the present disclosure.
[0177] As shown in Figure 12 The components of electronic device 1200 can include, but are not limited to, at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components, including the storage unit 1220 and the processing unit 1210, and a display unit 1240.
[0178] The storage unit stores program code which can be executed by the processing unit 1210, so that the processing unit 1210 performs the steps described in the above "Exemplary Methods" section according to various exemplary embodiments of the present disclosure. For example, the processing unit 1210 can perform the steps described in the above "Exemplary Methods" section according to various exemplary embodiments of the present disclosure.Figure 1 Steps S301 to S303 shown in FIG. 3.
[0179] The storage unit 1220 can include a readable medium in the form of volatile storage such as a random access memory (RAM) 12201 and / or cache memory 12202, and also can include a non-volatile storage such as a read-only memory (ROM) 12203.
[0180] The storage unit 1220 also can include a program / utility 12204 having a set (at least one) of program modules 12205 such as an operating system, one or more application programs, other program modules, and program data, each of which
[0181] The bus 1230 can represent one or more of several types of bus structures, including a storage bus or bus controller, a peripheral bus, a graphics acceleration bus, a processor or local bus using any of a variety of bus architectures.
[0182] The electronic device 1200 also can communicate with one or more external devices 1300 such as a keyboard, a pointing device, a Bluetooth device, etc.; and a one or more devices that enable a user to interact with the electronic device 1200; and / or one or more devices that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication can be facilitated by an Input / Output (I / O) interface 1250. Additionally, the electronic device 1200 can communicate with one or more networks such as a local area network (LAN), a wide area network (WAN), and / or the public network, such as the Internet, by way of a network adapter 1260. As depicted, the network adapter 1260 communicates with the other components of the electronic device 1200 by way of the bus 1230. It should be appreciated that although not shown, other hardware and / or software modules could be used in connection with the electronic device 1200. These include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
[0183] Through the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash disk, a mobile hard disk, or the like) or a network, and includes a number of instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the methods according to the embodiments of the present disclosure.
[0184] In addition, the above-described figures are only schematic illustrations of the processes included in the method according to the example embodiments of the present application, and are not intended for limiting purposes. It is easy to understand that the processes shown in the above-described figures do not indicate or limit the time sequence of the processes. In addition, it is also easy to understand that the processes can be executed synchronously or asynchronously, for example, in a plurality of modules.
[0185] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, such a division is not mandatory. Indeed, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into embodied by a plurality of modules or units.
[0186] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure following, in general, the principles of the present disclosure and including such departures from the present disclosure that come within known or customary practice in the art to which the present disclosure pertains. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0187] It should be understood that the present disclosure is not limited to the precise structures described and shown in the above description and the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A virtual object control method characterized by comprising: The method comprises the following steps: A terminal device provides a graphical user interface, which comprises at least a game scene and a virtual object in the game scene, wherein the virtual object is equipped with a shooting prop, and the method comprises the following steps: Receiving a control operation, and controlling the virtual object to control the shooting prop to perform a shooting behavior according to the control operation; In a case where a shooting parameter of the shooting behavior meets a preset shooting parameter, determining operation information of the control operation, and the preset shooting parameter is used to represent parameter information of continuous shooting behavior performed by the shooting prop; 2. The virtual object control method of claim 1, wherein, According to the operation information of the control operation, controlling an operation guide control on the graphical user interface to display a visual element corresponding to the operation information; the operation guide control comprises a target path identifier with a preset path shape and a progress identifier, and the progress identifier is configured to update an identifier containing operation path progress and operation path change progress according to a preset speed. The virtual object control method further comprises:
3. The virtual object control method of claim 1, wherein, According to the prop parameter of the shooting prop, an operation guide control corresponding to the prop parameter is obtained. The operation guide control on the graphical user interface is controlled to display the visual element corresponding to the operation information of the control operation, which comprises the following steps:
4. The virtual object control method of claim 3, wherein, According to operation path information in the operation information, an operation path identifier corresponding to the operation path information is displayed at the target path identifier. The operation path identifier corresponding to the operation path information is displayed at the target path identifier according to the operation path information in the operation information, which comprises the following steps: In a case where an offset angle between the current operation path identifier and the target path identifier is greater than a preset offset angle, first warning information for indicating path offset is generated, and / or 5. The virtual object control method of claim 4, wherein, The operation path identifier of the path offset is displayed differently. In a case where the offset angle between the current operation path identifier and the target path identifier is greater than the preset offset angle, and the path offset duration is greater than a preset offset duration, the first warning information for indicating the path offset is generated. 6.The virtual object control method of claim 1, wherein, The operation guide control on the graphical user interface is controlled to display the visual element corresponding to the operation information of the control operation, which comprises the following steps: Based on operation path change speed information in the operation information, a display parameter of the operation path identifier corresponding to the operation path information in the operation information, which is generated at the target path identifier, is controlled. 7.The virtual object control method of claim 6, wherein, Based on the operation path change speed information in the operation information, a display parameter of the operation path identifier corresponding to the operation path information in the operation information, which is generated at the target path identifier, is controlled, which comprises the following steps: In a case where a difference between a current operation path change speed and a preset operation path change speed corresponding to the operation guide control is greater than a preset speed threshold, second warning information for indicating speed offset is generated, and / or The display parameter of the speed offset is displayed differently. 8.The virtual object control method of claim 1, wherein, Also comprising: in response to an exit operation for the gun pressing training control, exiting the gun pressing training mode according to the exit operation.
9. A virtual object control device, comprising: A terminal device provides a graphical user interface, the graphical user interface at least includes a game scene and a virtual object located in the game scene, wherein the virtual object is equipped with a shooting prop, and the device comprises: An information receiving module is configured to receive a control operation, and control the virtual object to control the shooting prop to perform a shooting behavior according to the control operation; An information obtaining module is configured to obtain operation information of the control operation when a shooting parameter of the shooting behavior meets a preset shooting parameter, the preset shooting parameter being used to represent parameter information of the shooting prop performing a continuous shooting behavior; An indication display module is configured to control an operation guide control on the graphical user interface to display a visual element corresponding to the operation information according to the operation information of the control operation; the operation guide control includes a target path identifier with a preset path shape and a progress identifier, and the progress identifier is configured to update an identifier containing operation path progress and operation path change progress according to a preset speed.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the virtual object control method of any one of claims 1-8.
11. An electronic device, comprising: Comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the virtual object control method of any one of claims 1-8 by executing the executable instructions.
Citation Information
Patent Citations
Gun pressing auxiliary method for shooting type games, gun pressing auxiliary device for shooting type games, mobile terminal and storage medium
CN110075521A