Shooting control method and apparatus in game, and electronic device and storage medium

By implementing sliding operations on the graphical user interface of mobile shooting games to automatically switch the aiming state of virtual shooting props, it solves the complexity problem of users switching shooting modes, improves game efficiency and reduces the burden on equipment and servers.

WO2024212465A1PCT designated stage expired Publication Date: 2024-10-17SHANGHAI NETEASE CUICAN NETWORK TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/126069
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-10
Filing Date
2023-10-24
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

In mobile shooting games, users cannot switch from off-scope shooting to on-scope shooting smoothly, conveniently and quickly, resulting in low game operation efficiency, heavy processing burden on the terminal device, high power consumption, and high performance overhead of the game server.

Method used

By continuously performing sliding operations on the graphical user interface, the virtual shooting props are controlled to switch from the non-scoped aiming state to the scoped aiming state, and the crosshair position is adjusted in real time according to the sliding operation until the crosshairs coincide with the target outline range of the enemy's virtual object, realizing automatic Shooting operations.

Benefits of technology

It improves the smoothness and convenience of game operations, reduces the data processing volume of terminal devices, saves power consumption, and reduces the performance overhead of game servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023126069_17102024_PF_FP_ABST
    Figure CN2023126069_17102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are a shooting control method and apparatus in a game, and an electronic device and a storage medium. The method comprises: when a virtual shooting prop held by a controlled virtual object is in a sight-closed aiming state, in response to the start of a sliding operation for a first region on a graphical user interface, controlling the virtual shooting prop to be switched from the sight-closed aiming state to a sight-opened aiming state; when the virtual shooting prop is in the sight-opened aiming state, in response to the sliding operation being continued, adjusting the position of a front sight in real time according to a sliding attribute parameter of the sliding operation; and in response to the front sight overlapping with a target contour range of an opponent virtual object, when the virtual shooting prop is in the sight-opened aiming state, controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation. Thus, a user can smoothly, conveniently and quickly perform shooting operations after switching from sight-closed shooting to sight-opened shooting, thereby improving the operation efficiency of a game, reducing the electricity consumption of a terminal device, and reducing performance overheads of a game server.
Need to check novelty before this filing date? Find Prior Art

Description

A shooting control method, device, electronic device and storage medium in a game

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202310377518.6 filed with the State Intellectual Property Office of China on April 10, 2023, entitled “A shooting control method, device, electronic device and storage medium in a game,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0003] The present disclosure relates to the field of game technology, and in particular to a shooting control method, device, electronic device, and storage medium in a game. Background Art

[0004] Currently, in mobile shooting games, when users face long-range enemies, they need to open the scope of the virtual shooting prop (open the scope) to switch the lens in the game scene, which helps users complete the shooting task.

[0005] In the related art, users can use a sliding screen operation to achieve automatic shooting in a non-scoped aiming state (such as a hip-fire aiming state). When facing a long-range enemy, the user can click the scoped aiming button on the graphical user interface to achieve the scoped aiming operation, and then use a sliding screen operation to achieve automatic shooting in the scoped aiming state. In actual operation, when the user switches from non-scoped shooting to scoped shooting, it is necessary to first perform the scoped shooting operation (such as clicking the scoped aiming button), and then return to the scoped aiming state and continue to slide the screen to achieve automatic shooting. The above process is highly complex, resulting in the user being unable to smoothly, conveniently, and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby reducing the operating efficiency of the game.

[0006] Application Contents

[0007] In view of this, the purpose of the present disclosure is to provide a shooting control method, device, electronic device and storage medium in a game, which can solve the problem in the related art that it is impossible to switch from non-scoped shooting to scoped shooting smoothly, conveniently and quickly, thereby resulting in low game operation efficiency. At the same time, it solves the problems of heavy processing burden and high power consumption of terminal devices and high performance overhead of game servers.

[0008] In a first aspect, an optional embodiment of the present disclosure provides a method for controlling shooting in a game, wherein a terminal device provides a graphical user interface, wherein the graphical user interface displays at least a crosshair of a virtual shooting prop and a virtual enemy object in a game scene of the game, wherein the crosshair is used to indicate the aiming direction of the virtual shooting prop in the game scene. The method comprises:

[0009] When a virtual shooting prop held by a controlled virtual object is in a non-scoped aiming state, in response to initiation of a sliding operation on a first area on a graphical user interface, controlling the virtual shooting prop to switch from the non-scoped aiming state to a scoped aiming state, and the controlled virtual object is controlled via the terminal device;

[0010] When the virtual shooting prop is in the aiming state, in response to the continued sliding operation, the position of the crosshair is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0011] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to perform an automatic shooting operation using the virtual shooting prop.

[0012] In a second aspect, another optional embodiment of the present disclosure further provides a shooting control device in a game, wherein a terminal device provides a graphical user interface, wherein the graphical user interface displays at least a crosshair of a virtual shooting prop and a virtual enemy object in a game scene of the game, wherein the crosshair is used to indicate the aiming direction of the virtual shooting prop in the game scene, and the device comprises:

[0013] a state switching module for, in response to the start of a sliding operation on a first area on a graphical user interface, controlling a virtual shooting prop held by a controlled virtual object to switch from the non-scoped aiming state to the scoped aiming state when the virtual shooting prop is in the non-scoped aiming state, and the controlled virtual object is controlled via the terminal device;

[0014] a crosshair adjustment module, configured to adjust the position of the crosshair in real time according to sliding attribute parameters of the sliding operation in response to the continuation of the sliding operation when the virtual shooting prop is in the aiming state;

[0015] The automatic shooting module is used to control the controlled virtual object to perform an automatic shooting operation using the virtual shooting prop in response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in the aiming state.

[0016] In a third aspect, another optional embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the shooting control method in the game as described above are performed.

[0017] In a fourth aspect, another optional embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the shooting control method in the game as described above are executed.

[0018] The shooting control method, device, electronic device and storage medium in the game provided by the embodiments of the present disclosure can control the virtual shooting prop to switch from the non-scoped aiming state to the scoped aiming state by continuously performing a sliding operation in the first area on the graphical user interface, and adjust the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation until the crosshairs coincides with the target outline range of the enemy virtual object, thereby controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation. After switching from the non-scoped aiming state to the scoped aiming state, the present disclosure can continue the sliding operation in the scoped aiming state. By continuously performing a sliding operation in the first area, the switching from the non-scoped aiming state to the scoped aiming state and the automatic shooting operation in the scoped aiming state can be achieved. The user can smoothly, conveniently and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, further reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

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

[0020] In order to more clearly illustrate the technical solutions of the optional embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present disclosure and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without any creative work.

[0021] FIG1 is a flow chart of a shooting control method in a game provided by an optional embodiment of the present disclosure;

[0022] FIG2 is a schematic diagram showing changes in an adjustment coefficient and target distance provided by an optional embodiment of the present disclosure;

[0023] FIG3 is a schematic diagram of an interface in a non-scope aiming state provided by an optional embodiment of the present disclosure;

[0024] FIG4 is a schematic diagram of an interface in a scope-opening aiming state provided by an optional embodiment of the present disclosure;

[0025] FIG5 is a schematic diagram of another interface in a non-scope aiming state provided by an optional embodiment of the present disclosure;

[0026] FIG6 is a schematic diagram of another interface in the aiming state provided by an optional embodiment of the present disclosure;

[0027] FIG7 is a schematic diagram of another interface in a non-scope aiming state provided by an optional embodiment of the present disclosure;

[0028] FIG8 is a schematic diagram of another interface in a non-scope aiming state provided by an optional embodiment of the present disclosure;

[0029] FIG9 is a complete flow chart of a shooting control method provided by an optional embodiment of the present disclosure;

[0030] FIG10 is a complete flow chart of another shooting control method provided by an optional embodiment of the present disclosure;

[0031] FIG11 is a schematic structural diagram of a shooting control device in a game provided by an optional embodiment of the present disclosure;

[0032] FIG12 is a schematic structural diagram of a shooting control device in another game provided by an optional embodiment of the present disclosure;

[0033] FIG13 is a schematic structural diagram of an electronic device provided by an optional embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure claimed for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, each other embodiment obtained by those skilled in the art without making creative work is

[0035] The terminal device involved in an optional embodiment mainly refers to a terminal for providing a graphical user interface and capable of controlling controlled virtual objects. Among them, the terminal device can be the local terminal device mentioned below, or a client device in a cloud interactive system. The terminal device may include but is not limited to any one of the following devices: a smart phone, a tablet computer, a handheld computer, a personal digital assistant (PDA), etc. An application that supports games is installed and running in the terminal device, such as an application that supports three-dimensional games or two-dimensional games. In an optional embodiment of the present disclosure, the application is introduced as a game application. Optionally, the application can be a stand-alone application, such as a stand-alone 3D game program, or a network-connected application.

[0036] In an optional embodiment, the graphical user interface includes a user interface (UI) and a game screen, wherein the UI interface is a medium for human-computer interaction and information exchange between the system and the user, and the UI interface can present system information in a form acceptable to humans, so that the user can conveniently and efficiently operate the computer to achieve two-way human-computer interaction. The user interface can be composed of visual elements such as controls, text, graphics, images, icons, input boxes, etc. In an optional embodiment, the user interface can include shooting controls, movement controls, aiming controls, etc. In an optional embodiment, the game screen is a display screen corresponding to the game scene displayed by the terminal device, and the game screen can include controlled virtual objects and enemy virtual objects that execute game logic in the game scene.

[0037] In an optional embodiment, the game scene is the game scene displayed (or provided) when the application is running on a terminal or server, that is, the scene used during normal game play. In other words, the game scene refers to the virtual game controls that carry virtual objects during game play. The virtual objects can perform actions such as movement and shooting in the game scene under the control of user (i.e., user) instructions issued to the terminal device. Optionally, the game scene can be a simulation of the real world, a virtual environment that is semi-simulated and semi-fictional, or a purely fictional virtual environment. The game scene can be any of a two-dimensional game scene, a 2.5-dimensional game scene, and a three-dimensional game scene. The game scene is a scene in which users control virtual objects to execute the complete game logic. Optionally, the game scene can also be used for game scene battles between at least two virtual objects, with virtual resources available for use by at least two virtual objects in the game scene. Exemplarily, the game scene can include any one or more of the following elements: game background elements, game character elements, game prop elements, and game material elements.

[0038] In an optional embodiment, a virtual shooting prop refers to a virtual prop that can simulate shooting with a real firearm. The virtual shooting prop can be a three-dimensional model of a real firearm, and the virtual object can carry the virtual firearm and control it to shoot at a target. Virtual firearms can include a variety of different firearm categories, such as rifles, submachine guns, machine guns, shotguns, pistols, etc. Firearm categories can be divided according to actual needs. For example, rifles can be further divided into different categories such as assault rifles and sniper rifles, and machine guns can be further divided into different categories such as light machine guns and heavy machine guns.

