Game interaction control method and device and electronic equipment

By determining and displaying interactive targets in the graphics user interface of the game, and responding to triggering the operation execution of the corresponding functions, the problem of design pressure and player memory burden of multiple interaction functions is solved, and the game operation experience is improved.

CN119367764APending Publication Date: 2025-01-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411195346.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In games, when there are many types of interactive functions, it is necessary to configure an interactive operation method for each interactive function, resulting in high design pressure and heavy memory burden for players, affecting the game operation experience.

Method used

By determining multiple interaction targets corresponding to the interactive function of the controlled virtual character in the graphic user interface, the alternative and final interactive targets are determined based on the preset rules, and the identification information is displayed in the interface to respond to the corresponding interaction function of the operation.

Benefits of technology

This method reduces the design demand for interactive operation methods, reduces the burden of player's memory, improves the game operation experience, and the same trigger operation can be used to achieve different interactive functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119367764A_ABST
    Figure CN119367764A_ABST
Patent Text Reader

Abstract

The invention provides an interaction control method and device for a game and electronic equipment. The method comprises the following steps: determining a plurality of interaction targets respectively corresponding to more than two interaction functions of a controlled virtual character from a first scene picture; for each interaction function, determining an alternative interaction target from a plurality of interaction targets corresponding to the interaction function based on a first preset rule corresponding to the interaction function; determining a first final interaction target from more than two alternative interaction targets based on a second preset rule, and displaying identification information of the first final interaction target in the graphical user interface; and in response to a preset trigger operation, controlling the controlled virtual character to execute an interaction function corresponding to the first final interaction target on the first final interaction target. By means of the mode, the distribution pressure of limited interactive operation modes can be relieved, the design demand for the interactive operation modes in the game is reduced, meanwhile, the burden of a player for memorizing a large amount of interactive operation is reduced, and the game operation experience of the player is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a method, device and electronic device for interactive control of games. Background Art

[0002] In the game, players can interact with the game through preset interactive operations. In the related art, when there are many types of interactive functions in the game scene, it is necessary to configure an interactive operation method for each interactive function used by the player for triggering, resulting in a large demand for the design of interactive operation methods in a game, increasing the design pressure of interactive operation methods, and also causing the burden of players to remember a large number of interactive operations, affecting the player's game operation experience. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a game interactive control method, device and electronic device to reduce the design requirements for interactive operation methods in the game, reduce the burden of players memorizing a large number of interactive operations, and improve the player's game operation experience.

[0004] In a first aspect, an embodiment of the present invention provides an interactive control method for a game, providing a graphical user interface through a terminal device; the graphical user interface includes a first scene screen of a game scene; the game scene includes a controlled virtual character, and the method includes: determining from the first scene screen a plurality of interactive targets corresponding to two or more interactive functions of the controlled virtual character; for each interactive function, determining an alternative interactive target from the plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; determining a first final interactive target from the two or more alternative interactive targets based on a second preset rule, and displaying identification information of the first final interactive target in the graphical user interface, the identification information being used to characterize the first final interactive target; and controlling the virtual character to execute the interactive function corresponding to the first final interactive target on the first final interactive target in response to a preset trigger operation.

[0005] In a second aspect, an embodiment of the present disclosure further provides an interactive control device for a game, the device comprising: a first determination module, used to determine from the first scene screen a plurality of interactive targets corresponding to two or more interactive functions of the controlled virtual character; a second determination module, used to determine, for each interactive function, an alternative interactive target from the multiple interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; a first display module, used to determine a first final interactive target from the two or more alternative interactive targets based on a second preset rule, and display identification information of the first final interactive target in the graphical user interface, the identification information being used to characterize the first final interactive target; a first control module, used to respond to a preset trigger operation, and control the controlled virtual character to perform the interactive function corresponding to the first final interactive target on the first final interactive target.

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of the above-mentioned game.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above-mentioned game.

[0008] The embodiments of the present invention bring the following beneficial effects:

[0009] The interactive control method, device and electronic device of the above-mentioned game determine multiple interactive targets corresponding to more than two interactive functions of the controlled virtual character from the first scene screen; for each interactive function, determine alternative interactive targets from the multiple interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; determine a first final interactive target from the more than two alternative interactive targets based on a second preset rule, and display identification information of the first final interactive target in a graphical user interface, the identification information being used to characterize the first final interactive target; in response to a preset trigger operation, control the virtual character to execute the interactive function corresponding to the first final interactive target on the first final interactive target.

[0010] In this method, according to the first scene screen of the game scene, multiple interactive targets corresponding to each of the two or more interactive functions of the controlled virtual character are determined, and then, for each interactive function, the candidate interactive target is determined from the multiple interactive targets corresponding to the interactive function according to the first preset rule corresponding to the interactive function, and then the first final interactive target is determined from the two or more candidate interactive targets according to the second preset rule. After the player performs the preset trigger operation, the controlled virtual character can be controlled to perform the interactive function corresponding to the first final interactive target on the first final interactive target. In this method, the first final interactive target can be determined from the first scene screen according to the first preset rule corresponding to the interactive function and the second preset rule. No matter which interactive function the first final interactive target corresponds to, the controlled virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to realize different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods, reduce the design requirements for interactive operation methods in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the game operation experience of players.

[0011] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

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

[0013] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0014] Figure 1 A flowchart of an interactive control method for a game provided by an embodiment of the present disclosure;

[0015] Figure 2 A schematic diagram of displaying identification information provided by an embodiment of the present disclosure;

[0016] Figure 3 A schematic diagram of a second scene screen provided by an embodiment of the present disclosure;

[0017] Figure 4A schematic diagram of another second scene picture provided by an embodiment of the present disclosure;

[0018] Figure 5 A schematic diagram of an interactive control device for a game provided by an embodiment of the present disclosure;

