Movatterモバイル変換


[0]ホーム

URL:


CN114917579B - Control method, control device, electronic equipment and readable storage medium - Google Patents

Control method, control device, electronic equipment and readable storage medium

Info

Publication number
CN114917579B
CN114917579BCN202210344911.0ACN202210344911ACN114917579BCN 114917579 BCN114917579 BCN 114917579BCN 202210344911 ACN202210344911 ACN 202210344911ACN 114917579 BCN114917579 BCN 114917579B
Authority
CN
China
Prior art keywords
probe
control
virtual character
user interface
graphical user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210344911.0A
Other languages
Chinese (zh)
Other versions
CN114917579A (en
Inventor
王泽�
刘勇成
胡志鹏
袁思思
程龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202210344911.0ApriorityCriticalpatent/CN114917579B/en
Publication of CN114917579ApublicationCriticalpatent/CN114917579A/en
Application grantedgrantedCritical
Publication of CN114917579BpublicationCriticalpatent/CN114917579B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提供了一种控制方法、控制装置、电子设备及可读存储介质,响应针对功能控件的第一触控操作,控制虚拟角色在游戏场景中移动;在虚拟角色的观察视线受到阻挡物遮挡的状态下,响应于虚拟角色周围所发生的危险事件,根据虚拟角色与危险事件之间的相对方向,在图形用户界面中显示用于指向危险事件所在目标方向的探头控件;响应针对探头控件的第二触控操作,控制虚拟角色进行探头,并根据目标方向调整所述图形用户界面中所显示的游戏场景的画面。这样,玩家可通过探头控件控制虚拟角色向危险方向探头,可减少玩家在虚拟角色的探头过程中对探头方向进行调节,以此,可以减少玩家与终端设备之间的交互过程,降低终端设备的响应频率。

The present application provides a control method, a control device, an electronic device, and a readable storage medium. In response to a first touch operation on a functional control, the method controls a virtual character to move in a game scene. When the virtual character's line of sight is blocked by an obstacle, the method displays a probe control pointing to the target direction of the dangerous event in a graphical user interface based on the relative direction between the virtual character and the dangerous event in response to a dangerous event occurring around the virtual character. In response to a second touch operation on the probe control, the method controls the virtual character to probe, and adjusts the image of the game scene displayed in the graphical user interface based on the target direction. In this way, the player can control the virtual character to probe in the dangerous direction through the probe control, which reduces the player's need to adjust the probe direction during the virtual character's probe process. This reduces the interaction process between the player and the terminal device and reduces the response frequency of the terminal device.

Description

Control method, control device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a control method, a control device, an electronic device, and a readable storage medium.
Background
In recent years, the types of games that people come into contact with are increasing, and for example, types of games such as instant strategy games and multiplayer online tactical competitive games are gradually coming into the lives of people. In tactical athletic games, a player wants to win the final win of the game, and needs to continually find and avoid hostile virtual characters in the game, so that the virtual characters controlled by the player can survive to the end of the game to obtain the final win of the game.
At present, when the observation sight of the virtual character controlled by a player is blocked in the game process, the player cannot view the game picture, and at the moment, the player needs to adjust the observation sight of the virtual character to restore the game picture, because the player belongs to a sight blind area at the moment and does not know the surrounding environment, if the blind control of the virtual character probe at the moment is performed, the virtual character controlled by the player can be placed in danger at a high probability, and the player can realize the probe behavior of the virtual character in the preset direction only through the preset probe control, so that the probe angle is limited and cannot be adjusted, and the probe operation is complicated.
Disclosure of Invention
Accordingly, an object of the present application is to provide a control method, a control device, an electronic device, and a readable storage medium, which can provide a probe control capable of controlling a probe of a virtual character to a direction of a dangerous event according to a relative direction between the dangerous event and the virtual character, so that a player can control the probe of the virtual character to the dangerous direction through the probe control, and the adjustment of the probe direction by the player during the probe process of the virtual character can be reduced, thereby reducing the interaction process between the player and a terminal device, and reducing the response frequency of the terminal device.
The embodiment of the application provides a control method, wherein a part or all of game scenes, a blocking object capable of blocking the observation sight of a virtual character and a functional control are displayed in a graphical user interface, and the control method comprises the following steps:
Responding to a first touch operation aiming at the functional control, and controlling the virtual character to move in a game scene;
in a state that the observation sight of the virtual character is blocked by the barrier, responding to a dangerous event occurring around the virtual character, and displaying a probe control used for pointing to the target direction of the dangerous event in the graphical user interface according to the relative direction between the virtual character and the dangerous event;
and responding to a second touch operation for 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.
In one possible embodiment, the control method further includes:
Determining a first probe parameter of the virtual character in response to a third touch operation aiming at the probe control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The responding to the second touch operation of the probe control controls the virtual character to perform the probe, adjusts the picture of the game scene displayed in the graphical user interface according to the target direction, and comprises the following steps:
and responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
In one possible implementation, the second touch operation includes a first sliding operation, and the responding to the second touch operation of the probe control controls the virtual character to perform the probe, adjusts the picture of the game scene displayed in the graphical user interface according to the target direction, and includes:
responding to the start of a first sliding operation of 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;
The control method further includes:
determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, wherein the real-time probe parameters comprise a real-time probe distance and/or a real-time probe direction;
And adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
In one possible embodiment, the control method further includes:
terminating probe behavior of the virtual character in response to the end of the first sliding operation, restoring display content in the graphical user interface to a view of a game scene preceding the virtual character probe, or,
And responding to a fourth touch operation aiming at a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
In one possible implementation, the graphical user interface displays a first parameter adjustment control, and the control method further comprises:
determining a second probe parameter of the virtual character in response to a fifth touch operation of the first parameter adjustment control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The responding to the second touch operation of the probe control controls the virtual character to perform the probe, adjusts the picture of the game scene displayed in the graphical user interface according to the target direction, and comprises the following steps:
And responding to a second touch operation aiming at the probe control, controlling the virtual character to probe according to the second probe parameter, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
In one possible implementation, the responding to the second touch operation of the probe control controls the virtual character to perform the probe, and adjusts the screen of the game scene displayed in the graphical user interface according to the target direction, including:
Responding to a second touch operation aiming at the probe control, entering a probe mode, controlling the virtual character to perform probe, adjusting the picture 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 comprises a distance adjustment control and a functional control;
And responding to a sixth touch operation aiming at the second parameter adjustment control, determining a third probe parameter of the virtual character, and adjusting a picture of a game scene displayed in the graphical user interface according to the third probe parameter, wherein the probe parameter comprises a probe distance and/or a probe direction.
In one possible implementation, the determining, in response to a sixth touch operation of the second parameter adjustment control, a third probe parameter of the virtual character includes:
Determining a second probe distance of the virtual character in response to a seventh touch operation for the distance adjustment control in the probe mode, and/or adjusting the target direction in response to an eighth touch operation for the functional control in the probe mode;
And determining a third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
In a possible implementation manner, one end of the distance adjustment control is close to the probe control, the other end of the distance adjustment control is close to the functional control, the seventh touch operation is a fourth sliding operation, the responding to the sixth touch operation of the second parameter adjustment control determines a third probe parameter of the virtual character, and the method includes:
Determining a real-time sliding position of a second sliding operation for the distance adjustment control in response to the second sliding operation;
and determining a third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the functional control or the probe control.
In one possible embodiment, the control method further includes:
and stopping the probe action of the virtual character and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe in response to the real-time sliding position and the real-time distance between the functional controls being smaller than the preset distance.
In one possible embodiment, the dangerous event includes at least one of:
a combat event exists within a preset range around the virtual character, and/or,
An hostile virtual character is within the attack scope of the virtual character.
The embodiment of the application also provides a control device, wherein a part or all of game scenes, a blocking object capable of blocking the observation sight of the virtual character and a functional control are displayed in the graphical user interface, and the control device comprises:
the moving module is used for responding to the first touch operation aiming at the functional control and controlling the virtual character to move in the game scene;
The control display module is used for responding to dangerous events occurring around the virtual character in a state that the observation sight of the virtual character is blocked by the blocking object, and displaying a probe control used for pointing to the target direction of the dangerous event in the graphical user interface according to the relative direction between the virtual character and the dangerous events;
And the picture adjustment module is used for responding to the second touch operation of the probe control, controlling the virtual character to perform the probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction.
In a possible embodiment, the control device further comprises a first parameter adjustment module for:
Determining a first probe parameter of the virtual character in response to a third touch operation aiming at the probe control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The picture adjusting module is used for controlling the virtual character to conduct probe in response to a second touch operation for the probe control, and adjusting a picture of a game scene displayed in the graphical user interface according to the target direction, and the picture adjusting module is used for:
and responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
In one possible implementation, the second touch operation includes a first sliding operation, and the screen adjustment module, when configured to respond to the second touch operation for the probe control, controls the virtual character to perform a probe, and adjusts a screen of a game scene displayed in the graphical user interface according to the target direction, is configured to:
responding to the start of a first sliding operation of 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;
The control device further comprises a second parameter adjusting module, wherein the second parameter adjusting module is used for:
determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, wherein the real-time probe parameters comprise a real-time probe distance and/or a real-time probe direction;
And adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
In one possible implementation manner, the control device further includes a first behavior termination module, where the first behavior termination module is configured to:
terminating probe behavior of the virtual character in response to the end of the first sliding operation, restoring display content in the graphical user interface to a view of a game scene preceding the virtual character probe, or,
And responding to a fourth touch operation aiming at a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
In one possible implementation, the graphical user interface displays a first parameter adjustment control, and the control device further comprises a third parameter adjustment module for:
determining a second probe parameter of the virtual character in response to a fifth touch operation of the first parameter adjustment control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The picture adjusting module is used for controlling the virtual character to conduct probe in response to a second touch operation for the probe control, and adjusting a picture of a game scene displayed in the graphical user interface according to the target direction, and the picture adjusting module is used for:
And responding to a second touch operation aiming at the probe control, controlling the virtual character to probe according to the second probe parameter, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
In one possible implementation, the screen adjustment module, when configured to control the virtual character to perform the probe in response to the second touch operation for the probe control, adjusts a screen of a game scene displayed in the graphical user interface according to the target direction, is configured to:
Responding to a second touch operation aiming at the probe control, entering a probe mode, controlling the virtual character to perform probe, adjusting the picture 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 comprises a distance adjustment control and a functional control;
And responding to a sixth touch operation aiming at the second parameter adjustment control, determining a third probe parameter of the virtual character, and adjusting a picture of a game scene displayed in the graphical user interface according to the third probe parameter, wherein the probe parameter comprises a probe distance and/or a probe direction.
In one possible implementation, the screen adjustment module, when configured to determine the third probe parameter of the virtual character in response to a sixth touch operation for the second parameter adjustment control, is configured to:
Determining a second probe distance of the virtual character in response to a seventh touch operation for the distance adjustment control in the probe mode, and/or adjusting the target direction in response to an eighth touch operation for the functional control in the probe mode;
And determining a third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
In a possible implementation manner, one end of the distance adjustment control is close to the probe control, the other end of the distance adjustment control is close to the functional control, the seventh touch operation is a fourth sliding operation, and the screen adjustment module, when determining a third probe parameter of the virtual character in response to a sixth touch operation for the second parameter adjustment control, is configured to:
Determining a real-time sliding position of a second sliding operation for the distance adjustment control in response to the second sliding operation;
and determining a third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the functional control or the probe control.
In a possible implementation manner, the control device includes a second behavior termination module, where the second behavior termination module is configured to:
and stopping the probe action of the virtual character and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe in response to the real-time sliding position and the real-time distance between the functional controls being smaller than the preset distance.
In one possible embodiment, the dangerous event includes at least one of:
a combat event exists within a preset range around the virtual character, and/or,
An hostile virtual character is within the attack scope of the virtual character.
The embodiment of the application also provides electronic equipment, which comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic equipment is operated, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the control method.
The embodiment of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the control method as described above.
The control method, the control device, the electronic equipment and the readable storage medium provided by the embodiment of the application have the advantages that a part or all of game scenes, barriers capable of shielding the observation sight of the virtual character and functional controls are displayed in a graphical user interface, the control method comprises the steps of responding to first touch operation aiming at the functional controls, controlling the virtual character to move in the game scenes, responding to dangerous events occurring around the virtual character when the observation sight of the virtual character is shielded by the barriers, displaying probe controls used for pointing to the target direction of the dangerous events in the graphical user interface according to the relative direction between the virtual character and the dangerous events, responding to second touch operation aiming at the probe controls, controlling the virtual character to conduct probes, and adjusting the pictures of the game scenes displayed in the graphical user interface according to the target direction. Therefore, the player can control the virtual character to the dangerous direction probe through the probe control, and the adjustment of the probe direction of the player in the probe process of the virtual character can be reduced, so that the interaction process between the player and the terminal equipment can be reduced, and the response frequency of the terminal equipment can be reduced.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a control method according to an embodiment of the present application;
FIG. 2 is a diagram of a graphical user interface according to an embodiment of the present application;
FIG. 3 is a flow chart of another control method according to an embodiment of the present application;
FIG. 4 is a diagram illustrating a second graphical user interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a control device according to an embodiment of the present application;
FIG. 6 is a second schematic diagram of a control device according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of 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, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without making any inventive effort falls within the scope of protection of the present application.
Virtual roles:
Refers to dynamic objects that can be controlled in a game scene. Alternatively, the dynamic object may be a virtual character, a virtual animal, a cartoon character, or the like. The virtual object is a character that a player controls through an input device, or is an artificial intelligence set in a virtual environment fight by training (ARTIFICIAL INTELLIGENCE, AI), or is a Non-player character set in a game scene fight (Non-PLAYER CHARACTER, NPC). Optionally, the avatar is a avatar that plays in the game scene. Optionally, the number of virtual characters in the game scene fight is preset, or is dynamically determined according to the number of clients joining the fight, which is not limited by the embodiment of the present application. In one possible implementation, a user can control a virtual object to move in the virtual scene, e.g., control a virtual character to run, jump, crawl, etc., as well as control the virtual character to fight other virtual characters using skills, virtual props, etc., provided by the application.
Game interface:
The interface is an interface corresponding to the application program provided or displayed through a graphical user interface, and the interface comprises a UI interface and a game screen for the player to interact. In alternative embodiments, game controls (e.g., skill controls, movement controls, functionality controls, etc.), indication identifiers (e.g., direction indication identifiers, character indication identifiers, etc.), information presentation areas (e.g., number of clicks, time of play, etc.), or game setting controls (e.g., system settings, stores, gold coins, etc.) may be included in the UI interface. In an alternative embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, and the like for executing game logic in the virtual scene.
The control method in one embodiment of the present disclosure may be run on a terminal device or a server. The terminal device may be a local terminal device. When the control method runs on the server, the control method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications, such as cloud gaming, may be run under the cloud interaction system. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running main body of the game program and the game picture presentation main body are separated, the storage and running of the information processing method are completed on the cloud game server, the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer and the like, which is close to a user side, but the terminal device for processing information is the cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
According to the research, at present, when the observation sight of the virtual character controlled by a player is blocked in the game process, the player cannot view the game picture, at the moment, the player can control the probe of the virtual character in the game scene through a probe control displayed in a graphical user interface, so that the game picture of the player is restored by adjusting the observation sight of the virtual character.
In addition, the probe direction, the probe distance and the probe angle of the probe control provided for the player in the graphical user interface are all fixed, and when the player controls the virtual character to perform the probe in the game scene through the probe control, in order to obtain a better observation field of view, the position of the virtual character needs to be continuously adjusted, so that the virtual character can obtain a better observation field of view under the condition that the probe direction, the probe distance and the probe angle are limited, therefore, the player also needs to adjust the probe position of the virtual character through other functional controls in the process of controlling the virtual character to perform the probe in the game scene, and the probe operation of controlling the virtual character to perform the probe is complicated.
Based on the above, the embodiment of the application provides a control method, wherein a player can control the probe of the virtual character to the target direction of the dangerous event through the probe control in the game process, so that the process of controlling the virtual character to turn in the game process by the player is reduced, the operation difficulty of the player is reduced, the interaction process of the player and the terminal equipment is reduced, and the response frequency of the terminal equipment is reduced.
Referring to fig. 1, fig. 1 is a flowchart of a control method according to an embodiment of the application. A part or all of the game scene, the virtual character controlled by the player, a barrier capable of blocking the observation sight of the virtual character and the functional control are displayed in the graphical user interface. As shown in fig. 1, a control method provided by an embodiment of the present application includes:
And S101, responding to a first touch operation aiming at the functional control, and controlling the virtual character to move in a game scene.
S102, in a state that the observation sight of the virtual character is blocked by the blocking object, responding to a dangerous event occurring around the virtual character, and displaying a probe control for pointing to the target direction of the dangerous event in the graphical user interface according to the relative direction between the virtual character and the dangerous event.
And S103, responding to a second touch operation for 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.
The embodiment of the application provides a control method, wherein a player can control a virtual character to move in a game scene through a functional control, when the observation sight of the virtual character is blocked by a blocking object in the game scene, a discussion control pointing to the target direction of a dangerous event is displayed in combination with the relative direction between the dangerous event and the virtual character under the condition that the dangerous event occurs around the virtual character, and the player can control the probe of the virtual character to the target direction of the dangerous event through touching the corresponding probe control, and simultaneously adjust the picture of the game scene displayed in an image user interface according to the target direction. In this way, in a state that the observation sight of the virtual character controlled by the player is blocked, the touch probe control can control the virtual character to the probe in the target direction of the dangerous event and adjust the picture displayed in the image user interface, so that when the dangerous event occurs, the player can quickly lock the observation sight in the target direction of the dangerous event without repeatedly operating the control virtual character to adjust the direction of the observation sight, the operation steps of the player in the game are reduced, the frequency of man-machine interaction in the game is reduced, and the response frequency of the terminal equipment is reduced.
In step S101, the virtual character is controlled to move in the game scene in response to a first touch operation of the player for the function control displayed in the graphical user interface, wherein the first touch operation may include any operation such as a clicking operation, a sliding operation, and a long press operation.
In the scheme provided by the application, the virtual character is controlled to move in a game scene in response to the first touch operation aiming at the functional control, specifically, when a player presses the functional control (for example, a moving control in a game), an instruction for controlling the movement of the virtual character can be issued, wherein a user can issue a movement instruction through the functional control and/or a preset combination key, specifically, the player can touch the functional control through a finger, a mouse and the like, or through a preset combination key in a keyboard, for example, a ctrl key, an alt key, an a key and the like in the keyboard, and the preset key can be set manually according to the requirements of the player.
Here, the functional controls may include controls that are specifically set to control the virtual character to move in the game scene, and may also include controls with multiple functions, for example, the functional controls may be used to control the virtual character to attack the hostile virtual character, and may also be used to control the virtual character to move in the game scene, where different functions are required to be implemented differently by different touch operations, for example, the touch functional controls may be used to control the virtual character to move in the game scene by sliding operations, the touch functional controls may be used to control the virtual character to attack the hostile virtual character by clicking operations, and so on.
The view line of the virtual character determines the game screen that the player can see, and if the view line of the virtual character is blocked by a blocking object in the game scene according to the game setting, the game screen displayed to the player is also affected, for example, if the view line of the virtual character is partially blocked, part of the game scene displayed to the player cannot be displayed to the player due to the blocking, and at this time, the area where the blocking part is located in the screen that the player can see should be black (or the same color as the blocking object).
Here, the barrier includes any non-transparent class virtual object such as a virtual building, other virtual character, virtual weapon, virtual obstacle, and the like.
The dangerous event refers to an event that can cause injury to the virtual character, for example, an attack by another virtual character or an attack by a fixedly arranged virtual weapon, and the injury refers to a situation that reduces the survival probability of the virtual character in the game, for example, reduces the life value of the virtual character, reduces the defensive power of the virtual character, reduces the attack power of the virtual character, and reduces the survival probability of the virtual character, such as a virtual weapon carried by the virtual character.
In step S102, in a state that the view of the virtual character is blocked by the blocking object, a 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 the probe at the occurrence position of the dangerous event is displayed in the graphical user interface, wherein in order to facilitate a player to quickly grasp the general occurrence 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 be in one-to-one correspondence with the target direction of the dangerous event, for example, the target direction of the dangerous event is 60 degrees in the northeast direction of the virtual character, a reference object, for example, a displayed functional control is selected in the graphical user interface, and the probe control is displayed in the northeast direction of the reference object by 60 degrees, so as to inform the player of the target direction of the dangerous event.
The dangerous event comprises at least one of the following events, specifically, the present position of the virtual character is taken as the center, if the event exists in the preset range around the virtual character, whether the event is related to the virtual character or not, the dangerous event around the virtual character can be considered, or the dangerous event around the virtual character can be considered when the event is related to the virtual character.
And specifically, when the hostile virtual character exists in the current attack range of the virtual character, dangerous events occurring around the virtual character can be considered, wherein the current attack range of the virtual character can be determined according to the virtual weapon currently used by the virtual character, and the preset range can also be realized.
For example, referring to fig. 2, fig. 2 is a schematic diagram of a graphical user interface according to an embodiment of the present application. As shown in fig. 2, the graphical user interface 2a displays a function control 2b, a probe control 2c-1, a probe control 2c-2, a barrier 2d and a virtual character 2e, the view of the virtual character 2e is blocked by the barrier 2d, at this time, two dangerous events occur around the virtual character 2e, the relative direction between the dangerous event 1 and the virtual character 2e is the position indicated by the dangerous mark 2f-1, the relative direction between the dangerous event 2 and the virtual character 2e is the position indicated by the dangerous mark 2f-2 (the dangerous mark 2f-1 and the dangerous mark 2f-2 may or may not be displayed in the graphical user interface 2a, in this embodiment, for clearly illustrating the correspondence between the probe control and the target direction of the dangerous event, the display is taken as an example for illustration), where the target direction of the dangerous event is relative to the virtual character 2e, and in order to enable the probe control 2c (including the probe control 2c-1 and the probe control 2 c-2) displayed in the graphical user interface 2a to indicate the target direction of the dangerous event, the probe control 2c (including the probe control 2c-1 and the probe control 2 c-2) is displayed with the functional control 2b as a reference, that is, the relative position between the probe control 2c-1 and the functional control 2b corresponds to the relative position between the dangerous event 1 (the occurrence position of the dangerous event indicated by the dangerous mark 2 f-1) and the virtual character 2 e; accordingly, the relative position between the probe control 2c-2 and the functionality control 2b, corresponding to the relative position between the hazard event 2 (the hazard event occurrence position indicated by the hazard identifier 2 f-2) and the virtual character 2e, the probe control 2c-1 displayed in the graphical user interface 2a can clearly indicate the relative direction of the hazard event 1 to the virtual character 2e, and the probe control 2c-2 can clearly indicate the relative direction of the hazard event 2 to the virtual character 2 e.
In step S103, in response to the second touch operation for the probe control, the probe in the target direction of the dangerous event pointed by the probe control can be controlled by the virtual character, and at the same time, the screen of the game scene displayed in the graphical user interface can be adjusted according to the target direction, so as to ensure that the display screen seen by the player is consistent with the screen observed by the observation line of sight of the virtual character in the game.
In the scheme provided by the application, the virtual character is controlled to perform the probe in response to the second touch operation aiming at the probe control, specifically, when a player presses the probe control, an instruction for controlling the virtual character probe can be issued, wherein the user can issue the probe instruction through the probe control and/or a preset combination key, specifically, the player can touch the probe control through fingers, a mouse and the like, or through a preset combination key in a keyboard, for example, a ctrl key, an alt key, an a key and the like in the keyboard, and the preset key can be set manually according to the requirements of the player.
Here, the second touch operation may include any operation such as a click operation, a slide operation, and a long press operation.
Corresponding to the above embodiment, as shown in fig. 2, when the player clicks (taking the second touch operation as an example) the probe control 2c-1, the virtual character 2e may be controlled to probe in the target direction (the position indicated by the hazard sign 2 f-1) where the hazard event 1 occurs, and correspondingly, when the player clicks the probe control 2c-2, the virtual character 2e may be controlled to probe in the target direction (the position indicated by the hazard sign 2 f-2) where the hazard event 2 occurs (as shown by the dotted virtual character in the figure).
In order to avoid the temporary adjustment of the probe distance and the probe direction of the player in the process of controlling the virtual character probe, the method can provide the possibility of adjusting the parameters of the virtual character probe for the player before controlling the virtual character probe, i.e. the player can adjust the probe distance and the probe direction of the virtual character probe before controlling the virtual character probe.
In addition, in order to reduce the number of virtual controls displayed in the graphical user interface, and avoid the shielding of game pictures by displaying excessive virtual controls, the probe controls can be functionally multiplexed, i.e., the probe controls for controlling the virtual character probe can be used for adjusting the probe parameters of the virtual character before controlling the virtual character probe.
In one embodiment, the control method further comprises determining a first probe parameter for the virtual character in response to a third touch operation for the probe control.
In the scheme provided by the application, the first probe parameter of the virtual character is determined in response to the third touch operation of the probe control, specifically, when a player presses the probe control, an instruction for adjusting the distance and the direction of the probe of the virtual character can be issued, wherein the user can issue the instruction through the probe control and/or a preset combination key, specifically, the player can touch the probe control through fingers, a mouse and the like, or through a preset combination key in a keyboard, for example, a ctrl key, an alt key, an a key and the like in the keyboard, and the preset key can be set manually according to the requirements of the player.
In the method, a player can adjust probe parameters of the virtual character in a game scene by applying corresponding touch operation to a probe control, and the first probe parameters of the probe of the virtual character in the game scene after the player is adjusted by the touch probe control are determined in response to third touch operation applied by the player on the probe control, wherein the probe parameters comprise probe distance and/or probe direction.
Here, the third touch operation of adjusting the parameters of the virtual character probe may be different from the second touch operation of controlling the virtual character probe, for example, the second touch operation is a click operation, i.e., clicking the "probe control" to control the virtual character probe, and the third touch operation is a slide operation, i.e., sliding the "probe control" to adjust the parameters of the probe of the virtual character probe in the game scene.
The third touch operation for adjusting the parameters of the virtual character probe may be the same touch operation as the second touch operation for controlling the virtual character probe, in which case, the probe control may be controlled to enter the parameter adjustment state first, and then, in the parameter adjustment state, the adjustment of the parameters of the virtual character probe may be achieved through the touch probe control.
The mode of controlling the probe control to enter the parameter adjustment state may be determined according to the actual situation, for example, a state transition control may be additionally set, and the probe control is controlled to enter the parameter adjustment state through a touch state transition control, or the transition on the state of the probe control may be realized through a state transition operation, and the probe control is controlled to enter the parameter adjustment state, for example, the state transition operation is a long press operation, and the probe control may be controlled to enter the parameter adjustment state through a long press operation of the probe control, so that the adjustment of the probe parameter is realized through the touch probe control when the probe control is in the parameter adjustment state.
In one embodiment, step S103 includes controlling the virtual character to probe in response to a second touch operation for the probe control, and adjusting a frame of a game scene displayed in the graphical user interface according to the first probe parameter and a target direction.
In the scheme provided by the application, the virtual character is controlled to perform the probe in response to the second touch operation aiming at the probe control, specifically, when a player presses the probe control, an instruction for controlling the virtual character probe can be issued, wherein the user can issue the instruction through the probe control and/or a preset combination key, specifically, the player can touch the probe control through fingers, a mouse and the like, or through a preset combination key in a keyboard, for example, a ctrl key, an alt key, an a key and the like in the keyboard, and the preset key can be set manually according to the requirements of the player.
In the step, responding to the second touch operation aiming at the probe control, the virtual character can be controlled to carry out the probe according to the first probe parameter, and meanwhile, the target direction and the first probe parameter can be combined to adjust the picture of the game scene displayed in the graphical user interface so as to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character in the game by observing the sight line.
Therefore, before the player controls the virtual character probe, the player can adjust the probe parameters of the virtual character according to own observation preference and probe habit, so that the situation that the virtual character probe is exposed to dangers too much can be avoided, and the survival probability of the virtual character is increased.
In the game process, the position of the dangerous event changes along with the real-time position of the fighting virtual character, so that in order to enable a player to monitor the dangerous event more comprehensively, after the player controls the virtual character to conduct a probe, the probe parameters of the virtual character can be adjusted through a probe control, and the change in the position of the dangerous event can be adapted on the premise that the number of virtual spaces displayed in a graphical user interface is not increased.
In one embodiment, the second touch operation comprises a first sliding operation, and step S103 comprises controlling the virtual character to conduct a probe in response to the start of the first sliding operation for the probe control, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction.
In order to simplify the operation process of the player, the player can control the virtual character to conduct probe through one-time sliding operation and adjust probe parameters of the virtual character in the process of the probe of the virtual character, specifically, the virtual character is controlled to conduct probe in the target direction of the dangerous event pointed by the probe control in response to the start of the first sliding operation, and meanwhile, the picture of the game scene displayed in the graphical user interface can be adjusted according to the target direction.
Further, the control method further comprises the steps of determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, and adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
In the step, the probe parameters of the virtual character can be changed in real time and the picture displayed in the graphical user interface can be adjusted in the sliding process of the first sliding operation, specifically, the real-time touch position of the first sliding operation is determined in real time in the sliding process of the first sliding operation, the real-time probe parameters of the virtual character corresponding to the real-time touch position are determined, and the picture of the game scene displayed in the graphical user interface is adjusted in real time according to the real-time probe parameters.
The real-time touch control positions and the probe parameters are in one-to-one correspondence, the probe parameters (probe direction and/or probe distance) corresponding to each real-time touch control position are preset, and further, in 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 control positions of the first sliding operation.
The real-time probe parameters include a real-time probe distance and/or a real-time probe direction, that is, a player can change the probe direction and/or the probe distance of the virtual character in real time during the process of the probe of the virtual character, and simultaneously, change the game picture presented in the graphical user interface in real time according to the probe distance and the probe direction of the virtual character.
Meanwhile, in order to further simplify the operation complexity of the game, the interaction process between the player and the terminal equipment in the game process is reduced, the response frequency of the terminal equipment is reduced, and the player can also select different modes to finish the probe behaviors of the virtual character.
In one embodiment, the control method further comprises terminating probe behavior of the virtual character in response to the end of the first sliding operation, and restoring display content in the graphical user interface to a screen of a game scene preceding the virtual character probe.
In this step, when the player wants to end the probe action of the virtual character, the probe action of the virtual character in the game can be terminated by ending the first sliding operation, and at the same time, in order to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character in the game in the observation line of sight, the probe action of the virtual character is terminated and the content displayed in the graphic user interface is restored to the picture of the game scene before the virtual character probe, wherein the picture before the virtual character probe is actually the picture presented when the observation line of sight of the virtual character is blocked because the virtual character does not move in the process of the probe.
Or, in response to a fourth touch operation for a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
In the step, a behavior termination control can be specially set in the graphical user interface, a player can control the virtual character to end the probe behavior through the touch behavior termination control, in this case, if the player only ends the first sliding operation, the virtual character is controlled to continue the probe according to the real-time probe parameters corresponding to the end touch position of the first sliding operation, specifically, the probe behavior of the virtual character in the game is terminated in response to the fourth touch operation applied by the player to the behavior termination control, and meanwhile, in order to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character observation sight in the game, the content displayed in the graphical user interface is restored to the picture of the game scene before the virtual character probe when the probe behavior of the virtual character is terminated.
In the scheme provided by the application, the probe behavior of the virtual character is terminated in response to the fourth touch operation aiming at the behavior termination control, specifically, when a player presses the behavior termination control, an instruction for terminating the probe behavior of the virtual character can be issued, wherein a 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 through fingers, a mouse and the like, or through a preset combination key in a keyboard, for example, a ctrl key, an alt key, an a key and the like in the keyboard, and the preset key can be set manually according to the requirements of the player.
In the above manner, the player can realize adjustment of the probe parameters of the virtual character by functionally multiplexing the probe control, and although the manner can maximally avoid shielding of the game interface of the player by the virtual control, the situation of misoperation of the player is easy to occur due to more touch modes of the same control, so that in order to avoid the situation of misoperation of the player, a specially set first parameter adjustment control for adjusting the probe parameters can be provided for the player, so that the player can realize adjustment of the probe parameters of the virtual character.
In another embodiment, a first parameter adjustment control is displayed in the graphical user interface, and the control method further comprises determining a second probe parameter for the virtual character in response to a fifth touch operation directed to the first parameter adjustment control.
In the step, a first parameter adjustment control is displayed in a graphical user interface of a player, and a second probe parameter of a probe in a game scene of a virtual character adjusted by the player through touch of the first parameter adjustment control is determined in response to a fifth touch operation applied by the player to the first parameter adjustment control.
And controlling the probe in the direction indicated by the second probe parameter by the virtual character, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction at the same time so as to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character in the game by observing the sight.
In another embodiment, referring to fig. 3, fig. 3 is a flow chart of another control method according to an embodiment of the present application. Step S103 includes, as shown in fig. 3, step S1031, entering a probe mode in response to a second touch operation for the probe control, controlling the virtual character to perform a probe, adjusting a picture of a 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.
In the step, responding to the second touch operation of the player aiming at the probe control, controlling the virtual character to enter a probe mode, at the moment, controlling the virtual character to probe towards the target direction of the dangerous event, and simultaneously, adjusting the picture of the game scene displayed in the graphical user interface according to the target direction so that the game picture displayed in the graphical user interface can be consistent with the picture observed by the observation sight of the virtual character in the game.
Meanwhile, a second parameter adjustment control for adjusting the probe parameters of the virtual character can be displayed in the probe mode, so that the player can conveniently adjust the probe distance and the probe direction of the virtual character in the probe mode.
The second parameter adjustment control comprises a distance adjustment control used for adjusting the probe distance of the virtual character in the probe direction and a functional control used for adjusting the probe direction of the virtual character, wherein the functional control is subjected to functional multiplexing in the probe mode in practice, so that the functional control originally used for controlling the movement of the virtual character in the game scene is multiplexed in the probe direction of the adjustment virtual character.
Step S1032, determining a third probe parameter of the virtual character in response to a sixth touch operation for the second parameter adjustment control, and adjusting a screen of the game scene displayed in the graphical user interface according to the third probe parameter.
In the step, a third probe parameter of the probe of the virtual character in the game scene, which is adjusted by the player through the touch control of the second parameter adjustment control, is determined in response to a sixth touch operation applied by the player aiming at the second parameter adjustment control.
And controlling the probe in the direction indicated by the third probe parameter by the virtual character, and adjusting the picture of the game scene displayed in the graphical user interface according to the third probe parameter and the target direction at the same time so as to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character in the game by observing the sight.
Wherein the probe parameters include probe distance, and/or probe direction.
Here, in order to avoid the situation that the player performs misoperation, different controls for adjusting the probe parameters can be set for the player respectively, for example, a distance adjustment control for adjusting the probe distance of the virtual character in the probe direction and a functional control for adjusting the probe distance of the virtual character in the probe direction, so that the player can use different controls to adjust different probe parameters, and the situation that the player performs misoperation in a complicated touch mode is avoided.
Here, the player can realize adjustment of different parameters through different controls, so that the player can choose to adjust the probe direction and the probe distance of the virtual character simultaneously, and can also choose to adjust the probe direction or the probe distance of the virtual character only.
In one embodiment, the determining the third probe parameter of the virtual character in response to the sixth touch operation of the second parameter adjustment control includes determining a second probe distance of the virtual character in response to the seventh touch operation of the distance adjustment control in the probe mode, and/or adjusting the target direction in response to the eighth touch operation of the function control in the probe mode, and determining the third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
In the method, in a probe mode, a second probe distance of the virtual character of the player in the direction of the probe in the game scene after being adjusted by the touch distance adjusting control is determined in response to a seventh touch operation of the player on the distance adjusting control, and/or in the probe mode, a target direction of the player after being adjusted by the functional control is determined in response to an eighth touch operation of the player on the functional control.
Further, a third probe parameter of the virtual character may be determined based on the determined second probe distance and/or the adjusted target direction.
In one embodiment, one end of the distance adjustment control is close to the probe control, the other end of the distance adjustment control is close to the functional control, the seventh touch operation is a fourth sliding operation, the response is directed to a sixth touch operation of the second parameter adjustment control, and determining the third probe parameter of the virtual character comprises determining a real-time sliding position of the second sliding operation in response to the second sliding operation of the distance adjustment control, and determining the third probe parameter of the virtual character in response to a real-time distance between the real-time sliding position and the functional control or the probe control.
In order to facilitate the control of the virtual character by the player, when the probe control, the distance adjustment control and the function control are set, one end of the distance adjustment control can be close to the probe control, and the other end of the distance adjustment control can be close to the function control, wherein the end of the distance adjustment control close to the probe control can be connected with the probe control or can be a certain distance between one end of the distance adjustment control and the probe control, and the other end of the distance adjustment control close to the function control can be a certain distance between the other end of the distance adjustment control and the function control.
In the method, the adjustment of the virtual character probe parameters can be achieved through sliding operation on the distance adjustment control, specifically, the real-time sliding position of the second sliding operation is determined in response to the second sliding operation applied by the player aiming at the distance adjustment control, and the third probe parameters of the virtual character in the game scene after the adjustment of the player through the touch distance adjustment control are determined according to the real-time sliding position of the second sliding operation and the real-time distance between the functional control or the probe control.
In order to enable the player to terminate the probe behavior of the virtual character in time, it may be determined whether to terminate the probe behavior of the virtual character according to a real-time distance between a real-time slide position of the second slide operation and the function control.
In one embodiment, the control method further comprises terminating probe behavior of the virtual character in response to the real-time sliding position and the real-time distance between the function controls being less than a preset distance, and restoring display content in the graphical user interface to a screen of a game scene in front of the virtual character probe.
In the step, when the player applies the second sliding operation to the distance adjusting control and the real-time distance between the real-time sliding position of the second sliding operation and the functional control is smaller than the preset distance, the probe action of the virtual character in the game scene is stopped, and meanwhile, in order to ensure that the display picture seen by the player is consistent with the picture observed by the virtual character in the game for observing the sight, the probe action of the virtual character is stopped, and meanwhile, the content displayed in the graphical user interface is restored to the picture of the game scene before the virtual character probe.
For example, referring to fig. 4, fig. 4 is a second graphical user interface according to an embodiment of the present application. As shown in fig. 4, a probe control 4b capable of pointing to a target direction of a dangerous event is displayed in the graphical user interface 4a, a player touches the probe control 4b and enters a probe mode, at this time, a functional control 4c originally used for controlling the movement of the virtual character 4f in the game scene is displayed in the probe mode, a distance adjustment control 4d is displayed, one end 4d-1 of the distance adjustment control 4d is connected to the probe control 4b, the other end 4d-2 of the distance adjustment control 4d is connected to the functional control 4c, and when a real-time sliding position 4e of a player for a second sliding operation of the distance adjustment control is close to the functional control 4c, that is, a real-time distance between the real-time sliding position 4e and the functional control 4c is smaller than a preset distance, the probe behavior of the virtual character 4f is terminated.
The control method comprises the steps of responding to a first touch operation aiming at a functional control, controlling the virtual role to move in the game scene, responding to dangerous events occurring around the virtual role in the state that the observation sight of the virtual role is blocked by the barrier, displaying a probe used for pointing to the target direction of the dangerous events in the graphical user interface according to the relative direction between the virtual role and the dangerous events, responding to a second touch operation aiming at the probe control, controlling the virtual role to conduct a probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction. Therefore, the player can control the virtual character to the dangerous direction probe through the probe control, and the adjustment of the probe direction of the player in the probe process of the virtual character can be reduced, so that the interaction process between the player and the terminal equipment can be reduced, and the response frequency of the terminal equipment can be reduced.
Referring to fig. 5 and 6, fig. 5 is a schematic structural diagram of a control device according to an embodiment of the present application, and fig. 6 is a schematic structural diagram of a control device according to an embodiment of the present application. In the graphical user interface, there are displayed a part or all of the game scene, a barrier capable of blocking the view of the virtual character, and a function control, as shown in fig. 5, the control device 500 includes:
The moving module 501 is configured to control the virtual character to move in a game scene in response to a first touch operation for the functional control;
the control display module 502 is configured to, in a state where the view line of the virtual character is blocked by the barrier, respond to a dangerous event occurring around the virtual character, and display, in the graphical user interface, a probe control for pointing to a target direction in which the dangerous event is located according to a relative direction between the virtual character and the dangerous event;
And the picture adjusting module 503 is configured to control the virtual character to perform a probe in response to a second touch operation for the probe control, and adjust a picture of the game scene displayed in the graphical user interface according to the target direction.
Further, as shown in fig. 6, the control device 500 further includes a first parameter adjustment module 504, where the first parameter adjustment module 504 is configured to:
Determining a first probe parameter of the virtual character in response to a third touch operation aiming at the probe control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The screen adjustment module 503 is configured to, when configured to respond to a second touch operation for the probe control, control the virtual character to perform a probe, and adjust a screen of a game scene displayed in the graphical user interface according to the target direction, the screen adjustment module 503 is configured to:
and responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
Further, as shown in fig. 6, the second touch operation includes a first sliding operation, and the screen adjustment module 503 is configured to, when configured to respond to the second touch operation for the probe control, control the virtual character to perform the 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:
responding to the start of a first sliding operation of 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;
The control device 500 further comprises a second parameter adjustment module 505, the second parameter adjustment module 505 being configured to:
determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, wherein the real-time probe parameters comprise a real-time probe distance and/or a real-time probe direction;
And adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
Further, as shown in fig. 6, the control apparatus 500 further includes a first behavior termination module 506, where the first behavior termination module 506 is configured to:
terminating probe behavior of the virtual character in response to the end of the first sliding operation, restoring display content in the graphical user interface to a view of a game scene preceding the virtual character probe, or,
And responding to a fourth touch operation aiming at a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
Further, as shown in FIG. 6, the graphical user interface displays a first parameter adjustment control, and the control device 500 further includes a third parameter adjustment module 507, where the third parameter adjustment module 507 is configured to:
determining a second probe parameter of the virtual character in response to a fifth touch operation of the first parameter adjustment control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The screen adjustment module 503 is configured to, when configured to respond to a second touch operation for the probe control, control the virtual character to perform a probe, and adjust a screen of a game scene displayed in the graphical user interface according to the target direction, the screen adjustment module 503 is configured to:
And responding to a second touch operation aiming at the probe control, controlling the virtual character to probe according to the second probe parameter, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
Further, when the screen adjustment module 503 is configured to control the virtual character to perform a probe in response to a second touch operation for the probe control, and adjust a screen of a game scene displayed in the gui according to the target direction, the screen adjustment module 503 is configured to:
Responding to a second touch operation aiming at the probe control, entering a probe mode, controlling the virtual character to perform probe, adjusting the picture 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 comprises a distance adjustment control and a functional control;
And responding to a sixth touch operation aiming at the second parameter adjustment control, determining a third probe parameter of the virtual character, and adjusting a picture of a game scene displayed in the graphical user interface according to the third probe parameter, wherein the probe parameter comprises a probe distance and/or a probe direction.
Further, when the screen adjustment module 503 is configured to determine the third probe parameter of the virtual character in response to the sixth touch operation for the second parameter adjustment control, the screen adjustment module 503 is configured to:
Determining a second probe distance of the virtual character in response to a seventh touch operation for the distance adjustment control in the probe mode, and/or adjusting the target direction in response to an eighth touch operation for the functional control in the probe mode;
And determining a third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
Further, one end of the distance adjustment control is close to the probe control, the other end of the distance adjustment control is close to the functional control, the seventh touch operation is a fourth sliding operation, and when the screen adjustment module 503 is configured to respond to a sixth touch operation for the second parameter adjustment control, the screen adjustment module 503 is configured to:
Determining a real-time sliding position of a second sliding operation for the distance adjustment control in response to the second sliding operation;
and determining a third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the functional control or the probe control.
Further, as shown in fig. 6, the control apparatus 500 includes a second behavior termination module 508, where the second behavior termination module 508 is configured to:
and stopping the probe action of the virtual character and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe in response to the real-time sliding position and the real-time distance between the functional controls being smaller than the preset distance.
Further, the dangerous event includes at least one of:
a combat event exists within a preset range around the virtual character, and/or,
An hostile virtual character is within the attack scope of the virtual character.
The control device provided by the embodiment of the application has the advantages that a part or all of game scenes, a blocking object capable of blocking the observation sight of the virtual character and a functional control are displayed in a graphical user interface, the control method comprises the steps of responding to a first touch operation aiming at the functional control, controlling the virtual character to move in the game scenes, responding to dangerous events occurring around the virtual character when the observation sight of the virtual character is blocked by the blocking object, displaying a probe used for pointing to the target direction of the dangerous events in the graphical user interface according to the relative direction between the virtual character and the dangerous events, responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scenes displayed in the graphical user interface according to the target direction. Therefore, the player can control the virtual character to the dangerous direction probe through the probe control, and the adjustment of the probe direction of the player in the probe process of the virtual character can be reduced, so that the interaction process between the player and the terminal equipment can be reduced, and the response frequency of the terminal equipment can be reduced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 7, the electronic device 700 includes a processor 710, a storage medium 720 and a bus 730, the storage medium 720 storing machine-readable instructions executable by the processor 710, the processor 710 and the storage medium 720 communicating through the bus 730 when the electronic device runs a control method as in the embodiment, the processor 710 executing the machine-readable instructions, a preamble of the processor 710 method item to perform the steps of:
Responding to a first touch operation aiming at the functional control, and controlling the virtual character to move in a game scene;
in a state that the observation sight of the virtual character is blocked by the barrier, responding to a dangerous event occurring around the virtual character, and displaying a probe control used for pointing to the target direction of the dangerous event in the graphical user interface according to the relative direction between the virtual character and the dangerous event;
and responding to a second touch operation for 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.
In one possible embodiment, the processor 710 further performs:
Determining a first probe parameter of the virtual character in response to a third touch operation aiming at the probe control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The processor 710, when configured to perform the second touch operation of the response to the probe control, controls the virtual character to perform the probe, and adjusts the screen of the game scene displayed in the graphical user interface according to the target direction, is specifically configured to:
and responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
In a possible implementation, the processor 710 is specifically configured to, when the second touch operation performed by the processor is performed by the second touch operation performed by the processor, control the virtual character to perform the probe in response to the second touch operation of the probe control, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction:
responding to the start of a first sliding operation of 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;
the processor 710 also performs:
determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, wherein the real-time probe parameters comprise a real-time probe distance and/or a real-time probe direction;
And adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
In one possible embodiment, the processor 710 further performs:
terminating probe behavior of the virtual character in response to the end of the first sliding operation, restoring display content in the graphical user interface to a view of a game scene preceding the virtual character probe, or,
And responding to a fourth touch operation aiming at a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
In one possible embodiment, the processor 710 further performs:
determining a second probe parameter of the virtual character in response to a fifth touch operation of the first parameter adjustment control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The processor 710, when configured to perform the second touch operation of the response to the probe control, controls the virtual character to perform the probe, and adjusts the screen of the game scene displayed in the graphical user interface according to the target direction, is specifically configured to:
And responding to a second touch operation aiming at the probe control, controlling the virtual character to probe according to the second probe parameter, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
In a possible implementation, the processor 710 is specifically configured to, when configured to perform the responding to the second touch operation of the probe control, control the virtual character to perform the probe, and adjust the screen of the game scene displayed in the graphical user interface according to the target direction:
Responding to a second touch operation aiming at the probe control, entering a probe mode, controlling the virtual character to perform probe, adjusting the picture 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 comprises a distance adjustment control and a functional control;
And responding to a sixth touch operation aiming at the second parameter adjustment control, determining a third probe parameter of the virtual character, and adjusting a picture of a game scene displayed in the graphical user interface according to the third probe parameter, wherein the probe parameter comprises a probe distance and/or a probe direction.
In a possible embodiment, the processor 710 is specifically configured to, when configured to perform the sixth touch operation of the response to the second parameter adjustment control, determine a third probe parameter of the virtual character:
Determining a second probe distance of the virtual character in response to a seventh touch operation for the distance adjustment control in the probe mode, and/or adjusting the target direction in response to an eighth touch operation for the functional control in the probe mode;
And determining a third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
In a possible embodiment, the processor 710 is specifically configured to, when configured to perform the sixth touch operation of the response to the second parameter adjustment control, determine a third probe parameter of the virtual character:
Determining a real-time sliding position of a second sliding operation for the distance adjustment control in response to the second sliding operation;
and determining a third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the functional control or the probe control.
In one possible embodiment, the processor 710 further performs:
and stopping the probe action of the virtual character and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe in response to the real-time sliding position and the real-time distance between the functional controls being smaller than the preset distance.
In one possible embodiment, the dangerous event includes at least one of:
a combat event exists within a preset range around the virtual character, and/or,
An hostile virtual character is within the attack scope of the virtual character.
According to the method, if the virtual character controlled by the player is in the condition that the observation sight is blocked, a probe control capable of controlling the virtual character to the probe in the direction of the dangerous event can be provided for the player according to the relative direction between the virtual character and the dangerous event, the player can control the probe in the direction of the dangerous event through the touch probe control, meanwhile, the probe habit and the observation preference difference of different players are considered, in order to avoid the situation that the player temporarily adjusts the probe distance and the probe direction in the process of controlling the virtual character probe, the operation difficulty of the player is increased, the possibility of adjusting the probe parameters of the virtual character can be provided for the player before the player controls the virtual character to perform the probe, further, the number of virtual controls displayed in the graphical user interface can be reduced through multiplexing of the probe control, the situation that the number of virtual controls displayed in the graphical user interface is too large, the situation that the position of the game screen is changed is avoided is considered, and in order to enable the player to monitor the dangerous event more comprehensively, after the player controls the probe, the probe parameters of the virtual character can be adjusted through the probe control, the probe control can be still adapted to the situation that the number of virtual events in the graphical user interface is not increased.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor when the computer program is executed by the processor, and the processor executes the following steps:
Responding to a first touch operation aiming at the functional control, and controlling the virtual character to move in a game scene;
in a state that the observation sight of the virtual character is blocked by the barrier, responding to a dangerous event occurring around the virtual character, and displaying a probe control used for pointing to the target direction of the dangerous event in the graphical user interface according to the relative direction between the virtual character and the dangerous event;
and responding to a second touch operation for 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.
In one possible embodiment, the processor further performs:
Determining a first probe parameter of the virtual character in response to a third touch operation aiming at the probe control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The processor is used for controlling the virtual character to perform a probe when executing the second touch operation of the response to the probe control, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction, and is specifically used for:
and responding to a second touch operation aiming at the probe control, controlling the virtual character to perform probe, and adjusting the picture of the game scene displayed in the graphical user interface according to the first probe parameter and the target direction.
In one possible implementation, the processor is configured to, when the second touch operation is performed, control the virtual character to perform the probe in response to the second touch operation of the probe control, and adjust a screen of a game scene displayed in the graphical user interface according to the target direction, specifically:
responding to the start of a first sliding operation of 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;
The processor also performs:
determining real-time probe parameters of the virtual character according to the real-time touch position of the first sliding operation in the sliding process of the first sliding operation, wherein the real-time probe parameters comprise a real-time probe distance and/or a real-time probe direction;
And adjusting the picture of the game scene displayed in the graphical user interface in real time according to the real-time probe parameters.
In one possible embodiment, the processor further performs:
terminating probe behavior of the virtual character in response to the end of the first sliding operation, restoring display content in the graphical user interface to a view of a game scene preceding the virtual character probe, or,
And responding to a fourth touch operation aiming at a behavior termination control, terminating the probe behavior of the virtual character, and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe.
In one possible embodiment, the processor further performs:
determining a second probe parameter of the virtual character in response to a fifth touch operation of the first parameter adjustment control, wherein the probe parameter comprises a probe distance and/or a probe direction;
The processor is used for controlling the virtual character to perform a probe when executing the second touch operation of the response to the probe control, and adjusting the picture of the game scene displayed in the graphical user interface according to the target direction, and is specifically used for:
And responding to a second touch operation aiming at the probe control, controlling the virtual character to probe according to the second probe parameter, and adjusting the picture of the game scene displayed in the graphical user interface according to the second probe parameter and the target direction.
In a possible implementation, the processor, when configured to perform the second touch operation of the response to the probe control, controls the virtual character to perform the probe, and adjusts the screen of the game scene displayed in the graphical user interface according to the target direction, is specifically configured to:
Responding to a second touch operation aiming at the probe control, entering a probe mode, controlling the virtual character to perform probe, adjusting the picture 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 comprises a distance adjustment control and a functional control;
And responding to a sixth touch operation aiming at the second parameter adjustment control, determining a third probe parameter of the virtual character, and adjusting a picture of a game scene displayed in the graphical user interface according to the third probe parameter, wherein the probe parameter comprises a probe distance and/or a probe direction.
In a possible embodiment, the processor, when configured to perform the sixth touch operation of the response to the second parameter adjustment control, is specifically configured to:
Determining a second probe distance of the virtual character in response to a seventh touch operation for the distance adjustment control in the probe mode, and/or adjusting the target direction in response to an eighth touch operation for the functional control in the probe mode;
And determining a third probe parameter of the virtual character according to the second probe distance and/or the adjusted target direction.
In a possible embodiment, the processor, when configured to perform the sixth touch operation of the response to the second parameter adjustment control, is specifically configured to:
Determining a real-time sliding position of a second sliding operation for the distance adjustment control in response to the second sliding operation;
and determining a third probe parameter of the virtual character in response to the real-time distance between the real-time sliding position and the functional control or the probe control.
In one possible embodiment, the process further performs:
and stopping the probe action of the virtual character and restoring the display content in the graphical user interface to the picture of the game scene before the virtual character probe in response to the real-time sliding position and the real-time distance between the functional controls being smaller than the preset distance.
In one possible embodiment, the dangerous event includes at least one of:
a combat event exists within a preset range around the virtual character, and/or,
An hostile virtual character is within the attack scope of the virtual character.
According to the method, if the virtual character controlled by the player is in the condition that the observation sight is blocked, a probe control capable of controlling the virtual character to the probe in the direction of the dangerous event can be provided for the player according to the relative direction between the virtual character and the dangerous event, the player can control the probe in the direction of the dangerous event through the touch probe control, meanwhile, the probe habit and the observation preference difference of different players are considered, in order to avoid the situation that the player temporarily adjusts the probe distance and the probe direction in the process of controlling the virtual character probe, the operation difficulty of the player is increased, the possibility of adjusting the probe parameters of the virtual character can be provided for the player before the player controls the virtual character to perform the probe, further, the number of virtual controls displayed in the graphical user interface can be reduced through multiplexing of the probe control, the situation that the number of virtual controls displayed in the graphical user interface is too large, the situation that the position of the game screen is changed is avoided is considered, and in order to enable the player to monitor the dangerous event more comprehensively, after the player controls the probe, the probe parameters of the virtual character can be adjusted through the probe control, the probe control can be still adapted to the situation that the number of virtual events in the graphical user interface is not increased.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may 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 may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It should be noted that the foregoing embodiments are merely illustrative embodiments of the present application, and not restrictive, and the scope of the application is not limited to the embodiments, and although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that any modification, variation or substitution of some of the technical features of the embodiments described in the foregoing embodiments may be easily contemplated within the scope of the present application, and the spirit and scope of the technical solutions of the embodiments do not depart from the spirit and scope of the embodiments of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (12)

Translated fromChinese
1.一种控制方法,其特征在于,图形用户界面中显示有部分或全部的游戏场景、能够对虚拟角色的观察视线造成遮挡的阻挡物以及功能控件;所述控制方法包括:1. A control method, characterized in that a graphical user interface displays part or all of a game scene, obstacles that can block the line of sight of a virtual character, and functional controls; the control method comprises:响应针对所述功能控件的第一触控操作,控制所述虚拟角色在游戏场景中移动;In response to a first touch operation on the functional control, controlling the virtual character to move in the game scene;在所述虚拟角色的观察视线受到所述阻挡物遮挡的状态下,响应于所述虚拟角色周围所发生的危险事件,根据所述虚拟角色与所述危险事件之间的相对方向,在所述图形用户界面中显示用于指向所述危险事件所在目标方向的探头控件;In a state where 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 a relative direction between the virtual character and the dangerous event;响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面;In response to a second touch operation on the probe control, controlling the virtual character to probe, and adjusting a picture of the game scene displayed in the graphical user interface according to the target direction;所述响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面,包括:The step of responding to the second touch operation on the probe control, controlling the virtual character to probe, and adjusting the image 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 image 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, a third probe parameter of the virtual character is determined, and the image of the game scene displayed in the graphical user interface is adjusted according to the third probe parameter; wherein the probe parameter includes a probe distance and/or a probe direction.2.根据权利要求1所述的控制方法,其特征在于,所述控制方法还包括:2. The control method according to claim 1, further comprising:响应针对所述探头控件的第三触控操作,确定所述虚拟角色的第一探头参数;其中,所述探头参数包括探头距离,和/或探头方向;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 responding to the second touch operation on the probe control, controlling the virtual character to probe, and adjusting the image 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, the virtual character is controlled to probe, and the picture of the game scene displayed in the graphical user interface is adjusted according to the first probe parameter and the target direction.3.根据权利要求1所述的控制方法,其特征在于,所述第二触控操作包括第一滑动操作;所述响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面,包括:3. The control method according to claim 1, wherein the second touch operation comprises a first sliding operation; and the step of responding to the second touch operation on the probe control, controlling the virtual character to probe, and adjusting the game scene displayed in the graphical user interface according to the target direction, comprises:响应针对于所述探头控件的第一滑动操作的开始,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面;In response to the start of a first sliding operation on the probe control, controlling the virtual character to probe, and adjusting a picture 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 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 real-time probe distance and/or real-time probe direction;根据所述实时探头参数实时调整所述图形用户界面中所显示的游戏场景的画面。The picture of the game scene displayed in the graphical user interface is adjusted in real time according to the real-time probe parameters.4.根据权利要求3所述的控制方法,其特征在于,所述控制方法还包括:4. The control method according to claim 3, further comprising:响应所述第一滑动操作的结束,终止所述虚拟角色的探头行为,将所述图形用户界面中的显示内容恢复至所述虚拟角色探头之前的游戏场景的画面;或,In response to the end of the first sliding operation, the virtual character's peeking behavior is terminated, and the display content in the graphical user interface is restored to the screen of the game scene before the virtual character peeking; or响应针对行为终止控件的第四触控操作,终止所述虚拟角色的探头行为,将所述图形用户界面中的显示内容恢复至所述虚拟角色探头之前的游戏场景的画面。In response to a fourth touch operation on the behavior termination control, the peeking behavior of the virtual character is terminated, and the display content in the graphical user interface is restored to the screen of the game scene before the virtual character peeks.5.根据权利要求1所述的控制方法,其特征在于,所述图形用户界面中显示有第一参数调整控件;所述控制方法还包括: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 comprises:响应针对于所述第一参数调整控件的第五触控操作,确定所述虚拟角色的第二探头参数;其中,所述探头参数包括探头距离,和/或探头方向;In response to a fifth touch operation on the first parameter adjustment control, determining a second probe parameter of the virtual character; wherein the probe parameter includes a probe distance and/or a probe direction;所述响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面,包括:The step of responding to the second touch operation on the probe control, controlling the virtual character to probe, and adjusting the image 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, the virtual character is controlled to probe according to the second probe parameter, and the picture of the game scene displayed in the graphical user interface is adjusted according to the second probe parameter and the target direction.6.根据权利要求1所述的控制方法,其特征在于,所述响应针对于所述第二参数调整控件的第六触控操作,确定所述虚拟角色的第三探头参数,包括:6. The control method according to claim 1, wherein determining the third probe parameter of the virtual character in response to the sixth touch operation on the second parameter adjustment control comprises:在所述探头模式下,响应针对于所述距离调节控件的第七触控操作,确定所述虚拟角色的第二探头距离;和/或,在所述探头模式下,响应针对所述功能控件的第八触控操作,调整所述目标方向;In the probe mode, in response to a seventh touch operation on the distance adjustment control, determining a second probe distance of the virtual character; and/or, in the probe mode, in response to an eighth touch operation on the function control, adjusting the target direction;根据所述第二探头距离和/或调整后的目标方向,确定所述虚拟角色的第三探头参数。A third probe parameter of the virtual character is determined according to the second probe distance and/or the adjusted target direction.7.根据权利要求6所述的控制方法,其特征在于,所述距离调节控件的一端靠近所述探头控件,所述距离调节控件的另一端靠近所述功能控件;所述第七触控操作为第四滑动操作;所述响应针对于所述第二参数调整控件的第六触控操作,确定所述虚拟角色的第三探头参数,包括:7. The control method according to claim 6, wherein one end of the distance adjustment control is adjacent to the probe control, and the other end of the distance adjustment control is adjacent to the function control; the seventh touch operation is a fourth sliding operation; and determining the third probe parameter of the virtual character in response to the sixth touch operation on the second parameter adjustment control comprises:响应针对所述距离调节控件的第二滑动操作,确定所述第二滑动操作的实时滑动位置;In response to a second sliding operation on the distance adjustment control, determining a real-time sliding position of the second sliding operation;响应所述实时滑动位置与所述功能控件或所述探头控件之间的实时距离,确定所述虚拟角色的第三探头参数。In response to the real-time distance between the real-time sliding position and the functional control or the probe control, a third probe parameter of the virtual character is determined.8.根据权利要求7所述的控制方法,其特征在于,所述控制方法还包括:8. The control method according to claim 7, further comprising:响应所述实时滑动位置与所述功能控件之间的实时距离小于预设距离,终止所述虚拟角色的探头行为,将所述图形用户界面中的显示内容恢复至所述虚拟角色探头之前的游戏场景的画面。In response to the real-time distance between the real-time sliding position and the function control being less than a preset distance, the virtual character's probe behavior is terminated, and the display content in the graphical user interface is restored to the screen of the game scene before the virtual character probes.9.根据权利要求1所述的控制方法,其特征在于,所述危险事件包括以下至少之一:9. The control method according to claim 1, wherein the dangerous event includes at least one of the following:所述虚拟角色周围预设范围内存在战斗事件;和/或,There is a combat 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.一种控制装置,其特征在于,图形用户界面中显示有部分或全部的游戏场景、能够对虚拟角色的观察视线造成遮挡的阻挡物以及功能控件;所述控制装置包括:10. A control device, characterized in that a graphical user interface displays part or all of a game scene, obstacles that can block the line of sight of a virtual character, and functional controls; the control device comprises:移动模块,用于响应针对所述功能控件的第一触控操作,控制所述虚拟角色在游戏场景中移动;A movement module, configured to respond to a first touch operation on the functional control and control the movement of the virtual character in the game scene;控件显示模块,用于在所述虚拟角色的观察视线受到所述阻挡物遮挡的状态下,响应于所述虚拟角色周围所发生的危险事件,根据所述虚拟角色与所述危险事件之间的相对方向,在所述图形用户界面中显示用于指向所述危险事件所在目标方向的探头控件;a control display module for displaying, in the graphical user interface, a probe control pointing in the target direction of the dangerous event in response to a dangerous event occurring around the virtual character when the virtual character's line of sight is blocked by the obstacle, and according to the relative direction between the virtual character and the dangerous event;画面调整模块,用于响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面;a screen adjustment module, 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;所述画面调整模块在用于响应针对所述探头控件的第二触控操作,控制所述虚拟角色进行探头,并根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面时,所述画面调整模块用于:When the screen adjustment module is used to respond to the 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 is used to:响应针对于所述探头控件的第二触控操作,进入探头模式,控制所述虚拟角色进行探头,根据所述目标方向调整所述图形用户界面中所显示的游戏场景的画面,并在所述图形用户界面中显示第二参数调整控件;其中,所述第二参数调整控件包括距离调节控件和功能控件;In response to a second touch operation on the probe control, entering a probe mode, controlling the virtual character to probe, adjusting the image 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, a third probe parameter of the virtual character is determined, and the image of the game scene displayed in the graphical user interface is adjusted according to the third probe parameter; wherein the probe parameter includes a probe distance and/or a probe direction.11.一种电子设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过所述总线进行通信,所述机器可读指令被所述处理器运行时执行如权利要求1至9任一所述的控制方法的步骤。11. An electronic device, characterized in that it comprises: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate with each other through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the control method according to any one of claims 1 to 9.12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至9任一所述的控制方法的步骤。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 executed by a processor, the steps of the control method according to any one of claims 1 to 9 are executed.
CN202210344911.0A2022-03-312022-03-31Control method, control device, electronic equipment and readable storage mediumActiveCN114917579B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210344911.0ACN114917579B (en)2022-03-312022-03-31Control method, control device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210344911.0ACN114917579B (en)2022-03-312022-03-31Control method, control device, electronic equipment and readable storage medium

Publications (2)

Publication NumberPublication Date
CN114917579A CN114917579A (en)2022-08-19
CN114917579Btrue CN114917579B (en)2025-07-29

Family

ID=82804774

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210344911.0AActiveCN114917579B (en)2022-03-312022-03-31Control method, control device, electronic equipment and readable storage medium

Country Status (1)

CountryLink
CN (1)CN114917579B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118059465A (en)*2024-03-222024-05-24网易(杭州)网络有限公司Virtual character control method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108144300A (en)*2017-12-262018-06-12网易(杭州)网络有限公司Information processing method, electronic equipment and storage medium in game
CN113827967A (en)*2021-09-242021-12-24网易(杭州)网络有限公司Game control method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109876458A (en)*2019-04-042019-06-14网易(杭州)网络有限公司Game role control method and device
CN113457127A (en)*2021-07-212021-10-01网易(杭州)网络有限公司Control method and device of virtual role, electronic equipment and storage medium
CN113797557B (en)*2021-09-242024-09-20网易(杭州)网络有限公司Game control method and device, electronic equipment and storage medium
CN114225372B (en)*2021-10-202023-06-27腾讯科技(深圳)有限公司Virtual object control method, device, terminal, storage medium and program product

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108144300A (en)*2017-12-262018-06-12网易(杭州)网络有限公司Information processing method, electronic equipment and storage medium in game
CN113827967A (en)*2021-09-242021-12-24网易(杭州)网络有限公司Game control method and device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN114917579A (en)2022-08-19

Similar Documents

PublicationPublication DateTitle
CN114510184B (en)Target locking method and device, electronic equipment and readable storage medium
CN113069767B (en)Virtual interaction method, device, terminal and storage medium
CN113893540B (en)Information prompting method and device, storage medium and electronic equipment
KR20140040097A (en)Systems and methods for managing, selecting, and updating visual interface content using display-enabled keyboards, keypads, and/or other user input devices
CN112843716B (en)Virtual object prompting and viewing method and device, computer equipment and storage medium
CN113082709B (en) Information prompt method, device, storage medium and computer equipment in game
CN116531756A (en)Game skill interaction method and device, storage medium and electronic equipment
CN114344893A (en)Information processing method and device in game, electronic equipment and readable storage medium
CN114917579B (en)Control method, control device, electronic equipment and readable storage medium
WO2024011785A1 (en)Information processing method and apparatus, and electronic device and readable storage medium
WO2025161998A1 (en)Game interaction method and apparatus, computer device and storage medium
JP6211667B1 (en) System, method, and program for providing game
WO2023231557A1 (en)Interaction method for virtual objects, apparatus for virtual objects, and device, storage medium and program product
CN117122896A (en)Virtual character control method, device, equipment and storage medium
CN115671720B (en)Skill adjustment method, skill adjustment device, computer equipment and storage medium
CN119345683B (en) Game interaction method, device, electronic device and storage medium
WO2025050984A1 (en)Interface display control method and apparatus, device and medium
CN116966566A (en)Method, device, equipment and storage medium for controlling virtual characters in game
CN119499640A (en) Game interaction method, device, electronic device and storage medium
CN117122924A (en)Information processing method, electronic equipment and readable storage medium
JP6309391B2 (en) Video game processing program and video game processing system
CN120346524A (en)Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN120242486A (en) Object permission control method, electronic device and readable storage medium in game
CN116850594A (en)Game interaction method, game interaction device, computer equipment and computer readable storage medium
HK40048766B (en)Virtual interaction method and apparatus, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp