A game in-game game character control method and device, electronic equipment and medium

By automatically controlling the movement of the game character based on the maximum reachable distance of the grappling hook equipment on the mobile game platform, the problem of complex grappling hook operation is solved, achieving the effects of simplified operation and improved efficiency.

CN116726497BActive Publication Date: 2026-05-29NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2022-03-01
Publication Date
2026-05-29

Smart Images

  • Figure CN116726497B_ABST
    Figure CN116726497B_ABST
Patent Text Reader

Abstract

The application provides a game character control method and device, electronic equipment and medium. The method comprises the following steps: in response to a movement control operation for a controlled game character, controlling the controlled game character to move in a first movement mode; in response to a targeting operation for a grappling hook equipment, determining a targeting position of the grappling hook equipment in a game scene; if the distance between the targeting position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook equipment, controlling the controlled game character to use the grappling hook equipment to move to the targeting position in a second movement mode; if the distance between the targeting position and the controlled game character is greater than the maximum reachable distance, controlling the controlled game character to use the grappling hook equipment to move to a first position in the second movement mode, and after the controlled game character reaches the first position, controlling the controlled game character to use the remaining grappling hook equipment to move to a second position or the targeting position. The application simplifies the operation complexity of the player, improves the accuracy of the operation of the player, and improves the operation efficiency of the player.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technology, and more specifically, to a method, device, electronic device, and medium for controlling game characters in a game. Background Technology

[0002] In some games, such as those that require the use of grappling hooks, the grappling hook is a unique feature. However, currently, the grappling hook can only be used once. Players need to perform multiple actions to use the grappling hook continuously. This is relatively convenient on a personal computer (PC), but if the same control method is adopted on mobile games, it will be complicated, cumbersome, inefficient, stressful, and prone to misoperation. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a method, device, electronic device and medium for controlling game characters in a game, which simplifies the complexity of player operation, improves the accuracy of player operation and improves player operation efficiency.

[0004] In a first aspect, embodiments of this application provide a method for controlling a game character in a game, wherein the game includes a controlled game character equipped with a grappling hook; the method includes:

[0005] In response to a movement control operation on the controlled game character, the controlled game character is controlled to move in the game scene in a first movement mode;

[0006] In response to an aiming operation for the grappling hook, the aiming position of the grappling hook is determined in the game scene;

[0007] If the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene using a second movement method;

[0008] If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method. After the controlled game character finishes moving towards the first position, the controlled game character is controlled to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method. Wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position. The first position and the second position are automatically determined by the game.

[0009] In one possible implementation, controlling the controlled game character to automatically fire the grappling hook equipment towards the aiming position includes:

[0010] A first prompt message is displayed on the game interface of the game, the first prompt message being used to prompt the launch of the grappling hook equipment toward the aiming position;

[0011] In response to the first confirmation operation for the first prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the aiming position.

[0012] In one possible implementation, controlling the controlled game character to automatically launch the grappling hook equipment to a first location in the game scene includes:

[0013] A second prompt message is displayed on the game interface of the game, the second prompt message being used to prompt the launch of the grappling hook equipment to a first location in the game scene;

[0014] In response to the second confirmation operation for the second prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the first position.

[0015] In one possible implementation, controlling the controlled game character to automatically launch the grappling hook equipment towards a first or second location in the game scene includes:

[0016] A target grappling hook path is determined in the game scene from the current position of the controlled game character to the aiming position. The target grappling hook path includes at least two position nodes where the grappling hook equipment stops. The at least two position nodes include a first position and an aiming position; or, a first position, an aiming position, and at least one second position. When the at least two position nodes include multiple second positions, the distance between the first position and the first second position, between any two second positions, and between the last second position and the aiming position is less than or equal to the maximum reachable distance of the grappling hook equipment, and the distance between the aiming position and the controlled game character is greater than the distance between any second position and the aiming position.

[0017] The controlled game character automatically launches the grappling hook equipment to the first or second position in the target grappling hook path.

[0018] In one possible implementation, determining the target grappling hook path from the current position of the controlled game character to the aiming position in the game scene includes:

[0019] Determine at least one grappling hook path in the game scene from the current position of the controlled game character to the aiming position;

[0020] In response to a selection operation for the at least one hook path, a target hook path is selected from the at least one hook path.

[0021] In one possible implementation, the selection operation is a touch operation targeting a selection area of ​​a target grappling hook path among the at least one grappling hook path; wherein, after the at least one grappling hook path is determined, the at least one grappling hook path is displayed on the game interface of the game, and each grappling hook path corresponds to a selection area;

[0022] Alternatively, the selection operation is a movement control operation for the controlled game character; the first position in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the current position; each second position node in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the previous position.

[0023] In one possible implementation, after determining the target grappling hook path, the method further includes:

[0024] Based on the number of position nodes where the hook and cable equipment stops in the target hook and cable path, determine the first number of hook and cable equipment required for the target hook and cable path;

[0025] The game interface displays a first quantity of grappling hook equipment required for the target grappling hook path. After the controlled game character automatically fires the grappling hook equipment at any node in the target grappling hook path, the first quantity is updated based on a second quantity of grappling hook equipment consumed by the controlled game character to reach that node in the target grappling hook path.

[0026] In one possible implementation, the method further includes:

[0027] If the number of grappling hooks equipped by the controlled game character is less than the number of nodes where the grappling hooks stop in the target grappling hook path, a third prompt message is displayed on the game interface; the third prompt message is used to prompt the controlled game character to select the target grappling hook path where grappling hooks are missing grappling hooks.

[0028] In one possible implementation, the method further includes:

[0029] In response to the third confirmation operation for the third prompt information, the controlled game character is controlled to launch grappling hooks sequentially to the first position and aiming position of the target grappling hook path, or sequentially to the first position, second position and aiming position of the target grappling hook path. After launching the last grappling hook, the controlled game character is stopped from launching grappling hooks to the next position node of the first position or any second position of the target grappling hook path.

[0030] In one possible implementation, after controlling the controlled game character to automatically launch the grappling hook equipment towards the first position, any of the second positions, or the aiming position, the method further includes:

[0031] If the current release distance of the grappling hook is less than the distance between the controllable game character and the first position, any second position, or the aiming position, the current release distance of the grappling hook is automatically adjusted to meet the distance between the controllable game character and the first position, any second position, or the aiming position.

[0032] or,