[0019] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0021] Based on the above, the embodiments of the present disclosure provide a method, device and electronic device for interactive control of a game, and the technology can be applied to games with multiple interactive functions preset.

[0022] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interactive system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interactive control method of the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. 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, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

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

[0024] In a possible implementation, the disclosed embodiment provides a method for interactive control of a game, providing a graphical user interface through a terminal device; wherein the terminal device may be the local terminal device mentioned above, or may be a client device in the cloud interactive system mentioned above. A graphical user interface is provided through the terminal device, and the graphical user interface may display interface content, such as a game scene screen, a communication interaction window, etc., according to the type of application started.

[0025] To facilitate understanding of the present embodiment, a method for interactive control of a game disclosed in an embodiment of the present invention is first described in detail. A graphical user interface is provided through a terminal device. The graphical user interface displays a scene screen of a game scene. The scene screen is obtained by shooting the game scene with a virtual camera. The player can adjust the field of view of the virtual camera to display different scene screens of the game scene in the graphical user interface. The game scene includes a controlled virtual character, and the controlled virtual character is controlled by the terminal device. The game scene may also include interactive targets corresponding to a variety of interactive functions that can be used by the controlled virtual character. Generally, there are multiple interactive targets for each interactive function in the game scene. The interactive target is the target that acts on the game scene when the controlled virtual character uses the interactive function. This interactive target can be an object in the scene, a game character, or just a location point in the game scene. The player can make the controlled virtual character interact with the interactive target by triggering the interactive function corresponding to the interactive target. Here, the first scene screen of the game scene is displayed in the graphical user interface, such as Figure 1 As shown, the interactive control method of the game includes the following steps:

[0026] Step S102, determining a plurality of interaction targets corresponding to two or more interaction functions of the controlled virtual character from the first scene picture;

[0027] In the first scene screen, there are interaction targets corresponding to two or more interaction functions of the controlled virtual character, and each interaction function has multiple interaction targets. It should be noted that the two or more interaction functions include: two interaction functions or more interaction functions.

[0028] Here, according to the correspondence between the interaction function and the interaction target, a plurality of interaction targets corresponding to each of the two or more interaction functions of the controlled virtual character are determined from the first scene screen.

[0029] Step S104: for each interactive function, determining a candidate interactive target from a plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function;

[0030] The above-mentioned candidate interaction target can be understood as an interaction target selected from multiple interaction targets corresponding to the interaction function and which can be preferentially interacted with under the interaction function.

[0031] The candidate interactive target is selected according to the first preset rule corresponding to the interactive function. Interactive functions of different functional types may correspond to different first preset rules. In one example, when the functional type of the interactive function is a shooting function, the shooting target corresponding to the shooting function may be a game character, and the first preset rule corresponding to the shooting function may be: the shooting target with the highest game health value among the multiple shooting targets existing in the scene screen is determined as the candidate interactive target. Therefore, when determining the candidate interactive target corresponding to the shooting function, the shooting target with the highest game health value may be determined as the candidate interactive target corresponding to the shooting function by obtaining the game health values ​​of the multiple shooting targets corresponding to the shooting function in the first scene screen. In one example, when the functional type of the interactive function is a viewing function, the interactive target corresponding to the viewing function is a viewing target, and the viewing target may be an object in the game scene, and the first preset rule corresponding to the viewing function may be: if there is an unviewed viewing target among the viewing targets contained in the scene screen, the unviewed viewing target closest to the controlled virtual character is determined as the candidate interactive object corresponding to the viewing function; if there is no unviewed viewing target among the viewing targets contained in the scene screen, the viewing target closest to the controlled virtual character is determined as the candidate interactive object corresponding to the viewing function. Therefore, when determining the alternative interactive target corresponding to the viewing function, it can be determined whether there is an unviewed viewing target in the first scene screen. If there is an unviewed viewing target in the viewing target, the unviewed viewing target closest to the controlled virtual character is determined as the alternative interactive object corresponding to the viewing function; if there is no unviewed viewing target in the viewing target, the viewing target closest to the controlled virtual character is determined as the alternative interactive object corresponding to the viewing function. In one example, when the function type of the interactive function is a teleportation function, the interactive target corresponding to the teleportation function can be a teleportation position point in the game scene, which is the position of the controlled virtual character after the teleportation function is executed. The first preset rule corresponding to the teleportation function is: the teleportation position point closest to the controlled virtual character among the multiple teleportation position points contained in the scene screen is determined as the alternative interactive object corresponding to the teleportation function. Therefore, when determining the alternative interactive target corresponding to the teleportation function, the teleportation position point with the shortest distance can be determined as the alternative interactive target corresponding to the teleportation function by obtaining the distance between each of the multiple teleportation position points existing in the first scene screen and the position of the controlled virtual character.

[0032] In this step, for each interactive function, according to the first preset rule corresponding to the interactive function, an alternative interactive target of the interactive function is determined from multiple interactive targets corresponding to the interactive function, thereby obtaining more than two alternative interactive targets in the first game scene.

[0033] Step S106: determining a first final interaction target from the two or more candidate interaction targets based on a second preset rule, and displaying identification information of the first final interaction target in a graphical user interface, where the identification information is used to characterize the first final interaction target;

[0034] The identification information of the first final interactive target is used to characterize the first final interactive target. Here, the identification information may be a functional identifier of an interactive function corresponding to the first final interactive target, and the functional identifier may be displayed in a pattern or text. The display position of the identification information of the first final interactive target may characterize the position of the first final interactive target. For example, the identification information may be displayed at the display position of the first final interactive target in the first scene screen; the display style of the identification information may be highlighted or bolded to indicate that the first final interactive target is in an interactive state.

