Interaction control method, device and electronic equipment in game
Patent Information
- Application Number
- CN202311107887.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-08-30
AI Technical Summary
该操作流程需要花费更多的时间和精力调整瞄准镜的放大参数,容易导致玩家失去耐心,从而影响玩家游戏胜率
[0009]This invention provides an interactive control method, device, and electronic device for games. First, in response to a scope-in command for a virtual weapon, a second game scene is displayed on a graphical user interface (GUI), and the volume buttons used to adjust the volume of the terminal device are switched to adjust the magnification parameters of the scope. The second game scene is a game scene corresponding to a second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon; the second game scene is at least a partial first game scene. Then, in response to the volume button adjustment operation, the preset magnification parameters of the scope are adjusted to the target magnification parameters, and a game scene corresponding to a third game scene determined based on the target magnification parameters is displayed on the GUI; the third game scene is at least a partial first game scene. This method simplifies the operation of adjusting the scope's magnification parameters and improves the efficiency of magnification parameter adjustment by allowing the scope's magnification parameters to be adjusted after scope-in. Simultaneously, this method avoids accidental operation of other controls in the GUI during scope-in interaction, contributing to a better player experience and improved win rate.
Smart Images

Figure CN117244235B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of game interaction technology, and in particular to an interactive control method, device and electronic device in games. Background Technology
[0002] In games, aiming down sights (ADS) helps players accurately locate enemy positions and movements, thereby improving their hit rate and combat effectiveness. The ADS process typically involves pressing a button in the game to bring up a scope on the screen, then sliding the crosshair and adjusting the magnification parameters as needed. This process requires significant time and effort to adjust the magnification parameters, which can easily lead to player impatience and negatively impact their win rate. Summary of the Invention
[0003] This invention provides an interactive control method, device, and electronic device for games, which simplifies the operation of adjusting the magnification parameters of a scope, thereby improving the player's gaming experience and win rate.
[0004] In a first aspect, the present invention provides an interactive control method for a game, which provides volume keys and a graphical user interface (GUI) through a terminal device. The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, which is equipped with a scope. The method includes: responding to a scope-opening command for the virtual weapon, displaying a second game scene screen on the GUI, and configuring the volume keys to control the adjustment of the magnification parameter corresponding to the scope, wherein the second game scene screen is a game screen corresponding to the second game scene determined based on a preset magnification parameter of the scope equipped with the virtual weapon, and the second game scene is at least a partial first game scene; responding to the adjustment operation of the volume keys, controlling the adjustment of the preset magnification parameter corresponding to the scope to a target magnification parameter, and displaying a game screen corresponding to a third game scene determined based on the target magnification parameter on the GUI, wherein the third game scene is at least a partial first game scene.
[0005] Secondly, the present invention provides an interactive control device for a game, which provides volume keys and a graphical user interface (GUI) through a terminal device. The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, which is equipped with a scope. The device includes: a scope-opening module, which responds to a scope-opening command for the virtual weapon, displays a second game scene screen on the GUI, and configures the volume keys to control the adjustment of the magnification parameters corresponding to the scope, wherein the second game scene screen is a game screen corresponding to the second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon, and the second game scene is at least a partial first game scene; and a parameter adjustment module, which responds to the adjustment operation of the volume keys, controls the adjustment of the preset magnification parameters corresponding to the scope to the target magnification parameters, and displays a game screen corresponding to a third game scene determined based on the target magnification parameters on the GUI, wherein the third game scene is at least a partial first game scene.
[0006] Thirdly, the present invention provides an electronic device including a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the interactive control method in the above-mentioned game.
[0007] Thirdly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the interactive control method in the aforementioned game.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] This invention provides an interactive control method, device, and electronic device for games. First, in response to a scope-in command for a virtual weapon, a second game scene is displayed on a graphical user interface (GUI), and the volume buttons used to adjust the volume of the terminal device are switched to adjust the magnification parameters of the scope. The second game scene is a game scene corresponding to a second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon; the second game scene is at least a partial first game scene. Then, in response to the volume button adjustment operation, the preset magnification parameters of the scope are adjusted to the target magnification parameters, and a game scene corresponding to a third game scene determined based on the target magnification parameters is displayed on the GUI; the third game scene is at least a partial first game scene. This method simplifies the operation of adjusting the scope's magnification parameters and improves the efficiency of magnification parameter adjustment by allowing the scope's magnification parameters to be adjusted after scope-in. Simultaneously, this method avoids accidental operation of other controls in the GUI during scope-in interaction, contributing to a better player experience and improved win rate.
[0010] Other features and advantages of the invention will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the techniques described above.
[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 an interactive control method in a game provided by an embodiment of the present invention;
[0014] Figure 2 A schematic diagram of an operating area provided in an embodiment of the present invention;
[0015] Figure 3 A schematic diagram illustrating the adjustment of magnification parameters of the scope when the volume keys are on the left side of the terminal device, as provided in an embodiment of the present invention.
[0016] Figure 4 A schematic diagram illustrating the adjustment of the magnification parameters of the scope when the volume keys are on the right side of the terminal device, as provided in an embodiment of the present invention.
[0017] Figure 5 This is a schematic diagram of the structure of an interactive control device in a game provided by an embodiment of the present invention;
[0018] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments 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, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] Most mobile shooting games rely on a graphical user interface (GUI) on the mobile screen for interaction. The dense array of interactive controls in the GUI can sometimes make it difficult for players to perform desired actions. Therefore, some games have introduced multi-finger controls, such as three-finger or four-finger controls. However, multi-finger controls can be uncomfortable for players because they require using multiple fingers, which is inconvenient and prone to errors.
[0022] To improve the user experience, some products map the in-game fire button to volume buttons or other specific buttons to simulate a trigger. This expands the interaction space, allowing players better control of the game. However, mapping the fire button to volume buttons may prevent players from triggering fire, as volume buttons are not suitable for frequent firing interactions. Furthermore, adjusting the volume on the side may conflict with the fire button. Therefore, it's necessary to manually adjust the button mappings in the settings to maintain smooth and accurate interaction.
[0023] Based on the current technological foundation and background, this publication investigates the often-overlooked aiming interaction in shooting games. In current games, aiming typically involves using an on-screen button to switch between zoom in and out. However, when users simultaneously operate the left joystick and the right button, this operation has a very low margin for error, resulting in a disjointed experience. Taking the aiming process in current games as an example, the typical procedure is: tap the button with the right or left thumb, lift the finger to slide the crosshair, and adjust the zoom parameters as needed. This process requires more time and effort, easily causing users to lose patience and thus affecting the player's win rate.
[0024] To address the aforementioned issues, this invention provides an interactive control method, device, and electronic device for games. This technology can be applied to scenarios involving adjusting the magnification parameters of scopes in games, particularly in scenarios involving adjusting the magnification parameters of scopes corresponding to virtual weapons in shooting games.
[0025] In one embodiment of this disclosure, the interactive control method in a game can run on a local terminal device or a server. When the interactive control method in a game runs on a server, the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive 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 interactive control methods in the game are completed on the cloud gaming server. The client device is used for receiving and sending data and presenting the game screen. 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] In one possible implementation, this embodiment of the invention provides an interactive control method in a game, providing volume buttons and a graphical user interface (GUI) via a terminal device. The terminal device can be either a local terminal device as mentioned above, or a client device in the aforementioned cloud interactive system. The volume buttons are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. This first game scene includes at least a portion of the game scene, including a virtual weapon controlled by the terminal device. Figure 1 As shown, the method includes the following specific steps:
[0029] Step S102: In response to the aiming command for the virtual weapon, display the second game scene screen on the graphical user interface, and configure the volume keys to control and adjust the magnification parameters corresponding to the aiming scope. The second game scene screen is the game screen corresponding to the second game scene determined based on the preset magnification parameters of the aiming scope equipped with the virtual weapon. The second game scene is at least a part of the first game scene.
[0030] In practical implementation, the aforementioned volume buttons can be either buttons used to increase the volume of the terminal device (also known as volume + buttons) or buttons used to decrease the volume of the terminal device (also known as volume - buttons). Whether the volume button used to adjust the magnification parameters of the scope is the volume + button or the volume - button on the terminal device can be determined according to development needs or player settings. In an optional embodiment, when the terminal device is a mobile phone, the player typically places the phone horizontally while playing the game, and then uses their fingers to operate on the phone screen. Since the volume adjustment buttons on the terminal device are located at the top of the horizontally placed phone, and the volume + button is located horizontally near the edge of the screen, for the convenience of the player's fingers, the volume + button can be used to adjust the magnification parameters of the scope while it is in aiming mode.
[0031] When the volume keys are used to adjust the volume of the terminal device, the first game scene displayed in the graphical user interface typically includes a virtual weapon controlled by the player through the terminal device. This virtual weapon is used to attack virtual objects or virtual characters that do not belong to the same game faction as the player character. This virtual weapon can be an offensive weapon such as a virtual gun, virtual ammunition, or virtual tank. The aforementioned first game scene is usually part of the overall game scene.
[0032] When the virtual weapon is in scoped-out mode, the game screen corresponding to the first game scene will switch to a second game scene in the graphical user interface. This second game scene is determined based on the preset magnification parameters of the scope equipped with the virtual weapon. The second game scene is a portion of the first game scene, specifically the area where the virtual object the player wants to aim at is located. The preset magnification parameters can be the default magnification parameters of the scope equipped with the virtual weapon when it is scoped out. The second game scene is obtained by magnifying the second game scene within the first game scene based on the preset magnification parameters corresponding to the scope; that is, the magnification of the second game scene relative to the first game scene in the graphical user interface matches the preset magnification parameters.
[0033] In practice, the aforementioned scope-in command can be a click or long-press operation on the scope-in control displayed in the graphical user interface, or it can be an operation to select the scope from the inventory, etc., depending on the development requirements. When the scope equipped with the virtual weapon is in the scope-in state, the graphical user interface may display the scope equipped with the virtual weapon controlled by the player through the terminal device, and the function of the volume buttons may be switched from adjusting the volume of the terminal device to adjusting the magnification parameters of the scope. This scope can be the scope that comes with the virtual weapon, or it can be a scope in the player's inventory (which the player character picks up during the game, or purchases from the virtual store).
[0034] In one specific embodiment, a second game scene is displayed in the scope. Through the image displayed in the scope, the player can control the virtual weapon to accurately aim at the virtual object to be attacked, thereby causing damage to the target and improving the win rate. Specifically, the adjustable magnification parameter range for each scope is preset. The magnification parameter adjustment range for different scopes may be the same or different. For example, the magnification parameter of a 2x scope can only be 2x; the magnification parameter of an 8x scope can be adjusted from 2x to 8x, or from 8x to 2x, etc.
[0035] Step S104: In response to the adjustment operation of the volume key, control the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter, and display the game screen corresponding to the third game scene determined based on the target magnification parameter on the graphical user interface, wherein the third game scene is at least a partial first game scene.
[0036] While aiming down sights (ADS), the volume buttons are disabled for adjusting the device's volume, but are instead used to adjust the scope's magnification. When players use the volume buttons, they can adjust the scope's magnification. Specifically, different volume button actions adjust the scope's magnification to varying degrees and directions. For example, clicking the volume button lowers the magnification, while holding it down continuously lowers it. Clicking the volume button and performing a specific trigger action in the graphical user interface (GUI) increases the magnification. This trigger action can be a sliding motion or a pressing action on a specific area of the GUI.
[0037] In practice, by adjusting the magnification parameter of the scope to match the target magnification parameter, the game screen corresponding to the third game scene determined based on the target magnification parameter will be displayed on the graphical user interface. The magnification of the game screen matches the target magnification parameter, and the third game scene is a part of the first game scene.
[0038] This invention provides an interactive control method for games. First, in response to a scope-in command for a virtual weapon, a second game scene is displayed on the graphical user interface (GUI), and the volume buttons used to adjust the volume of the terminal device are switched to adjust the magnification parameters of the scope. The second game scene is a game scene corresponding to a second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon; the second game scene is at least a partial first game scene. Then, in response to the volume button adjustment operation, the preset magnification parameters of the scope are adjusted to the target magnification parameters, and a game scene corresponding to a third game scene determined based on the target magnification parameters is displayed on the GUI; the third game scene is at least a partial first game scene. This method simplifies the operation of adjusting the scope's magnification parameters and improves the efficiency of magnification parameter adjustment by allowing the scope's magnification parameters to be adjusted after scope-in. Simultaneously, this method avoids accidental operation of other controls in the GUI during scope-in interaction, contributing to a better player experience and improved win rate.
[0039] The following examples focus on describing how to switch the function of the volume keys.
[0040] Specifically, the process of configuring the volume keys to control and adjust the magnification parameters of the sight can include: disabling the function of adjusting the volume of the terminal device with the volume keys, and giving the volume keys the function of adjusting the magnification parameters of the sight; wherein the adjustment range of the magnification parameters of the sight with the volume keys matches the adjustment range of the magnification parameters of the sight.
[0041] In practical implementation, the function of disabling the volume keys can be understood as a switch. When the switch is on, when the volume key is pressed, the system will not perform the original function of the volume key (that is, the function of adjusting the volume of the terminal device), but will do other things, such as not responding at all or performing custom functions.
[0042] In practical applications, terminal devices typically include two buttons for adjusting the volume: a volume up button (Volume +) and a volume down button (Volume -). Since the volume button can be either the volume up or volume down button, when the player is aiming down sights (ADS), all volume button functions for adjusting the terminal device's volume are disabled. That is, both the volume up and volume down buttons are disabled, but only one volume button is assigned the function of adjusting the scope's magnification parameters. The other buttons on the terminal device are only disabled for volume adjustment and have no other function assigned. Therefore, pressing any button other than the volume down button while aiming down sights will not cause any changes or responses in the terminal device or the graphical user interface.
[0043] In practical implementation, in response to the scope-off command for the virtual weapon, the game screen corresponding to the first game scene will be displayed on the graphical user interface, and the volume buttons will be configured to control the volume of the terminal device. That is, when the scope configured for the virtual weapon is closed, the game screen displayed in the graphical user interface will switch back to the game screen corresponding to the first game scene, and the function of the volume buttons will switch from adjusting the scope's magnification parameters to adjusting the volume of the terminal device. The specific operation corresponding to the aforementioned scope-off command can be determined according to development needs; for example, it could be clicking the close control displayed in the graphical user interface, or clicking the scope-on control again, etc.
[0044] In an optional embodiment, in response to an aiming command for a virtual weapon, the current volume value of the terminal device is obtained and recorded in a preset storage location; in response to an aiming-off command for a virtual weapon, the current volume value is obtained from the preset storage location, and the function of adjusting the volume of the terminal device using the volume keys is restored, with the volume keys adjusting the volume of the terminal device starting from the current volume value. The preset storage location can be determined according to development needs, for example, it can be local storage or a certain memory area.
[0045] In one specific embodiment, when a player triggers the scope control in the game, the system volume adjustment function is disabled. Based on the different magnification parameters required by scopes in the game, the volume buttons are assigned the function of adjusting the magnification parameters of the current scope. The system volume value at the time of scope activation is identified by retrieving the maximum, minimum, and current volume of the terminal device. Specifically, the maximum and minimum volume can be determined using the terminal device's model code, and the current volume value is retrieved from the terminal device's background data memory. The purpose of identifying the current volume is to determine whether the player has pressed the volume up or volume down button, thereby determining whether the player has activated the volume buttons used to adjust the scope's magnification parameters; and to ensure that the volume buttons function correctly after reverting to volume adjustment, the volume will not be different from before.
[0046] In its specific implementation, the application of this invention has the function of remembering the volume level. When the application starts (that is, when it is in the scoped state), it records the current volume value and saves the current volume value to local storage. When the application resumes, it reads the last saved volume level (equivalent to the aforementioned current quality value) from local storage and restores the last saved volume level.
[0047] The above method provides a more efficient and convenient way to interact with the scope while aiming down sights in shooting games. Specifically, it disables the default mapping of the system volume keys and maps them to magnification adjustment keys while aiming down sights. While aiming down sights, players can adjust the scope's magnification parameters by using the volume keys. This interaction method not only improves the efficiency of magnification adjustment but also avoids accidental operations caused by the presence of other controls on the graphical user interface during aiming down sights.
[0048] The following examples focus on describing how to adjust the magnification parameters corresponding to the sight.
[0049] Specifically, the above-mentioned response to the volume key adjustment operation, controlling the process of adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter, may include: responding to the first trigger operation of the volume key, adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0050] In practice, the first trigger operation can be a click or a long press of the volume button, depending on the development requirements. When a player performs the first trigger operation on the volume button, the magnification of the scope is reduced, meaning the magnification of the target magnification parameter is lower than the preset magnification parameter.
[0051] In one specific embodiment, when the first triggering operation is a click operation, in response to a click operation on the volume button, the preset magnification parameter corresponding to the scope is divided by a specified unit to obtain the target magnification parameter, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter. The specific value corresponding to the specified unit can be determined according to the development needs. For example, the specified unit can be the value 2. In this case, when the preset magnification parameter of the scope is eight times, if the player clicks the volume button once, eight times can be divided by 2 to obtain the target magnification parameter as four times, thereby adjusting the magnification parameter of the scope to four times. Clicking the volume button again can adjust the magnification parameter of the scope to two times.
[0052] In another specific embodiment, when the first triggering operation is a long press, in response to a long press on the volume button, the target magnification parameter is determined based on the duration of the long press, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter. The duration includes at least one unit of time, and the magnification parameter corresponding to the scope for each unit of time is divided by a specified unit. Specifically, when the player only performs a long press on the volume button and does not perform any other operations in the graphical user interface, the scope's magnification parameter can be continuously reduced until it reaches its minimum value, which is also the minimum multiplier to which the scope's magnification parameter can be reduced. Before the scope's magnification parameter reaches its minimum value, the longer the volume button is pressed, the more the scope's magnification parameter is reduced. Typically, the magnification parameter corresponding to the scope for each unit of time is divided by a specified unit. For example, the unit of time could be 1 second, and the specified unit could be the value 2. When the scope's preset magnification parameter is eight times, a player long-pressing the volume button for two seconds can adjust the scope's magnification parameter from eight times to two times.
[0053] Furthermore, players can adjust the scope's magnification by pressing the volume keys, either decreasing or increasing it. The process of increasing the scope's magnification can include: responding to a specified trigger action on the graphical user interface, and while the specified trigger action is active, adjusting the scope's preset magnification to the target magnification by responding to a second trigger action on the volume keys. In this scheme, the target magnification is greater than the preset magnification.
[0054] In practice, for a player to increase the magnification of the scope, they need to perform a specific trigger action in the graphical user interface while simultaneously pressing the volume button. The specific operation for this second trigger action on the volume button can be determined according to development needs; for example, this second trigger action could be a click or a long press on the volume button.
[0055] In one specific embodiment, when the second triggering operation is a click operation, in response to the specified triggering operation applied to the graphical user interface, and while the specified triggering operation is ongoing, a click operation on the volume button, multiplies the preset magnification parameter corresponding to the scope by a specified unit to obtain the target magnification parameter, and adjusts the preset magnification parameter corresponding to the scope to the target magnification parameter. The specific value corresponding to the specified unit can be determined according to development needs. For example, the specified unit can be the value 2, that is, when the preset magnification parameter of the scope is two times, when the player performs the specified triggering operation in the graphical user interface and clicks the volume button once, the magnification parameter of the scope can be adjusted to four times (two times multiplied by 2 equals four times), and clicking the volume button again can adjust the magnification of the scope to eight times.
[0056] In another specific embodiment, when the second trigger operation is a long press operation, in response to the specified trigger operation applied to the graphical user interface, and in the continuous state of the specified trigger operation, for the long press operation of the volume key, the target magnification parameter is determined according to the duration of the long press operation, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter; wherein, the duration includes at least one unit duration, and the magnification parameter corresponding to the scope for each unit duration is multiplied by a specified unit.
[0057] Specifically, when a player performs a specified trigger action on the graphical user interface while simultaneously holding down the volume button, the magnification parameter of the scope will be continuously increased until it reaches its maximum value, which is also the maximum magnification factor the scope can be adjusted to. Before the scope's magnification parameter reaches its maximum value, the longer the volume button is pressed, the greater the increase in the scope's magnification parameter. Typically, the magnification parameter corresponding to each unit of time is multiplied by a specified unit. For example, the unit of time could be 1 second, and the specified unit could be the value two. When the scope's preset magnification parameter is two times, if the player performs the specified trigger action on the graphical user interface while holding down the volume button for two seconds, the scope's magnification parameter will be adjusted from two times to eight times (two times multiplied by 4 equals eight times).
[0058] In practical implementation, the specified triggering operations applied to the graphical user interface (GUI) include: swiping or long-pressing operations within a specified area of the GUI. That is, the specified triggering operation applies to the GUI so that the player will only increase the scope's magnification parameter when they press the volume button during a swiping or long-pressing operation within a specified area of the GUI. The specific area of this specified area can be determined according to development needs. For example, the specified area could be the right side of the GUI, a fixed area within the GUI, or a blank area within the GUI (an area in the GUI where no interactive controls are displayed), etc.
[0059] In one specific embodiment, Figure 2 This diagram illustrates an operating area provided by an embodiment of the present invention. Figure 2 It contains five operating areas: a high-efficiency area and a medium-efficiency area on the right, a high-efficiency area and a medium-efficiency area on the left, and a low-efficiency area in the middle. The high-efficiency area is the easiest for the player's thumb to reach, the medium-efficiency area is a relatively easy area for the player's thumb to reach, and the low-efficiency area is the most difficult area for the player's thumb to reach. In this invention, the designated area for the player to execute a specified trigger operation in the graphical user interface can be either the high-efficiency area and the medium-efficiency area on the right, or the high-efficiency area and the medium-efficiency area on the left, or all of the high-efficiency and medium-efficiency areas, thus facilitating player operation.
[0060] In practical implementation, when the specified region is the high-efficiency region and the medium-efficiency region on the right, Figure 3 This diagram illustrates the adjustment of the magnification parameters of the scope when the volume keys are on the left side of the terminal device, according to an embodiment of the present invention. Figure 3 The area where the index finger presses is also where the volume buttons are located. When the player presses or slides the screen with their right thumb, pressing or pressing the volume button with their left hand will increase the magnification of the scope. This interaction mode, where the left hand moves to press the volume button and the right hand slides the screen, is more in line with human hand strength and provides a more stable center of gravity. Figure 4 This diagram illustrates the adjustment of the magnification parameters of the scope when the volume keys are located on the right side of the terminal device, according to an embodiment of the present invention. Figure 4 The area where the index finger presses is also where the volume buttons are located. When the player presses or slides the screen with their right thumb, pressing or pressing the volume button with their right index finger will increase the magnification of the scope.
[0061] The above methods address the interactive experience under extreme conditions, making the pressing force of both hands more comfortable and rationally combining hardware. System volume muting in specific modes resolves button conflict issues and provides an alternative operating mode; simultaneously, moving the index finger upwards reduces line-of-sight obstruction and minimizes the impact of multi-finger operation. This interaction method not only improves the efficiency of adjusting magnification parameters but also avoids accidental operations caused by other controls on the screen during aiming. Furthermore, this application optimizes the inconsistent pressing force and position of the volume buttons themselves through specific pressing patterns, improving the usability and smoothness of aiming interaction and effectively enhancing the player experience in shooting games.
[0062] Furthermore, the method of this invention can be applied to other types of games, such as the accelerator and brake in racing games, the jump and attack in action games, the exploration and interaction in adventure games, and even differentiate between long press and short press to generate more functions.
[0063] Corresponding to the above method embodiments, this invention also provides an interactive control device in a game, providing volume keys and a graphical user interface through a terminal device. The volume keys are used to adjust the volume of the terminal device, and the graphical user interface displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, the virtual weapon being equipped with a scope; such as Figure 5 As shown, the device includes:
[0064] The scope module 50 is used to respond to the scope command for the virtual weapon, display the second game scene screen on the graphical user interface, and configure the volume keys to control and adjust the magnification parameters corresponding to the scope. The second game scene screen is the game screen corresponding to the second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon. The second game scene is at least a part of the first game scene.
[0065] The parameter adjustment module 51 is used to respond to the adjustment operation of the volume key, control the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter, and display the game screen corresponding to the third game scene determined based on the target magnification parameter on the graphical user interface, wherein the third game scene is at least a part of the first game scene.
[0066] The interactive control device in the aforementioned game first responds to the aiming command for the virtual weapon, displays a second game scene on the graphical user interface, and switches the function of the volume buttons used to adjust the volume of the terminal device to adjust the magnification parameters corresponding to the aiming scope. The second game scene is the game screen corresponding to a second game scene determined based on the preset magnification parameters of the aiming scope equipped with the virtual weapon; the second game scene is at least a partial representation of the first game scene. Then, responding to the volume button adjustment operation, it controls the adjustment of the preset magnification parameters corresponding to the aiming scope to the target magnification parameters, and displays the game screen corresponding to a third game scene determined based on the target magnification parameters on the graphical user interface; the third game scene is at least a partial representation of the first game scene. This method simplifies the operation of adjusting the magnification parameters of the aiming scope by triggering the volume buttons after aiming, thus improving the efficiency of magnification parameter adjustment. At the same time, this method also avoids accidental operation of other controls in the graphical user interface during aiming interaction, helping to improve the player's gaming experience and win rate.
[0067] Specifically, the device also includes a scope-off module, which is used to: respond to a scope-off command for a virtual weapon, display the game screen corresponding to the first game scene on the graphical user interface, and configure the volume keys to control and adjust the volume of the terminal device.
[0068] Furthermore, the aforementioned device also includes a volume control module, used to: in response to an aiming command for a virtual weapon, obtain the current volume value of the terminal device and record the current volume value in a preset storage location; in response to an aiming-off command for a virtual weapon, obtain the current volume value from the preset storage location and restore the function of adjusting the volume of the terminal device using the volume keys, and the volume keys adjust the volume of the terminal device starting from the current volume value.
[0069] Furthermore, the aforementioned scope-opening module 50 is used to: disable the function of the volume keys in adjusting the volume of the terminal device, and enable the volume keys to adjust the magnification parameters corresponding to the scope; wherein, the adjustment range of the volume keys in adjusting the magnification parameters corresponding to the scope matches the adjustment range of the magnification parameters corresponding to the scope.
[0070] Furthermore, the parameter adjustment module 51 is used to: in response to the first trigger operation of the volume key, adjust the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0071] In an optional embodiment, the parameter adjustment module 51 is further configured to: respond to a click operation on the volume key, divide the preset magnification parameter corresponding to the scope by a specified unit to obtain the target magnification parameter, and adjust the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0072] In an optional embodiment, the parameter adjustment module 51 is further configured to: respond to a long press operation on the volume key, determine the target magnification parameter based on the duration of the long press operation, and adjust the preset magnification parameter corresponding to the scope to the target magnification parameter; wherein the duration includes at least one unit duration, and the magnification parameter corresponding to the scope for each unit duration is divided by a specified unit.
[0073] Furthermore, the parameter adjustment module 51 is used to: respond to a specified trigger operation applied to the graphical user interface, and, in the continuous state of the specified trigger operation, adjust the preset magnification parameter corresponding to the scope to the target magnification parameter for the second trigger operation of the volume key.
[0074] In an optional embodiment, the parameter adjustment module 51 is further configured to: respond to a specified trigger operation applied to the graphical user interface, and during the continuous state of the specified trigger operation, multiply the preset magnification parameter corresponding to the scope by a specified unit for a click operation on the volume key to obtain the target magnification parameter, and adjust the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0075] In an optional embodiment, the parameter adjustment module 51 is further configured to: respond to a specified trigger operation applied to the graphical user interface, and during the continuous state of the specified trigger operation, determine the target magnification parameter based on the duration of the long press operation for the volume key, and adjust the preset magnification parameter corresponding to the scope to the target magnification parameter; wherein the duration includes at least one unit duration, and the magnification parameter corresponding to the scope for each unit duration is multiplied by a specified unit.
[0076] In specific implementation, the specified triggering operations applied to the graphical user interface include: swiping operations or long-press operations applied to a specified area of the graphical user interface.
[0077] The interactive control device in the game provided in this embodiment of the invention has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0078] This invention also provides an electronic device, such as... Figure 6 As shown, the electronic device includes a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor, which executes the machine-executable instructions to implement the interactive control method in the game described above.
[0079] Specifically, the terminal device provides volume keys and a graphical user interface (GUI). The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, which is equipped with a scope. The interactive control method in the game includes: responding to a scope-opening command for the virtual weapon, displaying a second game scene screen on the GUI, and configuring the volume keys to control the adjustment of the magnification parameters corresponding to the scope, wherein the second game scene screen is a game screen corresponding to the second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon, and the second game scene is at least a partial first game scene; responding to the adjustment operation of the volume keys, controlling the adjustment of the preset magnification parameters corresponding to the scope to the target magnification parameters, and displaying a game screen corresponding to a third game scene determined based on the target magnification parameters on the GUI, wherein the third game scene is at least a partial first game scene.
[0080] The interactive control method in the aforementioned game allows players to adjust the magnification parameters of the scope by triggering the volume keys after aiming down sights, thus simplifying the operation of adjusting the magnification parameters and improving the efficiency of magnification parameter adjustment. At the same time, this method can also avoid accidental operation of other controls in the graphical user interface during aiming down sights interaction, which helps to improve the player's gaming experience and win rate.
[0081] In an optional embodiment, the method further includes: responding to a scope-off command for a virtual weapon, displaying the game screen corresponding to the first game scene on a graphical user interface, and configuring the volume keys to control and adjust the volume of the terminal device.
[0082] In an optional embodiment, the method further includes: in response to an aiming command for a virtual weapon, obtaining the current volume value of the terminal device and recording the current volume value in a preset storage location; in response to an aiming-off command for a virtual weapon, obtaining the current volume value from the preset storage location and restoring the function of adjusting the volume of the terminal device using the volume keys, and adjusting the volume of the terminal device starting from the current volume value using the volume keys.
[0083] In an optional embodiment, the step of configuring the volume keys to control and adjust the magnification parameters corresponding to the sight includes: disabling the function of the volume keys to adjust the volume of the terminal device, and granting the volume keys the function of adjusting the magnification parameters corresponding to the sight; wherein the adjustment range of the volume keys to adjust the magnification parameters corresponding to the sight matches the adjustment range of the magnification parameters corresponding to the sight.
[0084] In an optional embodiment, the step of responding to the adjustment operation of the volume key and controlling the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter includes: responding to the first trigger operation of the volume key and lowering the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0085] In an optional embodiment, the step of adjusting the preset magnification parameter of the scope to the target magnification parameter in response to the first trigger operation of the volume key includes: in response to the click operation of the volume key, dividing the preset magnification parameter of the scope by a specified unit to obtain the target magnification parameter, and adjusting the preset magnification parameter of the scope to the target magnification parameter.
[0086] In an optional embodiment, the step of responding to the first trigger operation of the volume key and adjusting the preset magnification parameter of the scope to the target magnification parameter includes: responding to the long press operation of the volume key, determining the target magnification parameter according to the duration of the long press operation, and adjusting the preset magnification parameter of the scope to the target magnification parameter; wherein, the duration includes at least one unit duration, and the magnification parameter of the scope for each unit duration is divided by a specified unit.
[0087] In an optional embodiment, the above-mentioned response to the volume key adjustment operation, controlling the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter, includes: responding to a specified trigger operation acting on the graphical user interface, and, while the specified trigger operation is ongoing, adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter in response to a second trigger operation of the volume key.
[0088] In an optional embodiment, the steps of responding to a specified trigger operation applied to the graphical user interface and adjusting the preset magnification parameter of the scope to the target magnification parameter in response to a second trigger operation of the volume key during the continuous state of the specified trigger operation include: responding to a specified trigger operation applied to the graphical user interface and, in response to a click operation of the volume key during the continuous state of the specified trigger operation, multiplying the preset magnification parameter of the scope by a specified unit to obtain the target magnification parameter, and adjusting the preset magnification parameter of the scope to the target magnification parameter.
[0089] In an optional embodiment, the steps of responding to a specified trigger operation applied to the graphical user interface and adjusting the preset magnification parameter of the scope to the target magnification parameter in response to a second trigger operation of the volume key during the duration of the specified trigger operation include: responding to a specified trigger operation applied to the graphical user interface and, during the duration of the specified trigger operation, determining the target magnification parameter based on the duration of the long press operation of the volume key, and adjusting the preset magnification parameter of the scope to the target magnification parameter; wherein the duration includes at least one unit of time, and the magnification parameter of the scope is multiplied by a specified unit for each unit of time.
[0090] In an optional embodiment, the specified triggering operation applied to the graphical user interface includes: a swipe operation or a long press operation applied to a specified area of the graphical user interface.
[0091] Furthermore, Figure 6 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 101, the communication interface 103 and the memory 100 connected via the bus 102.
[0092] The memory 100 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 6 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.
[0093] Processor 101 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 101 or by instructions in software form. Processor 101 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can 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 100, and processor 101 reads information from memory 100 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0094] This invention also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are called and executed by a processor, they cause the processor to implement the interactive control method in the game described above. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0095] Specifically, the terminal device provides volume keys and a graphical user interface (GUI). The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, which is equipped with a scope. The interactive control method in the game includes: responding to a scope-opening command for the virtual weapon, displaying a second game scene screen on the GUI, and configuring the volume keys to control the adjustment of the magnification parameters corresponding to the scope, wherein the second game scene screen is a game screen corresponding to the second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon, and the second game scene is at least a partial first game scene; responding to the adjustment operation of the volume keys, controlling the adjustment of the preset magnification parameters corresponding to the scope to the target magnification parameters, and displaying a game screen corresponding to a third game scene determined based on the target magnification parameters on the GUI, wherein the third game scene is at least a partial first game scene.
[0096] The interactive control method in the aforementioned game allows players to adjust the magnification parameters of the scope by triggering the volume keys after aiming down sights, thus simplifying the operation of adjusting the magnification parameters and improving the efficiency of magnification parameter adjustment. At the same time, this method can also avoid accidental operation of other controls in the graphical user interface during aiming down sights interaction, which helps to improve the player's gaming experience and win rate.
[0097] In an optional embodiment, the method further includes: responding to a scope-off command for a virtual weapon, displaying the game screen corresponding to the first game scene on a graphical user interface, and configuring the volume keys to control and adjust the volume of the terminal device.
[0098] In an optional embodiment, the method further includes: in response to an aiming command for a virtual weapon, obtaining the current volume value of the terminal device and recording the current volume value in a preset storage location; in response to an aiming-off command for a virtual weapon, obtaining the current volume value from the preset storage location and restoring the function of adjusting the volume of the terminal device using the volume keys, and adjusting the volume of the terminal device starting from the current volume value using the volume keys.
[0099] In an optional embodiment, the step of configuring the volume keys to control and adjust the magnification parameters corresponding to the sight includes: disabling the function of the volume keys to adjust the volume of the terminal device, and granting the volume keys the function of adjusting the magnification parameters corresponding to the sight; wherein the adjustment range of the volume keys to adjust the magnification parameters corresponding to the sight matches the adjustment range of the magnification parameters corresponding to the sight.
[0100] In an optional embodiment, the step of responding to the adjustment operation of the volume key and controlling the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter includes: responding to the first trigger operation of the volume key and lowering the preset magnification parameter corresponding to the scope to the target magnification parameter.
[0101] In an optional embodiment, the step of adjusting the preset magnification parameter of the scope to the target magnification parameter in response to the first trigger operation of the volume key includes: in response to the click operation of the volume key, dividing the preset magnification parameter of the scope by a specified unit to obtain the target magnification parameter, and adjusting the preset magnification parameter of the scope to the target magnification parameter.
[0102] In an optional embodiment, the step of responding to the first trigger operation of the volume key and adjusting the preset magnification parameter of the scope to the target magnification parameter includes: responding to the long press operation of the volume key, determining the target magnification parameter according to the duration of the long press operation, and adjusting the preset magnification parameter of the scope to the target magnification parameter; wherein, the duration includes at least one unit duration, and the magnification parameter of the scope for each unit duration is divided by a specified unit.
[0103] In an optional embodiment, the above-mentioned response to the volume key adjustment operation, controlling the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter, includes: responding to a specified trigger operation acting on the graphical user interface, and, while the specified trigger operation is ongoing, adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter in response to a second trigger operation of the volume key.
[0104] In an optional embodiment, the steps of responding to a specified trigger operation applied to the graphical user interface and adjusting the preset magnification parameter of the scope to the target magnification parameter in response to a second trigger operation of the volume key during the continuous state of the specified trigger operation include: responding to a specified trigger operation applied to the graphical user interface and, in response to a click operation of the volume key during the continuous state of the specified trigger operation, multiplying the preset magnification parameter of the scope by a specified unit to obtain the target magnification parameter, and adjusting the preset magnification parameter of the scope to the target magnification parameter.
[0105] In an optional embodiment, the steps of responding to a specified trigger operation applied to the graphical user interface and adjusting the preset magnification parameter of the scope to the target magnification parameter in response to a second trigger operation of the volume key during the duration of the specified trigger operation include: responding to a specified trigger operation applied to the graphical user interface and, during the duration of the specified trigger operation, determining the target magnification parameter based on the duration of the long press operation of the volume key, and adjusting the preset magnification parameter of the scope to the target magnification parameter; wherein the duration includes at least one unit of time, and the magnification parameter of the scope is multiplied by a specified unit for each unit of time.
[0106] In an optional embodiment, the specified triggering operation applied to the graphical user interface includes: a swipe operation or a long press operation applied to a specified area of the graphical user interface.
[0107] 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, a terminal device, or a 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.
[0108] 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.
[0109] Finally, it should be noted that the above-described 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. An interactive control method in a game, characterized in that, The method includes providing volume keys and a graphical user interface (GUI) via a terminal device. The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, the virtual weapon being equipped with a scope. In response to the aiming command for the virtual weapon, a second game scene is displayed on the graphical user interface, and the volume keys are configured to control and adjust the magnification parameters corresponding to the aiming scope. The second game scene is a game scene corresponding to a second game scene determined based on the preset magnification parameters of the aiming scope equipped with the virtual weapon. The second game scene is at least a partial representation of the first game scene. In response to the adjustment operation of the volume key, the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter, and the game screen corresponding to the third game scene determined based on the target magnification parameter is displayed on the graphical user interface, wherein the third game scene is at least a partial version of the first game scene.
2. The method according to claim 1, characterized in that, The method further includes: In response to the command to close the scope of the virtual weapon, the game screen corresponding to the first game scene is displayed on the graphical user interface, and the volume keys are configured to control and adjust the volume of the terminal device.
3. The method according to claim 2, characterized in that, The method further includes: In response to the aiming command for the virtual weapon, the current volume value of the terminal device is obtained and recorded in a preset storage location; In response to the command to close the scope for the virtual weapon, the current volume value is retrieved from the preset storage location, and the function of adjusting the volume of the terminal device using the volume keys is restored, and the volume keys start adjusting the volume of the terminal device from the current volume value.
4. The method according to claim 1, characterized in that, The step of configuring the volume keys to control and adjust the magnification parameters corresponding to the scope includes: The volume keys are disabled from adjusting the volume of the terminal device, and are instead given the function of adjusting the magnification parameter of the scope; wherein the adjustment range of the magnification parameter of the scope by the volume keys matches the adjustment range of the magnification parameter of the scope.
5. The method according to claim 1, characterized in that, The response to the volume key adjustment operation, controlling the step of adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter, includes: In response to the first trigger operation of the volume key, the preset magnification parameter corresponding to the scope is adjusted down to the target magnification parameter.
6. The method according to claim 5, characterized in that, The step of responding to the first trigger operation of the volume key and adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter includes: In response to a click on the volume key, the preset magnification parameter corresponding to the scope is divided by a specified unit to obtain the target magnification parameter, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter.
7. The method according to claim 5, characterized in that, The step of responding to the first trigger operation of the volume key and adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter includes: In response to a long press operation on the volume key, the target magnification parameter is determined based on the duration of the long press operation, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter; wherein, the duration includes at least one unit duration, and the magnification parameter corresponding to the scope is divided by a specified unit for each unit duration.
8. The method according to claim 1, characterized in that, The response to the volume key adjustment operation, controlling the step of adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter, includes: In response to a specified trigger operation applied to the graphical user interface, and while the specified trigger operation is in effect, for a second trigger operation on the volume key, the preset magnification parameter corresponding to the scope is increased to the target magnification parameter.
9. The method according to claim 8, characterized in that, The step of responding to a specified trigger operation on the graphical user interface, and adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter in response to a second trigger operation of the volume key while the specified trigger operation is ongoing, includes: In response to a specified trigger operation applied to the graphical user interface, and during the continuous state of the specified trigger operation, for a click operation on the volume key, the preset magnification parameter corresponding to the scope is multiplied by a specified unit to obtain the target magnification parameter, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter.
10. The method according to claim 8, characterized in that, The step of responding to a specified trigger operation on the graphical user interface, and adjusting the preset magnification parameter corresponding to the scope to the target magnification parameter in response to a second trigger operation of the volume key while the specified trigger operation is ongoing, includes: In response to a specified trigger operation applied to the graphical user interface, and during the continuous state of the specified trigger operation, for a long press operation on the volume key, a target magnification parameter is determined based on the duration of the long press operation, and the preset magnification parameter corresponding to the scope is adjusted to the target magnification parameter; wherein, the duration includes at least one unit duration, and for each unit duration, the magnification parameter corresponding to the scope is multiplied by a specified unit.
11. The method according to any one of claims 8-10, characterized in that, The specified triggering operation applied to the graphical user interface includes: a swipe operation or a long press operation applied to a specified area of the graphical user interface.
12. An interactive control device for a game, characterized in that, The device provides volume keys and a graphical user interface (GUI) via a terminal device. The volume keys are used to adjust the volume of the terminal device, and the GUI displays a game screen corresponding to a first game scene. The first game scene includes at least a portion of the game scene, and the game scene includes a virtual weapon controlled by the terminal device, the virtual weapon being equipped with a scope. The device includes: The scope module is used to respond to the scope command for the virtual weapon, display a second game scene on the graphical user interface, and configure the volume keys to control and adjust the magnification parameters corresponding to the scope. The second game scene is a game scene corresponding to a second game scene determined based on the preset magnification parameters of the scope equipped with the virtual weapon. The second game scene is at least a partial representation of the first game scene. The parameter adjustment module is used to respond to the adjustment operation of the volume key, control the adjustment of the preset magnification parameter corresponding to the scope to the target magnification parameter, and display the game screen corresponding to the third game scene determined based on the target magnification parameter on the graphical user interface, wherein the third game scene is at least a partial part of the first game scene.
13. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the interactive control method in the game according to any one of claims 1 to 11.
14. 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 interactive control method in the game as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Mobile terminal and method for dynamically redirecting volume key
CN105335049A
Method and a device for zooming a focus frame of a user interface of an intelligent television
CN109343923A