[0033] A fourth prompt message is displayed on the graphical user interface. The fourth prompt message is used to prompt the adjustment of the current release distance of the grappling hook equipment to meet the position node distance of the controlled game character to reach the first position, any second position, or the aiming position.

[0034] In one possible implementation, controlling the controlled game character to automatically launch the grappling hook equipment towards the first location, the second location, or the aiming location includes:

[0035] The controlled game character is attracted to the first virtual object belonging to the first position, the second virtual object belonging to the second position, or the third virtual object belonging to the aiming position, so that the controlled game character automatically launches the grappling hook equipment towards the first position, the second position, or the aiming position.

[0036] In one possible implementation, the first position and the second position are determined based on a game strategy for the game or the real-time position of the controlled game character after movement, wherein the game strategy is determined at least based on the current game scene characteristics of the game and the current attribute characteristics of the controlled game character.

[0037] In one possible implementation, the game strategy includes at least one of the following:

[0038] The game strategy for minimizing the cost of the grappling hook equipment; the game strategy for rapid movement of the controlled game character; the game strategy for pursuit of the controlled game character; and the game strategy for stealth of the controlled game character.

[0039] Secondly, embodiments of this application also provide a game character control device for a game, wherein the game includes a controlled game character, the controlled game character is equipped with a grappling hook, and the device includes:

[0040] The first control module is used to respond to the movement control operation of the controlled game character and control the controlled game character to move in the game scene in a first movement mode;

[0041] The first determining module is used to respond to the aiming operation for the hook and grappling equipment and determine the aiming position of the hook and grappling equipment in the game scene;

[0042] The second control module is used to control the controlled game character to automatically launch the grappling hook towards the aiming position if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, so that the controlled game character moves towards the aiming position in the game scene in a second movement mode;

[0043] The third control module is configured to, if the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method; and after the controlled game character finishes moving towards the first position, control the controlled game character to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method; wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position, and the first position and the second position are automatically determined by the game.

[0044] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the game character control method in the game as described in any of the first aspects.

[0045] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the game character control method in the game as described in any of the first aspects.

[0046] This application provides a method, device, electronic device, and medium for controlling a game character in a game. The player controls a controlled game character to move in a game scene using a first movement method. After the player determines the aiming position the controlled game character wants to reach using a grappling hook, if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using the grappling hook using a second movement method. If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the player controls the controlled game character to move sequentially to the first position and the aiming position, or sequentially to the first position, the second position, and the aiming position using the second movement method. Thus, by comparing the distance between the aiming position and the controlled game character with the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using one or more segments of the grappling hook using the second movement method. This simplifies the complexity of player operations, improves the accuracy of player operations, and increases player operational efficiency. Attached Figure Description

[0047] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1a A flowchart of a game character control method provided in an embodiment of this application is shown;

[0049] Figure 1b A schematic diagram of a target grappling hook path, including a first position and an aiming position, is shown in an embodiment of this application.

[0050] Figure 1c A schematic diagram of a target grappling hook path, including a first position, a second position, and an aiming position, is shown in an embodiment of this application.

[0051] Figure 2 A flowchart of another game character control method provided in an embodiment of this application is shown;

[0052] Figure 3 A flowchart of another game character control method provided in an embodiment of this application is shown;

[0053] Figure 4 This illustration shows a schematic diagram of the structure of a game character control device provided in an embodiment of this application;

[0054] Figure 5A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0056] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0057] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0058] In games that require the use of grappling hooks, players need to perform multiple operations to use the hooks continuously. This is relatively convenient on a personal computer (PC), but if the same operation method is adopted on a mobile game, the operation will be complicated and cumbersome, the operation efficiency will be low, the operation pressure will be high, and the misoperation will be easy to occur.

[0059] Based on this, embodiments of this application provide a game character control method, device, electronic device, and medium. After determining the aiming position that the controlled game character wants to reach using a grappling hook, based on the comparison between the distance between the aiming position and the controlled game character and the maximum reachable distance of the grappling hook, the controlled game character is controlled to move to the aiming position using a second movement method that is different from the conventional first movement method of the controlled game character, based on one or more segments of the grappling hook. This simplifies the complexity of player operation, improves the accuracy of player operation, and increases player operation efficiency.

[0060] To facilitate understanding of this embodiment, a detailed description of a game character control method, device, electronic device, and medium provided in this application embodiment is provided below. The method provided in this application embodiment can be applied to terminal devices or servers; wherein, when the method is applied to a server, it can be cloud gaming, i.e., the terminal device provides a human-computer interaction interface and displays the game screen, the terminal device sends the operation instructions triggered by the player through the human-computer interaction interface to the server, and the server responds to the player's operation instructions by processing data and returning the processed game screen to the terminal device.

[0061] like Figure 1a The illustration shows a game character control method provided in an embodiment of this application. The game includes a controlled game character equipped with a grappling hook. The method includes:

[0062] S101. In response to a movement control operation on the controlled game character, control the controlled game character to move in the game scene in a first movement mode.

[0063] S102, In response to an aiming operation for the grappling hook, determine the aiming position of the grappling hook in the game scene.

[0064] S103. If the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene using a second movement method.

[0065] S104. If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method. After the controlled game character finishes moving towards the first position, control the controlled game character to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method. Wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position. The first position and the second position are automatically determined by the game.

[0066] This application provides a method for controlling a game character in a game. The player controls the controlled game character to move in the game scene using a first movement method. After the player determines the aiming position the controlled game character wants to reach using a grappling hook, if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using the grappling hook using a second movement method. If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the player controls the controlled game character to move sequentially to the first position and then the aiming position, or sequentially to the first position, the second position, and then the aiming position using the second movement method. By comparing the distance between the aiming position and the controlled game character with the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using one or more segments of the grappling hook using the second movement method. This simplifies the player's operational complexity, improves the accuracy of the player's operation, and increases the player's operational efficiency.

[0067] The following describes the exemplary steps of the embodiments of this application, taking the application of the game character control method in the above game to a terminal device as an example.

[0068] S101. In response to a movement control operation on the controlled game character, control the controlled game character to move in the game scene in a first movement mode.

[0069] In this embodiment, a graphical user interface is provided by a terminal device, and at least a portion of the game scene is displayed on the graphical user interface. The game includes a player-controlled game character, as well as other game characters controlled by other players or artificial intelligence (AI) game characters controlled by the game system. In the player's normal field of view from a third-person game perspective (e.g., the player does not switch the field of view of the controlled game character), the player-controlled game character is included in the aforementioned at least a portion of the game scene. When the player triggers a movement control operation on the controlled game character, the terminal device responds to the movement control operation and controls the controlled game character to move in the aforementioned game scene in a first movement mode.