[0035] The first final interaction target is an interaction target selected from more than two alternative interaction targets by a second preset rule. In one way, the second preset rule is related to the relative position between the virtual camera shooting the first scene screen and the alternative interaction target. For example, the second preset rule may be to determine the alternative interaction target closest to the center of the field of view of the virtual camera shooting the first scene screen as the first final interaction target. It can be understood that when the center of the field of view of the virtual camera controlled by the player is closer to a certain alternative interaction target, it can be understood that the player is more inclined to interact with the controlled virtual character in the game with the alternative interaction target. Therefore, by determining the distance between each alternative interaction target in the first scene screen and the center of the field of view of the virtual camera shooting the first scene screen, the alternative interaction target closest to the center of the field of view of the virtual camera is determined as the first final interaction target. In another way, the second preset rule may be related to the relative position between the controlled virtual character and the alternative interaction target. For example, the second preset rule may be to determine the alternative interaction target that is more oriented to the controlled virtual character as the first final interaction target. It can be understood that when the player controls the controlled virtual character to move toward a certain alternative interaction target, it can be understood that the player is more inclined to allow the controlled virtual character to interact in the game with the alternative interaction target. Therefore, the angle formed by the vector obtained by calculating the position of each alternative interaction target in the first scene screen and the position of the controlled virtual character and the direction vector of the controlled virtual character can be determined as the first final interaction target.

[0036] In this step, a first final interaction target is determined from more than two alternative interaction targets by a second preset rule, and then identification information of the first final interaction target is displayed in a graphical user interface. The identification information may be a function identifier of an interactive function corresponding to the first final interaction target. The display position of the identification information may be the position where the first final interaction target is located in the first scene screen. The identification information may also be displayed in a highlighted or bold display format to indicate that the first final interaction target is in an interactive state.

[0037] Step S108: responding to a preset trigger operation, controlling the controlled virtual character to execute an interactive function corresponding to the first final interactive target on the first final interactive target.

[0038] The preset trigger operation is used to trigger the controlled virtual character to perform the interactive function corresponding to the first final interactive target on the first final interactive target. The preset trigger operation can be a trigger operation for a key position, or a trigger operation for a specified control in the graphical user interface.

[0039] Here, according to the first preset rule corresponding to the interactive function and the second preset rule, the first final interactive target is determined from the first scene screen, and then the interactive function to be executed by the controlled virtual character is determined by the first final interactive target. After the preset trigger operation is performed, the controlled virtual character is controlled to execute the interactive function on the first final interactive target. For example, if the first final interactive target is the first alternative interactive target, performing the preset trigger operation can trigger the controlled virtual character to execute the first interactive function corresponding to the first alternative interactive target; if the first final interactive target is the second alternative interactive target, performing the preset trigger operation can trigger the controlled virtual character to execute the second interactive function corresponding to the second alternative interactive target. In other words, no matter which interactive function the first final interactive target corresponds to, the same trigger operation can be used to control the virtual character to execute the corresponding interactive function, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods.

[0040] Especially for interactive functions that need to be triggered by keys, in the prior art, a function key is generally configured for each interactive function for triggering. When there are many types of interactive functions that can be used by the controlled virtual characters in the game scene, the demand for function keys is large, and it is easy for the number of keys on the keyboard to fail to meet the demand for function keys, thereby affecting the expansion of interactive functions in the game and affecting the player's gaming experience.

[0041] In this embodiment, different interactive functions can be triggered by the same key position, which greatly reduces the allocation pressure of limited key positions, reduces the burden of players memorizing a large number of key positions, and improves the player's gaming experience.

[0042] The interactive control method of the above-mentioned game determines multiple interactive targets corresponding to two or more interactive functions of the controlled virtual character from the first scene screen; for each interactive function, determines the candidate interactive target from the multiple interactive targets corresponding to the interactive function based on the first preset rule corresponding to the interactive function; determines the first final interactive target from the two or more candidate interactive targets based on the second preset rule, and displays the identification information of the first final interactive target in the graphical user interface, and the identification information is used to characterize the first final interactive target; in response to the preset trigger operation, controls the controlled virtual character to perform the interactive function corresponding to the first final interactive target on the first final interactive target. In this method, according to the first scene screen of the game scene, multiple interactive targets corresponding to each of the two or more interactive functions of the controlled virtual character are determined, and then, for each interactive function, the candidate interactive target is determined from the multiple interactive targets corresponding to the interactive function according to the first preset rule corresponding to the interactive function, and then the first final interactive target is determined from the two or more candidate interactive targets according to the second preset rule. After the player performs the preset trigger operation, the controlled virtual character can be controlled to perform the interactive function corresponding to the first final interactive target on the first final interactive target. In this way, the first final interactive target can be determined from the first scene screen according to the first preset rule corresponding to the interactive function and the second preset rule. No matter which interactive function the first final interactive target corresponds to, the controlled virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods, reduce the design requirements for interactive operation methods in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the player's game operation experience.

[0043] In one embodiment, the interaction function includes a first interaction function and a second interaction function, and the alternative interaction targets include a first alternative interaction target corresponding to the first interaction function and a second alternative interaction target corresponding to the second interaction function; in response to a preset trigger operation, if the first final interaction target is the first alternative interaction target, the controlled virtual character is controlled to perform the first interaction function on the first final interaction target; if the first final interaction target is the second alternative interaction target, the controlled virtual character is controlled to perform the second interaction function on the first final interaction target.

[0044] That is to say, the alternative interaction targets include a first alternative interaction target corresponding to the first interaction function and a second alternative interaction target corresponding to the second interaction function. If the first final interaction target is the first alternative interaction target, the controlled virtual character can be controlled to perform the first interaction function on the first final interaction target through a preset trigger operation. If the first final interaction target is the second alternative interaction target, the controlled virtual character can be controlled to perform the second interaction function on the first final interaction target through a preset trigger operation.