[0039] In an optional embodiment, a virtual object refers to a dynamic object that can be controlled within a game scene. Optionally, the dynamic object can be a virtual character, an animated character, or the like. The virtual object is a character controlled by a user through an input device, or an artificial intelligence (AI) trained to compete in a virtual environment. Optionally, the virtual object is a virtual character competing within the game scene. Optionally, the number of virtual objects in the game scene is preset or dynamically determined based on the number of clients participating in the game, though this is not limited in the embodiments of the present disclosure. In one possible implementation, the user can control the movement of the virtual object within the game scene, for example, by controlling the virtual object to run, jump, crawl, etc., or control the virtual object to fight against virtual objects of other factions using shooting props provided by the application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object can be a three-dimensional virtual model, each virtual object having its own shape and volume within the three-dimensional virtual environment and occupying a portion of the space within the three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual object achieves different appearances by wearing different skins. In some implementations, the virtual object may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present disclosure.

[0040] An optional embodiment of the present disclosure provides a method for controlling shooting in a game that can be run on a local terminal device or a server. When the method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

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

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

[0043] In the related art, users can use a sliding screen operation to achieve automatic shooting in a non-scoped aiming state (such as a hip-fire aiming state). When facing a long-range enemy, the user can click the scoped aiming button on the graphical user interface to achieve the scoped aiming operation, and then use a sliding screen operation to achieve automatic shooting in the scoped aiming state. In actual operation, when the user switches from non-scoped shooting to scoped shooting, it is necessary to first perform the scoped shooting operation (such as clicking the scoped aiming button), and then return to the scoped aiming state and continue to slide the screen to achieve automatic shooting. The above process is highly complex, resulting in the user being unable to smoothly, conveniently, and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby reducing the operating efficiency of the game.

[0044] Based on this, an optional embodiment of the present disclosure provides a shooting control method, device, electronic device and storage medium in a game, which can enable users to smoothly, conveniently and quickly switch from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, reducing the data processing volume of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0045] An optional embodiment of the present disclosure provides a shooting control method in a game, which provides a graphical user interface through a terminal device, and the graphical user interface displays at least a crosshair of a virtual shooting prop and an enemy virtual object in a game scene of the game. The crosshair is used to indicate the aiming direction of the virtual shooting prop in the game scene.

[0046] Specifically, the terminal device involved in an optional embodiment of the present disclosure mainly refers to a terminal for providing a graphical user interface and capable of controlling a controlled virtual object. In a shooting game, a user can aim and shoot at an enemy virtual object by controlling a virtual shooting prop held by the controlled virtual object, wherein the aiming direction and shooting point of the virtual shooting prop are determined by the user through the crosshairs of the virtual shooting prop. In addition, after the user opens the scope of the virtual shooting prop, the crosshairs will appear in the lens display area of ​​the scope. The controlled virtual object and the enemy virtual object belong to different camps.

[0047] Among them, the scope refers to a virtual item equipped on the virtual shooting prop for assisting in observing the game environment. The scope can be a three-dimensional model of a real scope. After the virtual shooting prop is equipped with the scope, it can enter the open-scope aiming state, which refers to the state of observing the game environment through the scope. The scope can include scopes with different magnifications (such as 2x, 3x, 4x, 6x, 8x, etc.), laser scopes, red dot scopes, holographic scopes, etc.

[0048] Please refer to FIG1 , which shows a shooting control method in a game provided by an optional embodiment of the present disclosure. The method includes:

[0049] S101: When a virtual shooting prop held by a controlled virtual object is in a non-scoped aiming state, in response to initiation of a sliding operation on a first area on a graphical user interface, controlling the virtual shooting prop to switch from the non-scoped aiming state to the scoped aiming state, and the controlled virtual object is controlled via a terminal device;

[0050] S102, when the virtual shooting prop is in a scoped aiming state, in response to continued sliding operation, adjusting the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation;

[0051] S103. In response to the crosshairs and the target outline of the enemy virtual object being coincident, when the virtual shooting prop is in an aiming state, control the controlled virtual object to perform an automatic shooting operation using the virtual shooting prop.

[0052] In the above steps S101 to S103, by continuously performing a sliding operation in the first area on the graphical user interface, the virtual shooting prop can be controlled to switch from a non-scoped aiming state to a scoped aiming state, and the position of the crosshairs can be adjusted in real time according to the sliding attribute parameters of the sliding operation until the crosshairs coincides with the target outline range of the enemy virtual object, thereby controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation. In an optional embodiment of the present disclosure, after switching from a non-scoped aiming state to a scoped aiming state, the sliding operation in the scoped aiming state can be continued without interruption. By continuously performing a sliding operation in the first area, the switching from the non-scoped aiming state to the scoped aiming state and the automatic shooting operation in the scoped aiming state can be achieved. This allows the user to smoothly, conveniently, and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, further reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0053] Taking the shooting control method in the above game running on a local terminal device (hereinafter referred to as the terminal device) as an example, the above exemplary steps provided by the present disclosure are described respectively:

[0054] In step S101, when the virtual shooting prop held by the controlled virtual object is in a non-scoped aiming state, in response to the start of a sliding operation on the first area on the graphical user interface, the virtual shooting prop is controlled to switch from the non-scoped aiming state to the scoped aiming state.

[0055] In this step, the aiming state refers to the state of observing the game environment through the scope, and the shooting mode in the aiming state is a mode in which the controlled virtual object raises the scope to shoot; the non-aiming state refers to the state of directly observing the game environment without using the scope, and the shooting mode in the non-aiming state is a state in which the controlled virtual object directly shoots without using the scope, such as the hip-fire aiming state.

[0056] Here, performing a sliding operation on the first area can trigger the virtual shooting prop to switch from a non-aiming state to an aiming state. Preferably, the first area is set on a partial area of ​​the right half screen of the graphical user interface for easy user operation.

[0057] In step S102, when the virtual shooting prop is in the aiming state, in response to the continuation of the sliding operation, the position of the crosshair is adjusted in real time according to the sliding attribute parameters of the sliding operation.

[0058] In this step, the sliding attribute parameters include at least one of the following items: a sliding trajectory, a sliding distance, and a sliding direction. The shape of the sliding trajectory of the sliding operation is the same as the shape of the movement trajectory of the crosshairs on the graphical user interface, the sliding distance of the sliding operation is proportional to the movement distance of the crosshairs on the graphical user interface, and the sliding direction of the sliding operation is the same as the movement direction of the crosshairs on the graphical user interface.

[0059] In the above method, the user can adjust the position of the crosshairs according to the sliding attribute parameters of the sliding operation, wherein the sliding trajectory, sliding distance, and sliding direction of the sliding operation are respectively correlated with the movement trajectory, movement distance, and movement direction of the crosshairs, thereby facilitating the user to quickly master the operation method of adjusting the crosshairs, and the operation conforms to the user's operating habits, thereby indirectly improving the operating efficiency of the game.

[0060] In an optional embodiment, the first area can be displayed on the graphical user interface, such as by displaying a dotted frame around the first area. Furthermore, as the sliding operation continues, the user's sliding range can be maintained within the first area, ensuring that the user clearly understands that sliding within the first area is an automatic shooting operation in the aiming and focusing state, thereby increasing user accuracy.

[0061] In another optional embodiment, in response to the continued sliding operation, the range of the sliding operation can exceed the first area. Here, as long as the starting position of the sliding operation is ensured to be located in the first area, after the virtual shooting prop is switched from the non-scope aiming state to the scope aiming state, the range of the sliding operation will no longer be limited. In this way, the range of the sliding operation is wider, which is convenient for user operation, thereby improving the user's operating efficiency.

[0062] In step S103, in response to the crosshairs and the target outline of the enemy virtual object being coincident, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to perform an automatic shooting operation using the virtual shooting prop.

[0063] Here, the trigger condition for triggering the controlled virtual object to automatically fire using the virtual shooting prop is that the crosshairs overlap with the target outline of the enemy virtual object. The target outline of the enemy virtual object can be considered the automatic firing range. The size of the target outline can be equal to or greater than the actual size of the enemy virtual object's outline. In other words, even if the crosshairs are not aimed at the enemy virtual object, but are within the target outline of the enemy virtual object, the controlled virtual object can still be controlled to automatically fire using the virtual shooting prop.

[0064] Specifically, there is a correlation between the target outline range size of the enemy virtual object and the target distance, wherein the target outline range size may first increase and then decrease as the target distance increases. Here, the minimum target outline range is the actual outline range of the enemy virtual object. For example, the actual outline range refers to the outline range corresponding to the character model of the enemy virtual object in the game scene. The actual outline range here can be a contour area that fits the character model, a rectangular contour area surrounding the character model, or an elliptical contour area surrounding the character model. The shape of the actual contour range is not specifically limited here.

[0065] In an optional embodiment of the present disclosure, the target outline range of the enemy virtual object is determined by the following steps:

[0066] Step 1031: Obtain the bullet shooting angle of the virtual shooting prop and the target distance between the virtual shooting prop and the enemy virtual object;

[0067] Among them, the bullet shooting angle refers to the angle between the aiming direction of the virtual shooting prop and the direction of the enemy virtual object.

[0068] Step 1032: Determine an adjustment coefficient for the outline range of the enemy virtual object based on the bullet shooting angle and the target distance;

[0069] Here, the tangent function relationship can be used to combine the bullet launch angle and the target distance to calculate the adjustment coefficient of the enemy virtual object's outline range. The adjustment coefficient refers to the coefficient used to expand the outline range.

[0070] Step 1033: Determine the target outline range of the enemy virtual object by combining the actual outline range of the enemy virtual object and the adjustment coefficient.

[0071] For example, assuming that the actual contour range is s1 and the adjustment coefficient is a, the target contour range s=(1+a)*s1.

[0072] In an optional embodiment of the present disclosure, when the target distance is less than the optimal effective shooting distance, the adjustment coefficient is positively correlated with the target distance; when the target distance is not less than the optimal effective shooting distance and not greater than the maximum effective shooting distance, the adjustment coefficient is negatively correlated with the target distance; wherein, when the target distance is equal to the optimal effective shooting distance, the adjustment coefficient is maximum; when the target distance is equal to 0 or the maximum effective shooting distance, the adjustment coefficient is 0.

