Game operation control method, device and electronic equipment
Patent Information
- Application Number
- CN202211716605.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2042-12-29
AI Technical Summary
这种操作方式中,手指滑动的区域有限,如果瞄准镜中的目标对象发生了较大的移动,可能会导致手指移动至屏幕边缘后无法继续移动的问题,进而导致玩家需要停止移动操作,进行取消开镜的操作后再次开镜,操作繁琐,导致玩家的游戏体验感不佳
[0009] This invention provides a game operation control method, device, and electronic device. In response to a first touch operation on the shooting control, the device controls the scope of the virtual shooting tool to be scoped in, generating an aiming window in the graphical user interface (GUI) and displaying the target scene corresponding to the scope in the aiming window. In response to a first sliding operation starting from the touch point of the first touch operation, the target scene displayed in the aiming window changes. In response to a second touch operation on a preset area in the GUI, the target scene displayed in the aiming window remains fixed. In this method, when the scope is in scope mode, the target scene is fixed by a touch operation on a preset area in the GUI. At this time, the player cannot change the target scene using the first sliding operation. Instead, the player can move the sliding finger of the first sliding operation to change its position, avoiding the need to cancel the scope operation, simplifying the operation process, and improving the player's gaming experience.
Smart Images

Figure CN116077934B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of game technology, and in particular to a game operation control method, device, and electronic device. Background Technology
[0002] In current shooting games, scopes are commonly used to increase the optical zoom of virtual weapons, allowing players to observe distant targets when aiming. In actual gameplay, scopes are typically used with sniper weapons. In this technology, players usually need to tap the firing controls of the virtual weapon to open the scope and simultaneously activate the pre-configured scope. Players can then adjust the field of view within the scope by dragging their finger, and finally release the finger to fire. However, this control method has a limited area for finger movement. If the target in the scope moves significantly, the finger may become stuck at the edge of the screen, forcing the player to stop moving, cancel the scope, and then re-enable it. This cumbersome process negatively impacts the player's gaming experience. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a game operation control method, device and electronic device, so that when the player is aiming down sights, the target scene screen is fixed by touching the preset area. At this time, the player cannot control the target scene screen to change through the first swipe operation. At this time, the player can move the sliding finger of the first swipe operation to change the sliding position of the first swipe operation, so as to avoid canceling the aiming down sights operation, simplify the operation process and improve the player's game experience.
[0004] In a first aspect, embodiments of the present invention provide a game operation control method, which provides a graphical user interface (GUI) through a terminal device. The GUI includes a game scene screen, shooting controls, and a virtual shooting tool located in the game scene. The method includes: responding to a first touch operation on the shooting controls, controlling the scope of the virtual shooting tool to open, generating an aiming window in the GUI, and displaying the target scene screen corresponding to the scope in the aiming window; responding to a first sliding operation starting from the touch point of the first touch operation, controlling the target scene screen displayed in the aiming window to change; and responding to a second touch operation on a preset area in the GUI, controlling the target scene screen displayed in the aiming window to remain fixed.
[0005] Secondly, embodiments of the present invention also provide a game operation control device, which provides a graphical user interface (GUI) through a terminal device. The GUI includes a game scene, shooting controls, and a virtual shooting tool located in the game scene. The device includes: a scope-opening module, used to respond to a first touch operation on the shooting controls, control the scope of the virtual shooting tool to open, generate an aiming window in the GUI, and display the target scene corresponding to the scope in the aiming window; a scene scene changing module, used to respond to a first sliding operation starting from the touch point of the first touch operation, control the target scene displayed in the aiming window to change; and a scene scene fixing module, used to respond to a second touch operation on a preset area in the GUI, control the target scene displayed in the aiming window to remain fixed.
[0006] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the game operation control method of any one of the first aspects.
[0007] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to implement the game operation control method of any one of the first aspects.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] This invention provides a game operation control method, device, and electronic device. In response to a first touch operation on the shooting control, the device controls the scope of the virtual shooting tool to be scoped in, generating an aiming window in the graphical user interface (GUI) and displaying the target scene corresponding to the scope in the aiming window. In response to a first sliding operation starting from the touch point of the first touch operation, the target scene displayed in the aiming window changes. In response to a second touch operation on a preset area in the GUI, the target scene displayed in the aiming window remains fixed. In this method, when the scope is in scope mode, the target scene is fixed by a touch operation on a preset area in the GUI. At this time, the player cannot change the target scene using the first sliding operation. Instead, the player can move the sliding finger of the first sliding operation to change its position, avoiding the need to cancel the scope operation, simplifying the operation process, and improving the player's gaming experience.
[0010] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0011] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0012] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 A flowchart of a game operation control method provided in an embodiment of the present invention;
[0014] Figure 2 A schematic diagram illustrating a game operation control method provided in an embodiment of the present invention;
[0015] Figure 3 A schematic diagram illustrating another game operation control method provided in an embodiment of the present invention;
[0016] Figure 4 A schematic diagram illustrating another game operation control method provided in an embodiment of the present invention;
[0017] Figure 5 A schematic diagram illustrating another game operation control method provided in an embodiment of the present invention;
[0018] Figure 6 A schematic diagram illustrating another game operation control method provided in an embodiment of the present invention;
[0019] Figure 7 This is a schematic diagram of the structure of a game operation control method provided in an embodiment of the present invention;
[0020] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] In current shooting games, scopes are commonly used to increase the optical zoom of virtual weapons, allowing players to observe distant targets when aiming. In actual games, scopes are typically used with sniper weapons.
[0023] In this technology, players typically need to tap the firing controls of a virtual weapon to open its scope. If a magnifying lens is pre-installed in the scope, it will also be activated simultaneously to magnify the scene within the scope. Players can then change the field of view in the scope by dragging their finger, and finally release the finger to fire. However, this control method has a limited area for finger movement. If the target in the scope moves significantly, the finger may become stuck at the edge of the screen, forcing the player to stop moving, cancel the scope-opening action, and then re-open it.
[0024] For example, in a graphical user interface, the control to cancel aiming is usually located on the left side of the screen. Players typically use their left thumb to tap and slide the movement controls on the left side of the screen to control the movement of the virtual character. When aiming down sights, if a player wants to cancel aiming down sights, they have to release their left thumb, pause the movement of the virtual character, and then tap the cancel aiming control. This interrupts the player's movement, is cumbersome, and results in a poor gaming experience. Therefore, this invention provides a game operation control method, device, and electronic device. This technology can be applied to smart terminal devices such as mobile phones and tablets, and is especially applicable to devices with shooting games.
[0025] In one embodiment of this disclosure, the game operation control method can run on a local terminal device or a server. When the game operation control method runs 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.
[0026] In an optional implementation, various cloud applications, such as cloud gaming, can 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 operating mode, the game program and the game screen presentation are separated. The storage and execution of the game's operation and control methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0027] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0028] To facilitate understanding of this embodiment, this invention provides a game operation control method that provides a graphical user interface (GUI) through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. The GUI includes a game scene view, shooting controls, and virtual shooting tools located within the game scene. Figure 1 As shown, the game's control method includes the following steps:
[0029] Step S102: In response to the first touch operation on the shooting control, control the scope of the virtual shooting tool to open, generate an aiming window in the graphical user interface, and display the target scene screen corresponding to the scope in the aiming window;
[0030] The aforementioned first touch operation typically refers to the player's tap on the shooting controls. At this time, the scope of the virtual shooting tool is opened, and an aiming window is generated in the graphical user interface. In addition, the virtual shooting tool may have a pre-installed magnifying scope. When the virtual shooting tool is opened with the scope, the pre-configured magnifying scope will also be opened, which can magnify the target scene corresponding to the scope.
[0031] In practice, players typically use their right thumb to tap the shooting controls located in the lower right corner of the screen to scope in the virtual shooting tool (e.g., a virtual assault rifle, a virtual sniper rifle, etc.) and simultaneously activate the pre-configured magnifying scope corresponding to the virtual shooting tool, generating an aiming window in the graphical user interface. For example, such as... Figure 2 As shown, the aiming window is circular in shape, with a crosshair for the virtual firing tool typically located in the center. The virtual camera corresponding to the scope captures the target scene and displays it in the aiming window.
[0032] Understandably, based on the pre-configured magnification of the teleconverter, the target scene will be magnified by a corresponding factor. In other words, at the same distance, the higher the magnification of the teleconverter, the smaller the player's field of view becomes, but the more details are displayed in the target scene.
[0033] Step S104: In response to the first sliding operation starting from the touch point of the first touch operation, the target scene displayed in the aiming window is changed.
[0034] Specifically, after tapping the shooting controls with their right thumb, players typically use that tap as a starting point to drag their thumb and move the scope's view, adjusting its position up, down, left, and right. The target scene displayed in the aiming window changes according to the scope's view (or position). For example, as... Figure 2 As shown, players can open the scope by tapping the light gray icon (the shooting control mentioned above) in the lower right corner of the graphical user interface with their right thumb. Afterward, players can drag their right thumb to slide the scope. Players typically drag the shooting control using the crosshair as a reference point to display the target object in the aiming window, meaning the target object is included in the target scene.
[0035] Step S106: In response to a second touch operation targeting a preset area in the graphical user interface, control the target scene displayed in the aiming window to remain fixed.
[0036] The aforementioned preset area typically refers to the area above the shooting controls, usually the upper right corner of the graphical user interface. The aforementioned second touch operation typically refers to the player using a finger other than the first touch operation to perform a tapping action.
[0037] For example, such as Figure 3 As shown, players typically use their right index finger to perform a second touch operation on the upper right area of the graphical user interface, that is, to tap the upper right area of the screen. During the tap operation, the target scene displayed in the aiming window remains fixed. In other words, as long as there is a finger performing a second touch operation on the upper right of the graphical user interface, the function of locking the scope view will be triggered.
[0038] In other words, when a player uses their right index finger to perform a second touch operation on a preset area of the graphical user interface, if they use their right thumb to perform a first swipe operation starting from the touch point of the first touch operation, or if their right thumb leaves the screen, the scope's view will not move; the target scene will remain fixed. Furthermore, after using their right index finger to perform a second touch operation on the upper right area of the graphical user interface, the player can perform a second swipe operation to switch the magnification of the virtual shooting tool's scope to a suitable level while in scope mode, or cancel the scope operation.
[0039] The above-described game operation control method, in response to a first touch operation on the shooting control, controls the scope of the virtual shooting tool to be scoped in, generates an aiming window in the graphical user interface, and displays the target scene corresponding to the scope in the aiming window; in response to a first swipe operation starting from the touch point of the first touch operation, controls the target scene displayed in the aiming window to change; in response to a second touch operation on a preset area in the graphical user interface, controls the target scene displayed in the aiming window to remain unchanged. In this method, when the scope is scoped in, the target scene is fixed by a touch operation on a preset area in the graphical user interface. At this time, the player cannot control the target scene to change through the first swipe operation. The player can move the swiping finger of the first swipe operation to change the swiping position, avoiding the operation of canceling the scope, simplifying the operation process, and improving the player's gaming experience.
[0040] According to step S206 above, after responding to the second touch operation on a preset area in the graphical user interface, the method further includes:
[0041] Step 1: Display the preset controls in the graphical user interface;
[0042] Step 2: In response to the selection operation of the target preset control in the preset controls, control the scope to update to the state indicated by the target preset control.
[0043] The aforementioned preset controls are typically triggered by a second touch operation and displayed in the upper right area of the graphical user interface. These preset controls usually include a scope cancellation control and a scope zoom control. The scope zoom control corresponds to a scope that the player typically possesses in their virtual inventory. For example, if the player's virtual inventory includes a 2x scope and a 4x scope, then the preset controls will include controls for both the 2x and 4x scopes. The aforementioned target preset control usually refers to the control that the player selects within the preset controls. This selection can be a click or a swipe.
[0044] In actual implementation, while in aiming down sights, the player's right thumb needs to continuously tap the screen. After the player performs a second touch operation on the upper right area of the graphical user interface, preset controls will be displayed in the graphical user interface. For example, such as... Figure 4 As shown, the upper right area of the graphical user interface displays several preset controls, such as... Figure 4 The first and second preset controls are shown. Additionally, a cross can be displayed above the preset controls to cancel them. In actual operation, the player can drag their right index finger to any control within the preset controls and release it to select the target preset control. The terminal device then controls the scope to update the state indicated by the selected target preset control. For example, if the target preset control is a cancel aiming control, the scope will cancel aiming; if the target preset control is a 2x scope control, the scope will be set to 2x magnification.
[0045] In the above method, after the player performs a second touch operation, preset controls will be displayed. By selecting the target preset controls, the state of the scope can be updated, which makes it easier for the player to switch the state of the scope more quickly.
[0046] Furthermore, the preset control includes a first preset control, which is used to instruct the scope to cancel aiming; according to step 2 above, in response to the selection operation of the target preset control in the preset control, the step of controlling the scope to update to the state indicated by the target preset control is as follows:
[0047] In response to the selection operation of the first preset control in the preset controls, the scope is de-scoped and the target scene in the scope is not displayed.
[0048] The aforementioned first preset control typically refers to the "Cancel Aim" control within the preset controls, used to instruct the scope to cancel aiming. Specifically, when the player is aiming down sights, after performing a second touch operation on a preset area of the graphical user interface, preset controls are displayed in the upper right corner of the graphical user interface. The player can control their finger to slide within the preset controls. When the finger slides to the first preset control, it is selected and highlighted. When the player releases their finger, they can control the scope to cancel aiming down sights, i.e., close the scope, and simultaneously control the graphical user interface to disable the aiming window and the target scene displayed in the aiming window.
[0049] For example, such as Figure 5 As shown, the player uses their right index finger to perform a touch swipe operation on the upper right side of the screen, and releases their right index finger after the finger moves to the first preset control, thus selecting the first preset control. At this time, the terminal device will control the scope to cancel aiming and cancel the display of the target scene in the scope of the graphical user interface.
[0050] In the above method, while in the scoped-out state, players can use other fingers to control the target scene to remain fixed, and then use a swipe to select controls to control the scope to cancel the scoped-out operation. This avoids the need to cancel the scoped-out operation by using the fingers that control the movement, thus simplifying the operation process.
[0051] Furthermore, the aforementioned preset control includes a second preset control, which is used to indicate the magnification of the teleconverter; according to step 2 above, in response to the selection operation of the target preset control in the preset control, the step of controlling the scope to update to the state indicated by the target preset control is as follows:
[0052] In response to the selection operation of the second preset control in the preset controls, the scope is controlled to set the magnification of the scope to the magnification indicated by the second preset control, the magnification of the target scene displayed in the aiming window is updated to the magnification indicated by the second preset control, and the magnified target scene is displayed in the aiming window.
[0053] The aforementioned second preset control typically refers to a magnification zoom control. There are multiple second preset controls used to indicate different magnification levels, such as a 1x zoom control, a 2x zoom control, etc. By selecting this second preset control, players can switch the scope's magnification zoom to the corresponding level, or control the scope to be set to a magnification zoom level.
[0054] Specifically, when the player is in aiming down sights mode, after performing a second touch operation on a preset area of the graphical user interface (GUI), preset controls will appear in the upper right corner of the GUI. The player can then slide their finger across these preset controls. When the finger slides to the second preset control, it is selected and highlighted. Releasing the finger allows the player to switch the scope to the magnification level corresponding to the second preset control. Simultaneously, the GUI will magnify the target scene displayed in the aiming window.
[0055] For example, a player taps the upper right corner of the screen with their right index finger, moves to the second preset control within the preset controls, and then releases their right index finger. For instance, as shown... Figure 6 As shown, the preset controls include "Cancel Scope", "1x Scope", and "2x Scope". The preset scope magnification is 1x. When the player moves the right index finger to "2x Scope" and releases it, the terminal device will control the scope to update to the "2x Scope" magnification, control the target scene displayed in the aiming window to update to 2x magnification, and control the aiming window to display the target scene after 2x magnification.
[0056] In the above method, while in scoped-out mode, players can use other fingers to control the target scene and keep it fixed, while simultaneously using a swipe gesture to select controls and switch between scopes. This avoids the need to use the fingers controlling movement to switch scopes, simplifying the operation process.
[0057] Step 2 above, which is a step in response to a selection operation on a target preset control within a preset control set, can be implemented in one of the following ways:
[0058] In response to a second sliding operation starting from the touch point of the second touch operation, the system controls the selection of a target preset control from preset controls; in response to the end of the second sliding operation, the system determines that the target preset control corresponding to the touch position at the end of the second sliding operation is selected.
[0059] Specifically, when the player is in scoped-out mode, after using their right index finger to perform a second touch operation on the upper right area of the graphical user interface, they drag their right index finger to perform a second swipe operation, starting from the touch point of the second touch operation. This swipe operation selects a control from the preset controls as the target preset control. When the second swipe operation ends—that is, when the player releases their right index finger at the target preset control—the target preset control corresponding to the touch position where the swipe ended is confirmed to be selected. For example, such as... Figure 6 As shown, when a player drags their right index finger to the "2x Scope" position in the preset controls and releases their finger, the magnifying glass of the "2x Scope" is selected, and the "2x Scope" becomes the target preset control.
[0060] In the above method, when the scope is in the open state, the player can quickly select the target preset control from the preset controls by sliding the swipe, and control the state of the scope. The operation is simple.
[0061] Based on step 1 above, one possible implementation of the step of displaying preset controls in the graphical user interface is as follows:
[0062] Preset controls are displayed in the target area of the graphical user interface; wherein the touch position of the second touch operation is located in the target area.
[0063] The target area can be any location in the graphical user interface, or a specified location in the upper right corner of the graphical user interface, where preset controls are displayed.
[0064] In actual implementation, when the player is in scoped-out mode and performs a second touch operation on the target area of the graphical user interface, namely the upper right area, a preset control will be displayed in the upper right area of the graphical user interface. The preset control is displayed in the target area according to the position of the touch point of the player's right index finger on the graphical user interface during the second touch operation.
[0065] Furthermore, the aforementioned preset control includes a third preset control, wherein the magnification of the teleconverter indicated by the third preset control is the magnification of the teleconverter currently set on the scope; one possible implementation of the step of displaying the preset control in the target area of the graphical user interface is as follows:
[0066] The third preset control is displayed at the touch position of the second touch operation.
[0067] The aforementioned third preset control usually refers to the magnification scope set to the corresponding magnification of the scope of the virtual shooting tool currently used by the player.
[0068] In actual implementation, when a player is in scoped-out mode and performs a second touch operation on the upper right area of the graphical user interface, a preset control is displayed in the target area, and a third preset control from the preset controls is displayed at the touch location where the player performed the second touch operation. For example, the aforementioned third preset control is a 1x scope control, as exemplified by... Figure 6 As shown, if the scope of the virtual shooting tool currently used by the player is set to "1x scope", then the touch position of the player's second touch operation will be displayed as "1x scope".
[0069] In the above method, by displaying the control of the currently set magnification scope on the scope at the operation position of the second touch operation, it is convenient for the player to select the magnification scope of the scope to be switched.
[0070] The target scene displayed in the aiming window is obtained by capturing the game scene using a virtual camera corresponding to the aiming scope; according to step S204 above, in response to the first sliding operation starting from the touch point of the first touch operation, the step of controlling the target scene displayed in the aiming window to change is implemented as follows:
[0071] In response to a first sliding operation originating from the touch point of the first touch operation, the sliding direction of the first sliding operation is determined; the virtual camera is controlled to move in the sliding direction so that the target scene displayed in the aiming window changes.
[0072] In actual implementation, after the player performs the first touch operation on the shooting controls, the scope is opened, and the target scene image of the game scene captured by the virtual camera corresponding to the scope is displayed in the aiming window of the graphical user interface. According to the direction and distance of the player's first swipe operation, the terminal device controls the target scene image to change. For example, if the player uses the touch point of the right thumb as the starting point and drags the right thumb to perform the first swipe operation, the terminal device will determine the swipe direction of the first swipe operation and control the virtual camera to move in the swipe direction. According to the moving game scene captured by the virtual camera, the target scene image displayed in the aiming window changes, that is, moving the right thumb will move the scope view.
[0073] The target scene image above displays a crosshair corresponding to a virtual shooting tool; according to step S204 above, after the step of controlling the target scene image displayed in the aiming window to change in response to the first sliding operation starting from the touch point of the first touch operation, the above method further includes:
[0074] In response to the end of the first sliding operation, control the virtual shooting tool to fire in the direction indicated by the crosshair.
[0075] The aforementioned crosshair indicator usually refers to the center point of the aiming window of the virtual shooting tool used by the player, and is used to assist the player in aiming at the target.
[0076] Specifically, when the player is in aiming down sights (ADS) mode, they perform a first swipe, starting from the touch point of the first touch operation. This swipe controls the target scene displayed in the aiming window, which shows the crosshair for the virtual shooting tool. After the player's first swipe, the device controls the virtual shooting tool to fire according to the crosshair. For example, if the player swipes from the touch point of their right thumb, it will rotate the virtual character's view, causing the target scene displayed in the aiming window to follow the character's view. The shooting function is triggered when the player releases their right thumb after the swipe. It's important to note that if the player drags their right index finger to the "Cancel ADS" control during the second swipe and then releases it (the virtual shooting tool cancels ADS), releasing the right thumb will not trigger the shooting function.
[0077] For the above method embodiments, see Figure 7 The illustrated game control device provides a graphical user interface (GUI) via a terminal device. The GUI includes a game scene view, shooting controls, and a virtual shooting tool located within the game scene. The device comprises:
[0078] The scope-opening module 71 is used to respond to the first touch operation of the shooting control, control the scope-opening of the virtual shooting tool, generate an aiming window in the graphical user interface, and display the target scene screen corresponding to the scope in the aiming window;
[0079] The scene scene change module 72 is used to respond to the first sliding operation starting from the touch point of the first touch operation and control the target scene scene displayed in the aiming window to change.
[0080] The scene display fixing module 73 is used to respond to a second touch operation on a preset area in the graphical user interface and control the target scene displayed in the aiming window to remain fixed.
[0081] The game's control device, in response to a first touch operation on the shooting controls, controls the scope of the virtual shooting tool to be scoped in, generating an aiming window in the graphical user interface, displaying the target scene corresponding to the scope in the aiming window; in response to a first swipe operation starting from the touch point of the first touch operation, controls the target scene displayed in the aiming window to change; in response to a second touch operation on a preset area in the graphical user interface, controls the target scene displayed in the aiming window to remain fixed. In this method, when the scope is in scope mode, the target scene is fixed by touch operation on a preset area in the graphical user interface. At this time, the player cannot control the target scene to change through the first swipe operation. The player can move the swiping finger of the first swipe operation to change its position, avoiding the need to cancel the scope operation, simplifying the operation process, and improving the player's gaming experience.
[0082] The aforementioned device further includes: a scope update module, used to: display preset controls in a graphical user interface; and, in response to a selection operation of a target preset control in the preset controls, control the scope to update to the state indicated by the target preset control.
[0083] The aforementioned preset controls include a first preset control, which is used to instruct the scope to cancel aiming; the aforementioned scope update module is also used to: respond to the selection operation of the first preset control in the preset controls, control the scope to cancel aiming, and cancel the display of the target scene in the scope.
[0084] The aforementioned preset controls include a second preset control, which is used to indicate the magnification of the teleconverter; the aforementioned scope update module is also used to: respond to the selection operation of the second preset control in the preset controls, control the scope to set the teleconverter to the magnification indicated by the second preset control, control the magnification of the target scene displayed in the aiming window to be updated to the magnification indicated by the second preset control, and control the aiming window to display the magnified target scene.
[0085] The aforementioned scope update module is also used to: control the selection of a target preset control from preset controls in response to a second sliding operation starting from the touch point of the second touch operation; and determine that the target preset control corresponding to the touch position at the end of the second sliding operation is selected in response to the end of the sliding operation.
[0086] The aforementioned scope update module is also used to: display preset controls in the target area of the graphical user interface; wherein the touch position of the second touch operation is located in the target area.
[0087] The aforementioned preset controls include a third preset control, wherein the magnification of the teleconverter indicated by the third preset control is the magnification of the teleconverter currently set on the scope; the aforementioned scope update module is also used to: display the third preset control at the touch position of the second touch operation.
[0088] The target scene displayed in the aiming window is obtained by capturing the game scene through a virtual camera corresponding to the aiming scope; the scene scene change module is also used to: determine the sliding direction of the first sliding operation in response to the first sliding operation starting from the touch point of the first touch operation; and control the virtual camera to move in the sliding direction so that the target scene displayed in the aiming window changes.
[0089] The above target scene screen displays a crosshair corresponding to the virtual shooting tool; the above device also includes: a shooting module, used to: control the virtual shooting tool to fire in the direction indicated by the crosshair in response to the end of the first sliding operation.
[0090] The game operation control device provided in this embodiment of the invention has the same technical features as the game operation control method provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0091] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-described model mapping method. This electronic device can be a server or a terminal device.
[0092] See Figure 8 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the aforementioned game operation control method. This method provides a graphical user interface (GUI) through a terminal device. The GUI includes a game scene screen, shooting controls, and a virtual shooting tool located within the game scene. The method includes the following steps:
[0093] In response to a first touch operation on the shooting controls, the virtual shooting tool's scope is activated, generating an aiming window in the graphical user interface (GUI) that displays the target scene corresponding to the scope. In response to a first swipe operation originating from the touch point of the first touch operation, the target scene displayed in the aiming window changes. In response to a second touch operation targeting a preset area in the GUI, the target scene displayed in the aiming window remains fixed. In this method, when the scope is activated, touch operations targeting a preset area in the GUI keep the target scene fixed. At this time, the player cannot change the target scene using the first swipe operation. Instead, the player can move their finger to change the position of the first swipe, avoiding the need to cancel the scope activation, simplifying the operation process, and improving the player's gaming experience.
[0094] Following the step of responding to a second touch operation in a preset area of the graphical user interface, the method further includes: displaying preset controls in the graphical user interface; and responding to a selection operation of a target preset control within the preset controls, controlling the scope to update to the state indicated by the target preset control. In this method, after the second touch operation, the player can also display preset controls, and by selecting the target preset control, the state of the scope can be updated, allowing the player to switch the scope's state more quickly.
[0095] The aforementioned preset controls include a first preset control, which is used to instruct the scope to cancel aiming. The step of responding to a selection operation of the target preset control within the preset controls and controlling the scope to update to the state indicated by the target preset control includes: responding to a selection operation of the first preset control within the preset controls, controlling the scope to cancel aiming, and canceling the display of the target scene in the scope. In this method, while aiming, the player can control the target scene to be fixed using other fingers, and simultaneously select a control by sliding to control the scope to cancel aiming, avoiding the need to cancel aiming with the fingers used for movement, thus simplifying the operation process.
[0096] The aforementioned preset controls include a second preset control, which indicates the magnification of the scope. The step of responding to a selection operation of the target preset control within the preset controls and controlling the scope to update to the state indicated by the target preset control includes: responding to a selection operation of the second preset control within the preset controls, controlling the scope to set the magnification of the scope to the magnification indicated by the second preset control, controlling the magnification of the target scene displayed in the aiming window to update to the magnification indicated by the second preset control, and controlling the aiming window to display the magnified target scene. In this method, while in the scoped-out state, the player can control the scope to change the magnification by sliding a control while keeping the target scene fixed using other fingers, avoiding the need to change the magnification using the fingers controlling movement, thus simplifying the operation process.
[0097] The steps for responding to the selection operation of a target preset control in the preset controls described above include: responding to a second sliding operation starting from the touch point of the second touch operation, controlling the selection of a target preset control from the preset controls; and responding to the end of the second sliding operation, determining that the target preset control corresponding to the touch position at the end of the second sliding operation is selected. In this method, when the scope is in aiming down sights mode, the player can quickly select a target preset control from the preset controls and control the scope's state by performing a sliding operation, making the operation simple.
[0098] The above-mentioned step of displaying a preset control in a graphical user interface includes: displaying the preset control in a target area of the graphical user interface; wherein the touch position of the second touch operation is located in the target area.
[0099] The aforementioned preset controls include a third preset control, the third preset control indicating the magnification of the scope's currently set magnification; the step of displaying the preset controls in the target area of the graphical user interface includes: displaying the third preset control at the touch position of the second touch operation. In the above method, by displaying the control of the scope's currently set magnification at the operation position of the second touch operation, it is convenient for the player to select the scope's magnification to switch to.
[0100] The target scene displayed in the aiming window is obtained by capturing the game scene through a virtual camera corresponding to the aiming scope; the step of controlling the target scene displayed in the aiming window to change in response to a first sliding operation starting from the touch point of the first touch operation includes: determining the sliding direction of the first sliding operation in response to the first sliding operation starting from the touch point of the first touch operation; controlling the virtual camera to move in the sliding direction so that the target scene displayed in the aiming window changes.
[0101] The target scene above the above-mentioned screen displays a crosshair corresponding to the virtual shooting tool; after the step of controlling the target scene displayed in the aiming window to change in response to the first sliding operation starting from the touch point of the first touch operation, the above method further includes: in response to the end of the sliding operation, controlling the virtual shooting tool to fire in the direction indicated by the crosshair.
[0102] Furthermore, Figure 8 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.
[0103] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0104] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0105] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When these machine-executable instructions are invoked and executed by a processor, they cause the processor to implement the aforementioned game operation control method. This method provides a graphical user interface (GUI) through a terminal device. The GUI includes a game scene screen, shooting controls, and a virtual shooting tool located within the game scene. The method includes the following steps:
[0106] In response to a first touch operation on the shooting controls, the virtual shooting tool's scope is activated, generating an aiming window in the graphical user interface (GUI) that displays the target scene corresponding to the scope. In response to a first swipe operation originating from the touch point of the first touch operation, the target scene displayed in the aiming window changes. In response to a second touch operation targeting a preset area in the GUI, the target scene displayed in the aiming window remains fixed. In this method, when the scope is activated, touch operations targeting a preset area in the GUI keep the target scene fixed. At this time, the player cannot change the target scene using the first swipe operation. The player can then lift their finger to change the swipe position, avoiding the need to cancel the scope activation, simplifying the operation process, and improving the player's gaming experience.
[0107] Following the steps of responding to a second touch operation in a preset area of the graphical user interface, the method further includes: displaying preset controls in the graphical user interface; and responding to a selection operation of a target preset control within the preset controls, controlling the scope to update to the state indicated by the target preset control. In this method, after the player performs a second touch operation, the preset controls are also displayed. By selecting the target preset control, the state of the scope can be updated, allowing the player to switch the scope's state more quickly.
[0108] The aforementioned preset controls include a first preset control, which is used to instruct the scope to cancel aiming. The step of responding to a selection operation of the target preset control within the preset controls and controlling the scope to update to the state indicated by the target preset control includes: responding to a selection operation of the first preset control within the preset controls, controlling the scope to cancel aiming, and canceling the display of the target scene in the scope. In this method, while aiming, the player can control the target scene to be fixed using other fingers, and simultaneously select a control by sliding to control the scope to cancel aiming, avoiding the need to cancel aiming with the fingers used for movement, thus simplifying the operation process.
[0109] The aforementioned preset controls include a second preset control, which indicates the magnification of the scope. The step of responding to a selection operation of the target preset control within the preset controls and controlling the scope to update to the state indicated by the target preset control includes: responding to a selection operation of the second preset control within the preset controls, controlling the scope to set the magnification of the scope to the magnification indicated by the second preset control, controlling the magnification of the target scene displayed in the aiming window to update to the magnification indicated by the second preset control, and controlling the aiming window to display the magnified target scene. In this method, while in the scoped-out state, the player can control the scope to change the magnification by sliding a control while keeping the target scene fixed using other fingers, avoiding the need to change the magnification using the fingers controlling movement, thus simplifying the operation process.
[0110] The steps for responding to the selection operation of a target preset control in the preset controls described above include: responding to a second sliding operation starting from the touch point of the second touch operation, controlling the selection of a target preset control from the preset controls; and responding to the end of the second sliding operation, determining that the target preset control corresponding to the touch position at the end of the second sliding operation is selected. In this method, when the scope is in aiming down sights mode, the player can quickly select a target preset control from the preset controls and control the scope's state by performing a sliding operation, making the operation simple.
[0111] The above-mentioned step of displaying a preset control in a graphical user interface includes: displaying the preset control in a target area of the graphical user interface; wherein the touch position of the second touch operation is located in the target area.
[0112] The aforementioned preset controls include a third preset control, the third preset control indicating the magnification of the scope's currently set magnification; the step of displaying the preset controls in the target area of the graphical user interface includes: displaying the third preset control at the touch position of the second touch operation. In the above method, by displaying the control of the scope's currently set magnification at the operation position of the second touch operation, it is convenient for the player to select the scope's magnification to switch to.
[0113] The target scene displayed in the aiming window is obtained by capturing the game scene through a virtual camera corresponding to the aiming scope; the step of controlling the target scene displayed in the aiming window to change in response to a first sliding operation starting from the touch point of the first touch operation includes: determining the sliding direction of the first sliding operation in response to the first sliding operation starting from the touch point of the first touch operation; controlling the virtual camera to move in the sliding direction so that the target scene displayed in the aiming window changes.
[0114] The target scene above the above-mentioned screen displays a crosshair corresponding to the virtual shooting tool; after the step of controlling the target scene displayed in the aiming window to change in response to the first sliding operation starting from the touch point of the first touch operation, the above method further includes: in response to the end of the sliding operation, controlling the virtual shooting tool to fire in the direction indicated by the crosshair.
[0115] The computer program product of the game operation control method, device and system provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0116] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0117] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0118] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0119] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0120] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method of operating control of a game, characterized by, A graphical user interface (GUI) is provided via a terminal device, the GUI including a game scene screen, shooting controls, and a virtual shooting tool located within the game scene; the method includes: In response to a first touch operation on the shooting control, the scope of the virtual shooting tool is controlled to open, an aiming window is generated in the graphical user interface, and the target scene image corresponding to the scope is displayed in the aiming window; wherein, the crosshair of the virtual shooting tool is displayed above the target scene image; In response to a first swipe operation starting from the touch point of the first touch operation, the target scene displayed in the aiming window is controlled to change. In response to a second touch operation targeting a preset area in the graphical user interface, the target scene displayed in the aiming window is kept fixed. After the step of controlling the target scene displayed in the aiming window to change in response to a first sliding operation starting from the touch point of the first touch operation, the method further includes: In response to the end of the first sliding operation, the virtual shooting tool is controlled to fire in the direction indicated by the crosshair.
2. The method of claim 1, wherein, After responding to a second touch operation targeting a preset area in the graphical user interface, the method further includes: Preset controls are displayed in the graphical user interface; In response to a selection operation of a target preset control in the preset controls, the aiming scope is updated to the state indicated by the target preset control.
3. The method of claim 2, wherein, The preset control includes a first preset control, which is used to instruct the scope to cancel aiming; The step of responding to a selection operation of a target preset control in the preset controls and controlling the scope to update to the state indicated by the target preset control includes: In response to the selection operation of the first preset control in the preset controls, the scope is controlled to cancel aiming and the target scene in the scope is not displayed.
4. The method of claim 2, wherein, The preset control includes a second preset control, which is used to indicate the magnification of the teleconverter; The step of responding to a selection operation of a target preset control in the preset controls and controlling the scope to update to the state indicated by the target preset control includes: In response to the selection operation of the second preset control in the preset controls, the aiming scope is controlled to be set to the magnification indicated by the second preset control, the magnification of the target scene displayed in the aiming window is updated to the magnification indicated by the second preset control, and the aiming window is controlled to display the magnified target scene.
5. The method of claim 2, wherein, The steps for responding to a selection operation of a target preset control in the preset controls include: In response to a second sliding operation starting from the touch point of the second touch operation, a target preset control is selected from the preset controls; In response to the end of the second sliding operation, it is determined that the target preset control corresponding to the touch position at the end of the second sliding operation is selected.
6. The method of claim 2, wherein, The step of displaying preset controls in the graphical user interface includes: The preset control is displayed in the target area of the graphical user interface; wherein the touch position of the second touch operation is located in the target area.
7. The method of claim 6, wherein, The preset control includes a third preset control, wherein the magnification of the teleconverter indicated by the third preset control is the magnification of the teleconverter currently set by the scope; The step of displaying the preset control in the target area of the graphical user interface includes: displaying the third preset control at the touch position of the second touch operation.
8. The method of claim 1, wherein, The target scene displayed in the aiming window is obtained by capturing the game scene using a virtual camera corresponding to the aiming scope. The step of controlling the target scene displayed in the aiming window to change in response to a first swipe operation starting from the touch point of the first touch operation includes: In response to a first sliding operation starting from the touch point of the first touch operation, the sliding direction of the first sliding operation is determined; Control the virtual camera to move in the sliding direction so that the target scene displayed in the aiming window changes.
9. An operation control device for a game, characterized by comprising: A graphical user interface is provided via a terminal device, the graphical user interface including a game scene screen, shooting controls, and a virtual shooting tool located in the game scene; the device includes: The scope-opening module is used to respond to the first touch operation of the shooting control, control the scope of the virtual shooting tool to open, generate an aiming window in the graphical user interface, and display the target scene screen corresponding to the scope in the aiming window; wherein, the crosshair mark corresponding to the virtual shooting tool is displayed above the target scene screen; The scene scene change module is used to control the target scene scene displayed in the aiming window to change in response to a first sliding operation starting from the touch point of the first touch operation; The scene screen fixing module is used to respond to a second touch operation on a preset area in the graphical user interface and control the target scene screen displayed in the aiming window to remain unchanged. The shooting control module is used to control the virtual shooting tool to fire in the direction indicated by the crosshair mark in response to the end of the first sliding operation.
10. An electronic device, comprising: It includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the game operation control method according to any one of claims 1-8.
11. A computer readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the game operation control method according to any one of claims 1-8.
Citation Information
Patent Citations
Game control method and device
CN105760076A
Game aiming method and device, storage medium, and electronic device
CN109224439A
Virtual prop control method, device and equipment and computer readable storage medium
CN112156472A