[0045] In this method, no matter which interactive function corresponds to the first final interactive target, the virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods.

[0046] In one embodiment, after the first final interaction target is determined, identification information of the first final interaction target is displayed in a first display style, and the first display style is used to indicate that the first final interaction target is currently in an interactive state.

[0047] The first display style may be a display format with a specific background color and a specific line size.

[0048] In this manner, after the first final interaction target is determined, only the identification information of the first final interaction target may be displayed, and the identification information of the first final interaction target may be displayed in a first display style to indicate that the first final interaction target is currently in an interactive state.

[0049] In another embodiment, after determining the first final interaction target, the identification information corresponding to the first final interaction target is displayed in a first display style in the graphical user interface; and the identification information corresponding to the remaining candidate interaction targets is displayed in a second display style in the graphical user interface.

[0050] The identification information corresponding to the alternative interactive target may be a functional identification of the interactive function corresponding to the alternative interactive target, and the functional identification may be displayed in a pattern or text. The identification information corresponding to each alternative interactive target may be displayed at the display position of the alternative interactive target in the first scene screen, and the display style of the identification information is a second display style. The second display style is different from the first display style, so that the player can quickly distinguish the first final interactive target from the alternative interactive target.

[0051] In this method, after the first final interaction target is determined, the identification information corresponding to all candidate interaction targets will be displayed in the graphical user interface, wherein the identification information corresponding to the first final interaction target is displayed in a first display style, and the identification information corresponding to the remaining candidate interaction targets is uniformly displayed in a second display style. Figure 2As shown, the alternative interactive targets in the first scene screen include: an alternative interactive target corresponding to the shooting function, namely, shooting target A; an alternative interactive target corresponding to the teleportation function, namely, teleportation target B, which is a location point in the game scene; an alternative interactive target corresponding to the viewing function, namely, viewing target C, which is an object; wherein, the identification information a corresponding to the shooting target A is displayed at the display position of the shooting target A in the scene screen. The identification information b corresponding to the teleportation target B is displayed at the location of the teleportation target B in the scene screen; the identification information c corresponding to the viewing target C is displayed at the display position of the viewing target C in the scene screen. If the first final interactive target in the scene screen is the shooting target A, the identification information a is bolded, and in the remaining alternative interactive targets, the identification information b and the identification information c are not displayed in bold, so that the player can quickly know that the first final interactive target is the shooting target A. A key position identification of key position L is also displayed on the right side of the identification information a to prompt the player that the preset trigger operation is a trigger operation for the L key position. Figure 2 In the corresponding scene screen, after the player triggers the L key, the controlled virtual character will only perform the shooting function on the shooting target A, and will not trigger the controlled virtual character to use the teleportation function and the viewing function.

[0052] In this method, the first final interaction target is visually distinguished from other alternative interaction targets through the display style, so that the player can not only quickly determine the first final interaction target to be interacted with, but also know the other alternative interaction targets included in the first scene screen.

[0053] The following embodiments provide an implementation method for determining the first final interaction target.

[0054] In one approach, the first final interaction target may be determined from the candidate interaction targets by the relative position between the virtual camera that captures the first scene image and the candidate interaction targets.

[0055] Specifically, the candidate interaction targets include the first candidate interaction target and the second candidate interaction target as an example. Based on the position of the first candidate interaction target and the position of the virtual camera that shoots the first scene, determine the first vector; and based on the position of the second candidate interaction target and the position of the virtual camera that shoots the first scene, determine the second vector; obtain the third vector corresponding to the center ray of the virtual camera; based on the angle between the first vector and the third vector, and the angle between the second vector and the third vector, determine the first final interaction target from the first candidate interaction target and the second candidate interaction target.

[0056] The alternative interaction targets include a first alternative interaction target and a second alternative interaction target, and the first vector is determined by the position of the first alternative interaction target and the position of the virtual camera that shoots the first scene. The second vector is determined by the position of the second alternative interaction target and the position of the virtual camera that shoots the first scene. For example, the first vector can be obtained by subtracting the position coordinates of the virtual camera that shoots the first scene from the coordinates of the position of the first alternative interaction target. The second vector can be obtained by subtracting the position coordinates of the virtual camera that shoots the first scene from the coordinates of the position of the second alternative interaction target.

[0057] Here, the third vector corresponding to the central ray of the virtual camera is obtained, the angle between the first vector and the third vector, and the angle between the second vector and the third vector are calculated, and the first final interaction target is determined by the two angles. For example, if the angle between the first vector and the third vector is smaller than the angle between the second vector and the third vector, the first candidate interaction target is determined to be the first final interaction target. If the angle between the second vector and the third vector is smaller than the angle between the first vector and the third vector, the second candidate interaction target is determined to be the first final interaction target.

[0058] In one embodiment, the first final interaction target may be determined from the candidate interaction targets by the relative position between the controlled virtual character and the candidate interaction targets.

[0059] Specifically, based on the position of the first alternative interaction target and the position of the controlled virtual character, a fourth vector is determined; and based on the position of the second alternative interaction target and the position of the controlled virtual character, a fifth vector is determined; a sixth vector corresponding to the orientation of the controlled virtual character is obtained; based on the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector, a first final interaction target is determined from the first alternative interaction target and the second alternative interaction target.

[0060] The fourth vector is determined by the position of the first candidate interaction target and the position of the controlled virtual character. The fifth vector is determined by the position of the second candidate interaction target and the position of the controlled virtual character. For example, the fourth vector can be obtained by subtracting the position coordinates of the controlled virtual character from the coordinates of the position of the first candidate interaction target. The fifth vector can be obtained by subtracting the position coordinates of the controlled virtual character from the coordinates of the position of the second candidate interaction target.