[0073] For example, as shown in FIG2 , the optimal effective distance of automatic shooting is set to X, and the maximum effective distance of automatic shooting is set to Y (under the ideal automatic shooting state, when the distance between the enemy virtual object and the bullet launch point O of the virtual shooting prop is X, the adjustment coefficient corresponding to the target outline range 201 of the automatic shooting is a; when the distance between the enemy virtual object and the bullet launch point O of the virtual shooting prop is Y, automatic shooting is not effective).

[0074] When the target distance is less than the optimal shooting distance, the size of the enemy virtual object's outline range will increase linearly; when the target distance is not less than the optimal shooting distance and not greater than the maximum shooting distance, the size of the enemy virtual object's outline range will decrease linearly; when the target distance is greater than the maximum shooting distance, automatic shooting will not be triggered.

[0075] As shown in Figure 2, define the target distance as L, the target outline range as s, and the actual outline range as s1. When shooting without a scope, the target outline range is calculated as follows:

[0076] If L<X: s=(L / X*a+1)*s1;

[0077] If Y>L>X: s=((YL) / (YX)*a+1)*s1;

[0078] When shooting with a scope, the game content in the scope will be magnified. Note that the scope magnification is F, so the above distances X and Y will also be extended to F times according to the scope magnification. Then, when shooting with a scope, the target outline range is calculated as follows:

[0079] If L<X*F: s=(L / (X*F)*a+1)*s1;

[0080] If Y*F>L>X*F: s=((Y*FL) / (Y*FX*F)*a+1)*s1.

[0081] It should be noted that in actual games, the enemy virtual object model is a fixed size. Therefore, on the user's screen, the enemy virtual object will appear smaller as the target distance increases, making aiming increasingly difficult. As shown in Figure 2, as the target distance increases, the target outline range 201 of the enemy virtual object on the screen will appear smaller and smaller. However, this is only a visual effect, that is, a change that the user can see. In addition, in shooting games, the target damage value will decrease with the range of the virtual shooting prop.

[0082] Here, when the enemy virtual object is close to the virtual shooting prop, it appears larger on the screen, making it easier to aim and trigger auto-fire. As the enemy virtual object moves farther away from the virtual shooting prop, it gradually becomes smaller on the screen. Therefore, as the enemy virtual object moves farther away (i.e., the target distance changes from 0 to X, which is a relatively normal combat distance), we can linearly increase the target outline size of the enemy virtual object to reduce the difficulty of aiming and make auto-fire easier to trigger. When the distance between the enemy virtual object and the virtual shooting prop exceeds X, because the enemy virtual object is too small on the screen and the damage has been attenuated to a very low level, the enemy virtual object may no longer be the target the user wants to attack. Therefore, we linearly reduce the range of auto-fire triggering to reduce the possibility of false triggering, until the target distance exceeds the maximum range of the bullet (i.e., the maximum effective distance Y of auto-fire), at which point auto-fire will no longer be triggered.

[0083] An optional embodiment disclosed herein can address the limitations of automatic firing at long distances. This solves the problem of users having difficulty hitting and triggering automatic firing when shooting at virtual enemy objects within normal engagement range due to the long distance. Furthermore, it reduces the chance of inadvertently triggering automatic firing for virtual enemy objects outside the normal engagement range. Specifically, as the distance between the virtual shooting prop and the virtual enemy object gradually increases, the automatic firing determination range (target outline range) gradually decreases. When the distance between the virtual shooting prop and the virtual enemy object reaches the virtual shooting prop's maximum effective distance, automatic firing is no longer triggered.

[0084] In an optional embodiment, step S103 further includes: in response to the crosshairs overlapping the target outline corresponding to the enemy virtual object, while the virtual shooting prop is in the aiming state, determining a target damage value caused by the virtual shooting prop to the overlapping position; controlling the controlled virtual object to use the virtual shooting prop to perform a shooting operation, and calculating the shooting operation according to the target damage value. The target damage value is obtained by calculating the damage of automatic shooting using the balanced calculated weak point damage coefficient.

[0085] For example, by collecting user data, the overall damage of automatic and manual shooting can be made consistent. The weak point hit rate for shooting is calculated as: number of weak point hits / total number of hits. Letting the total expected damage for manual shooting = the total expected damage for automatic shooting, the target damage value for automatic shooting can be calculated as: (automatic shooting weak point hit rate - normal shooting weak point hit rate + normal shooting weak point hit rate * normal shooting weak point coefficient) / automatic shooting weak point hit rate.

[0086] Here, the damage of automatic shooting is settled by using the balanced calculated weakness damage coefficient. At the same time, a similar method is used to settle the damage of manual shooting to ensure that the overall damage amount of automatic shooting and manual shooting is consistent, thereby ensuring the balance of the game.

[0087] In a related solution, when a user aims at a virtual enemy object, they first need to click the aiming button to enter the aiming state. In the aiming state, they slide down the screen to adjust the crosshairs of the virtual shooting prop. When the crosshairs overlap with the virtual enemy object, they automatically fire. Finally, they click the aiming button to close the scope. The above process requires first clicking the aiming button when shooting with the scope, then automatically firing in the aiming state, and then clicking the aiming button again to exit the aiming state. The operation is highly complex. In an optional embodiment of the present disclosure, when the virtual shooting prop is in the aiming state, the virtual shooting prop can be controlled to exit the aiming state in response to the end of the sliding operation.

[0088] Here, when the virtual shooting prop is in the aiming state, the virtual shooting prop can be controlled to exit the aiming state by completing the sliding operation. The operation is simple, and the user can exit the aiming state conveniently and quickly.

[0089] In an optional embodiment of the present disclosure, when switching between the aiming state and the non-aiming state, the sliding operation can be a discontinuous operation or a continuous operation, which is explained below from two aspects:

[0090] First, when switching between the aiming state with the scope open and the aiming state without the scope open, the sliding operation is a discontinuous operation, that is, when switching between the aiming state with the scope open and the aiming state without the scope open, the user's finger needs to leave the screen of the terminal device, end the current aiming state by interrupting the sliding operation, and start another aiming state by re-sliding in other touch areas.

[0091] Under this technical concept, to prevent users from accidentally triggering the first area, the first area is not permanently present on the graphical user interface and is only available to the user in the automatic shooting mode. Based on this, an optional embodiment of the present disclosure can provide the first area on the graphical user interface in response to the activation of the automatic shooting mode.

[0092] In a specific implementation, a setting page is displayed on a graphical user interface, the setting page includes at least one shooting state selection control, and the at least one shooting state selection control includes an automatic shooting state selection control; in response to a touch operation on the automatic shooting state selection control, a first area is provided on the graphical user interface.

[0093] Here, a settings control can be displayed on a graphical user interface. In response to a touch operation on the settings control, a settings page is displayed on the graphical user interface. The settings page includes at least one shooting state selection control, such as an automatic shooting state selection control, a scoped shooting state selection control, and a hip-fire shooting state selection control. In response to a touch operation on the automatic shooting state selection control, a first area is provided on the graphical user interface. Touch operations include, but are not limited to, tapping, sliding, and long pressing.

[0094] In the above method, by sending a touch operation to the automatic shooting state selection control, the first area can be provided on the graphical user interface. This simple operation makes it convenient for gamers to enable the automatic shooting state during the game, which not only improves the game player's gaming experience but also increases the control accuracy of enabling the automatic shooting state.

[0095] In addition, the step of responding to the start operation of the automatic shooting state also includes: responding to a sliding operation performed with a specified sliding trajectory; or responding to a long press operation with a long press duration greater than a preset time threshold.

[0096] In an optional embodiment, in response to a sliding operation performed with a specified sliding trajectory, a first area is provided on the graphical user interface. Optionally, the specified sliding trajectory includes, but is not limited to, a Z-shape, a W-shape, and an X-shape. Optionally, the specified sliding trajectory is applied to the right half of the graphical user interface screen. Optionally, the specified sliding trajectory is applied to a specified area of ​​the right half of the graphical user interface screen, wherein the specified area can be indicated by a dotted frame to remind the user of the area affected by the sliding operation to enable the automatic shooting mode.

[0097] For example, in a shooting game, the user can slide on the right half of the screen of the terminal device with a specified sliding trajectory to turn on the automatic shooting state of the game, and then slide on the first area to aim at the enemy virtual object and automatically shoot in the aiming state, or slide on the second area to aim at the enemy virtual object and automatically shoot in the non-aiming state.

[0098] In this way, the automatic shooting state can be turned on through a sliding operation of a specified sliding trajectory to provide a first area on the graphical user interface. The operation process is intuitive and quick, which reduces the operation time and operation cost, allowing users to turn on the automatic shooting state more conveniently, thereby helping to improve the operation efficiency of the game.

[0099] In another optional embodiment, in response to a long press operation with a duration greater than a preset time threshold, a first area is provided on the graphical user interface. Optionally, the long press operation is applied to the right half of the graphical user interface, wherein the long press duration corresponding to the long press operation exceeds the preset time threshold. The preset time threshold can be determined based on a value set by the game developer based on the game design, and the preset time threshold can prevent accidental triggering by the user.

[0100] Exemplarily, whether the user touches the right half screen of the terminal device for a preset time threshold can be used to determine whether to turn on the automatic shooting state to avoid unexpected situations (such as when the controlled virtual object moves, the crosshairs are aimed at the enemy virtual object, accidentally triggering automatic shooting). Among them, when the user's finger performs a sliding operation in the second area of ​​the right half screen, when the user's finger acts on the second area for a preset time threshold, it can be considered that the automatic shooting state is turned on and the virtual shooting prop is controlled to be in a non-scope aiming state, and as the finger slides, it is achieved by aiming at the enemy virtual object in the non-scope aiming state and automatically shooting; when the user's finger performs a sliding operation in the first area of ​​the right half screen, when the user's finger acts on the first area for a preset time threshold, it can be considered that the automatic shooting state is turned on and the virtual shooting prop is controlled to be in a scope aiming state, and as the finger slides, it is achieved by aiming at the enemy virtual object in the scope aiming state and automatically shooting.

[0101] In this way, by sending a long press operation with a duration exceeding a preset time threshold to the terminal device, the automatic shooting state can be turned on to provide a first area on the graphical user interface. The operation is simple and convenient, achieving the purpose of making the player's operation simpler. At the same time, it can be distinguished from the subsequent method of controlling the aiming by sliding operation in the non-scope aiming state, thereby making the game control more precise.

[0102] Furthermore, in the automatic shooting state, in response to the start of the sliding operation on the first area on the graphical user interface, the virtual shooting prop is controlled to enter the aiming state; when the virtual shooting prop is in the aiming state, in response to the continuation of the sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation.

