A control method, a control device, an electronic device, and a readable storage medium
By displaying the probe controls in the game interface and controlling the virtual character probe according to the direction of dangerous events, the cumbersome operation problems caused by line of sight occlusion in tactical competitive games are solved, and more efficient game operations are achieved and the response frequency of terminal devices is reduced.
Patent Information
- Application Number
- CN202210344911.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-03-31
AI Technical Summary
In tactical competitive games, when the observation line of sight of the virtual character controlled by the player is blocked, the probe cannot be effectively probed, resulting in players needing to frequently adjust their vision to avoid danger. The direction, distance and angle of the existing probe controls are fixed, which is cumbersome.
Provides a control method, by displaying probe controls in a graphical user interface, according to the relative direction between dangerous events and virtual characters, players allow them to control the virtual characters to probe in dangerous direction through touch operations, and adjust the picture of the game scene, reducing players' adjustment of the probe direction.
It reduces the operation steps of players in the virtual character probe process, reduces the human-computer interaction frequency and the response frequency of terminal devices, and improves the convenience and security of game operations.
Smart Images

Figure CN114917579B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game technologies, and particularly to a control method, a control device, an electronic device, and a readable storage medium. Background Art
[0002] In recent years, the types of games that people come into contact with have gradually increased. For example, real-time strategy games and multiplayer online battle arena games have gradually entered people's lives. In tactical battle arena games, for a player to win the final victory of the game, they need to continuously search for and avoid hostile virtual characters in the game, so that the virtual character they control can survive until the end of the game and achieve the final game victory.
[0003] Currently, during the game process, when the viewing line of sight of the virtual character controlled by the player is blocked, the player cannot view the game screen. At this time, the player needs to adjust the viewing line of sight of the virtual character to restore their game screen. Since the player is in a blind spot of sight at this time and does not understand the surrounding environment, if they blindly control the virtual character to poke their head out at this time, it is very likely to put the virtual character they control in danger. Moreover, the player can only achieve the behavior of the virtual character poking their head out in a preset direction through a pre-set poking head control, and the poking head angle is relatively limited and cannot be adjusted, resulting in a cumbersome poking head operation. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a control method, a control device, an electronic device, and a readable storage medium, which can provide a poking head control for the player to control the virtual character to poke their head out in the direction where the dangerous event is located according to the relative direction between the dangerous event and the virtual character. The player can control the virtual character to poke their head out in the dangerous direction through the poking head control, which can reduce the adjustment of the poking head direction during the poking head process of the virtual character by the player. In this way, the interaction process between the player and the terminal device can be reduced, and the response frequency of the terminal device can be lowered.
[0005] An embodiment of this application provides a control method. A partial or all of the game scene, an obstacle that can block the viewing line of sight of the virtual character, and a function control are displayed in the graphical user interface. The control method includes:
[0006] Responding to a first touch operation on the function control to control the virtual character to move in the game scene;
[0007] In a state where the viewing line of sight of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, a poking head control for pointing to the target direction where the dangerous event is located is displayed in the graphical user interface;
[0008] In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0009] In a possible implementation manner, the control method further includes:
[0010] In response to a third touch operation on the probe control, determine a first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance and / or a probe direction.
[0011] The step of "In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction" includes:
[0012] In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0013] In a possible implementation manner, the second touch operation includes a first sliding operation; the step of "In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction" includes:
[0014] In response to the start of the first sliding operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0015] The control method further includes:
[0016] During the sliding process of the first sliding operation, determine a real-time probe parameter of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameter includes a real-time probe distance and / or a real-time probe direction.
[0017] Adjust the screen of the game scene displayed in the graphical user interface in real time according to the real-time probe parameter.
[0018] In a possible implementation manner, the control method further includes:
[0019] In response to the end of the first sliding operation, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes; or,
[0020] In response to a fourth touch operation on the behavior termination control, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the game scene screen before the virtual character probed.
[0021] In a possible implementation, a first parameter adjustment control is displayed in the graphical user interface; the control method further includes:
[0022] In response to a fifth touch operation on the first parameter adjustment control, determine the second probing parameter of the virtual character; wherein, the probing parameter includes a probing distance and / or a probing direction.
[0023] The step of, in response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the game scene screen displayed in the graphical user interface according to the target direction includes:
[0024] In response to a second touch operation on the probe control, control the virtual character to probe according to the second probing parameter, and adjust the game scene screen displayed in the graphical user interface according to the second probing parameter and the target direction.
[0025] In a possible implementation, the step of, in response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the game scene screen displayed in the graphical user interface according to the target direction includes:
[0026] In response to a second touch operation on the probe control, enter the probe mode, control the virtual character to probe, adjust the game scene screen displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control.
[0027] In response to a sixth touch operation on the second parameter adjustment control, determine the third probing parameter of the virtual character, and adjust the game scene screen displayed in the graphical user interface according to the third probing parameter; wherein, the probing parameter includes a probing distance and / or a probing direction.
[0028] In a possible implementation, the step of, in response to a sixth touch operation on the second parameter adjustment control, determining the third probing parameter of the virtual character includes:
[0029] In the probe mode, in response to a seventh touch operation on the distance adjustment control, determine the second probing distance of the virtual character; and / or, in the probe mode, in response to an eighth touch operation on the function control, adjust the target direction.
[0030] Determine a third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0031] In a possible implementation, one end of the distance adjustment control is close to the probe control, and the other end of the distance adjustment control is close to the function control; the seventh touch operation is a fourth sliding operation; the sixth touch operation in response to the second parameter adjustment control determines the third probe parameter of the virtual character, including:
[0032] Respond to a second sliding operation on the distance adjustment control to determine the real-time sliding position of the second sliding operation;
[0033] Respond to the real-time distance between the real-time sliding position and the function control or the probe control to determine the third probe parameter of the virtual character.
[0034] In a possible implementation, the control method further includes:
[0035] When the real-time distance between the real-time sliding position and the function control is less than a preset distance, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the picture of the game scene before the virtual character probes.
[0036] In a possible implementation, the dangerous event includes at least one of the following:
[0037] There is a combat event within a preset range around the virtual character; and / or,
[0038] The hostile virtual character is within the attack range of the virtual character.
[0039] An embodiment of the present application further provides a control device. A partial or all of the game scene, an obstacle that can block the observation line of sight of the virtual character, and a function control are displayed in the graphical user interface; the control device includes:
[0040] A movement module, configured to control the virtual character to move in the game scene in response to a first touch operation on the function control;
[0041] A control display module, configured to, in a state where the observation line of sight of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, display a probe control for pointing to the target direction where the dangerous event is located in the graphical user interface according to the relative direction between the virtual character and the dangerous event;
[0042] A screen adjustment module, configured to respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0043] In a possible implementation, the control device further includes a first parameter adjustment module, and the first parameter adjustment module is configured to:
[0044] Respond to a third touch operation on the probe control to determine the first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance and / or a probe direction;
[0045] When the screen adjustment module is configured to respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, the screen adjustment module is configured to:
[0046] Respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0047] In a possible implementation, the second touch operation includes a first sliding operation; when the screen adjustment module is configured to respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, the screen adjustment module is configured to:
[0048] Respond to the start of the first sliding operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction;
[0049] The control device further includes a second parameter adjustment module, and the second parameter adjustment module is configured to:
[0050] During the sliding process of the first sliding operation, determine the real-time probe parameter of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameter includes a real-time probe distance and / or a real-time probe direction;
[0051] Real-time adjust the screen of the game scene displayed in the graphical user interface according to the real-time probe parameter.
[0052] In a possible implementation, the control device further includes a first behavior termination module, and the first behavior termination module is configured to:
[0053] In response to the end of the first sliding operation, terminate the peeping behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character peeped; or,
[0054] In response to a fourth touch operation on the behavior termination control, terminate the peeping behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character peeped.
[0055] In a possible implementation manner, a first parameter adjustment control is displayed in the graphical user interface; the control device further includes a third parameter adjustment module, and the third parameter adjustment module is used for:
[0056] In response to a fifth touch operation on the first parameter adjustment control, determine the second peeping parameter of the virtual character; wherein, the peeping parameter includes a peeping distance, and / or a peeping direction;
[0057] When the screen adjustment module is used to respond to a second touch operation on the peeping control, control the virtual character to peep, and adjust the game scene picture displayed in the graphical user interface according to the target direction, the screen adjustment module is used for:
[0058] In response to a second touch operation on the peeping control, control the virtual character to peep according to the second peeping parameter, and adjust the game scene picture displayed in the graphical user interface according to the second peeping parameter and the target direction.
[0059] In a possible implementation manner, when the screen adjustment module is used to respond to a second touch operation on the peeping control, control the virtual character to peep, and adjust the game scene picture displayed in the graphical user interface according to the target direction, the screen adjustment module is used for:
[0060] In response to a second touch operation on the peeping control, enter the peeping mode, control the virtual character to peep, adjust the game scene picture displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control;
[0061] In response to a sixth touch operation on the second parameter adjustment control, determine the third peeping parameter of the virtual character, and adjust the game scene picture displayed in the graphical user interface according to the third peeping parameter; wherein, the peeping parameter includes a peeping distance, and / or a peeping direction.
[0062] In a possible implementation manner, when the screen adjustment module is used to respond to a sixth touch operation on the second parameter adjustment control and determine the third probe parameter of the virtual character, the screen adjustment module is configured to:
[0063] In the probe mode, respond to a seventh touch operation on the distance adjustment control to determine the second probe distance of the virtual character; and / or, in the probe mode, respond to an eighth touch operation on the function control to adjust the target direction;
[0064] Determine the third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0065] In a possible implementation manner, one end of the distance adjustment control is close to the probe control, and the other end of the distance adjustment control is close to the function control; the seventh touch operation is a fourth sliding operation; when the screen adjustment module is used to respond to a sixth touch operation on the second parameter adjustment control and determine the third probe parameter of the virtual character, the screen adjustment module is configured to:
[0066] Respond to a second sliding operation on the distance adjustment control to determine the real-time sliding position of the second sliding operation;
[0067] Respond to the real-time distance between the real-time sliding position and the function control or the probe control to determine the third probe parameter of the virtual character.
[0068] In a possible implementation manner, the control device includes a second behavior termination module, and the second behavior termination module is configured to:
[0069] Respond to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes.
[0070] In a possible implementation manner, the dangerous event includes at least one of the following:
[0071] There is a combat event within a preset range around the virtual character; and / or,
[0072] The hostile virtual character is within the attack range of the virtual character.
[0073] An embodiment of the present application further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the control method as described above are executed.
[0074] An embodiment of the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the control method as described above are executed.
[0075] In the control method, control device, electronic device, and readable storage medium provided by the embodiments of the present application, a partial or all of the game scenes, obstacles that can block the viewing line of the virtual character, and function controls are displayed in the graphical user interface; the control method includes: responding to a first touch operation on the function control, controlling the virtual character to move in the game scene; in a state where the viewing line of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, a probe control for pointing to the target direction where the dangerous event is located is displayed in the graphical user interface; responding to a second touch operation on the probe control, controlling the virtual character to perform a probe, and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction. In this way, the player can control the virtual character to probe in the dangerous direction through the probe control, which can reduce the adjustment of the probe direction by the player during the probing process of the virtual character. Therefore, the interaction process between the player and the terminal device can be reduced, and the response frequency of the terminal device can be lowered.
[0076] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] To more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0078] Figure 1 It is a flowchart of a control method provided by an embodiment of the present application;
[0079] Figure 2 It is one of the schematic diagrams of a graphical user interface provided by an embodiment of the present application;
[0080] Figure 3 A flowchart of another control method provided by an embodiment of the present application;
[0081] Figure 4 A second schematic diagram of a graphical user interface provided by an embodiment of the present application;
[0082] Figure 5 A first schematic diagram of the structure of a control device provided by an embodiment of the present application;
[0083] Figure 6 A second schematic diagram of the structure of a control device provided by an embodiment of the present application;
[0084] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0085] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part rather than all of the embodiments of the present application. Components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the accompanying drawings here is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without creative efforts belongs to the scope of protection of the present application.
[0086] Virtual character:
[0087] It refers to a dynamic object that can be controlled in a game scene. Optionally, the dynamic object can be a virtual character, a virtual animal, an anime character, etc. The virtual object is a character controlled by a player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (NPC) set in a game scene battle. Optionally, the virtual character is a virtual person competing in a game scene. Optionally, the number of virtual characters in the game scene battle is preset or dynamically determined according to the number of client devices joining the battle. This application embodiment does not limit this. In one possible implementation, a user can control the virtual object to move in the virtual scene. For example, control the virtual character to run, jump, crawl, etc., and can also control the virtual character to use skills, virtual props, etc. provided by the application program to fight with other virtual characters.
[0088] Game interface:
[0089] It refers to the interface corresponding to an application program provided or displayed through a graphical user interface. This interface includes a UI interface for players to interact with and a game screen. In an alternative embodiment, the UI interface may include game controls (such as skill controls, movement controls, function controls, etc.), indication identifiers (such as direction indication identifiers, character indication identifiers, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, store, gold coins, etc.). In an alternative embodiment, the game screen is the display screen corresponding to the terminal device displaying the virtual scene. The game screen may include virtual objects such as game characters, NPC characters, and AI characters executing game logic in the virtual scene.
[0090] In one embodiment of the present disclosure, the control method can run on a terminal device or a server. Among them, the terminal device can be a local terminal device. When the control method runs on the server, the control method can be implemented and executed based on a cloud interaction system. The cloud interaction system includes a server and client devices.
[0091] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information processing method are completed on the cloud gaming server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the terminal device for information processing is the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0092] In an optional embodiment, the terminal device can be a local terminal device. Taking a game as an example, the local terminal device stores the game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in various ways, for example, it can be rendered and displayed on the terminal display, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface including the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0093] Research has found that, currently, during the game, when the observation line of sight of the virtual character controlled by the player is blocked, the player cannot view the game screen. At this time, the player can control the virtual character to peek in the game scene through the "probe" control displayed in the graphical user interface. In this way, by adjusting the observation line of the virtual character, the player can restore his own game screen. Because the player is in a blind spot at this time and has no understanding of the environment around the virtual character's position, if the player blindly controls the virtual character to peek in the game scene, it is highly likely that the virtual character he controls will be put in danger. Therefore, the player needs to constantly adjust the probe position of the virtual character during the game to ensure the safety of the virtual character during the probing process.
[0094] Moreover, the probe direction, probe distance and probe angle of the "probe" control provided to the player in the graphical user interface are fixed. When the player controls the virtual character to peek in the game scene through the "probe" control, in order to obtain a better observation field of view, the player needs to constantly adjust the position of the virtual character so that the virtual character can obtain a better observation field of view when the probe direction, probe distance and probe angle are relatively limited; therefore, when the player controls the virtual character to peek in the game scene, he also needs to use other functional controls to adjust the virtual character's probe position, which makes the probe operation of controlling the virtual character to peek more cumbersome.
[0095] Based on this, an embodiment of the present application provides a control method, in which players can use the probe control to control the virtual character to probe in the target direction of the dangerous event during the game, thereby reducing the process of players controlling the turning of the virtual character during the game, reducing the player's operation difficulty, thereby reducing the interaction process between the player and the terminal device and reducing the response frequency of the terminal device.
[0096] See also Figure 1 , Figure 1 This is a flow chart of a control method provided by an embodiment of the present application. The graphical user interface displays part or all of the game scene, the virtual character controlled by the player, obstacles that can block the virtual character's line of sight, and functional controls. Figure 1 As shown in , the control method provided by the embodiment of the present application includes:
[0097] S101: In response to a first touch operation on the function control, control the virtual character to move in a game scene.
[0098] S102. When the virtual character's line of sight is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, a probe control for pointing to a target direction of the dangerous event is displayed in the graphical user interface according to the relative direction between the virtual character and the dangerous event.
[0099] S103 : In response to a second touch operation on the probe control, control the virtual character to probe, and adjust the image of the game scene displayed in the graphical user interface according to the target direction.
[0100] An embodiment of the present application provides a control method. A player can control a virtual character to move in a game scene through a function control. When the viewing line of sight of the virtual character is blocked by an obstacle in the game scene, in the case of a dangerous event occurring around the virtual character, in combination with the relative direction between the dangerous event and the virtual character, a discussion control pointing to the target direction where the dangerous event is located is displayed; the player can control the virtual character to poke its head in the target direction where the dangerous event occurs by touching a corresponding probe control. At the same time, the game scene displayed in the graphical user interface is adjusted according to the target direction. In this way, in a state where the viewing line of sight of the virtual character controlled by the player is blocked, the player can control the virtual character to poke its head in the target direction where the dangerous event is located and adjust the displayed picture in the graphical user interface by touching the probe control. Thus, when a dangerous event occurs, the player does not need to repeatedly operate to control the virtual character to adjust the direction of the viewing line of sight, and can quickly lock the viewing line of sight to the target direction where the dangerous event is located, reducing the operation steps of the player in the game. Furthermore, the frequency of human-computer interaction in the game is reduced, and the response frequency of the terminal device is decreased.
[0101] In step S101, in response to a first touch operation of the player on the function control displayed in the graphical user interface, control the virtual character to move in the game scene; wherein, the first touch operation may include any operation such as a click operation, a slide operation, and a long press operation.
[0102] In the solution provided by the present application, in response to the first touch operation on the function control, controlling the virtual character to move in the game scene may specifically be that when the player presses the function control (for example, the movement control in the game), an instruction to control the virtual character to move can be issued; wherein, the user can issue a movement instruction through the function control and / or a preset combination key; specifically, the player can touch the function control with a finger, a mouse, etc.; or through a preset combination key on the keyboard, for example, keys such as the ctrl key, alt key, and a key on the keyboard, and the preset keys can be artificially set according to the player's needs.
[0103] Here, the function control may include a specially set control for controlling the virtual character to move in the game scene, or may include a control with multiple functions. For example, the function control can be used to control the virtual character to attack an opposing virtual character, and can also be used to control the virtual character to move in the game scene. At this time, different touch operations are required to distinguish and implement different functions; for example, touching the function control through a slide operation can control the virtual character to move in the game scene; touching the function control through a click operation can control the virtual character to attack an opposing virtual character, and so on.
[0104] The virtual character's line of sight determines the game screen that the player can see. If the virtual character's line of sight is blocked by obstacles in the game scene according to the game settings, then the game screen displayed to the player will also be affected. For example, if the virtual character's line of sight is partially blocked, then part of the game scene displayed to the player will not be displayed to the player due to the blockage. At this time, the area of the blocked part in the screen that the player can see should be black (or the same color as the blockage).
[0105] Here, the obstructions include any non-transparent virtual objects such as virtual buildings, other virtual characters, virtual weapons, and virtual obstacles.
[0106] Dangerous events refer to events that can cause harm to virtual characters, such as being attacked by other virtual characters, or being attacked by fixed virtual weapons, etc., which can cause harm to virtual characters; causing harm means reducing the probability of survival of virtual characters in the game, for example, reducing the health of the virtual character; or reducing the defense of the virtual character; or reducing the attack power of the virtual character; or reducing the virtual weapons carried by the virtual character, etc., which reduce the probability of survival of the virtual character.
[0107] In step S102, when the virtual character's line of sight is blocked by an obstacle, the relative direction between the dangerous event and the virtual character is determined in response to the dangerous event occurring around the virtual character; and according to the determined relative direction, a probe control for controlling the virtual character to probe toward the location where the dangerous event occurs is displayed in the graphical user interface; here, in order to facilitate the player to quickly grasp the approximate direction of the dangerous event, the probe control displayed in the graphical user interface can clearly indicate the target direction of the dangerous event. Specifically, the display position of the probe control can actually correspond one-to-one with the target direction of the dangerous event. For example, the target direction of the dangerous event is 60° northeast of the virtual character. A reference object can be selected in the graphical user interface, such as a displayed function control, and the probe control can be displayed 60° northeast of the reference object to inform the player of the target direction of the dangerous event.
[0108] The dangerous event includes at least one of the following: a combat event occurs within a preset range around the virtual character; specifically, with the current position of the virtual character as the center, if a combat event occurs within a preset range around the virtual character, regardless of whether the combat event is related to the virtual character, it can be considered a dangerous event occurring around the virtual character; or, when the combat event is related to the virtual character, it can be considered a dangerous event occurring around the virtual character.
[0109] And / or, the hostile virtual character is within the attack range of the virtual character; specifically, when there is a hostile virtual character within the current attack range of the virtual character, it can be considered that a dangerous event has occurred around the virtual character. Here, the current attack range of the virtual character can be determined according to the virtual weapon currently used by the virtual character, or it can be a preset range.
[0110] As an example, please refer to Figure 2 , Figure 2 which is one of the schematic diagrams of a graphical user interface provided by an embodiment of the present application. As Figure 2 shown, in the graphical user interface 2a, there are displayed function controls 2b, probe controls 2c-1, probe controls 2c-2, obstacles 2d, and a virtual character 2e. The observation line of sight of the virtual character 2e is blocked by the obstacle 2d. At this time, two dangerous events have occurred around the virtual character 2e. The relative direction between the dangerous event 1 and the virtual character 2e is the position indicated by the danger identifier 2f-1, and the relative direction between the dangerous event 2 and the virtual character 2e is the position indicated by the danger identifier 2f-2 (the danger identifier 2f-1 and the danger identifier 2f-2 can be displayed in the graphical user interface 2a, or they can not be displayed in the graphical user interface 2a. In this embodiment, for the sake of clearly explaining the correspondence between the probe control and the target direction of the dangerous event, it is described by taking the display as an example). Here, the target direction of the dangerous event is relative to the virtual character 2e. In order to enable the probe controls 2c (including the probe control 2c-1 and the probe control 2c-2) displayed in the graphical user interface 2a to indicate the target direction of the dangerous event, the probe controls 2c (including the probe control 2c-1 and the probe control 2c-2) are displayed with the function control 2b as a reference object. That is, the relative position between the probe control 2c-1 and the function control 2b is equivalent to the relative position between the dangerous event 1 (the position where the dangerous event indicated by the danger identifier 2f-1 occurs) and the virtual character 2e; correspondingly, the relative position between the probe control 2c-2 and the function control 2b is equivalent to the relative position between the dangerous event 2 (the position where the dangerous event indicated by the danger identifier 2f-2 occurs) and the virtual character 2e; therefore, the probe control 2c-1 displayed in the graphical user interface 2a can clearly indicate the relative direction of the dangerous event 1 relative to the virtual character 2e; the probe control 2c-2 can clearly indicate the relative direction of the dangerous event 2 relative to the virtual character 2e.
[0111] In step S103, in response to the second touch operation on the probe control, the virtual character can be controlled to probe in the target direction of the dangerous event pointed to by the probe control. At the same time, the picture of the game scene displayed in the graphical user interface can be adjusted according to the target direction to ensure that the display picture seen by the player is consistent with the picture observed by the observation line of sight of the virtual character in the game.
[0112] In the solution provided by this application, in response to a second touch operation on the probe control, the virtual character is controlled to perform a probe. Specifically, when the player presses the probe control, an instruction to control the virtual character to perform a probe can be issued. Among them, the user can issue a probe instruction through the probe control and / or a preset combination key. Specifically, the player can touch the probe control with a finger, a mouse, etc.; or through a preset combination key on the keyboard, for example, keys such as the ctrl key, alt key, and a key on the keyboard, and the preset keys can be set manually according to the player's needs.
[0113] Here, the second touch operation can include any operation such as a click operation, a slide operation, and a long press operation.
[0114] Corresponding to the above embodiment, as Figure 2 shown, when the player clicks (taking the second touch operation as a click operation) on the probe control 2c-1, the virtual character 2e can be controlled to probe in the target direction (the position indicated by the danger sign 2f-1) where the dangerous event 1 occurs; correspondingly, when the player clicks on the probe control 2c-2, the virtual character 2e can be controlled to probe in the target direction (the position indicated by the danger sign 2f-2) where the dangerous event 2 occurs (as shown by the virtual character in the dotted line in the figure).
[0115] Here, since different players have different probe habits and viewing preferences, in order to prevent players from temporarily adjusting the probe distance and probe direction during the process of controlling the virtual character to perform a probe, which increases the operation difficulty for the player; it is possible to provide the player with the possibility of adjusting the probe parameters of the virtual character before controlling the virtual character to perform a probe, that is, the player can adjust the probe distance and probe direction of the virtual character before controlling the virtual character to perform a probe.
[0116] In addition, in order to reduce the number of virtual controls displayed in the graphical user interface and avoid excessive virtual controls from blocking the game screen, the probe control can be reused functionally, that is, the probe control used to control the virtual character to perform a probe can be used to adjust the probe parameters of the virtual character before controlling the virtual character to perform a probe.
[0117] In one implementation manner, the control method further includes: in response to a third touch operation on the probe control, determining a first probe parameter of the virtual character.
[0118] In the solution provided by this application, in response to a third touch operation on the probe control, the first probe parameter of the virtual character is determined. Specifically, when the player presses the probe control, an instruction to adjust the probe distance and probe direction of the virtual character can be issued. Among them, the user can issue an instruction through the probe control and / or a preset combination key. Specifically, the player can touch the probe control with a finger, a mouse, etc.; or through a preset combination key on the keyboard, for example, keys such as the ctrl key, alt key, and a key on the keyboard. The preset keys can be set manually according to the player's needs.
[0119] In this step, the player can adjust the probe parameter of the virtual character in the game scene by performing a corresponding touch operation on the probe control. In response to the third touch operation applied by the player on the probe control, the first probe parameter of the virtual character's probe in the game scene after being adjusted by the player touching the probe control is determined. Among them, the probe parameter includes the probe distance and / or the probe direction.
[0120] Here, the third touch operation for adjusting the probe parameter of the virtual character can be different from the second touch operation for controlling the virtual character's probe. For example, the second touch operation is a click operation, that is, clicking on the "probe control" can control the virtual character's probe; the third touch operation is a slide operation, that is, sliding the "probe control" can adjust the probe parameter of the virtual character's probe in the game scene.
[0121] The third touch operation for adjusting the probe parameter of the virtual character can also be the same touch operation as the second touch operation for controlling the virtual character's probe. In this case, the probe control can be first controlled to enter the parameter adjustment state, and then, in the parameter adjustment state, the adjustment of the virtual character's probe parameter can be achieved by touching the probe control.
[0122] Here, the method of controlling the probe control to enter the parameter adjustment state can be determined according to the actual situation. For example, an additional state conversion control can be set, and by touching the state conversion control, the probe control can be controlled to enter the parameter adjustment state; or, the state conversion of the probe control can be achieved through a state conversion operation, and the probe control can be controlled to enter the parameter adjustment state. For example, the state conversion operation is a long press operation. By long pressing the probe control, the probe control can be controlled to enter the parameter adjustment state. Furthermore, in the state where the probe control is in the parameter adjustment state, the adjustment of the probe parameter can be achieved by touching the probe control.
[0123] In one implementation, step S103 includes: in response to a second touch operation on the probe control, controlling the virtual character to perform a probe, and adjusting the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0124] In the solution provided by this application, in response to a second touch operation on the probe control, the virtual character is controlled to perform a probe. Specifically, when the player presses the probe control, an instruction to control the virtual character to perform a probe can be issued. Among them, the user can issue an instruction through the probe control and / or a preset combination key. Specifically, the player can touch the probe control with a finger, a mouse, etc.; or through a preset combination key on the keyboard, for example, keys such as the ctrl key, alt key, and a key on the keyboard, and the preset keys can be manually set according to the player's needs.
[0125] In this step, in response to a second touch operation on the probe control, the virtual character can be controlled to perform a probe according to the first probe parameter. At the same time, the picture of the game scene displayed in the graphical user interface can be adjusted in combination with the target direction and the first probe parameter to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character's observation line of sight in the game.
[0126] In this way, before the player controls the virtual character to perform a probe, the probe parameters of the virtual character can be adjusted according to the player's observation preferences and probe habits, which can avoid the virtual character being overly exposed to danger after the probe and increase the survival probability of the virtual character.
[0127] During the game process, the location of the dangerous event will change with the real-time location of the battle virtual character. Therefore, in order to enable the player to monitor the dangerous event more comprehensively, after the player controls the virtual character to perform a probe, the probe parameters of the virtual character can still be adjusted through the probe control. On the premise of ensuring that the number of virtual spaces displayed in the graphical user interface does not increase, it can also adapt to the change in the location of the dangerous event.
[0128] In one implementation manner, the second touch operation includes a first sliding operation; step S103 includes: in response to the start of the first sliding operation on the probe control, controlling the virtual character to perform a probe and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction.
[0129] In this step, in order to simplify the player's operation process, the player can control the virtual character to perform a probe and adjust the probe parameters of the virtual character during the probe process through a single sliding operation. Specifically, in response to the start of the first sliding operation, the virtual character is controlled to probe in the target direction of the dangerous event pointed to by the probe control, and at the same time, the picture of the game scene displayed in the graphical user interface can be adjusted according to the target direction.
[0130] Further, the control method further includes: during the sliding process of the first sliding operation, determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation; and adjusting the screen of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
[0131] In this step, during the sliding process of the first sliding operation, the probe parameters of the virtual character can be changed in real time and the screen displayed in the graphical user interface can be adjusted; specifically, during the sliding process of the first sliding operation, the real-time touch position of the first sliding operation is determined in real time; and the real-time probe parameters of the virtual character corresponding to the real-time touch position are determined; and the screen of the game scene displayed in the graphical user interface is adjusted in real time according to the real-time probe parameters.
[0132] Among them, there is a one-to-one correspondence between the real-time touch position and the probe parameters, and the probe parameters (probe direction and / or probe distance) corresponding to each real-time touch position are preset in advance; furthermore, during the sliding process of the first sliding operation, the real-time probe parameters of the virtual character at the current moment can be determined according to the real-time touch position of the first sliding operation.
[0133] Here, the real-time probe parameters include a real-time probe distance and / or a real-time probe direction; that is, during the process of the player propping up the head of the virtual character, the player can change the probe direction and / or probe distance of the virtual character in real time, and at the same time, the game screen presented in the graphical user interface is changed in real time according to the probe distance and probe direction of the virtual character.
[0134] At the same time, in order to further simplify the operation complexity of the game, reduce the interaction process between the player and the terminal device during the game process, and reduce the response frequency of the terminal device, the player can also choose different ways to end the head-propping behavior of the virtual character.
[0135] In one implementation manner, the control method further includes: in response to the end of the first sliding operation, terminating the head-propping behavior of the virtual character, and restoring the display content in the graphical user interface to the screen of the game scene before the virtual character props up its head.
[0136] In this step, when the player wants to end the head-propping behavior of the virtual character, the player can terminate the head-propping behavior of the virtual character in the game by ending the first sliding operation; at the same time, in order to ensure that the display screen seen by the player is consistent with the screen observed by the virtual character's observation line of sight in the game, when terminating the head-propping behavior of the virtual character, the content displayed in the graphical user interface is restored to the screen of the game scene before the virtual character props up its head; here, since the virtual character does not move during the process of propping up its head, the screen before the virtual character props up its head is actually the screen presented when the virtual character's observation line of sight is blocked.
[0137] Alternatively, in response to a fourth touch operation on the behavior termination control, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the game scene screen before the virtual character probed.
[0138] In this step, a behavior termination control can be specially set in the graphical user interface, and the player can control the virtual character to end the probe behavior by touching the behavior termination control; in this case, if the player only ends the first sliding operation, then control the virtual character to continue probing according to the real-time probe parameters corresponding to the end touch position of the first sliding operation; specifically, in response to the fourth touch operation applied by the player on the behavior termination control, terminate the probe behavior of the virtual character in the game; at the same time, in order to ensure that the display screen seen by the player is consistent with the screen observed by the virtual character's viewing line of sight in the game, while terminating the probe behavior of the virtual character, restore the content displayed in the graphical user interface to the game scene screen before the virtual character probed.
[0139] In the solution provided by this application, in response to the fourth touch operation on the behavior termination control, terminating the probe behavior of the virtual character can specifically be that when the player presses the behavior termination control, an instruction to terminate the probe behavior of the virtual character can be issued; among them, the user can issue a probe instruction through the behavior termination control and / or a preset combination key; specifically, the player can touch the behavior termination control with a finger, mouse, etc.; or through a preset combination key on the keyboard, for example, keys such as the ctrl key, alt key, and a key on the keyboard, and the preset keys can be artificially set according to the player's needs.
[0140] In the above method, the player can adjust the probe parameters of the virtual character by functionally reusing the "probe control". Although this method can maximize the avoidance of the occlusion of the player's game interface by virtual controls, due to the large number of touch methods for the same control, it is easy for the player to have misoperations. Therefore, in order to avoid the player having misoperations, a specially set first parameter adjustment control for adjusting the probe parameters can also be provided for the player to adjust the probe parameters of the virtual character.
[0141] In another implementation manner, a first parameter adjustment control is displayed in the graphical user interface; the control method further includes: in response to a fifth touch operation on the first parameter adjustment control, determining a second probe parameter of the virtual character.
[0142] In this step, a first parameter adjustment control is displayed in the player's graphical user interface, and in response to the fifth touch operation applied by the player on the first parameter adjustment control, determine the second probe parameter of the virtual character when the player adjusts the probe in the game scene by touching the first parameter adjustment control.
[0143] And control the virtual character to look out in the direction indicated by the second probe parameter. Meanwhile, the screen of the game scene displayed in the graphical user interface can be adjusted according to the second probe parameter and the target direction to ensure that the displayed screen seen by the player is consistent with the screen observed by the virtual character's line of sight in the game.
[0144] In another embodiment, please refer to Figure 3 , Figure 3 which is a schematic flowchart of another control method provided by the embodiments of the present application. As Figure 3 shown, step S103 includes: step S1031, respond to the second touch operation on the probe control, enter the probe mode, control the virtual character to look out, adjust the screen of the game scene displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface.
[0145] In this step, respond to the second touch operation of the player on the probe control, and control the virtual character to enter the probe mode. At this time, the virtual character can be controlled to look out in the target direction of the dangerous event. Meanwhile, the screen of the game scene displayed in the graphical user interface can be adjusted according to the target direction so that the game screen displayed in the graphical user interface can be consistent with the screen observed by the virtual character's line of sight in the game.
[0146] Meanwhile, a second parameter adjustment control for adjusting the probe parameters of the virtual character can also be displayed in the probe mode, so as to facilitate the player to adjust the probe distance and probe direction of the virtual character in the probe mode.
[0147] Among them, the second parameter adjustment control includes a distance adjustment control for adjusting the probe distance of the virtual character in the probe direction and a function control for adjusting the probe direction of the virtual character; here, in fact, in the probe mode, the function control is reused functionally, so that the function control originally used to control the movement of the virtual character in the game scene is reused to adjust the probe direction of the virtual character.
[0148] Step S1032, respond to the sixth touch operation on the second parameter adjustment control, determine the third probe parameter of the virtual character, and adjust the screen of the game scene displayed in the graphical user interface according to the third probe parameter.
[0149] In this step, respond to the sixth touch operation applied by the player on the second parameter adjustment control, and determine the third probe parameter of the virtual character looking out in the game scene adjusted by the player through touching the second parameter adjustment control.
[0150] And control the virtual character to probe in the direction indicated by the third probe parameter. Meanwhile, the screen of the game scene displayed in the graphical user interface can be adjusted according to the third probe parameter and the target direction to ensure that the displayed screen seen by the player is consistent with the screen observed by the virtual character's viewing line of sight in the game.
[0151] Wherein, the probe parameter includes a probe distance and / or a probe direction.
[0152] Here, in order to avoid the situation of incorrect operations by players, different controls for adjusting the probe parameters can be set for players respectively. For example, a distance adjustment control for adjusting the probe distance of the virtual character in the probe direction and a function control for adjusting the virtual character in the probe direction function control. In this way, players can use different controls to adjust different probe parameters, avoiding incorrect operations by players due to overly complex touch methods.
[0153] Here, players can adjust different parameters through different controls. Therefore, players can choose to adjust both the probe direction and the probe distance of the virtual character at the same time, or choose to only adjust the probe direction or the probe distance of the virtual character.
[0154] In one implementation manner, determining the third probe parameter of the virtual character in response to a sixth touch operation on the second parameter adjustment control includes: in the probe mode, determining the second probe distance of the virtual character in response to a seventh touch operation on the distance adjustment control; and / or, in the probe mode, adjusting the target direction in response to an eighth touch operation on the function control; determining the third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0155] In this step, in the probe mode, in response to the player's seventh touch operation on the distance adjustment control, the second probe distance of the virtual character in the probe direction in the game scene adjusted by the player through touching the distance adjustment control is determined; and / or, in the probe mode, in response to the player's eighth touch operation on the function control, the target direction adjusted by the player through the function control is determined.
[0156] Furthermore, the third probe parameter of the virtual character can be determined according to the determined second probe distance and / or the adjusted target direction.
[0157] In one implementation, one end of the distance adjustment control is close to the probe control, and the other end of the distance adjustment control is close to the function control; the seventh touch operation is the fourth sliding operation; the sixth touch operation in response to the second parameter adjustment control to determine the third probe parameter of the virtual character includes: responding to the second sliding operation on the distance adjustment control to determine the real-time sliding position of the second sliding operation; and determining the third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the function control or the probe control.
[0158] Here, in order to facilitate the player to continuously control the virtual character, when setting the probe control, the distance adjustment control, and the function control, one end of the distance adjustment control can be set close to the probe control, and the other end of the distance adjustment control can be set close to the function control; here, one end of the distance adjustment control being close to the probe control can mean that one end of the distance adjustment control is connected to the probe control, or it can mean that there is a certain distance between one end of the distance adjustment control and the probe control; correspondingly, the other end of the distance adjustment control being close to the function control can mean that the other end of the distance adjustment control is connected to the function control, or it can mean that there is a certain distance between the other end of the distance adjustment control and the function control.
[0159] In this step, the adjustment of the probe parameter of the virtual character can be achieved by performing a sliding operation on the distance adjustment control; specifically, respond to the second sliding operation applied by the player on the distance adjustment control to determine the real-time sliding position of the second sliding operation; and determine the third probe parameter of the virtual character in the game scene after the player adjusts it by touching the distance adjustment control according to the real-time distance between the real-time sliding position of the second sliding operation and the function control or the probe control.
[0160] In order to enable the player to terminate the probe behavior of the virtual character in a timely manner, it is possible to determine whether to terminate the probe behavior of the virtual character according to the real-time distance between the real-time sliding position of the second sliding operation and the function control.
[0161] In one implementation, the control method further includes: responding to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the screen of the game scene before the virtual character probes.
[0162] In this step, during the process where the player applies a second sliding operation to the distance adjustment control, when the real-time sliding position of the second sliding operation is less than the preset distance from the function control, the peeking behavior of the virtual character in the game scene is terminated; at the same time, to ensure that the display screen seen by the player is consistent with the screen observed by the virtual character's observation line of sight in the game, when the peeking behavior of the virtual character is terminated, the content displayed in the graphical user interface is restored to the screen of the game scene before the virtual character peeks.
[0163] As an example, please refer to Figure 4 , Figure 4 which is the second schematic diagram of a graphical user interface provided by an embodiment of the present application. As Figure 4 shown, a peeking control 4b capable of pointing to the target direction where the dangerous event is located is displayed in the graphical user interface 4a. The player touches the peeking control 4b to enter the peeking mode. At this time, the function control 4c originally used to control the movement of the virtual character 4f in the game scene is used to adjust the peeking direction of the virtual character in the peeking mode, and a distance adjustment control 4d is displayed. One end 4d-1 of the distance adjustment control 4d is connected to the peeking control 4b, and the other end 4d-2 of the distance adjustment control 4d is connected to the function control 4c. When the real-time sliding position 4e of the player's second sliding operation on the distance adjustment control approaches the function control 4c, that is, when the real-time distance between the real-time sliding position 4e and the function control 4c is less than the preset distance, the peeking behavior of the virtual character 4f is terminated.
[0164] For the control method provided by the embodiment of the present application, part or all of the game scene, obstacles that can block the observation line of sight of the virtual character, and function controls are displayed in the graphical user interface; the control method includes: responding to a first touch operation on the function control to control the virtual character to move in the game scene; in a state where the observation line of sight of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, a peeking control for pointing to the target direction where the dangerous event is located is displayed in the graphical user interface; responding to a second touch operation on the peeking control to control the virtual character to peek and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction. In this way, the player can control the virtual character to peek in the dangerous direction through the peeking control, which can reduce the adjustment of the peeking direction by the player during the peeking process of the virtual character. Therefore, the interaction process between the player and the terminal device can be reduced, and the response frequency of the terminal device can be lowered.
[0165] Please refer to Figure 5 and Figure 6 , Figure 5 which is the first structural schematic diagram of a control device provided by an embodiment of the present application.Figure 6 This is the second structural schematic diagram of a control device provided by an embodiment of the present application. Part or all of the game scene, obstacles that can block the viewing line of the virtual character, and function controls are displayed in the graphical user interface; as Figure 5 shown in
[0166] The movement module 501 is configured to respond to a first touch operation on the function control and control the virtual character to move in the game scene;
[0167] The control display module 502 is configured to, in a state where the viewing line of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, display a probe control for pointing to the target direction where the dangerous event is located in the graphical user interface according to the relative direction between the virtual character and the dangerous event;
[0168] The screen adjustment module 503 is configured to respond to a second touch operation on the probe control, control the virtual character to probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0169] Further, as Figure 6 shown in
[0170] The first parameter adjustment module 504 is configured to respond to a third touch operation on the probe control to determine the first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance and / or a probe direction;
[0171] When the screen adjustment module 503 is configured to respond to a second touch operation on the probe control, control the virtual character to probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, the screen adjustment module 503 is configured to:
[0172] Respond to a second touch operation on the probe control, control the virtual character to probe, and adjust the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0173] Further, as Figure 6 shown in
[0174] In response to the start of a first sliding operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction;
[0175] The control device 500 further includes a second parameter adjustment module 505, and the second parameter adjustment module 505 is configured to:
[0176] During the sliding process of the first sliding operation, determine the real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameters include the real-time probe distance and / or the real-time probe direction;
[0177] Adjust the screen of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
[0178] Further, as Figure 6 shown, the control device 500 further includes a first behavior termination module 506, and the first behavior termination module 506 is configured to:
[0179] In response to the end of the first sliding operation, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes; or,
[0180] In response to a fourth touch operation on the behavior termination control, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes.
[0181] Further, as Figure 6 shown, a first parameter adjustment control is displayed in the graphical user interface; the control device 500 further includes a third parameter adjustment module 507, and the third parameter adjustment module 507 is configured to:
[0182] In response to a fifth touch operation on the first parameter adjustment control, determine the second probe parameters of the virtual character; wherein, the probe parameters include the probe distance and / or the probe direction;
[0183] When the screen adjustment module 503 is configured to respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, the screen adjustment module 503 is configured to:
[0184] In response to a second touch operation on the probe control, control the virtual character to probe according to the second probe parameters, and adjust the screen of the game scene displayed in the graphical user interface according to the second probe parameters and the target direction.
[0185] Further, when the screen adjustment module 503 is used to respond to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, the screen adjustment module 503 is used to:
[0186] Respond to a second touch operation on the probe control, enter the probe mode, control the virtual character to perform a probe, adjust the screen of the game scene displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control;
[0187] Respond to a sixth touch operation on the second parameter adjustment control, determine the third probe parameter of the virtual character, and adjust the screen of the game scene displayed in the graphical user interface according to the third probe parameter; wherein, the probe parameter includes a probe distance and / or a probe direction.
[0188] Further, when the screen adjustment module 503 is used to respond to a sixth touch operation on the second parameter adjustment control and determine the third probe parameter of the virtual character, the screen adjustment module 503 is used to:
[0189] In the probe mode, respond to a seventh touch operation on the distance adjustment control to determine the second probe distance of the virtual character; and / or, in the probe mode, respond to an eighth touch operation on the function control to adjust the target direction;
[0190] Determine the third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0191] Further, one end of the distance adjustment control is close to the probe control, and the other end of the distance adjustment control is close to the function control; the seventh touch operation is a fourth sliding operation; when the screen adjustment module 503 is used to respond to a sixth touch operation on the second parameter adjustment control and determine the third probe parameter of the virtual character, the screen adjustment module 503 is used to:
[0192] Respond to a second sliding operation on the distance adjustment control to determine the real-time sliding position of the second sliding operation;
[0193] Respond to the real-time distance between the real-time sliding position and the function control or the probe control to determine the third probe parameter of the virtual character.
[0194] Further, as Figure 6As shown, the control device 500 includes a second behavior termination module 508, and the second behavior termination module 508 is used for:
[0195] In response to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character probed.
[0196] Furthermore, the dangerous event includes at least one of the following:
[0197] There is a combat event within a preset range around the virtual character; and / or,
[0198] The hostile virtual character is within the attack range of the virtual character.
[0199] For the control device provided in the embodiment of the present application, a partial or all of the game scene, an obstacle that can block the observation line of sight of the virtual character, and a function control are displayed in the graphical user interface; the control method includes: in response to a first touch operation on the function control, controlling the virtual character to move in the game scene; in a state where the observation line of sight of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, display a probe control for pointing to the target direction where the dangerous event is located in the graphical user interface; in response to a second touch operation on the probe control, controlling the virtual character to probe, and adjusting the game scene picture displayed in the graphical user interface according to the target direction. In this way, the player can control the virtual character to probe in the dangerous direction through the probe control, which can reduce the player's adjustment of the probe direction during the probing process of the virtual character. Therefore, the interaction process between the player and the terminal device can be reduced, and the response frequency of the terminal device can be lowered.
[0200] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 7 , the electronic device 700 includes: a processor 710, a storage medium 720, and a bus 730. The storage medium 720 stores machine-readable instructions executable by the processor 710. When the electronic device runs a control method as in the embodiment, the processor 710 communicates with the storage medium 720 through the bus 730, and the processor 710 executes the machine-readable instructions, the preamble part of the method item of the processor 710, to perform the following steps:
[0201] In response to a first touch operation on the function control, control the virtual character to move in the game scene;
[0202] In a state where the viewing line of the virtual character is blocked by the blocking object, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, a probe control for pointing to the target direction where the dangerous event is located is displayed in the graphical user interface;
[0203] In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0204] In a feasible implementation, the processor 710 further executes:
[0205] In response to a third touch operation on the probe control, determine the first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance and / or a probe direction;
[0206] When the processor 710 is used to execute the response to the second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0207] In response to a second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0208] In a feasible implementation, the second touch operation described by the processor 710 includes a first sliding operation; when the processor 710 is used to execute the response to the second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0209] In response to the start of the first sliding operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction;
[0210] The processor 710 further executes:
[0211] During the sliding process of the first sliding operation, determine the real-time probe parameter of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameter includes a real-time probe distance and / or a real-time probe direction;
[0212] Adjust the screen of the game scene displayed in the graphical user interface in real time according to the real-time probe parameter.
[0213] In a feasible implementation, the processor 710 further executes:
[0214] In response to the end of the first sliding operation, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character probes; or,
[0215] In response to a fourth touch operation on the behavior termination control, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character probes.
[0216] In a feasible implementation, the processor 710 further executes:
[0217] In response to a fifth touch operation on the first parameter adjustment control, determine the second probing parameter of the virtual character; wherein, the probing parameter includes a probing distance and / or a probing direction;
[0218] When the processor 710 is used to execute the response to the second touch operation on the probing control, control the virtual character to probe, and adjust the game scene picture displayed in the graphical user interface according to the target direction, specifically:
[0219] In response to the second touch operation on the probing control, control the virtual character to probe according to the second probing parameter, and adjust the game scene picture displayed in the graphical user interface according to the second probing parameter and the target direction.
[0220] In a feasible implementation, when the processor 710 is used to execute the response to the second touch operation on the probing control, control the virtual character to probe, and adjust the game scene picture displayed in the graphical user interface according to the target direction, specifically:
[0221] In response to the second touch operation on the probing control, enter the probing mode, control the virtual character to probe, adjust the game scene picture displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control;
[0222] In response to a sixth touch operation on the second parameter adjustment control, determine the third probing parameter of the virtual character, and adjust the game scene picture displayed in the graphical user interface according to the third probing parameter; wherein, the probing parameter includes a probing distance and / or a probing direction.
[0223] In a feasible implementation, when the processor 710 is used to execute the sixth touch operation in response to the second parameter adjustment control to determine the third probe parameter of the virtual character, it is specifically configured to:
[0224] In the probe mode, in response to a seventh touch operation on the distance adjustment control, determine the second probe distance of the virtual character; and / or, in the probe mode, in response to an eighth touch operation on the function control, adjust the target direction;
[0225] Determine the third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0226] In a feasible implementation, when the processor 710 is used to execute the sixth touch operation in response to the second parameter adjustment control to determine the third probe parameter of the virtual character, it is specifically configured to:
[0227] In response to a second sliding operation on the distance adjustment control, determine the real-time sliding position of the second sliding operation;
[0228] In response to the real-time distance between the real-time sliding position and the function control or the probe control, determine the third probe parameter of the virtual character.
[0229] In a feasible implementation, the processor 710 also executes:
[0230] In response to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character probes.
[0231] In a feasible implementation, the dangerous event includes at least one of the following:
[0232] There is a combat event within a preset range around the virtual character; and / or,
[0233] The hostile virtual character is within the attack range of the virtual character.
[0234] In the above - mentioned manner, when the virtual character controlled by the player has its viewing line of sight blocked, if a dangerous event occurs around the virtual character, a probe control for the player to control the virtual character to probe in the direction of the dangerous event can be provided according to the relative direction between the virtual character and the dangerous event. The player can control the virtual character to probe in the direction of the dangerous event by touching the probe control. At the same time, considering the differences in the probe habits and viewing preferences of different players, in order to avoid the player temporarily adjusting the probe distance and probe direction during the process of controlling the virtual character to probe and increasing the operation difficulty of the player, the possibility of adjusting the probe parameters of the virtual character can be provided to the player before the player controls the virtual character to probe. Further, by reusing the probe control, the number of virtual controls displayed in the graphical user interface can be reduced, and the occlusion of the game screen by too many displayed virtual controls can be avoided. In addition, considering that the position of the dangerous event will change, in order to enable the player to monitor the dangerous event more comprehensively, after the player controls the virtual character to probe, the probe parameters of the virtual character can still be adjusted through the probe control. On the premise of ensuring that the number of virtual spaces displayed in the graphical user interface does not increase, it can also adapt to the change in the position of the dangerous event.
[0235] The embodiment of the present application also provides a computer - readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the processor executes the following steps:
[0236] Respond to the first touch operation on the function control to control the virtual character to move in the game scene;
[0237] In a state where the viewing line of sight of the virtual character is blocked by the blocking object, in response to the dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, display a probe control in the graphical user interface that points to the target direction where the dangerous event is located;
[0238] Respond to the second touch operation on the probe control to control the virtual character to probe and adjust the screen of the game scene displayed in the graphical user interface according to the target direction.
[0239] In a feasible implementation scheme, the processor also executes:
[0240] Respond to the third touch operation on the probe control to determine the first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance, and / or a probe direction;
[0241] When the processor is used to execute the second touch operation for the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0242] Respond to the second touch operation for the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
[0243] In a feasible implementation, the second touch operation executed by the processor includes a first sliding operation; when the processor responds to the second touch operation for the probe control, controls the virtual character to perform a probe, and adjusts the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0244] Respond to the start of the first sliding operation for the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction;
[0245] The processor also executes:
[0246] During the sliding process of the first sliding operation, determine the real-time probe parameter of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameter includes the real-time probe distance and / or the real-time probe direction;
[0247] Adjust the screen of the game scene displayed in the graphical user interface in real time according to the real-time probe parameter.
[0248] In a feasible implementation, the processor also executes:
[0249] Respond to the end of the first sliding operation, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes; or,
[0250] Respond to the fourth touch operation for the behavior termination control, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the screen of the game scene before the virtual character probes.
[0251] In a feasible implementation, the processor also executes:
[0252] Respond to the fifth touch operation for the first parameter adjustment control, and determine the second probe parameter of the virtual character; wherein, the probe parameter includes the probe distance and / or the probe direction;
[0253] When the processor is used to execute the response to the second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0254] Respond to the second touch operation on the probe control, control the virtual character to probe according to the second probe parameter, and adjust the screen of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
[0255] In a feasible implementation, when the processor is used to execute the response to the second touch operation on the probe control, control the virtual character to perform a probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction, it is specifically used for:
[0256] Respond to the second touch operation on the probe control, enter the probe mode, control the virtual character to perform a probe, adjust the screen of the game scene displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control;
[0257] Respond to the sixth touch operation on the second parameter adjustment control, determine the third probe parameter of the virtual character, and adjust the screen of the game scene displayed in the graphical user interface according to the third probe parameter; wherein, the probe parameter includes a probe distance and / or a probe direction.
[0258] In a feasible implementation, when the processor is used to execute the response to the sixth touch operation on the second parameter adjustment control to determine the third probe parameter of the virtual character, it is specifically used for:
[0259] In the probe mode, respond to the seventh touch operation on the distance adjustment control to determine the second probe distance of the virtual character; and / or, in the probe mode, respond to the eighth touch operation on the function control to adjust the target direction;
[0260] Determine the third probe parameter of the virtual character according to the second probe distance and / or the adjusted target direction.
[0261] In a feasible implementation, when the processor is used to execute the response to the sixth touch operation on the second parameter adjustment control to determine the third probe parameter of the virtual character, it is specifically used for:
[0262] Respond to the second sliding operation on the distance adjustment control to determine the real-time sliding position of the second sliding operation;
[0263] Determine a third probe parameter of the virtual character in response to a real-time distance between the real-time sliding position and the function control or the probe control.
[0264] In a feasible implementation, the processing further performs:
[0265] In response to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminate the probe behavior of the virtual character, and restore the display content in the graphical user interface to the game scene picture before the virtual character probes.
[0266] In a feasible implementation, the dangerous event includes at least one of the following:
[0267] There is a combat event within a preset range around the virtual character; and / or,
[0268] A hostile virtual character is within the attack range of the virtual character.
[0269] In the above manner, when the virtual character controlled by the player has an obstructed view, if a dangerous event occurs around the virtual character, a probe control for the player to control the virtual character to probe in the direction of the dangerous event can be provided according to the relative direction between the virtual character and the dangerous event. The player can control the virtual character to probe in the direction of the dangerous event by touching the probe control; at the same time, considering the differences in the probe habits and viewing preferences of different players, in order to avoid the player temporarily adjusting the probe distance and probe direction during the process of controlling the virtual character to probe, increasing the player's operation difficulty, the possibility of adjusting the probe parameters of the virtual character can be provided to the player before the player controls the virtual character to probe; further, by reusing the probe control, the number of virtual controls displayed in the graphical user interface can be reduced, avoiding the occlusion of the game screen by too many displayed virtual controls; in addition, considering that the position of the dangerous event will change, in order to enable the player to monitor the dangerous event more comprehensively, after the player controls the virtual character to probe, the probe parameters of the virtual character can still be adjusted through the probe control. Without increasing the number of virtual spaces displayed in the graphical user interface, it can also adapt to changes in the position of the dangerous event.
[0270] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0271] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0272] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0273] In addition, the functional units in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0274] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or this part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs, and other media that can store program codes.
[0275] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the technical field can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A control method, characterized in that, The graphical user interface displays some or all of the game scenes, obstacles that can block the viewing line of the virtual character, and function controls; the control method includes: In response to a first touch operation on the function control, controlling the virtual character to move in the game scene; In a state where the viewing line of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, according to the relative direction between the virtual character and the dangerous event, a probe control for pointing to the target direction where the dangerous event is located is displayed in the graphical user interface; In response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction; The step of, in response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction includes: In response to a second touch operation on the probe control, entering a probe mode, controlling the virtual character to probe, adjusting the screen of the game scene displayed in the graphical user interface according to the target direction, and displaying a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control; In response to a sixth touch operation on the second parameter adjustment control, determining a third probe parameter of the virtual character and adjusting the screen of the game scene displayed in the graphical user interface according to the third probe parameter; wherein, the probe parameter includes a probe distance, and / or a probe direction.
2. The control method according to claim 1, wherein The control method further includes: In response to a third touch operation on the probe control, determining a first probe parameter of the virtual character; wherein, the probe parameter includes a probe distance, and / or a probe direction; The step of, in response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction includes: In response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
3. The control method according to claim 1, wherein The second touch operation includes a first sliding operation; the step of, in response to a second touch operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction includes: In response to the start of the first sliding operation on the probe control, controlling the virtual character to probe and adjusting the screen of the game scene displayed in the graphical user interface according to the target direction; The control method further includes: During the sliding process of the first sliding operation, determining a real-time probe parameter of the virtual character according to the real-time touch position of the first sliding operation; wherein, the real-time probe parameter includes a real-time probe distance, and / or a real-time probe direction; Adjust the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters of the virtual character.
4. The control method according to claim 3, wherein The control method further includes: In response to the end of the first sliding operation, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the picture of the game scene before the virtual character probes; or, In response to the fourth touch operation on the behavior termination control, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the picture of the game scene before the virtual character probes.
5. The control method according to claim 1, wherein A first parameter adjustment control is displayed in the graphical user interface; the control method further includes: In response to the fifth touch operation on the first parameter adjustment control, determine the second probe parameters of the virtual character; wherein, the probe parameters include the probe distance and / or the probe direction. The response to the second touch operation on the probe control, controlling the virtual character to probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction, includes: In response to the second touch operation on the probe control, control the virtual character to probe according to the second probe parameters, and adjust the picture of the game scene displayed in the graphical user interface according to the second probe parameters and the target direction.
6. The control method according to claim 1, wherein The response to the sixth touch operation on the second parameter adjustment control, determining the third probe parameters of the virtual character, includes: In the probe mode, in response to the seventh touch operation on the distance adjustment control, determine the second probe distance of the virtual character; and / or, in the probe mode, in response to the eighth touch operation on the function control, adjust the target direction. Determine the third probe parameters of the virtual character according to the second probe distance and / or the adjusted target direction.
7. The control method according to claim 6, characterized in that, One end of the distance adjustment control is close to the probe control, and the other end of the distance adjustment control is close to the function control; the seventh touch operation is a fourth sliding operation; the response to the sixth touch operation on the second parameter adjustment control, determining the third probe parameters of the virtual character, includes: In response to the second sliding operation on the distance adjustment control, determine the real-time sliding position of the second sliding operation. In response to the real-time distance between the real-time sliding position and the function control or the probe control, determine the third probe parameters of the virtual character.
8. The control method according to claim 7, wherein The control method further includes: In response to the real-time distance between the real-time sliding position and the function control being less than a preset distance, terminate the probing behavior of the virtual character, and restore the display content in the graphical user interface to the picture of the game scene before the virtual character probes.
9. The control method according to claim 1, wherein The dangerous event includes at least one of the following: There is a battle event within a preset range around the virtual character; and / or, The hostile virtual character is within the attack range of the virtual character.
10. A control device, characterized in that, Part or all of the game scene, obstacles that can block the observation line of the virtual character, and function controls are displayed in the graphical user interface; the control device includes: A movement module, configured to control the virtual character to move in the game scene in response to a first touch operation on the function control; A control display module, configured to, in a state where the viewing line of the virtual character is blocked by the obstacle, in response to a dangerous event occurring around the virtual character, display a probe control for pointing to the target direction where the dangerous event is located in the graphical user interface according to the relative direction between the virtual character and the dangerous event; A screen adjustment module, configured to control the virtual character to probe and adjust the screen of the game scene displayed in the graphical user interface according to the target direction in response to a second touch operation on the probe control; When the screen adjustment module is configured to control the virtual character to probe and adjust the screen of the game scene displayed in the graphical user interface in response to a second touch operation on the probe control, the screen adjustment module is configured to: Respond to the second touch operation on the probe control, enter the probe mode, control the virtual character to probe, adjust the screen of the game scene displayed in the graphical user interface according to the target direction, and display a second parameter adjustment control in the graphical user interface; wherein, the second parameter adjustment control includes a distance adjustment control and a function control; Respond to a sixth touch operation on the second parameter adjustment control, determine a third probe parameter of the virtual character, and adjust the screen of the game scene displayed in the graphical user interface according to the third probe parameter; wherein, the probe parameter includes a probe distance and / or a probe direction.
11. An electronic device, characterized in that, Including: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor communicates with the memory through the bus, and when the machine-readable instructions are run by the processor, the steps of the control method according to any one of claims 1 to 9 are executed.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by the processor, the steps of the control method according to any one of claims 1 to 9 are executed.
Citation Information
Patent Citations
Method for processing information in game, electronic equipment and storage medium
CN108144300A
Game control method and device, electronic equipment and storage medium
CN113827967A