[0061] Here, the sixth vector corresponding to the orientation of the controlled virtual character is obtained, the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector are calculated, and the first final interaction target is determined by the two angles. For example, if the angle between the fourth vector and the sixth vector is smaller than the angle between the fifth vector and the sixth vector, the first candidate interaction target is determined to be the first final interaction target. If the angle between the fifth vector and the sixth vector is smaller than the angle between the fourth vector and the sixth vector, the second candidate interaction target is determined to be the first final interaction target.

[0062] In one method, in response to a field of view adjustment operation, a first scene screen displayed in a graphical user interface is controlled to switch to a second scene screen; multiple interaction targets corresponding to two or more interaction functions of a controlled virtual character are determined from the second scene screen; for each interaction function, an alternative interaction target is determined from the multiple interaction targets corresponding to the interaction function based on a first preset rule corresponding to the interaction function; a second final interaction target is determined from the two or more alternative interaction targets based on a second preset rule, and identification information of the second final interaction target is displayed in the graphical user interface, the identification information being used to characterize the second final interaction target; in response to a preset trigger operation, the virtual character is controlled to execute the interaction function corresponding to the second final interaction target on the second final interaction target.

[0063] Here, the player can move the virtual camera in the game, adjust the field of view of the virtual camera, switch the first scene screen to the second scene screen, and display the second scene screen in the graphical user interface.

[0064] Furthermore, after the scene screen displayed in the graphical user interface switches to the second scene screen, the interactive function that can be triggered by the preset trigger operation is re-determined in the second scene screen. Specifically, multiple interactive targets corresponding to two or more interactive functions of the controlled virtual character are determined from the second scene screen, and then, for each interactive function, an alternative interactive target is determined from the multiple interactive targets corresponding to the interactive function according to the first preset rule corresponding to the interactive function, and then a second final interactive target is determined from the two or more alternative interactive targets according to the second preset rule. The interactive function corresponding to the second final interactive target is the interactive function that the controlled virtual character can be controlled to perform after the player performs the preset trigger operation.

[0065] The above-mentioned steps of determining multiple interaction targets corresponding to more than two interaction functions of the controlled virtual character from the second scene picture, and the step of determining alternative interaction targets from the multiple interaction targets corresponding to each interaction function according to the first preset rule corresponding to the interaction function, are similar to the above-mentioned steps of determining alternative interaction targets from the first scene picture, and will not be repeated here in detail.

[0066] After determining the candidate interaction targets corresponding to each interaction function in the second scene screen, continue to determine the second final interaction target from the two or more candidate interaction targets according to the second preset rule. The step of determining the second final interaction target is similar to the step of determining the first final interaction target, and will not be repeated here.

[0067] After determining the second final interaction target, the player performs a preset trigger operation to control the virtual character to perform the interaction function corresponding to the second final interaction target on the second final interaction target.

[0068] In this step, after the virtual camera field of view is adjusted, the interactive function that can be triggered by the preset trigger operation is re-determined according to the second scene screen displayed by the graphical user interface. Since the second final interactive target comes from the second scene screen, it is determined by the first preset rule of the interactive function corresponding to the interactive target in the second scene screen and the second preset rule. Therefore, the interactive function corresponding to the second final interactive target may be the same as or different from the interactive function corresponding to the first final interactive target.

[0069] Take the second preset rule as an example, determining the candidate interactive target closest to the center of the field of view of the virtual camera shooting the first scene as the first final interactive target. In one example, the virtual camera shoots the game scene and obtains Figure 2 After the first scene is displayed, the player adjusts the virtual camera field of view and displays it in the graphical user interface Figure 3 In the second scene screen shown, through the first preset rule of the interactive function corresponding to the interactive target in the second scene screen, it is determined that the candidate interactive targets in the second scene screen include: shooting target D, teleportation target E, and viewing target F. At this time, according to the second preset rule, the first final interactive target in the scene screen is determined to be the shooting target D, then the identification information d is bolded, and among the remaining candidate interactive targets, the identification information e and the identification information f are not bolded. After the player triggers the L key position, the controlled virtual character will perform the shooting function on the shooting target D, and the controlled virtual character will not be triggered to use the teleportation function and the viewing function.

[0070] In another example, a virtual camera captures a game scene and obtains Figure 2 After the first scene is displayed, the player adjusts the virtual camera field of view and controls the virtual camera to move to the left, which is displayed in the graphical user interface. Figure 4In the second scene screen shown, through the first preset rule of the interactive function corresponding to the interactive target in the second scene screen, it is determined that the alternative interactive targets in the second scene screen also include: shooting target A, teleportation target B, and viewing target C. At this time, according to the second preset rule, the first final interactive target in the scene screen is determined to be teleportation target B, then the identification information b is bolded, and among the remaining alternative interactive targets, the identification information a and the identification information c are not bolded. After the player triggers the L key position, the controlled virtual character will only execute the teleportation function to move to the position where the identification information b is displayed, and will not trigger the controlled virtual character to use the shooting function and viewing function. In this way, in the scene screens corresponding to different virtual camera fields of view, different interactive functions can also be triggered by the same trigger operation. Players can adjust the field of view of the virtual camera in the game to switch the interactive functions that can be triggered under the same trigger operation. This method can reduce the design requirements for the interactive operation method in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the player's game operation experience.

[0071] In one embodiment, the first preset rule is determined according to the function type of the corresponding interactive function.