[0103] In an optional embodiment of the present disclosure, in an automatic shooting state, it also includes: responding to the start of a sliding operation on a second area on a graphical user interface, controlling the virtual shooting prop to enter a non-scope aiming state; when the virtual shooting prop is in the non-scope aiming state, responding to the continuation of the sliding operation, adjusting the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the non-scope aiming state, controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation.

[0104] Furthermore, when the virtual shooting prop held by the controlled virtual object is in the aiming state with a scope, in response to the start of the sliding operation on the second area on the graphical user interface, the virtual shooting prop is controlled to switch from the aiming state with a scope to the non-aiming state; when the virtual shooting prop is in the non-aiming state, in response to the continuation of the sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the non-aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation.

[0105] Here, when the game just enters the automatic shooting state, the virtual shooting prop can be defaulted to the non-scope aiming state, so that by continuously performing the sliding operation on the first area, the virtual shooting prop can be controlled to enter the scope aiming state and perform the automatic shooting operation in the scope aiming state; or after the game just enters the automatic shooting state, the virtual shooting prop can be controlled to enter the scope aiming state and perform the automatic shooting operation in the scope aiming state by continuously performing the sliding operation on the first area; or the virtual shooting prop can be controlled to enter the non-scope aiming state and perform the automatic shooting operation in the non-scope aiming state by continuously performing the sliding operation on the second area. During the game, if the game is currently in the aiming state or the non-aiming state, it includes the following two situations: when the virtual shooting prop is currently in the non-aiming state, continuously performing the sliding operation on the first area can control the virtual shooting prop to switch from the non-aiming state to the aiming state, and perform automatic shooting operations in the aiming state; when the virtual shooting prop is currently in the aiming state, continuously performing the sliding operation on the second area can control the virtual shooting prop to switch from the aiming state to the non-aiming state, and perform automatic shooting operations in the non-aiming state.

[0106] Through the above settings, the user can switch between the aiming state and the non-aiming state by sliding on the first area or the second area respectively, thereby achieving flexible switching, high operating efficiency, and helping to speed up the game process.

[0107] Here, the second area can be set adjacent to the first area. In specific operations, because the second area is adjacent to the first area, the user's finger movement distance is relatively small to control the virtual shooting prop to switch from the non-scoped aiming state to the scoped aiming state or from the scoped aiming state to the non-scoped aiming state. The user can move a very short distance to actively choose to operate the scoped automatic shooting or the non-scoped automatic shooting. Aiming is easier when the scope is automatically shot, making the entire shooting process smoother, thereby achieving flexible switching and improving game operation efficiency.

[0108] For example, as shown in Figure 3, the first area 301 and the second area 302 are displayed in the right half of the graphical user interface. During actual operation, the user can first respond to the start of the sliding operation on the second area 302, control the virtual shooting prop to enter the non-scope aiming state, and when the virtual shooting prop is in the non-scope aiming state, respond to the continuation of the sliding operation, adjust the position of the crosshairs 303 in real time according to the sliding attribute parameters of the sliding operation, respond to the coincidence of the target outline range of the crosshairs 303 with the enemy virtual object 305, and when the virtual shooting prop 304 is in the non-scope aiming state, control the controlled virtual object to use the virtual shooting prop 304 to perform automatic shooting operations. When the virtual shooting prop 304 held by the controlled virtual object is in a non-scoped aiming state, in response to the start of the sliding operation on the first area 301, the virtual shooting prop 304 is controlled to switch from the non-scoped aiming state to the scoped aiming state, as shown in Figure 4. When the virtual shooting prop 304 is in the scoped aiming state, in response to the continuation of the sliding operation, the position of the crosshairs 303 is adjusted in real time according to the sliding attribute parameters of the sliding operation, and in response to the crosshairs 303 overlapping with the target outline range of the enemy virtual object 305, when the virtual shooting prop 304 is in the scoped aiming state, the controlled virtual object is controlled to use the virtual shooting prop 304 to perform automatic shooting operations. Alternatively, a continuous sliding operation on the first area 301 may be performed to control the virtual shooting prop 304 to enter an aiming state and perform an automatic shooting operation in the aiming state; when the virtual shooting prop 304 is currently in the aiming state, a continuous sliding operation on the second area 302 may be performed to control the virtual shooting prop 304 to switch from the aiming state to the non-aiming state and perform an automatic shooting operation in the non-aiming state. In addition, other embodiments will not be described in detail here.

[0109] Specifically, in response to the crosshairs coinciding with the target outline of the enemy virtual object, while the virtual shooting prop is in a non-scoped aiming state, the target damage value caused by the virtual shooting prop to the overlapping position is determined; the controlled virtual object is controlled to use the virtual shooting prop to perform a shooting operation, and the shooting operation is calculated according to the target damage value. Here, the target damage value in the non-scoped aiming state is calculated in the same manner as the target damage value in the scoped aiming state, which can be referred to above and will not be repeated here.

[0110] In one preferred embodiment, the first area includes a scope switch control, wherein the scope switch control has the function of controlling the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state. In another embodiment, the scope switch control has both the function of controlling the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state and the function of providing a prompt. The prompt function is to indicate the starting position of a sliding operation on the first area or the position of the first area on the graphical user interface.

[0111] In an optional embodiment of the present disclosure, the position of the scope switch control on the graphical user interface is the starting position of the sliding operation. Furthermore, step S101 specifically includes: responding to the sliding operation of the scope switch control on the graphical user interface, controlling the virtual shooting prop to switch from a non-scope aiming state to a scope aiming state.

[0112] Through the above method, the user can intuitively know the starting position of the sliding operation on the first area, thereby facilitating the user to accurately perform the sliding operation on the first area, thereby achieving the purpose of accurately and quickly controlling the virtual shooting prop to switch from the non-scope aiming state to the scope aiming state.

[0113] In an optional embodiment, the first area is the area occupied by the scope switch control on the graphical user interface, and the second area includes the area of ​​the graphical user interface excluding the scope switch control. Optionally, the second area includes the area of ​​the right half of the graphical user interface excluding the scope switch control. Based on this, the method provided in an optional embodiment of the present disclosure includes:

[0114] In response to a sliding operation on an area of ​​the graphical user interface other than the scope switch control, the virtual shooting prop is controlled to enter a non-scoped aiming state; when the virtual shooting prop is in the non-scoped aiming state, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline of the enemy virtual object being overlapped, when the virtual shooting prop is in the non-scoped aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation;

[0115] In response to a sliding operation on a scope switch control on a graphical user interface, the virtual shooting prop is controlled to switch from a non-scoped aiming state to a scoped aiming state; when the virtual shooting prop is in the scoped aiming state, in response to the continuation of the sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the scoped aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform automatic shooting operations.

[0116] Here, users can have a very smooth, convenient, and quick shooting experience of switching between non-scoped auto-shooting and scoped auto-shooting at will. After selecting the automatic shooting state for the virtual shooting prop, a scope switch control with "press and hold to enter scope + drag to aim + release to exit scope" can be used to replace the shooting button during non-automatic shooting, so as to quickly enter and exit the scoped aiming state. In this way, when facing a close-range enemy virtual object, the user can trigger non-scoped shooting by sliding the screen to aim at the enemy virtual object; when facing a long-range enemy virtual object, the user can switch to the scoped aiming state by pressing and holding the scope switch control to zoom in on the game content, and can easily continue to aim at the enemy virtual object for automatic shooting, which improves the game's operating efficiency, reduces the amount of data processing on the terminal device, and thus reduces the processing burden on the terminal device, saving the terminal device's power consumption and reducing the performance overhead of the game server.

[0117] In an optional embodiment, since the scope switching control is placed at the "shooting button" position in the normal manual shooting mode, the position of the shooting button in the right half of the screen of most games that support automatic shooting is usually placed without any interaction, which can easily cause users to be uncomfortable. However, an optional embodiment of the present disclosure places the scope switching control at the position of the normal shooting button, which is in line with the user's operating habits. It "increases control over the firearm" at the "position that conforms to the user's usual interaction position", and the related automatic shooting mode has no button at this user's usual interaction position to provide the user with the function of interacting with the firearm.

[0118] In the relevant scheme, in the automatic shooting state, since the shooting state is determined to be automatic shooting state by the system, there is no need for manual shooting, and the shooting button on the right is usually hidden. However, the disadvantage of this design is the loss of the status display of the current weapon control mode, and the lack of interaction between the user and the weapon control when triggering the shooting, resulting in a lack of control over firearms in shooting mobile games.

[0119] Based on this, an optional embodiment of the present disclosure also displays a manual shooting control on the graphical user interface. When the crosshairs and the target outline range of the enemy virtual object do not overlap, the manual shooting control responds to the touch operation of the manual shooting control and controls the controlled virtual object to use virtual shooting props to perform shooting operations.

[0120] This allows users to shoot without aiming at virtual enemy objects, helping experienced users anticipate their movements and shoot in advance, improving their accuracy. Furthermore, manual shooting controls are retained, allowing users to choose between manual and automatic shooting. This maintains user interaction with virtual shooting props, enhancing the user's sense of control over the shooting of virtual shooting props in automatic shooting mode.

[0121] For example, as shown in FIG5 , a scope switch control 501 is displayed in the right half of the graphical user interface, and a manual shooting control 502 is displayed in the left half of the graphical user interface. In response to a sliding operation on an area of ​​the graphical user interface other than the scope switch control 501 (the arrow in FIG5 indicates the sliding direction of the sliding operation), the position of the crosshairs 503 is adjusted in real time according to the sliding attribute parameters of the sliding operation. In response to the crosshairs 503 coinciding with the target outline range of the enemy virtual object 505, when the virtual shooting prop 504 is in the hip-fire aiming state, the controlled virtual object is controlled to use the virtual shooting prop 504 to perform an automatic shooting operation.

[0122] When the virtual shooting prop 504 is in the hip-fire aiming state, in response to the sliding operation on the scope switching control 501, the virtual shooting prop 504 is controlled to switch from the hip-fire aiming state to the scope aiming state. As shown in FIG6 , when the virtual shooting prop 504 is in the scope aiming state, in response to the continuation of the sliding operation, the position of the crosshairs 503 is adjusted in real time according to the sliding attribute parameters of the sliding operation, in response to the crosshairs 503 coinciding with the target outline range of the enemy virtual object, when the virtual shooting prop 504 is in the scope aiming state, the controlled virtual object is controlled to use the virtual shooting prop 504 to perform automatic shooting operations. In the above-mentioned switching from the non-scope aiming state to the scope aiming state, During the aiming state, an optional embodiment of the present disclosure can achieve switching from the non-scoped aiming state to the scoped aiming state and amplifying the game content by sliding the scope switch control; after switching from the non-scoped aiming state to the scoped aiming state, the sliding operation in the scoped aiming state can be continued, so as to achieve the purpose of automatic shooting operation in the scoped aiming state, and enable users to smoothly, conveniently and quickly perform shooting operations after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, reducing the data processing volume of the terminal device, and thus reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server. Among them, a blood bar 506 can be displayed above the head of the enemy virtual object 505, and as the controlled virtual object uses the virtual shooting props 504 to automatically shoot, the blood volume of the blood bar 506 gradually decreases.

[0123] In addition, when the crosshairs 503 does not overlap with the target outline range of the enemy virtual object, the touch operation on the manual shooting control 502 can also be responded to to control the controlled virtual object to use the virtual shooting prop 504 to perform a shooting operation.

[0124] In the relevant scheme, it is taken into account that in the non-scoped aiming state, the user needs to observe that the position of the crosshairs has changed, so that the user can know that he can control the virtual shooting prop to aim in the non-scoped aiming state and may trigger the virtual shooting prop to automatically shoot in the non-scoped aiming state. This may easily lead to the user not being able to know in time that the current virtual shooting prop is already in the non-scoped aiming state and can aim or even automatically shoot in the non-scoped aiming state, thereby reducing the interactive efficiency of the game.

[0125] In order to solve the above problems, an optional embodiment of the present disclosure proposes the following solutions:

[0126] First: When the virtual shooting prop is in a non-scoped aiming state, a reminder icon is displayed in the associated area of ​​the sliding operation.

[0127] The associated area can be added anywhere within the preset distance range of the sliding operation. Specifically, the preset distance range can be set according to different games or gaming devices. The setting of the distance range needs to take into account factors such as the player's operational convenience and the distance or position conflict with other controls in the game interface. For example, the associated area can be the area above the touch point of the sliding operation in the graphical user interface; the associated area can also be the area centered on the touch point of the sliding operation in the graphical user interface.

[0128] The reminder icon is used to remind the user that the game is not in the aiming state. The display form of the reminder icon includes but is not limited to: graphics, text, symbols, pictograms, etc.

[0129] Illustratively, in an optional embodiment of the present disclosure, the associated area is an area in the graphical user interface that is centered around the touch point of the sliding operation, and the reminder icon is located in the area, and the reminder icon here can be a circle.

[0130] In this way, when the virtual shooting prop is in the non-scope aiming state, by displaying a reminder icon in the associated area of ​​the sliding operation, the user can be reminded in time that the current virtual shooting prop has entered the non-scope aiming state and is in the automatic shooting waiting to be triggered state in the non-scope aiming state, which helps to remind the user that they can control the virtual shooting prop in the non-scope aiming state to aim and trigger automatic shooting at any time, which helps to improve the efficiency of game interaction.

[0131] Second: when the virtual shooting prop is in a non-scope aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding trajectory of the sliding operation.

[0132] Here, the display position of the reminder icon can move along with the movement of the touch point of the user's finger on the graphical user interface, that is, the moving trajectory of the display position of the reminder icon overlaps with the sliding trajectory of the sliding operation or the degree of overlap is greater than a preset overlap threshold.

[0133] In this way, through the dynamic changes of the reminder icon, the user can be reminded in time of the sliding direction of the virtual shooting prop he controls when aiming in the non-scoped aiming state. This can be used in conjunction with the changes in the crosshairs of the virtual shooting prop to achieve the purpose of precise aiming, thereby improving the operating efficiency of the game.

[0134] Third: when the virtual shooting prop is in a non-scoped aiming state, a reminder icon is displayed in the associated area of ​​the sliding operation; when the virtual shooting prop is in a non-scoped aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding trajectory of the sliding operation.

[0135] In the above method, when the virtual shooting prop is in the non-scope aiming state, a reminder icon can be displayed in the associated area of ​​the sliding operation, and the display position of the reminder icon can be controlled to move according to the sliding trajectory of the sliding operation. The user can be reminded in time that the current virtual shooting prop has entered the non-scope aiming state and is in the automatic shooting waiting state in the non-scope aiming state. At the same time, it can be used in conjunction with the crosshairs changes of the virtual shooting prop to achieve the purpose of precise aiming, thereby improving the interactive efficiency and operation efficiency of the game.

[0136] In order to further enhance the feedback effect of the reminder icon, an optional embodiment of the present disclosure can also control the reminder icon to change in response to the crosshairs and the target outline range of the enemy virtual object overlapping when the virtual shooting prop is in a non-scoped aiming state.

[0137] Here, the ways of controlling the reminder icon to change include but are not limited to: (1) controlling the reminder icon to display dynamic special effects, such as luminous special effects, flashing special effects, etc.; (2) controlling the reminder icon to be highlighted, wherein the ways of highlighting include but are not limited to: darkening of color, enlargement of shape, and thickening of lines; (3) controlling the shape of the reminder icon to change from a first shape to a second shape, wherein the first shape is different from the second shape, and during the aiming process of the virtual shooting prop being controlled by the sliding operation on the graphical user interface in a non-scope aiming state, the reminder icon is in the first shape, and when the automatic shooting is triggered during the control sliding operation, the reminder icon is converted to the second shape; (4) controlling the position of the reminder icon to change from a first position to a second position, wherein the first position is different from the second position, and during the aiming process of the virtual shooting prop being controlled by the sliding operation on the graphical user interface in a non-scope aiming state, the reminder icon is in the first position, and when the automatic shooting is triggered during the control sliding operation, the reminder icon is in the second position.

[0138] This approach allows the control of a reminder icon that changes when the crosshairs overlap the target outline of an enemy virtual object, triggering an automatic fire action. This visual icon change promptly reminds the user that automatic fire has been triggered for a virtual shooting prop in the non-scoped aiming state, providing a clear and intuitive way for the user to enhance their gaming experience.

[0139] For example, as shown in Figures 7 and 8, in response to the start of a sliding operation on an area other than the scope switch control 501 on the graphical user interface, when the virtual shooting prop is in a non-scope aiming state, a reminder icon 702 is displayed at the location of the touch point of the user's finger 701; in response to the continuation of the sliding operation, the display position of the reminder icon 702 is controlled to move according to the sliding trajectory of the sliding operation, and the position of the crosshairs 503 is adjusted in real time according to the sliding attribute parameters of the sliding operation; as shown in Figure 8, in response to the crosshairs 503 overlapping with the target outline range of the enemy virtual object 505, when the virtual shooting prop 504 is in a hip-fire aiming state, the reminder icon 702 is controlled to produce a luminous effect, and at the same time, the controlled virtual object is controlled to use the virtual shooting prop 504 to perform automatic shooting operations.

[0140] In the above method, when the user touches the right half of the screen of the terminal device but does not trigger automatic shooting, a reminder icon is displayed at the location of the touch point. When the user touches the right half of the screen and triggers automatic shooting, the reminder icon displays a firing special effect. In this way, by setting a reminder icon, the user can be reminded that "the current virtual shooting prop is in the non-scope aiming state, and the automatic shooting in the non-scope aiming state is in a state to be triggered. The automatic shooting will be triggered at any time when the crosshairs and the target outline of the enemy virtual object overlap". In this way, before aiming in the non-scope aiming state of the virtual shooting prop, the user can be reminded in time that the current game has entered the non-scope aiming state and can aim. During the aiming process, the reminder icon takes effect and provides feedback. Providing visual feedback when interacting with automatic shooting in the non-scope aiming state can not only improve the user's gaming experience, but also improve the game's interactive efficiency and operational efficiency.

[0141] In an optional embodiment, after the step of controlling the controlled virtual object to use a virtual shooting prop to perform an automatic shooting operation, the method further includes: in response to the crosshairs and the target outline range of the enemy virtual object not overlapping, controlling the controlled virtual object to stop using the virtual shooting prop to perform the automatic shooting operation after the non-overlap continues for a predetermined time.

[0142] Specifically, in response to the crosshairs not overlapping with the shooting trigger area corresponding to the enemy virtual object, timing is started; in response to the timing duration being not less than a preset time, the controlled virtual object is controlled to stop using the virtual shooting prop to perform shooting operations.

[0143] If the crosshairs of the virtual shooting prop lose alignment with the enemy virtual object due to the user sliding the screen or the enemy virtual object moving during shooting, the shooting is stopped after a certain period of time, reducing the sense of interruption caused by the crosshairs leaving the enemy virtual object. Furthermore, this approach can reduce the sense of interruption caused by the crosshairs leaving the enemy virtual object, thereby improving the user's gaming experience.

[0144] For example, the complete process of a shooting control method provided by an optional embodiment of the present disclosure is described in detail below, with specific reference to FIG9 . In FIG9 , the game system first determines whether the automatic shooting state is enabled, such as by clicking the automatic shooting state selection control in the setting page; if the automatic shooting state selection control in the setting page is not clicked, the automatic shooting state is not effective, and the manual shooting control can be touched at this time to control the controlled virtual object to perform manual shooting operations using a virtual shooting prop; if the automatic shooting state selection control in the setting page is clicked, the virtual shooting prop is controlled to enter the automatic shooting state; the position of the sliding operation is detected to determine whether the sliding operation is applied to the scope switch control;

[0145] If a sliding operation is detected on the scope switch control, the virtual shooting prop is controlled to enter the scope aiming state, and in the scope aiming state, the sliding operation is continued, and the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation. In the process of adjusting the crosshairs, whether the automatic shooting condition is met is detected, wherein the automatic shooting condition includes that the crosshairs and the target outline range of the enemy virtual object overlap. If it is detected that the automatic shooting condition is met, automatic shooting is performed in the scope aiming state, and the damage of the automatic shooting is calculated based on the balanced weak point damage coefficient. If it is detected that the crosshairs and the target outline range of the enemy virtual object do not overlap, the shooting is stopped after the non-overlap continues for a predetermined time.

[0146] If it is detected that the sliding operation does not act on the scope switch control, but acts on a position other than the scope switch control on the right half of the screen, since the virtual shooting prop is in the hip-fire aiming state by default, the sliding operation is performed in the hip-fire aiming state, and the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation. In the process of adjusting the crosshairs, it is detected whether the automatic shooting conditions are met, wherein the automatic shooting conditions include the crosshairs and the target outline range of the enemy virtual object overlapping. If it is detected that the automatic shooting conditions are met, automatic shooting is performed in the hip-fire aiming state, and the damage of the automatic shooting is settled with the balanced calculated weakness damage coefficient. If it is detected that the crosshairs and the target outline range of the enemy virtual object do not overlap, the shooting is stopped after the non-overlap continues for a predetermined time.