[0070] Here, the aforementioned graphical user interface includes movement control controls, also known as a virtual joystick, which is usually located in the lower left corner of the graphical user interface of a landscape-oriented terminal device. Players trigger movement control operations by operating the aforementioned virtual joystick. The controlled game character moves in the game scene using a first movement mode, that is, the controlled game character moves in the game scene without relying on character equipment (which may include grappling hook equipment, as well as other character equipment, such as vehicles; the character equipment may also only include grappling hook equipment) to move, such as standing and walking or running, crouching and walking or running, crawling, etc.

[0071] S102. In response to an aiming operation for the hook and grappling equipment, determine the aiming position of the hook and grappling equipment in the game scene;

[0072] In this embodiment of the application, during the game, when the controlled game character picked up the grappling hook equipment, the player equipped the grappling hook equipment to the controlled game character. At this time, the player determined the aiming position that met the aiming conditions of the grappling hook equipment from the game scene by triggering the aiming operation for the grappling hook equipment. The aiming position can be a virtual object or a specific location point on the virtual object.

[0073] Here, the virtual objects that meet the grappling hook aiming conditions include virtual objects that can be grabbed by the grappling hook equipment, such as buildings, trees, other game characters, or AI game characters. In this embodiment, the game can be a martial arts game or a shooting game. The graphical user interface provided by the terminal device displays at least a portion of the game scene, which includes various types of game elements, such as scene elements (trees, grass, sky), other game characters controlled by other players, or AI game characters controlled by the game system. The virtual objects are selected by the player from the game elements. In the actual game, the aiming position is determined from the game elements by the indicator corresponding to the grappling hook equipment. The game also includes a controlled game character, which the player can control through other operations on the terminal device to perform other tasks in the game scene (e.g., picking up or using the grappling hook equipment).

[0074] S103. If the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene using a second movement method.

[0075] In this embodiment of the application, after determining the aiming position of the grappling hook equipped by the controlled game character, the distance between the aiming position and the controlled game character (hereinafter referred to as the distance to be moved) is compared with the maximum reachable distance of the grappling hook, and the relationship between the two distances is determined. If the distance to be moved is less than or equal to the maximum reachable distance of the grappling hook, it means that the controlled game character can reach the aiming position by using a grappling hook (that is, based on the flight distance of a grappling hook). At this time, the controlled game character is controlled to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene based on a grappling hook (that is, in the second movement mode).

[0076] S104. If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method. After the controlled game character finishes moving towards the first position, control the controlled game character to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method. Wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position. The first position and the second position are automatically determined by the game.

[0077] Here, if the distance between the aforementioned aiming position and the controlled game character (hereinafter referred to as the distance to be moved) is greater than the maximum reachable distance of the grappling hook, it means that the controlled game character cannot reach the aforementioned aiming position using a grappling hook (i.e., based on the flight distance of a grappling hook). In this case, in one implementation, the game automatically determines the first position between the current position and the aiming position of the controlled game character, and the controlled game character first launches the grappling hook from the current position to the first position in the game scene, so that the controlled game character moves to the first position in the game scene based on a grappling hook (i.e., using the second movement method). After the controlled game character reaches the first position based on a grappling hook, it automatically launches the grappling hook to the aiming position, so that the controlled game character moves to the aiming position in the game scene based on another grappling hook (i.e., using the second movement method).

[0078] like Figure 1b The controlled game character is located at point A and aims at point C. Accordingly, either B or D between A and C is a first position determined by the game.

[0079] In another implementation, the game automatically determines a first position and at least one second position between the current position and the aiming position of the controlled game character. The controlled game character first fires a grappling hook from its current position toward the first position in the game scene, so that the controlled game character moves toward the first position in the game scene based on a grappling hook (i.e., using a second movement method). After the controlled game character reaches the first position based on a grappling hook, it automatically fires a grappling hook toward the second position, so that the controlled game character moves toward the second position in the game scene based on another grappling hook (i.e., using a second movement method). This continues until the controlled game character reaches the last second position, at which point it automatically fires a grappling hook toward the aiming position, so that the controlled game character moves toward the aiming position in the game scene based on the remaining grappling hooks (i.e., using a second movement method).

[0080] like Figure 1c The controlled game character is located at point A and aims at point C. Accordingly, B, between A and C, is the first position determined by the game, and D and E, between A and C, are the first and second positions determined by the game, respectively.

[0081] In this embodiment of the application, each time the controlled game character launches a grappling hook, it consumes one grappling hook equipped by the controlled game character.

[0082] Furthermore, in this embodiment, in step 103 above, when it is determined that the distance between the aiming position and the controlled game character (hereinafter referred to as the distance to be moved) is less than or equal to the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene based on a grappling hook (i.e., using a second movement method). Here, before controlling the controlled game character to automatically launch the grappling hook towards the aiming position, a first prompt message is displayed on the game interface. This first prompt message is used to prompt whether to launch the grappling hook towards the aiming position. In this embodiment, the first prompt message prompts the player whether to launch the grappling hook towards the aiming position, so that the controlled game character can move to the aiming position by using the grappling hook. If the player triggers a first confirmation operation for the first prompt message, the first confirmation operation for the first prompt message is responded to, and the controlled game character is controlled to automatically launch the grappling hook towards the aiming position.

[0083] Similarly, in this embodiment, in step 104 above, when it is determined that the distance between the aiming position and the controlled game character (hereinafter referred to as the distance to be moved) is greater than the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards the first position in the game scene, so that the controlled game character moves towards the first position in the game scene based on a grappling hook (i.e., in the second movement mode). Here, before controlling the controlled game character to automatically launch the grappling hook towards the first position, a second prompt message is displayed on the game interface. This second prompt message is used to prompt whether to launch the grappling hook towards the first position and subsequent positions consecutive to the first position. In this embodiment, the second prompt message prompts the player whether to launch the grappling hook towards the first position and subsequent positions consecutive to the first position, so that the controlled game character can move sequentially to the first position and subsequent positions through the grappling hook. If the player triggers a second confirmation operation for the second prompt message, the second confirmation operation for the second prompt message is responded to, and the controlled game character is controlled to automatically launch the grappling hook towards the first position and subsequent positions consecutive to the first position.

[0084] Here, the aforementioned subsequent position is an aiming position that is consecutive to the first position. The aforementioned subsequent position can also be a second position and an aiming position that are consecutive to the first position.