[0072] That is to say, different types of interactive functions may correspond to different first preset rules. As described above, in one example, when the function type of the interactive function is a shooting function, the shooting target corresponding to the shooting function may be a game character, and the first preset rule corresponding to the shooting function may be: the shooting target with the highest game health value among the multiple shooting targets in the scene screen is determined as the candidate interactive target. Therefore, when determining the candidate interactive target corresponding to the shooting function, the shooting target with the highest game health value may be determined as the candidate interactive target corresponding to the shooting function by obtaining the game health values ​​of the multiple shooting targets corresponding to the shooting function in the first scene screen. In one example, when the function type of the interactive function is a viewing function, the interactive target corresponding to the viewing function is a viewing target, and the viewing target may be an object in the game scene, and the first preset rule corresponding to the viewing function may be: if there is an unviewed viewing target among the viewing targets included in the scene screen, the unviewed viewing target closest to the controlled virtual character is determined as the candidate interactive object corresponding to the viewing function; if there is no unviewed viewing target among the viewing targets included in the scene screen, the viewing target closest to the controlled virtual character is determined as the candidate interactive object corresponding to the viewing function. Therefore, when determining the alternative interactive target corresponding to the viewing function, it can be determined whether there is an unviewed viewing target in the first scene screen. If there is an unviewed viewing target in the viewing target, the unviewed viewing target closest to the controlled virtual character is determined as the alternative interactive object corresponding to the viewing function; if there is no unviewed viewing target in the viewing target, the viewing target closest to the controlled virtual character is determined as the alternative interactive object corresponding to the viewing function. In one example, when the function type of the interactive function is a teleportation function, the interactive target corresponding to the teleportation function can be a teleportation position point in the game scene, which is the position of the controlled virtual character after the teleportation function is executed. The first preset rule corresponding to the teleportation function is: the teleportation position point closest to the controlled virtual character among the multiple teleportation position points contained in the scene screen is determined as the alternative interactive object corresponding to the teleportation function. Therefore, when determining the alternative interactive target corresponding to the teleportation function, the teleportation position point with the shortest distance can be determined as the alternative interactive target corresponding to the teleportation function by obtaining the distance between each of the multiple teleportation position points existing in the first scene screen and the position of the controlled virtual character.

[0073] Corresponding to the above method embodiment, see Figure 5 The schematic diagram of an interactive control device for a game shown in the figure provides a graphical user interface through a terminal device; the graphical user interface includes a first scene screen of a game scene; the game scene includes a controlled virtual character; the device includes:

[0074] A first determination module 502 is used to determine a plurality of interaction targets corresponding to two or more interaction functions of the controlled virtual character from the first scene picture;

[0075] A second determination module 504 is used to determine, for each interactive function, a candidate interactive target from a plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function;

[0076] A first display module 506, configured to determine a first final interaction target from two or more candidate interaction targets based on a second preset rule, and to display identification information of the first final interaction target in a graphical user interface, where the identification information is used to characterize the first final interaction target;

[0077] The first control module 508 is used to respond to a preset trigger operation and control the controlled virtual character to perform an interactive function corresponding to the first final interactive target on the first final interactive target.

[0078] In this way, the first final interactive target can be determined from the first scene screen according to the first preset rule corresponding to the interactive function and the second preset rule. No matter which interactive function the first final interactive target corresponds to, the controlled virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods, reduce the design requirements for interactive operation methods in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the player's game operation experience.

[0079] The above-mentioned interactive functions include a first interactive function and a second interactive function, and the alternative interactive targets include a first alternative interactive target corresponding to the first interactive function and a second alternative interactive target corresponding to the second interactive function; the above-mentioned first control module is also used to respond to a preset trigger operation, if the first final interactive target is the first alternative interactive target, then control the controlled virtual character to perform the first interactive function on the first final interactive target, if the first final interactive target is the second alternative interactive target, then control the controlled virtual character to perform the second interactive function on the first final interactive target.

[0080] The identification information of the first final interaction target is displayed in a first display style, and the first display style is used to indicate that the first final interaction target is currently in an interactive state.

[0081] The above-mentioned first display module is used to display the identification information corresponding to the first final interaction target in a first display style in the graphical user interface; and to display the identification information corresponding to the remaining candidate interaction targets in a second display style in the graphical user interface.

[0082] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the above-mentioned first display module is also used to determine a first vector based on the position of the first alternative interaction target and the position of the virtual camera that shoots the first scene picture; and determine a second vector based on the position of the second alternative interaction target and the position of the virtual camera that shoots the first scene picture; obtain a third vector corresponding to the center ray of the virtual camera; based on the angle between the first vector and the third vector, and the angle between the second vector and the third vector, determine a first final interaction target from the first alternative interaction target and the second alternative interaction target.

[0083] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the above-mentioned first display module is also used to determine a fourth vector based on the position of the first alternative interaction target and the position of the controlled virtual character; and to determine a fifth vector based on the position of the second alternative interaction target and the position of the controlled virtual character; to obtain a sixth vector corresponding to the orientation of the controlled virtual character; and to determine a first final interaction target from the first alternative interaction target and the second alternative interaction target based on the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector.

[0084] The above-mentioned device also includes a second control module, which is used to control the first scene screen displayed in the graphical user interface to switch to the second scene screen in response to the field of view adjustment operation; determine multiple interaction targets corresponding to two or more interaction functions of the controlled virtual character from the second scene screen; for each interaction function, determine an alternative interaction target from the multiple interaction targets corresponding to the interaction function based on a first preset rule corresponding to the interaction function; determine a second final interaction target from the two or more alternative interaction targets based on a second preset rule, and display the identification information of the second final interaction target in the graphical user interface, the identification information is used to characterize the second final interaction target; in response to a preset trigger operation, control the controlled virtual character to execute the interaction function corresponding to the second final interaction target on the second final interaction target.

[0085] The first preset rule is determined according to the function type of the corresponding interactive function.

[0086] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of the above game. The electronic device can be a server or a terminal device.

[0087] See also Figure 6As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the interactive control method of the above-mentioned game.

[0088] Further, Figure 6 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .

[0089] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0090] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.