[0147] In an optional embodiment disclosed herein, after a virtual shooting prop is in automatic shooting mode, a scope switch control with the functions of "press and hold to enter scope + drag to aim + release to exit scope" can be used to quickly enter and exit scope and aim modes. When facing a close-range enemy virtual object, the user can trigger unscoped shooting by swiping in the right half of the screen outside the scope switch control. When facing a long-range enemy virtual object, the user can trigger scoped shooting by pressing and holding the scope switch control to switch to scope and aim mode and then continuing to slide. This simple operation and smooth switching can further improve the operational efficiency of the game.

[0148] Secondly, when switching between the aiming state with the scope open and the aiming state without the scope open, the sliding operation is a continuous operation, that is, when switching between the aiming state with the scope open and the aiming state without the scope open, the user's finger does not need to leave the screen of the terminal device. By continuously sliding through different areas, the current aiming state is ended and another aiming state is started at the same time.

[0149] Under this technical concept, an optional embodiment of the present disclosure can control the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state by continuously performing a sliding operation in a first area on a graphical user interface, and adjust the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation until the crosshairs coincides with the target outline range of the enemy virtual object, thereby controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation. An optional embodiment of the present disclosure can switch from a non-scoped aiming state to a scoped aiming state without interrupting the sliding operation in the non-scoped aiming state. It is only necessary to control the sliding operation to continue acting on the first area to achieve the automatic shooting operation in the scoped aiming state, so that the player can switch between scoped shooting and non-scoped shooting smoothly, conveniently and quickly, thereby improving the operating efficiency of the game, reducing the amount of data processing of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0150] In an optional embodiment of the present disclosure, when the virtual shooting prop is in a scoped aiming state, in response to the end of a sliding operation, the virtual shooting prop can be controlled to switch from the scoped aiming state to a non-scoped aiming state.

[0151] Here, the default game is in the non-scoped aiming state when entering the automatic shooting state. In this way, when the virtual shooting prop is in the scoped aiming state, the sliding operation can be completed to control the virtual shooting prop to switch from the scoped aiming state to the non-scoped aiming state. The operation is simple, and the player can switch between scoped shooting and non-scoped shooting smoothly, conveniently and quickly.

[0152] In an optional embodiment of the present disclosure, in an automatic shooting state, the virtual shooting prop is in a non-scoped aiming state by default. When the virtual shooting prop is in the non-scoped aiming state, in response to a sliding operation on a second area on a graphical user interface, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the non-scoped aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation; wherein, the second area is adjacent to the first area.

[0153] Since the sliding operation on the second area can trigger the controlled virtual object to use the virtual shooting prop to perform automatic non-scoped shooting operation, when switching from the non-scoped aiming state to the scoped aiming state, the sliding operation on the second area can be directly switched to the sliding operation on the first area. In specific operation, since the second area is adjacent to the first area, the player can slide his finger from the second area to the first area to control the virtual shooting prop to switch from the non-scoped aiming state to the scoped aiming state without interrupting the sliding operation. The user can actively choose to operate the scoped automatic shooting or the non-scoped automatic shooting by moving his finger a very short distance, and aiming is easier when the scope is automatically shot, making the entire shooting process smoother, thereby achieving flexible switching and improving the efficiency of game operation.

[0154] Here, in a shooting game, if the player slides the right half of the screen to aim at an enemy virtual object, then whether the player is trying to shoot can be used to determine whether the player is trying to shoot, so as to decide whether to enable the automatic shooting state to avoid unexpected situations (for example, when the controlled virtual object moves, the crosshairs are aimed at the enemy virtual object, accidentally triggering automatic shooting).

[0155] When the player's finger slides in the second area of ​​the right half of the screen, the virtual shooting prop is placed in the non-scoped aiming state. Once the finger slides to the first area, the virtual shooting prop enters the scoped aiming state. Conversely, when the player's finger slides in the first area of ​​the right half of the screen, the virtual shooting prop is placed in the scoped aiming state. Once the finger slides to the second area, the virtual shooting prop enters the non-scoped aiming state.

[0156] In a preferred embodiment, the first area includes a scope switch control, which can include multiple functions. In an optional embodiment, the scope switch control has a control function of controlling the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state; in another embodiment, the scope switch control only has a prompt function; in another embodiment, the scope switch control has both a control function of controlling the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state and a prompt function. The prompt function refers to the ability to indicate the starting position of a sliding operation on the first area or the position of the first area on the graphical user interface.

[0157] In an optional embodiment of the present disclosure, the position of the scope switch control on the graphical user interface is the starting position of the sliding operation. Furthermore, step S101 specifically includes: responding to the sliding operation of the scope switch control on the graphical user interface, controlling the virtual shooting prop to switch from a non-scope aiming state to a scope aiming state.

[0158] Through the above method, the player can intuitively know the starting position of the sliding operation on the first area, thereby facilitating the player to accurately perform the sliding operation on the first area, thereby achieving the purpose of accurately and quickly controlling the virtual shooting prop to switch from the non-scope aiming state to the scope aiming state.

[0159] Specifically, the first area is the area occupied by the scope switch control on the graphical user interface, and the second area includes the area of ​​the graphical user interface excluding the scope switch control. Optionally, the second area includes the area of ​​the right half of the graphical user interface excluding the scope switch control. Based on this, an optional embodiment of the present disclosure provides a method including:

[0160] When the virtual shooting prop is in a non-scoped aiming state, responding to a sliding operation on an area of ​​the graphical user interface other than the scope switch control, adjusting the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation; responding to the crosshairs and the target outline of the enemy virtual object overlapping, when the virtual shooting prop is in a non-scoped aiming state, controlling the controlled virtual object to use the virtual shooting prop to perform an automatic shooting operation;

[0161] In response to a sliding operation on a scope switch control on a graphical user interface, the virtual shooting prop is controlled to switch from a non-scoped aiming state to a scoped aiming state; when the virtual shooting prop is in the scoped aiming state, in response to the continuation of the sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation; in response to the crosshairs and the target outline range of the enemy virtual object overlapping, when the virtual shooting prop is in the scoped aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform automatic shooting operations.

[0162] It should be noted here that in order to prevent the user's finger from accidentally touching the scope switch control when sliding in the non-scope aiming state, causing the virtual shooting prop to switch from the non-scope aiming state to the scope aiming state, an optional embodiment of the present disclosure can detect the action time or action pressure of the finger on the scope switch control. When the action time is greater than or equal to the specified time threshold or the action pressure is greater than or equal to the specified pressure threshold, it is determined that the function of the scope switch control is triggered, that is, the virtual shooting prop is controlled to switch from the non-scope aiming state to the scope aiming state.

[0163] Here, players can have a very smooth, convenient, and fast shooting experience of switching between automatic shooting without scope and automatic shooting with scope. After the virtual shooting prop is in automatic shooting state, a scope switch control with "press and hold to enter scope + drag to aim + release to exit scope" can be used to replace the shooting button during non-automatic shooting. In this way, when facing a close-range enemy virtual object, the player can trigger non-scope shooting by sliding the screen to aim at the enemy virtual object; when facing a long-range enemy virtual object, the player can switch to the scope aiming state by pressing and holding the scope switch control to zoom in on the game content, and can easily continue to aim at the enemy virtual object for automatic shooting.

[0164] For example, the complete process of another shooting control method provided by an optional embodiment of the present disclosure is described in detail below, with specific reference to FIG10 . In FIG10 , the game system first determines whether the automatic shooting state is enabled, such as by clicking the automatic shooting state selection control in the settings page. If the automatic shooting state selection control in the settings page is not clicked, the automatic shooting state is not effective. At this time, the manual shooting control can be touched to control the controlled virtual object to perform manual shooting operations using a virtual shooting prop. If the automatic shooting state selection control in the settings page is clicked, the virtual shooting prop is controlled to enter the hip-fire aiming state by default. A sliding operation is performed on the right half of the screen to detect whether the sliding operation acts on the scope switch control.

[0165] If a sliding operation is detected on the scope switch control (such as the sliding operation passes through the scope switch control and the action time on the scope switch control is greater than or equal to the specified time threshold or the action pressure is greater than or equal to the specified pressure threshold), the virtual shooting prop is controlled to switch from the hip-fire aiming state to the scope aiming state, and in the scope aiming state, the sliding operation is continued, and the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation. During the process of adjusting the crosshairs, it is detected whether the automatic shooting condition is met, wherein the automatic shooting condition includes that the crosshairs and the target outline range of the enemy virtual object overlap. If it is detected that the automatic shooting condition is met, automatic shooting is performed in the scope aiming state, and the damage of the automatic shooting is calculated based on the balanced weak point damage coefficient. If it is detected that the crosshairs and the target outline range of the enemy virtual object do not overlap, the shooting is stopped after the non-overlap continues for a predetermined time.

[0166] If it is detected that the sliding operation does not act on the scope switch control (such as not passing through the scope switch control, or passing through the scope switch control but the action time on the scope switch control is less than the specified time threshold or the action pressure is less than the specified pressure threshold), then in the hip-fire aiming state, continue to perform the sliding operation on the area of ​​the right half screen except the scope switch control, and adjust the position of the crosshairs in real time according to the sliding attribute parameters of the sliding operation. In the process of adjusting the crosshairs, check whether the automatic shooting conditions are met, where the automatic shooting conditions include the crosshairs and the target outline range of the enemy virtual object overlapping. If it is detected that the automatic shooting conditions are met, automatic shooting is performed in the hip-fire aiming state, and the damage of the automatic shooting is settled based on the balanced calculated weakness damage coefficient. If it is detected that the crosshairs and the target outline range of the enemy virtual object do not overlap, stop shooting after the non-overlap continues for a predetermined time.

[0167] The present invention can switch from the non-scoped aiming state to the scoped aiming state without interrupting the sliding operation in the non-scoped aiming state. It only needs to make the sliding operation continue to act on the first area (such as acting on the scoped aiming control) from the second area (the area of ​​the right half screen except the scoped aiming switch control) to achieve the switching between the non-scoped aiming state and the scoped aiming state, so that the player can switch between scoped shooting and non-scoped shooting smoothly, conveniently and quickly, and the operation is simple. In addition, after switching from the non-scoped aiming state to the scoped aiming state, the sliding operation in the scoped aiming state can be continued. By continuously executing the sliding operation, the automatic shooting operation in the scoped aiming state can be achieved, so that the user can smoothly, conveniently and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, and further, reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0168] Based on the same inventive concept, an optional embodiment of the present disclosure further provides a shooting control device in the game corresponding to the shooting control method in the game. Since the principle of solving the problem by the device in an optional embodiment of the present disclosure is similar to the shooting control method in the above-mentioned game in an optional embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0169] Please refer to Figures 11 and 12. Figure 11 is a schematic diagram of the structure of a shooting control device in a game provided by an optional embodiment of the present disclosure, and Figure 12 is a schematic diagram of the structure of a shooting control device in another game provided by an optional embodiment of the present disclosure. As shown in Figure 11, the shooting control device 800 includes:

[0170] a state switching module 801 for controlling the virtual shooting prop held by the controlled virtual object to switch from the non-scoped aiming state to the scoped aiming state in response to the start of a sliding operation on the first area of ​​the graphical user interface when the virtual shooting prop is in the non-scoped aiming state, and the controlled virtual object is controlled via the terminal device;

[0171] The crosshair adjustment module 802 is configured to adjust the position of the crosshair in real time according to the sliding attribute parameters of the sliding operation in response to the continued sliding operation when the virtual shooting prop is in the aiming state;

[0172] The automatic shooting module 803 is used to control the controlled virtual object to perform automatic shooting operations using the virtual shooting prop in response to the crosshairs and the target outline of the enemy virtual object being coincident with each other, when the virtual shooting prop is in the aiming state.

[0173] Furthermore, as shown in FIG12 , the shooting control device 800 further includes a scope opening and closing module 804 , which is used to:

[0174] When the virtual shooting prop is in the aiming state, in response to the end of the sliding operation, the virtual shooting prop is controlled to exit the aiming state.

[0175] In an optional embodiment of the present disclosure, the shooting control device 800 further includes an automatic shooting start module (not shown in the figure), which is used to:

[0176] In response to a start operation of the automatic shooting state, a first area is provided on the graphical user interface.

[0177] In an optional embodiment of the present disclosure, the shooting control device 800 further includes a control display module (not shown in the figure), which is used to:

[0178] Displaying a settings page on a graphical user interface, the settings page including at least one shooting state selection control, the at least one shooting state selection control including an automatic shooting state selection control;

[0179] The automatic shooting enabling module is specifically configured to respond to a touch operation on an automatic shooting state selection control.

[0180] In an optional embodiment of the present disclosure, the shooting control device 800 further includes a non-scope shooting module 805, which is configured to:

[0181] When the virtual shooting prop held by the controlled virtual object is in a scoped aiming state, in response to the start of a sliding operation on the second area on the graphical user interface, controlling the virtual shooting prop to switch from the scoped aiming state to a non-scoped aiming state;

[0182] When the virtual shooting prop is in the non-scoped aiming state, in response to the continued sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0183] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in a non-scope aiming state, the controlled virtual object is controlled to perform automatic shooting operations using the virtual shooting prop.

[0184] In an optional embodiment of the present disclosure, the shooting control device 800 further includes an icon reminder module (not shown in the figure), which is configured to:

[0185] When the virtual shooting prop is in the non-scope-opening aiming state, displaying a reminder icon in the associated area of ​​the sliding operation;

[0186] And / or, when the virtual shooting prop is in a non-scope aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding track of the sliding operation.

[0187] In an optional embodiment of the present disclosure, the icon reminder module is specifically configured to:

[0188] When the virtual shooting prop is in a non-scoped aiming state, the response crosshairs overlaps with the target outline range of the enemy virtual object, and the control reminder icon changes.

[0189] In an optional embodiment of the present disclosure, the first area includes a zoom switch control; the state switching module 801 is specifically configured to:

[0190] In response to a sliding operation on a scope switch control on a graphical user interface, the virtual shooting prop is controlled to switch from a non-scope aiming state to a scope aiming state.

[0191] In an optional embodiment of the present disclosure, the first area is the area occupied by the scope switching control on the graphical user interface, and the second area includes the area on the graphical user interface except the scope switching control.

[0192] In an optional embodiment of the present disclosure, the automatic shooting module 803 is configured to determine the target outline range of the enemy virtual object through the following steps:

[0193] Obtaining the bullet launch angle of the virtual shooting prop and the target distance between the virtual shooting prop and the enemy virtual object;

[0194] Determine the adjustment coefficient of the outline range of the enemy virtual object according to the bullet shooting angle and the target distance;

[0195] The target outline range of the enemy virtual object is determined by combining the actual outline range of the enemy virtual object and the adjustment coefficient.

[0196] In an optional embodiment of the present disclosure, when the target distance is less than the optimal effective shooting distance, the adjustment coefficient is positively correlated with the target distance;

[0197] When the target distance is not less than the optimal effective shooting distance and not greater than the maximum effective shooting distance, the adjustment coefficient is negatively correlated with the target distance.

[0198] In an optional embodiment of the present disclosure, a manual shooting control is also displayed on the graphical user interface, and the shooting control device further includes a manual shooting module (not shown in the figure), which is used to:

[0199] When the crosshairs do not overlap with the target outline range of the enemy virtual object, in response to the touch operation on the manual shooting control, the controlled virtual object is controlled to perform a shooting operation using a virtual shooting prop.

[0200] In an optional embodiment of the present disclosure, the shooting control device further includes a shooting stop module (not shown in the figure), which is configured to:

[0201] In response to the crosshairs not overlapping with the target outline range of the enemy virtual object, the controlled virtual object is controlled to stop using the virtual shooting prop to perform the automatic shooting operation after the non-overlap continues for a predetermined time.

[0202] An optional embodiment of the present disclosure can continue the sliding operation in the scoped aiming state after switching from the non-scoped aiming state to the scoped aiming state, and can realize switching from the non-scoped aiming state to the scoped aiming state and performing automatic shooting operation in the scoped aiming state by continuously performing the sliding operation in the first area. This can enable the user to smoothly, conveniently and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, further reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0203] Please refer to Figure 13 , which is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present disclosure. As shown in Figure 13 , the electronic device 1000 includes a processor 1001 , a memory 1002 , and a bus 1003 .

[0204] The memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device 1000 is running, the processor 1001 communicates with the memory 1002 via the bus 1003, so that the processor 1001 executes the following instructions at runtime:

[0205] When the virtual shooting prop held by the controlled virtual object is in a non-scoped aiming state, in response to the start of a sliding operation on the first area on the graphical user interface, the virtual shooting prop is controlled to switch from the non-scoped aiming state to the scoped aiming state, and the controlled virtual object is controlled via the terminal device;

[0206] When the virtual shooting prop is in the aiming state, in response to the continued sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0207] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to perform automatic shooting operations using the virtual shooting prop.

[0208] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0209] When the virtual shooting prop is in the aiming state, in response to the end of the sliding operation, the virtual shooting prop is controlled to exit the aiming state.

[0210] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0211] In response to a start operation of the automatic shooting state, a first area is provided on the graphical user interface.

[0212] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0213] Displaying a settings page on a graphical user interface, the settings page including at least one shooting state selection control, the at least one shooting state selection control including an automatic shooting state selection control;

[0214] In the instructions executed by the processor 1001, the steps of responding to the start operation of the automatic shooting state include:

[0215] In response to a touch operation on an automatic shooting state selection control.

[0216] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0217] When the virtual shooting prop held by the controlled virtual object is in a scoped aiming state, in response to the start of a sliding operation on the second area on the graphical user interface, controlling the virtual shooting prop to switch from the scoped aiming state to a non-scoped aiming state;

[0218] When the virtual shooting prop is in the non-scoped aiming state, in response to the continued sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0219] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in a non-scope aiming state, the controlled virtual object is controlled to perform automatic shooting operations using the virtual shooting prop.

[0220] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0221] When the virtual shooting prop is in the non-scope-opening aiming state, displaying a reminder icon in the associated area of ​​the sliding operation;

[0222] And / or, when the virtual shooting prop is in a non-scope aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding track of the sliding operation.

[0223] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001 further include:

[0224] When the virtual shooting prop is in a non-scoped aiming state, the response crosshairs overlaps with the target outline range of the enemy virtual object, and the control reminder icon changes.

[0225] In an optional embodiment of the present disclosure, the first area includes a scope switch control; the instructions executed by the processor 1001 include the steps of controlling the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state in response to the start of a sliding operation on the first area on the graphical user interface, including:

[0226] In response to a sliding operation on a scope switch control on a graphical user interface, the virtual shooting prop is controlled to switch from a non-scope aiming state to a scope aiming state.

[0227] In an optional embodiment of the present disclosure, the first area is the area occupied by the scope switching control on the graphical user interface, and the second area includes the area on the graphical user interface except the scope switching control.

[0228] In an optional embodiment of the present disclosure, the processor 1001 determines the target outline range of the enemy virtual object through the following steps:

[0229] Obtaining the bullet launch angle of the virtual shooting prop and the target distance between the virtual shooting prop and the enemy virtual object;

[0230] Determine the adjustment coefficient of the outline range of the enemy virtual object according to the bullet shooting angle and the target distance;

[0231] The target outline range of the enemy virtual object is determined by combining the actual outline range of the enemy virtual object and the adjustment coefficient.

[0232] In an optional embodiment of the present disclosure, when the target distance is less than the optimal effective shooting distance, the adjustment coefficient is positively correlated with the target distance;

[0233] When the target distance is not less than the optimal effective shooting distance and not greater than the maximum effective shooting distance, the adjustment coefficient is negatively correlated with the target distance.

[0234] In an optional embodiment of the present disclosure, a manual shooting control is displayed on the graphical user interface, and the instructions executed by the processor 1001 further include:

[0235] When the crosshairs do not overlap with the target outline range of the enemy virtual object, in response to the touch operation on the manual shooting control, the controlled virtual object is controlled to perform a shooting operation using a virtual shooting prop.

[0236] In an optional embodiment of the present disclosure, the instructions executed by the processor 1001, after the step of controlling the controlled virtual object to perform an automatic shooting operation using a virtual shooting prop, further include:

[0237] In response to the crosshairs not overlapping with the target outline range of the enemy virtual object, the controlled virtual object is controlled to stop using the virtual shooting prop to perform the automatic shooting operation after the non-overlap continues for a predetermined time.

[0238] The present invention can switch from the non-scoped aiming state to the scoped aiming state without interrupting the sliding operation in the scoped aiming state. By continuously performing the sliding operation in the first area, the non-scoped aiming state can be switched to the scoped aiming state and the automatic shooting operation can be performed in the scoped aiming state. The user can smoothly, conveniently and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, further reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0239] An optional embodiment of the present disclosure further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the following instructions are executed:

[0240] When the virtual shooting prop held by the controlled virtual object is in a non-scoped aiming state, in response to the start of a sliding operation on the first area on the graphical user interface, the virtual shooting prop is controlled to switch from the non-scoped aiming state to the scoped aiming state, and the controlled virtual object is controlled via the terminal device;

[0241] When the virtual shooting prop is in the aiming state, in response to the continued sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0242] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to perform automatic shooting operations using the virtual shooting prop.

[0243] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0244] When the virtual shooting prop is in the aiming state, in response to the end of the sliding operation, the virtual shooting prop is controlled to exit the aiming state.

[0245] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0246] In response to a start operation of the automatic shooting state, a first area is provided on the graphical user interface.

[0247] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0248] Displaying a settings page on a graphical user interface, the settings page including at least one shooting state selection control, the at least one shooting state selection control including an automatic shooting state selection control;

[0249] The steps of the instructions executed by the computer-readable storage medium in response to the start operation of the automatic shooting state include:

[0250] In response to a touch operation on an automatic shooting state selection control.

[0251] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0252] When the virtual shooting prop held by the controlled virtual object is in a scoped aiming state, in response to the start of a sliding operation on the second area on the graphical user interface, controlling the virtual shooting prop to switch from the scoped aiming state to a non-scoped aiming state;

[0253] When the virtual shooting prop is in the non-scoped aiming state, in response to the continued sliding operation, the position of the crosshairs is adjusted in real time according to the sliding attribute parameters of the sliding operation;

[0254] In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in a non-scope aiming state, the controlled virtual object is controlled to perform automatic shooting operations using the virtual shooting prop.

[0255] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0256] When the virtual shooting prop is in the non-scope-opening aiming state, displaying a reminder icon in the associated area of ​​the sliding operation;

[0257] And / or, when the virtual shooting prop is in a non-scope aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding track of the sliding operation.

[0258] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium further include:

[0259] When the virtual shooting prop is in a non-scoped aiming state, the response crosshairs overlaps with the target outline range of the enemy virtual object, and the control reminder icon changes.

[0260] In an optional embodiment of the present disclosure, the first area includes a scope switch control; and the instructions executed by the computer-readable storage medium, in response to the start of a sliding operation on the first area on the graphical user interface, control the virtual shooting prop to switch from a non-scoped aiming state to a scoped aiming state, including:

[0261] In response to a sliding operation on a scope switch control on a graphical user interface, the virtual shooting prop is controlled to switch from a non-scope aiming state to a scope aiming state.

[0262] In an optional embodiment of the present disclosure, the first area is the area occupied by the scope switching control on the graphical user interface, and the second area includes the area on the graphical user interface except the scope switching control.

[0263] In an optional embodiment of the present disclosure, a computer-readable storage medium determines a target outline range of an enemy virtual object through the following steps:

[0264] Obtaining the bullet launch angle of the virtual shooting prop and the target distance between the virtual shooting prop and the enemy virtual object;

[0265] Determine the adjustment coefficient of the outline range of the enemy virtual object according to the bullet shooting angle and the target distance;

[0266] The target outline range of the enemy virtual object is determined by combining the actual outline range of the enemy virtual object and the adjustment coefficient.

[0267] In an optional embodiment of the present disclosure, when the target distance is less than the optimal effective shooting distance, the adjustment coefficient is positively correlated with the target distance;

[0268] When the target distance is not less than the optimal effective shooting distance and not greater than the maximum effective shooting distance, the adjustment coefficient is negatively correlated with the target distance.

[0269] In an optional embodiment of the present disclosure, a manual shooting control is displayed on the graphical user interface, and the instructions executed by the computer-readable storage medium further include:

[0270] When the crosshairs do not overlap with the target outline range of the enemy virtual object, in response to the touch operation on the manual shooting control, the controlled virtual object is controlled to perform a shooting operation using a virtual shooting prop.

[0271] In an optional embodiment of the present disclosure, the instructions executed by the computer-readable storage medium, after the step of controlling the controlled virtual object to perform an automatic shooting operation using a virtual shooting prop, further include:

[0272] In response to the crosshairs not overlapping with the target outline range of the enemy virtual object, the controlled virtual object is controlled to stop using the virtual shooting prop to perform the automatic shooting operation after the non-overlap continues for a predetermined time.

[0273] An optional embodiment of the present disclosure can continue the sliding operation in the scoped aiming state after switching from the non-scoped aiming state to the scoped aiming state, and can realize switching from the non-scoped aiming state to the scoped aiming state and performing automatic shooting operation in the scoped aiming state by continuously performing the sliding operation in the first area. This can enable the user to smoothly, conveniently and quickly perform the shooting operation after switching from non-scoped shooting to scoped shooting, thereby improving the operating efficiency of the game, further reducing the data processing amount of the terminal device, thereby reducing the processing burden of the terminal device, saving the power consumption of the terminal device, and reducing the performance overhead of the game server.

[0274] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

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

[0277] In addition, each functional unit in each optional embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0278] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0279] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A shooting control method in a game, providing a graphical user interface through a terminal device, wherein the graphical user interface at least displays a crosshair of a virtual shooting prop and an enemy virtual object in a game scene of the game, wherein the crosshair is used to indicate the aiming direction of the virtual shooting prop in the game scene, and the method comprises: When the virtual shooting prop held by the controlled virtual object is in a non-scope aiming state, in response to the start of a sliding operation on a first area on the graphical user interface, the virtual shooting prop is controlled to switch from the non-scope aiming state to the scope aiming state, and the controlled virtual object is controlled by the terminal device; When the virtual shooting prop is in the aiming state, in response to the continuation of the sliding operation, the position of the crosshair is adjusted in real time according to the sliding attribute parameters of the sliding operation; In response to the crosshairs and the target outline range of the enemy virtual object being overlapped, when the virtual shooting prop is in the aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation.

2. The method according to claim 1, wherein: The method further comprises: When the virtual shooting prop is in the aiming state, in response to the end of the sliding operation, the virtual shooting prop is controlled to exit the aiming state.

3. The method according to claim 1, wherein: The method further comprises: In response to a start operation of the automatic shooting state, a first area is provided on the graphical user interface.

4. The method according to claim 3, wherein: The method further comprises: Displaying a setting page on the graphical user interface, the setting page comprising at least one shooting state selection control, the at least one shooting state selection control comprising an automatic shooting state selection control; The steps of starting the operation in response to the automatic shooting state include: In response to a touch operation on the automatic shooting state selection control.

5. The method according to claim 1, wherein: The method further comprises: When the virtual shooting prop held by the controlled virtual object is in an aiming state, in response to the start of a sliding operation on the second area on the graphical user interface, controlling the virtual shooting prop to switch from the aiming state to a non-aiming state; When the virtual shooting prop is in the non-scope aiming state, in response to the continuation of the sliding operation, the position of the crosshair is adjusted in real time according to the sliding attribute parameters of the sliding operation; In response to the crosshairs overlapping with the target outline range of the enemy virtual object, when the virtual shooting prop is in the non-scope aiming state, the controlled virtual object is controlled to use the virtual shooting prop to perform an automatic shooting operation.

6. The method according to claim 1, wherein: The method further comprises: When the virtual shooting prop is in the non-scope aiming state, displaying a reminder icon in the associated area of ​​the sliding operation; And / or, when the virtual shooting prop is in the non-scope aiming state, in response to the continuation of the sliding operation, the display position of the reminder icon is controlled to move according to the sliding track of the sliding operation.

7. The method according to claim 6, wherein: The method further comprises: When the virtual shooting prop is in the non-scope aiming state, in response to the crosshairs and the target outline range of the enemy virtual object being overlapped, the reminder icon is controlled to change.

8. The method according to claim 5, wherein: The first area includes a scope switching control; in response to the start of a sliding operation on the first area on the graphical user interface, the step of controlling the virtual shooting prop to switch from the non-scope aiming state to the scope aiming state includes: In response to a sliding operation on a scope switching control on a graphical user interface, the virtual shooting prop is controlled to switch from the non-scope aiming state to the scope aiming state.

9. The method according to claim 8, wherein: The first area is the area occupied by the scope switching control on the graphical user interface, and the second area includes the area on the graphical user interface except the scope switching control.

10. The method according to claim 1, wherein: The target contour range of the enemy virtual object is determined by the following steps: Obtaining a bullet shooting angle of the virtual shooting prop and a target distance between the virtual shooting prop and the enemy virtual object; Determining an adjustment coefficient of a contour range of the enemy virtual object according to the bullet shooting angle and the target distance; The target outline range of the enemy virtual object is determined by combining the actual outline range of the enemy virtual object and the adjustment coefficient.

11. The method according to claim 10, wherein: When the target distance is less than the optimal effective shooting distance, the adjustment coefficient is positively correlated with the target distance; When the target distance is not less than the optimal effective shooting distance and not greater than the maximum effective shooting distance, the adjustment coefficient is negatively correlated with the target distance.

12. The method according to claim 1, wherein: A manual shooting control is also displayed on the graphical user interface, and the method further includes: In the case that the crosshairs do not overlap with the target outline range of the enemy virtual object, in response to the touch operation on the manual shooting control, the controlled virtual object is controlled to perform a shooting operation using the virtual shooting prop.

13. The method according to claim 1, wherein: After the step of controlling the controlled virtual object to use the virtual shooting prop to perform automatic shooting operation, the method further includes: In response to the mismatch between the crosshairs and the target outline range of the enemy virtual object, the controlled virtual object is controlled to stop using the virtual shooting prop to perform automatic shooting operations after the mismatch continues for a predetermined time.

14. A shooting control device in a game, providing a graphical user interface through a terminal device, wherein the graphical user interface displays at least a crosshair of a virtual shooting prop and an enemy virtual object in a game scene of the game, wherein the crosshair is used to indicate the aiming direction of the virtual shooting prop in the game scene, and the device comprises: a state switching module, configured to control the virtual shooting prop held by the controlled virtual object to switch from the non-scope aiming state to the scope aiming state in response to the start of a sliding operation on the first area on the graphical user interface when the virtual shooting prop held by the controlled virtual object is in the non-scope aiming state, and the controlled virtual object is controlled by the terminal device; A crosshair adjustment module, used for adjusting the position of the crosshair in real time according to the sliding attribute parameters of the sliding operation in response to the continuation of the sliding operation when the virtual shooting prop is in the aiming state; The automatic shooting module is used to control the controlled virtual object to perform automatic shooting operation using the virtual shooting prop in response to the overlap of the target outline range of the crosshairs with the enemy virtual object, when the virtual shooting prop is in the aiming state.

15. An electronic device, comprising: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as claimed in claims 1 to 13.

16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program executes the steps of any one of the methods of claims 1 to 13 when executed by a processor.

Citation Information

Patent Citations

  • Game control method, mobile terminal and computer readable storage medium

    CN109718559A

  • Aiming method and device for virtual shooting prop, electronic equipment and storage medium

    CN112138385A

  • Virtual prop control method, device and equipment and computer readable storage medium

    CN112156472A

  • Game aiming control method and device and electronic terminal

    CN115703015A

  • Shooting aiming method, device and equipment in game and storage medium

    CN115845373A