[0085] Optionally, while displaying the aforementioned first or second prompt message, a confirm button and a cancel button for the first or second prompt message are provided. The player triggers a first confirmation operation by clicking the confirm button for the first or second prompt message; the player triggers a first cancellation operation by clicking the cancel button for the first or second prompt message. When the player triggers the first cancellation operation, the controlled game character is not automatically controlled to fire the grappling hook at the aiming position. Similarly, when the player triggers the second cancellation operation, the controlled game character is not automatically controlled to fire the grappling hook at the first position.

[0086] In addition, in this embodiment of the application, after controlling the controlled game character to launch a grappling hook to the first position and using the grappling hook to move the controlled game character to the first position, whether launching the grappling hook to the second position or to the aiming position, the terminal device automatically controls the launch of the grappling hook, without requiring the player to confirm again. This reduces the number of player operations, simplifies the complexity of player operations, improves the accuracy of player operations, and increases player operation efficiency.

[0087] Furthermore, such as Figure 2 As shown in the embodiment of this application, a game character control method is provided to control the controlled game character to automatically launch the grappling hook equipment to a first or second position in the game scene, including:

[0088] S201. Determine a target grappling hook path in the game scene from the current position of the controlled game character to the aiming position. The target grappling hook path includes at least two position nodes where the grappling hook equipment stops. The at least two position nodes include a first position and an aiming position; or, a first position, an aiming position, and at least one second position. When the at least two position nodes include multiple second positions, the distance between the first position and the first second position, between any two second positions, and between the last second position and the aiming position is less than or equal to the maximum reachable distance of the grappling hook equipment. The distance between the aiming position and the controlled game character is greater than the distance between any second position and the aiming position.

[0089] Here, the terminal device can automatically determine a target grappling hook path from the current position of the controlled game character to the aiming position in the game scene, or it can first determine at least one grappling hook path from the current position of the controlled game character to the aiming position in the game scene, and the player triggers a selection operation to select a target grappling hook path from the at least one grappling hook path; the terminal device responds to the selection operation for the at least one grappling hook path and selects the target grappling hook path from 101. Each of the above grappling hook paths includes at least two position nodes corresponding to the grappling hook equipment; the at least two position nodes include: a first position and an aiming position; or, the at least two position nodes include: a first position, an aiming position, and at least one second position; when the at least two position nodes include multiple second positions, the distance between the first position and the first second position, between any two second positions, and between the last second position and the aiming position is less than or equal to the maximum reachable distance of the grappling hook equipment. This ensures that the distance between any two position nodes is a reachable distance of a grappling hook equipment, while the distance between the aiming position and the controlled game character is greater than the distance between any second position and the aiming position.

[0090] In one embodiment of this application, after determining at least one grappling hook path, at least one grappling hook path is displayed on the game interface of the game, and each grappling hook path corresponds to a selection area. The selection operation can be a touch operation on the selection area of ​​the target grappling hook path in the at least one grappling hook path. The touch operation can be one of a click operation, a long press operation, or a heavy press operation. In this embodiment of the application, the touch operation is not specifically limited.

[0091] In another implementation, the selection operation described above is a movement control operation for the controlled game character. The first position in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from its current position; each second position node in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from its previous position. In this implementation, the player controls the movement of the controlled game character through movement control operations, selecting either a first or second position based on the real-time position of the controlled game character after movement. Here, the selected first or second position is the position node closest to the real-time position of the controlled game character after moving from its previous position (or the previous position node). In practice, during the process of the player controlling the movement of the controlled game character through movement control operations, the position node closest to the real-time position of the controlled game character after movement will attract the controlled game character, prompting the player to select that position node as the first or second position.

[0092] S202. Control the controlled game character to automatically launch the grappling hook equipment to the first or second position in the target grappling hook path.

[0093] In this embodiment, when the player first selects the target grappling hook path, the controlled game character automatically fires a grappling hook at each node along the path, propelling the character to that node. However, when the player selects the target grappling hook path through movement control of the character, the path is not initially determined. Instead, each selected node triggers the grappling hook to automatically fire at it, propelling the character to that node until the character reaches the aiming position, thus defining the target grappling hook path.

[0094] When the target grappling hook path includes a first position and an aiming position, the controlled game character is automatically controlled to fire a grappling hook at the first position in the target grappling hook path. After the controlled game character finishes moving to the first position, the grappling hook is fired at the aiming position in the target grappling hook path, so that the controlled character moves to the aiming position based on the grappling hook.

[0095] When the target grappling hook path includes a first position, a second position, and an aiming position, the grappling hook is automatically fired at the first position in the target grappling hook path. After the controlled game character finishes moving to the first position, the grappling hook is automatically fired at the second position in the target grappling hook path. This continues until the controlled game character finishes moving to the last second position, at which point the grappling hook is automatically fired at the aiming position in the target grappling hook path, so that the controlled character can move to the aiming position based on the grappling hook.

[0096] Furthermore, such as Figure 3 As shown, in the game character control method provided in this application embodiment, after determining the target grappling hook path, the method further includes:

[0097] S301. Determine the first number of hook and cable equipment required for the target hook and cable path based on the number of position nodes where the hook and cable equipment stops in the target hook and cable path.

[0098] In this embodiment of the application, after the target grappling hook path is determined, the number of position nodes corresponding to the grappling hook equipment in the target grappling hook path is first determined. Here, the number of position nodes corresponding to the grappling hook equipment in the target grappling hook path does not include the initial position of the controlled game character (that is, the current position of the controlled game character in the game scene when the target grappling hook path is determined). Here, because the controlled game character needs to consume one grappling hook equipment every time it reaches the above-mentioned position node from the starting position, the number of position nodes corresponding to the grappling hook equipment in the target grappling hook path is the first number of grappling hook equipment required by the target grappling hook path.

[0099] like Figure 1b As shown, for example, if the target grappling hook path is ABC, then the number of nodes where the grappling hook equipment stops in the target grappling hook path is B and C, which is 2. Accordingly, the first number of grappling hook equipment required for the target grappling hook path is 2.

[0100] It should be noted that if the player selects the target grappling hook path by controlling the movement of the controlled game character, the final target grappling hook path cannot be determined at the beginning. In this case, the game system will default to selecting a predetermined grappling hook path from at least one determined grappling hook path and pre-select this predetermined grappling hook path as the target grappling hook path. Whenever the player selects a new location node, the predetermined grappling hook path and the first quantity of grappling hook equipment required for the predetermined grappling hook path are updated according to the location node to provide the player with a prompt.