[0091] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: determining multiple interactive targets corresponding to two or more interactive functions of the controlled virtual character from the first scene screen; for each interactive function, determining alternative interactive targets from the multiple interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; determining a first final interactive target from the two or more alternative interactive targets based on a second preset rule, and displaying identification information of the first final interactive target in a graphical user interface, the identification information being used to characterize the first final interactive target; in response to a preset trigger operation, controlling the controlled virtual character to execute the interactive function corresponding to the first final interactive target on the first final interactive target.

[0092] In this way, the first final interactive target can be determined from the first scene screen according to the first preset rule corresponding to the interactive function and the second preset rule. No matter which interactive function the first final interactive target corresponds to, the controlled virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods, reduce the design requirements for interactive operation methods in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the player's game operation experience.

[0093] The above-mentioned interactive functions include a first interactive function and a second interactive function, and the alternative interactive targets include a first alternative interactive target corresponding to the first interactive function and a second alternative interactive target corresponding to the second interactive function; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to a preset trigger operation, if the first final interactive target is the first alternative interactive target, the controlled virtual character is controlled to perform the first interactive function on the first final interactive target; if the first final interactive target is the second alternative interactive target, the controlled virtual character is controlled to perform the second interactive function on the first final interactive target.

[0094] The identification information of the first final interaction target is displayed in a first display style, and the first display style is used to indicate that the first final interaction target is currently in an interactive state.

[0095] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine executable instructions: displaying the identification information corresponding to the first final interactive target in a first display style in the graphical user interface; and displaying the identification information corresponding to the remaining alternative interactive targets in a second display style in the graphical user interface.

[0096] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine executable instructions: determine a first vector based on the position of the first alternative interaction target and the position of the virtual camera that shoots the first scene picture; and determine a second vector based on the position of the second alternative interaction target and the position of the virtual camera that shoots the first scene picture; obtain a third vector corresponding to the center ray of the virtual camera; based on the angle between the first vector and the third vector, and the angle between the second vector and the third vector, determine a first final interaction target from the first alternative interaction target and the second alternative interaction target.

[0097] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine executable instructions: determining a fourth vector based on the position of the first alternative interaction target and the position of the controlled virtual character; and determining a fifth vector based on the position of the second alternative interaction target and the position of the controlled virtual character; obtaining a sixth vector corresponding to the orientation of the controlled virtual character; and determining a first final interaction target from the first alternative interaction target and the second alternative interaction target based on the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector.

[0098] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the field of view adjustment operation, control the first scene screen displayed in the graphical user interface to switch to the second scene screen; determine multiple interactive targets corresponding to two or more interactive functions of the controlled virtual character from the second scene screen; for each interactive function, determine alternative interactive targets from the multiple interactive targets corresponding to the interactive function based on the first preset rule corresponding to the interactive function; determine the second final interactive target from the two or more alternative interactive targets based on the second preset rule, and display the identification information of the second final interactive target in the graphical user interface, the identification information is used to characterize the second final interactive target; in response to the preset trigger operation, control the controlled virtual character to execute the interactive function corresponding to the second final interactive target on the second final interactive target.

[0099] The first preset rule is determined according to the function type of the corresponding interactive function.

[0100] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above game.

[0101] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: determining multiple interactive targets corresponding to two or more interactive functions of the controlled virtual character from the first scene screen; for each interactive function, determining alternative interactive targets from the multiple interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; determining a first final interactive target from the two or more alternative interactive targets based on a second preset rule, and displaying identification information of the first final interactive target in a graphical user interface, wherein the identification information is used to characterize the first final interactive target; in response to a preset trigger operation, controlling the controlled virtual character to execute the interactive function corresponding to the first final interactive target on the first final interactive target.

[0102] In this way, the first final interactive target can be determined from the first scene screen according to the first preset rule corresponding to the interactive function and the second preset rule. No matter which interactive function the first final interactive target corresponds to, the controlled virtual character can be controlled to perform the corresponding interactive function through the same trigger operation, that is, the same trigger operation can be used to implement different interactive functions. This method can alleviate the distribution pressure of limited interactive operation methods, reduce the design requirements for interactive operation methods in the game, and also reduce the burden of players memorizing a large number of interactive operations, thereby improving the player's game operation experience.

[0103] The above-mentioned interactive functions include a first interactive function and a second interactive function, and the alternative interactive targets include a first alternative interactive target corresponding to the first interactive function and a second alternative interactive target corresponding to the second interactive function; the machine executable instructions stored in the above-mentioned machine-readable storage medium can realize the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: in response to a preset trigger operation, if the first final interactive target is the first alternative interactive target, the controlled virtual character is controlled to perform the first interactive function on the first final interactive target; if the first final interactive target is the second alternative interactive target, the controlled virtual character is controlled to perform the second interactive function on the first final interactive target.

[0104] The identification information of the first final interaction target is displayed in a first display style, and the first display style is used to indicate that the first final interaction target is currently in an interactive state.

[0105] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: displaying the identification information corresponding to the first final interactive target in a first display style in the graphical user interface; and displaying the identification information corresponding to the remaining alternative interactive targets in a second display style in the graphical user interface.

[0106] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: determine a first vector based on the position of the first alternative interaction target and the position of the virtual camera that shoots the first scene picture; and determine a second vector based on the position of the second alternative interaction target and the position of the virtual camera that shoots the first scene picture; obtain a third vector corresponding to the center ray of the virtual camera; determine a first final interaction target from the first alternative interaction target and the second alternative interaction target based on the angle between the first vector and the third vector, and the angle between the second vector and the third vector.

[0107] The above-mentioned alternative interaction targets include a first alternative interaction target and a second alternative interaction target; the machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: determining a fourth vector based on the position of the first alternative interaction target and the position of the controlled virtual character; and determining a fifth vector based on the position of the second alternative interaction target and the position of the controlled virtual character; obtaining a sixth vector corresponding to the orientation of the controlled virtual character; and determining a first final interaction target from the first alternative interaction target and the second alternative interaction target based on the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector.

[0108] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: in response to a field of view adjustment operation, control the first scene screen displayed in the graphical user interface to switch to a second scene screen; determine from the second scene screen a plurality of interactive targets corresponding to two or more interactive functions of the controlled virtual character; for each interactive function, determine an alternative interactive target from the plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; determine a second final interactive target from the two or more alternative interactive targets based on a second preset rule, and display identification information of the second final interactive target in the graphical user interface, the identification information being used to characterize the second final interactive target; in response to a preset trigger operation, control the controlled virtual character to execute the interactive function corresponding to the second final interactive target on the second final interactive target.

[0109] The first preset rule is determined according to the function type of the corresponding interactive function.

[0110] The computer program product of the interactive game control method, device, electronic device and storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0112] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0113] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0114] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0115] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for interactive control of a game, characterized in that: Providing a graphical user interface through the terminal device; The graphical user interface includes a first scene screen of a game scene; The game scene includes a controlled virtual character; the method includes: Determining, from the first scene picture, a plurality of interaction targets corresponding to two or more interaction functions of the controlled virtual character; For each interactive function, determining a candidate interactive target from a plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; Determine a first final interaction target from the two or more candidate interaction targets based on a second preset rule, and display identification information of the first final interaction target in the graphical user interface, where the identification information is used to characterize the first final interaction target; In response to a preset trigger operation, the controlled virtual character is controlled to perform an interactive function corresponding to the first final interactive target on the first final interactive target.

2. The method according to claim 1, characterized in that: The interactive function includes a first interactive function and a second interactive function, and the candidate interactive targets include a first candidate interactive target corresponding to the first interactive function and a second candidate interactive target corresponding to the second interactive function; The step of responding to the preset trigger operation and controlling the controlled virtual character to perform an interactive function corresponding to the first final interactive target on the first final interactive target includes: In response to a preset trigger operation, if the first final interaction target is the first alternative interaction target, the controlled virtual character is controlled to perform the first interaction function on the first final interaction target; if the first final interaction target is the second alternative interaction target, the controlled virtual character is controlled to perform the second interaction function on the first final interaction target.

3. The method according to claim 1, characterized in that The identification information of the first final interaction target is displayed in a first display style, and the first display style is used to indicate that the first final interaction target is currently in an interactive state.

4. The method according to claim 1, characterized in that: The displaying the identification information of the first final interaction target in the graphical user interface includes: Displaying identification information corresponding to the first final interaction target in the graphical user interface in a first display style; The method further includes: displaying identification information corresponding to the remaining candidate interaction targets in a second display style in the graphical user interface.

5. The method according to claim 1, characterized in that The candidate interaction targets include a first candidate interaction target and a second candidate interaction target; The determining the first final interaction target from the two or more candidate interaction targets based on the second preset rule includes: Determine a first vector based on the position of the first candidate interaction target and the position of a virtual camera that captures the first scene image; and determining a second vector based on the position of the second candidate interaction target and the position of the virtual camera that captures the first scene; Obtain a third vector corresponding to the center ray of the virtual camera; Based on the angle between the first vector and the third vector, and the angle between the second vector and the third vector, a first final interaction target is determined from the first candidate interaction target and the second candidate interaction target.

6. The method according to claim 1, characterized in that The candidate interaction targets include a first candidate interaction target and a second candidate interaction target; The determining the first final interaction target from the two or more candidate interaction targets based on the second preset rule includes: Determine a fourth vector based on the position of the first candidate interaction target and the position of the controlled virtual character; and determine a fifth vector based on the position of the second candidate interaction target and the position of the controlled virtual character; Acquire a sixth vector corresponding to the orientation of the controlled virtual character; Based on the angle between the fourth vector and the sixth vector, and the angle between the fifth vector and the sixth vector, a first final interaction target is determined from the first candidate interaction target and the second candidate interaction target.

7. The method according to claim 1, characterized in that The method further comprises: In response to the field of view adjustment operation, controlling the first scene picture displayed in the graphical user interface to switch to a second scene picture; Determining, from the second scene screen, a plurality of interaction targets corresponding to two or more interaction functions of the controlled virtual character; For each interactive function, determining a candidate interactive target from a plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; Determine a second final interaction target from the two or more candidate interaction targets based on a second preset rule, and display identification information of the second final interaction target in the graphical user interface, where the identification information is used to characterize the second final interaction target; In response to a preset trigger operation, the controlled virtual character is controlled to perform an interactive function corresponding to the second final interactive target on the second final interactive target.

8. The method according to claim 1, characterized in that The first preset rule is determined according to the function type of the corresponding interactive function.

9. An interactive control device for a game, characterized in that: Providing a graphical user interface through the terminal device; The graphical user interface includes a first scene screen of a game scene; The game scene includes a controlled virtual character; the device includes: A first determination module, used to determine, from the first scene picture, a plurality of interaction targets corresponding to two or more interaction functions of the controlled virtual character; A second determination module is used to determine, for each interactive function, a candidate interactive target from a plurality of interactive targets corresponding to the interactive function based on a first preset rule corresponding to the interactive function; a first display module, configured to determine a first final interaction target from the two or more candidate interaction targets based on a second preset rule, and to display identification information of the first final interaction target in the graphical user interface, wherein the identification information is used to characterize the first final interaction target; The first control module is used to respond to a preset trigger operation and control the controlled virtual character to perform an interactive function corresponding to the first final interactive target on the first final interactive target.

10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of the game according to any one of claims 1-8.

11. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the game according to any one of claims 1 to 8.