[0101] S302. Display the first quantity of grappling hook equipment required for the target grappling hook path on the game interface of the game, and after the controlled game character automatically fires the grappling hook equipment to any location node in the target grappling hook path, update the first quantity according to the second quantity of grappling hook equipment consumed by the controlled game character to reach that location node in the target grappling hook path.

[0102] The game interface displays a first quantity of grappling hook equipment required for the target grappling hook path. This is to provide players with more useful information for gameplay. During gameplay, whenever the player controls a controlled game character and fires grappling hook equipment at any node along the target grappling hook path, a second quantity of grappling hook equipment required for the character to reach that node is determined. This second quantity is then subtracted from the first quantity to obtain an updated first quantity.

[0103] Still with Figure 1b Taking the target grappling hook path as ABC as an example, the first quantity of grappling hook equipment required for the target grappling hook path is 2. When the controlled game character moves from the initial position to position node B based on the grappling hook equipment, the grappling hook equipment consumed by position node B is calculated to be 1. Correspondingly, at this time, the first quantity of grappling hook equipment required for the target grappling hook path displayed on the game interface is 2-1=1.

[0104] Alternatively, during the process of the player controlling the controlled game character to play the game, whenever the controlled game character fires a grappling hook to any node in the target grappling hook path, the first quantity is obtained by subtracting the fixed quantity from the first quantity based on the second quantity of grappling hook equipment required for the controlled game character to reach the node from the previous position (here, the second quantity is a fixed quantity, i.e., the quantity of grappling hook equipment consumed is 1).

[0105] Still with Figure 1b Taking the target grappling hook path as ABC as an example, the first quantity of grappling hook equipment required for the target grappling hook path is 2. When the controlled game character moves from the previous position (position A) to position node B based on the grappling hook equipment, one grappling hook equipment is consumed. Correspondingly, at this time, the first quantity of grappling hook equipment required for the target grappling hook path displayed on the game interface is 2-1=1.

[0106] Furthermore, in the game character control method provided in this application embodiment, the relationship between the number of grappling hook equipment equipped by the controlled game character and the number of position nodes in the target grappling hook path is also considered, thereby controlling the controlled game character. Accordingly, the method further includes:

[0107] If the number of grappling hooks equipped by the controlled game character is less than the number of nodes where the grappling hooks stop in the target grappling hook path, a third prompt message is displayed on the game interface; the third prompt message is used to prompt the controlled game character to select the target grappling hook path where grappling hooks are missing grappling hooks.

[0108] In this embodiment of the application, when the number of grappling hook equipment equipped by the controlled game character is less than the number of location nodes of the target grappling hook path, a third prompt message is sent to the player. This third prompt message can indicate that the number of grappling hook equipment equipped by the controlled game character is insufficient, or it can indicate to the player the specific number of grappling hook equipment that the controlled game character is missing.

[0109] At this point, the player can freely choose based on the third prompt. The player can cancel the automatic firing of the grappling hook towards the first position by the controlled game character, or the player can confirm the third prompt to continue controlling the controlled game character to automatically fire the grappling hook towards the first or second position in the target grappling hook path.

[0110] Furthermore, the game character control method provided in this application embodiment further includes:

[0111] In response to the third confirmation operation for the third prompt information, the controlled game character is controlled to launch grappling hooks sequentially to the first position and aiming position of the target grappling hook path, or sequentially to the first position, second position and aiming position of the target grappling hook path. After launching the last grappling hook, the controlled game character is stopped from launching grappling hooks to the next position node of the first position or any second position of the target grappling hook path.

[0112] In one implementation, the target grappling hook path includes a first position and an aiming position. When the player triggers a third confirmation operation for the third prompt information, the terminal device controls the controlled game character to automatically launch a grappling hook to the first position of the target grappling hook path, and determines whether the grappling hook used is the last grappling hook. If so, the control of the controlled game character to continue launching the grappling hook to the next position (i.e., the aiming position) is stopped.

[0113] In one implementation, the target grappling hook path includes a first position and an aiming position. The target grappling hook path also includes a first position, a second position, and an aiming position. When the player triggers a third confirmation operation for the third prompt information, the terminal device controls the controlled game character to automatically launch a grappling hook towards the first position of the target grappling hook path and determines whether the grappling hook used is the last grappling hook. If not, the terminal device continues to control the controlled game character to automatically launch a grappling hook towards the second position of the target grappling hook path and determines whether the grappling hook used is the last grappling hook. If so, the terminal device stops controlling the controlled game character to continue launching a grappling hook towards the next position (i.e., the aiming position).

[0114] Furthermore, in this embodiment, the relationship between the current release distance of the grappling hook and the distance between any two location nodes is also considered, and the grappling hook is adjusted accordingly. In the game character control method provided in this embodiment, after controlling the controlled game character to automatically launch the grappling hook towards the first location, any second location, or the aiming location, the method further includes:

[0115] 1. If the current release distance of the grappling hook is less than the distance between the controllable game character and the first position, any second position, or the aiming position, the current release distance of the grappling hook is automatically adjusted to meet the distance between the controllable game character and the first position, any second position, or the aiming position.

[0116] For example, taking the controlled game character's current position as an example, if the current release distance of the grappling hook is less than the distance from the controlled game character's current position to the first position on the target grappling hook path, the current release distance of the grappling hook will be automatically adjusted to allow the controlled game character to move from the current position to the first position using the grappling hook. This adjustment can be either setting the current release distance of the grappling hook to equal the distance from the controlled game character's current position to the first position, or directly adjusting the current release distance of the grappling hook to the maximum reachable distance of the grappling hook.

[0117] 2. Display a fourth prompt message on the graphical user interface. The fourth prompt message is used to prompt the adjustment of the current release distance of the grappling hook equipment to meet the position node distance of the controlled game character to reach the first position, any second position, or the aiming position.

[0118] Similarly, taking the controlled game character's current position as an example, if the current release distance of the grappling hook is less than the distance from the controlled game character's current position to the first position on the target grappling hook path, the player will be prompted via a fourth prompt message to manually adjust the current release distance of the grappling hook to allow the controlled game character to move from the current position to the first position using the grappling hook. This adjustment can either be to make the current release distance of the grappling hook equal to the distance from the controlled game character's current position to the first position, or it can be directly adjusted to the maximum reachable distance of the grappling hook.

[0119] Furthermore, the game character control method provided in this application embodiment, which controls the controlled game character to automatically launch the grappling hook equipment towards the first position, the second position, or the aiming position, includes:

[0120] The controlled game character is attracted to the first virtual object belonging to the first position, the second virtual object belonging to the second position, or the third virtual object belonging to the aiming position, so that the controlled game character automatically launches the grappling hook equipment towards the first position, the second position, or the aiming position.

[0121] In this embodiment of the application, when the controlled game character automatically launches the grappling hook equipment to the first position, the second position, or the aiming position in the target grappling hook path, the current position node in the target grappling hook path (i.e., any one of the first position, the second position, and the aiming position mentioned above) actively attracts the controlled game character. By attracting the grappling hook, the player is prompted to select the position node, providing the player with intuitive information prompts in the game.

[0122] In the embodiments of this application, the first and second positions in the target grappling hook path are determined based on the game strategy for the game, or based on the real-time position of the controlled game character after movement. The game strategy is determined at least based on the current game scene characteristics and the current attribute characteristics of the controlled game character.

[0123] In the first case, that is, in the first and second positions of the target grappling hook path determined according to the game strategy for the game, the game strategy includes at least one of the following:

[0124] The game strategy for minimizing the cost of the grappling hook equipment; the game strategy for rapid movement of the controlled game character; the game strategy for pursuit of the controlled game character; the game strategy for concealment of the controlled game character. Wherein:

[0125] (1) Based on the minimum consumption game strategy, select the target grappling path from multiple grappling paths that consumes the least amount of grappling equipment when the controlled game character goes to the aiming position;

[0126] (2) Based on the fast-moving game strategy, select the target grappling hook path that moves the controlled game character the fastest when heading to the aiming position from multiple grappling hook paths;

[0127] (3) Based on the pursuit game strategy, select the target grappling hook path with the fastest pursuit speed when the controlled game character goes to the aiming position from multiple grappling hook paths;

[0128] (4) According to the concealment strategy, select the target grappling hook path that is furthest from the target virtual object or located outside the field of vision of the target virtual object when the controlled game character goes to the aiming position from multiple grappling hook paths; the target virtual object and the controlled game character are hostile to each other.

[0129] In this embodiment, the game system in the terminal device or server determines a game strategy based at least on the current scene characteristics and the current attribute characteristics of the controlled game character. Then, based on the game strategy, it automatically determines the target grappling hook path or the aforementioned predetermined grappling hook path by selecting a matching game strategy. Correspondingly, the player can also perform a selection operation based on the aforementioned game strategy to determine the target grappling hook path. Different scene characteristics and different attribute characteristics of the controlled game character lead to different game strategies; for example, some scene characteristics correspond to a minimum resource consumption game strategy; others correspond to a fast movement game strategy; still others correspond to a pursuit game strategy; and some correspond to a stealth strategy. Accordingly, a strategy can be determined based on the current scene characteristics and the current attribute characteristics of the controlled game character, and then a matching target grappling hook path can be determined based on that strategy. For example, the minimum resource consumption strategy corresponds to the target grappling hook path that consumes the least amount of grappling hook equipment when heading to the aiming position; the fast movement strategy corresponds to the target grappling hook path where the controlled game character moves the fastest when heading to the aiming position; the pursuit strategy corresponds to the target grappling hook path where the controlled game character has the fastest pursuit speed when heading to the aiming position; and the stealth strategy corresponds to the target grappling hook path where the controlled game character is furthest from the target virtual object or is outside the target virtual object's field of vision when heading to the aiming position. Here, the target virtual object, i.e., the controlled game character, is an enemy game character.

[0130] This application provides a method for controlling a game character in a game. The player controls the controlled game character to move in the game scene using a first movement method. After the player determines the aiming position the controlled game character wants to reach using a grappling hook, if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using the grappling hook using a second movement method. If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the player controls the controlled game character to move sequentially to the first position and then the aiming position, or sequentially to the first position, the second position, and then the aiming position using the second movement method. By comparing the distance between the aiming position and the controlled game character with the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the aiming position using one or more segments of the grappling hook using the second movement method. This simplifies the player's operational complexity, improves the accuracy of the player's operation, and increases the player's operational efficiency.

[0131] Based on the same inventive concept, this application also provides a game character control device corresponding to the game character control method in the game. Since the principle of the device in this application is similar to the game character control method in the game described above in this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0132] Reference Figure 4 The diagram shown is a schematic of a game character control device provided in an embodiment of this application. The game includes a controlled game character equipped with a grappling hook. The device includes:

[0133] The first control module 401 is used to respond to the movement control operation of the controlled game character and control the controlled game character to move in the game scene in a first movement mode.

[0134] The first determining module 402 is used to respond to the aiming operation for the hook and grappling equipment and determine the aiming position of the hook and grappling equipment in the game scene.

[0135] The second control module 404 is used to control the controlled game character to automatically launch the grappling hook towards the aiming position if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, so that the controlled game character moves towards the aiming position in the game scene in a second movement mode.

[0136] The third control module 404 is configured to, if the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook at a first position in the game scene, so that the controlled game character moves to the first position in the game scene using a second movement method; and after the controlled game character finishes moving to the first position, control the controlled game character to automatically launch the grappling hook at a second position or the aiming position in the game scene, so that the controlled game character moves to the second position or the aiming position in the game scene using a second movement method; wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position, and the first position and the second position are automatically determined by the game.

[0137] In one possible implementation, the second control module 404 controls the controlled game character to automatically launch the grappling hook equipment toward the aiming position, including:

[0138] A first prompt message is displayed on the game interface of the game, the first prompt message being used to prompt the launch of the grappling hook equipment toward the aiming position;

[0139] In response to the first confirmation operation for the first prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the aiming position.

[0140] In one possible implementation, the third control module 404 controls the controlled game character to automatically launch the grappling hook equipment towards a first location in the game scene, including:

[0141] A second prompt message is displayed on the game interface of the game, the second prompt message being used to prompt the launch of the grappling hook equipment to a first location in the game scene;

[0142] In response to the second confirmation operation for the second prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the first position.

[0143] In one possible implementation, the third control module 404 controls the controlled game character to automatically launch the grappling hook equipment to a first or second location in the game scene, including:

[0144] A target grappling hook path is determined in the game scene from the current position of the controlled game character to the aiming position. The target grappling hook path includes at least two position nodes where the grappling hook equipment stops. The at least two position nodes include a first position and an aiming position; or, a first position, an aiming position, and at least one second position. When the at least two position nodes include multiple second positions, the distance between the first position and the first second position, between any two second positions, and between the last second position and the aiming position is less than or equal to the maximum reachable distance of the grappling hook equipment, and the distance between the aiming position and the controlled game character is greater than the distance between any second position and the aiming position.

[0145] The controlled game character automatically launches the grappling hook equipment to the first or second position in the target grappling hook path.

[0146] In one possible implementation, the third control module 404 determines the target grappling hook path in the game scene from the current position of the controlled game character to the aiming position, including:

[0147] Determine at least one grappling hook path in the game scene from the current position of the controlled game character to the aiming position;

[0148] In response to a selection operation for the at least one hook path, a target hook path is selected from the at least one hook path.

[0149] In one possible implementation, the selection operation is a touch operation targeting a selection area of ​​a target grappling hook path among the at least one grappling hook path; wherein, after the at least one grappling hook path is determined, the at least one grappling hook path is displayed on the game interface of the game, and each grappling hook path corresponds to a selection area;

[0150] Alternatively, the selection operation is a movement control operation for the controlled game character; the first position in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the current position; each second position node in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the previous position.

[0151] In one possible implementation, the device further includes:

[0152] The second determining module is used to determine the first number of hook and cable equipment required for the target hook and cable path after determining the target hook and cable path, based on the number of position nodes where the hook and cable equipment stops in the target hook and cable path.

[0153] The first display module is used to display the first quantity of grappling hook equipment required for the target grappling hook path on the game interface of the game.

[0154] An update module is used to update the first quantity based on a second quantity of grappling hooks consumed by the controlled game character when reaching any location node in the target grappling hook path after the controlled game character automatically launches the grappling hook equipment to any location node in the target grappling hook path.

[0155] In one possible implementation, the device further includes:

[0156] The second display module is used to display a third prompt message on the game interface if the number of grappling hook equipment equipped by the controlled game character is less than the number of position nodes where the grappling hook equipment stops in the target grappling hook path; the third prompt message is used to prompt the controlled game character to select the target grappling hook path where grappling hook equipment is missing.

[0157] In one possible implementation, the device further includes:

[0158] The fourth control operation is used to respond to the third confirmation operation in response to the third prompt information, and to control the controlled game character to launch grappling hook equipment sequentially to the first position and aiming position of the target grappling hook path or sequentially to the first position, second position and aiming position of the target grappling hook path, and after launching the last grappling hook equipment, to stop controlling the controlled game character to continue launching grappling hook equipment to the next position node of the first position or any second position of the target grappling hook path.

[0159] In one possible implementation, the device further includes:

[0160] The adjustment module is used to automatically adjust the current release distance of the grappling hook equipment to meet the position node distance of the controlled game character to the first position, any second position, or the aiming position after the controlled game character automatically launches the grappling hook equipment to the first position, any second position, or the aiming position.

[0161] or,

[0162] The third display module is used to display a fourth prompt message on the graphical user interface after the controlled game character automatically launches the grappling hook equipment towards the first position, any second position, or the aiming position. The fourth prompt message is used to prompt the adjustment of the current release distance of the grappling hook equipment to meet the position node distance of the controlled game character to reach the first position, any second position, or the aiming position.

[0163] In one possible implementation, the third control module 404 controls the controlled game character to automatically launch the grappling hook equipment towards the first position, the second position, or the aiming position, including:

[0164] The controlled game character is attracted to the first virtual object belonging to the first position, the second virtual object belonging to the second position, or the third virtual object belonging to the aiming position, so that the controlled game character automatically launches the grappling hook equipment towards the first position, the second position, or the aiming position.

[0165] In one possible implementation, the first position and the second position are determined based on a game strategy for the game or the real-time position of the controlled game character after movement, wherein the game strategy is determined at least based on the current game scene characteristics of the game and the current attribute characteristics of the controlled game character.

[0166] In one possible implementation, the game strategy includes at least one of the following:

[0167] The game strategy for minimizing the cost of the grappling hook equipment; the game strategy for rapid movement of the controlled game character; the game strategy for pursuit of the controlled game character; and the game strategy for stealth of the controlled game character.

[0168] This application provides a game character control device. Players control a controlled game character to move within a game scene using a first movement method. After the player determines the target position the controlled game character intends to reach using a grappling hook, if the distance between the target position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the player controls the controlled game character to move towards the target position using a second movement method via the grappling hook. If the distance between the target position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the player controls the controlled game character to move sequentially to the first position and then the target position, or sequentially to the first position, the second position, and then the target position via the second movement method. By comparing the distance between the target position and the controlled game character with the maximum reachable distance of the grappling hook, the player can control the controlled game character to move towards the target position using one or more segments of the grappling hook via the second movement method. This simplifies the player's operational complexity, improves the accuracy of the player's operation, and increases the player's operational efficiency.

[0169] like Figure 5 As shown in the embodiment of this application, an electronic device 500 includes a processor 501, a memory 502, and a bus. The memory 502 stores machine-readable instructions that can be executed by the processor 501. When the electronic device is running, the processor 501 communicates with the memory 502 via the bus, and the processor 501 executes the machine-readable instructions to perform the steps of the game character control method described above.

[0170] Specifically, the memory 502 and processor 501 mentioned above can be general-purpose memory and processor, without any specific limitations. When the processor 501 runs the computer program stored in the memory 502, it can execute the game character control method mentioned above.

[0171] Corresponding to the game character control method in the above-mentioned game, this application embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the game character control method in the above-mentioned game.

[0172] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0173] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0174] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0175] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0176] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling a game character in a game, characterized in that, The game includes a controlled game character equipped with a grappling hook; the method includes: In response to a movement control operation on the controlled game character, the controlled game character is controlled to move in the game scene in a first movement mode; In response to an aiming operation for the grappling hook, the aiming position of the grappling hook is determined in the game scene; If the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards the aiming position, so that the controlled game character moves towards the aiming position in the game scene using a second movement method; If the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, the controlled game character is controlled to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method. After the controlled game character finishes moving towards the first position, the controlled game character is controlled to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method. Wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position. The first position and the second position are automatically determined by the game.

2. The game character control method according to claim 1, characterized in that, The method of controlling the controlled game character to automatically fire the grappling hook equipment towards the aiming position includes: A first prompt message is displayed on the game interface of the game, the first prompt message being used to prompt the launch of the grappling hook equipment toward the aiming position; In response to the first confirmation operation for the first prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the aiming position.

3. The game character control method according to claim 1, characterized in that, The method of controlling the controlled game character to automatically launch the grappling hook equipment to a first location in the game scene includes: A second prompt message is displayed on the game interface of the game, the second prompt message being used to prompt the launch of the grappling hook equipment to a first location in the game scene; In response to the second confirmation operation for the second prompt information, the controlled game character is controlled to automatically launch the grappling hook equipment towards the first position.

4. The game character control method according to claim 1, characterized in that, Controlling the controlled game character to automatically launch the grappling hook equipment to a first or second location in the game scene includes: A target grappling hook path is determined in the game scene from the current position of the controlled game character to the aiming position. The target grappling hook path includes at least two position nodes where the grappling hook equipment stops. The at least two position nodes include a first position and an aiming position; or, a first position, an aiming position, and at least one second position. When the at least two position nodes include multiple second positions, the distance between the first position and the first second position, between any two second positions, and between the last second position and the aiming position is less than or equal to the maximum reachable distance of the grappling hook equipment, and the distance between the aiming position and the controlled game character is greater than the distance between any second position and the aiming position. The controlled game character automatically launches the grappling hook equipment to the first or second position in the target grappling hook path.

5. The game character control method according to claim 4, characterized in that, Determining the target grappling hook path from the current position of the controlled game character to the aiming position in the game scene includes: Determine at least one grappling hook path in the game scene from the current position of the controlled game character to the aiming position; In response to a selection operation for the at least one hook path, a target hook path is selected from the at least one hook path.

6. The game character control method according to claim 5, characterized in that, The selection operation is a touch operation targeting the selection area of ​​the target grappling hook path in the at least one grappling hook path; wherein, after the at least one grappling hook path is determined, the at least one grappling hook path is displayed on the game interface of the game, and each grappling hook path corresponds to a selection area; Alternatively, the selection operation is a movement control operation for the controlled game character; the first position in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the current position; each second position node in the target grappling hook path is the position node closest to the real-time position of the controlled game character after moving from the previous position.

7. The game character control method according to claim 4, characterized in that, After determining the target grappling hook path, the method further includes: Based on the number of position nodes where the hook and cable equipment stops in the target hook and cable path, determine the first number of hook and cable equipment required for the target hook and cable path; The game interface displays a first quantity of grappling hook equipment required for the target grappling hook path. After the controlled game character automatically fires the grappling hook equipment at any node in the target grappling hook path, the first quantity is updated based on a second quantity of grappling hook equipment consumed by the controlled game character to reach that node in the target grappling hook path.

8. The game character control method according to claim 4, characterized in that, The method further includes: If the number of grappling hooks equipped by the controlled game character is less than the number of nodes where the grappling hooks stop in the target grappling hook path, a third prompt message is displayed on the game interface; the third prompt message is used to prompt the controlled game character to select the target grappling hook path where grappling hooks are missing grappling hooks.

9. The game character control method according to claim 8, characterized in that, The method further includes: In response to the third confirmation operation for the third prompt information, the controlled game character is controlled to launch grappling hooks sequentially to the first position and aiming position of the target grappling hook path, or sequentially to the first position, second position and aiming position of the target grappling hook path. After launching the last grappling hook, the controlled game character is stopped from launching grappling hooks to the next position node of the first position or any second position of the target grappling hook path.

10. The game character control method according to claim 1, characterized in that, After controlling the controlled game character to automatically launch the grappling hook equipment towards the first position, any of the second positions, or the aiming position, the method further includes: If the current release distance of the grappling hook is less than the distance between the controllable game character and the first position, any second position, or the aiming position, the current release distance of the grappling hook is automatically adjusted to meet the distance between the controllable game character and the first position, any second position, or the aiming position. or, A fourth prompt message is displayed on the graphical user interface. The fourth prompt message is used to prompt the adjustment of the current release distance of the grappling hook equipment to meet the position node distance of the controlled game character to reach the first position, any second position, or the aiming position.

11. The game character control method according to claim 1, characterized in that, Controlling the controlled game character to automatically launch the grappling hook equipment towards the first position, the second position, or the aiming position includes: The controlled game character is attracted to the first virtual object belonging to the first position, the second virtual object belonging to the second position, or the third virtual object belonging to the aiming position, so that the controlled game character automatically launches the grappling hook equipment towards the first position, the second position, or the aiming position.

12. The game character control method according to claim 1, characterized in that, The first position and the second position are determined based on the game strategy for the game or the real-time position of the controlled game character after movement. The game strategy is determined based at least on the current game scene characteristics of the game and the current attribute characteristics of the controlled game character.

13. The game character control method according to claim 12, characterized in that, The game strategy includes at least one of the following: The game strategy for minimizing the cost of the grappling hook equipment; the game strategy for rapid movement of the controlled game character; the game strategy for pursuit of the controlled game character; and the game strategy for stealth of the controlled game character.

14. A game character control device, characterized in that, The game includes a controlled game character equipped with a grappling hook, and the device includes: The first control module is used to respond to the movement control operation of the controlled game character and control the controlled game character to move in the game scene in a first movement mode; The first determining module is used to respond to the aiming operation for the hook and grappling equipment and determine the aiming position of the hook and grappling equipment in the game scene; The second control module is used to control the controlled game character to automatically launch the grappling hook towards the aiming position if the distance between the aiming position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, so that the controlled game character moves towards the aiming position in the game scene in a second movement mode; The third control module is configured to, if the distance between the aiming position and the controlled game character is greater than the maximum reachable distance of the grappling hook, control the controlled game character to automatically launch the grappling hook towards a first position in the game scene, so that the controlled game character moves towards the first position in the game scene using a second movement method; and after the controlled game character finishes moving towards the first position, control the controlled game character to automatically launch the grappling hook towards a second position or the aiming position in the game scene, so that the controlled game character moves towards the second position or the aiming position in the game scene using a second movement method; wherein, the distance between the first position and the controlled game character is less than or equal to the maximum reachable distance of the grappling hook, the distance between the first position and the second position is less than or equal to the maximum reachable distance of the grappling hook, the distance between the aiming position and the controlled game character is greater than the distance between the first position and the aiming position, and the distance between the aiming position and the controlled game character is greater than the distance between the second position and the aiming position, and the first position and the second position are automatically determined by the game.

15. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the game character control method as described in any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the game character control method as described in any one of claims 1 to 13.