Game control method, device, electronic device and storage medium
By using the behavior controls and time interval judgment of the graphical user interface in the game control method, the process of releasing the combined behavior is simplified, the problem of insufficient convenience and accuracy in the control of the combined behavior in the existing technology is solved, and the efficiency of user operations is improved. and accuracy.
Patent Information
- Application Number
- CN202210070202.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-01-21
AI Technical Summary
Existing game control methods make it difficult for users to find a balance between operational convenience and accuracy when performing combined actions. Especially when multiple skill controls are quickly released, there are problems such as low convenience and poor accuracy.
By providing behavioral controls in the graphical user interface, it responds to the user's trigger operations, determines whether the combined operation conditions are met, sequentially releases independent behaviors in the combined actions, and uses time intervals to determine the order and continuity of the combined operations, simplifying the user operation process.
It improves the convenience and accuracy of controlling combined behaviors, allowing users to more easily perform complex combined behaviors, reducing the need for quick clicks on multiple controls and improving the operating experience.
Smart Images

Figure CN116510287B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic games, and in particular to a game control method, device, electronic equipment and storage medium. Background Art
[0002] The user interface (UI for short) is a medium for interaction and information exchange between the system and the user, and it realizes the conversion between the internal form of information and the form acceptable to humans. For example, the game UI may include skill icons, prop icons, etc., and the user can control the virtual character to perform specific game behaviors through specific game icons. For example, the prior art proposes another behavior control, and there are multiple candidate areas around the behavior control, each candidate area corresponds to a behavior, and the user controls the virtual character to perform the behavior corresponding to the candidate area by dragging the behavior control to any area. However, with the increasing requirements for gameplay, the game behaviors of current games are more complex and diverse, and there are multiple combined behaviors composed of multiple behaviors executed in sequence, such as a multi-stage combo composed of multiple continuous moves, such as a two-stage combo composed of a jump-double jump. The prior art cannot support flexible and changeable multi-stage combos, and often needs to design a variety of game UIs to support triggering these combined behaviors.
[0003] For example, the prior art provides multiple skill controls. By combining and clicking on these skill controls, the user can flexibly use the moves corresponding to these skill controls, thereby forming a combined behavior. This method requires that multiple skill controls be displayed on the user interface at the same time for the user to flexibly select, and that multiple skill controls be triggered in a short period of time according to specific rules to use the combined behavior. In addition, the prior art also proposes a skill control. After the user clicks on the skill control, multiple candidate skill controls associated with the skill control pop up around the skill control. The user can then select any one of them and click on it, and the virtual character can use the moves corresponding to these skill controls, thereby forming a combined behavior.
[0004] However, the above method of casting combination behaviors requires accurately and quickly clicking multiple skill controls or skill controls in different positions in a short period of time. It is difficult for users to balance operation convenience with operation accuracy. Therefore, in the scenario of operating multiple skill controls to cast combination behaviors in a short period of time, this method has the problems of low convenience and poor accuracy in controlling the combination behaviors. Summary of the invention
[0005] The embodiments of the present invention provide a game control method, device, electronic device and storage medium, which can improve the convenience and accuracy of combined behavior control.
[0006] An embodiment of the present invention provides a game control method, wherein a graphical user interface is provided through a terminal, wherein the content displayed by the graphical user interface at least partially includes a game scene and a virtual character therein, and the graphical user interface provides a behavior control, and the method comprises:
[0007] In response to at least one trigger operation on the behavior control, controlling the virtual character to perform independent behaviors corresponding to the at least one trigger operation;
[0008] In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is satisfied according to the combined operation, the combined operation including at least one trigger operation and a second trigger operation;
[0009] When it is determined according to the combined operation that a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0010] The embodiment of the present invention further provides a game control device, which provides a graphical user interface through a terminal, wherein the content displayed by the graphical user interface at least partially includes a game scene and a virtual character therein, and the graphical user interface provides a behavior control, and the device includes:
[0011] A first trigger unit, configured to control the virtual character to perform independent behaviors corresponding to the at least one trigger operation in response to at least one trigger operation on the behavior control;
[0012] A second trigger unit, for responding to a second trigger operation on the behavior control, and judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is met according to the combined operation, wherein the combined operation includes at least one trigger operation and a second trigger operation;
[0013] The casting unit is used to control the virtual character to sequentially cast at least two independent behaviors in the combined behavior corresponding to the combined operation when judging according to the combined operation that the condition for controlling the virtual character to cast the combined behavior corresponding to the combined operation is met.
[0014] In some embodiments, the second trigger unit is used to:
[0015] In response to a second trigger operation on the behavior control, determining a time interval between an end time of a last trigger operation in at least one trigger operation and a start time of a second trigger operation;
[0016] It is used to judge whether the conditions for controlling the virtual character casting and the corresponding combined behavior of the combined operation are met according to the time interval between the end time of the last trigger operation in at least one trigger operation and the start time of the second trigger operation.
[0017] In some embodiments, the second trigger unit is used to:
[0018] In response to a second trigger operation on the behavior control, determining a time interval between a start time of a first trigger operation in at least one trigger operation and an end time of a second trigger operation;
[0019] According to the time interval between the start time of the first trigger operation in at least one trigger operation and the end time of the second trigger operation, it is determined whether the condition of controlling the virtual character casting and the corresponding combined behavior of the combined operation is met.
[0020] In some embodiments, the second trigger unit is configured to:
[0021] In response to a second trigger operation on the behavior control, determining a first time interval between an end time of a previous trigger operation and a start time of a subsequent trigger operation in at least one trigger operation, and a second time interval between an end time of a last trigger operation and a start time of a second trigger operation in at least one trigger operation;
[0022] According to the first time interval and the second time interval, it is determined whether a condition for controlling the virtual character to release and combine operations corresponding to the combined behavior is met.
[0023] In some embodiments, the game control device is further configured to:
[0024] Providing a combo control on the graphical user interface;
[0025] In response to a combo triggering operation on the combo control, the virtual character is controlled to sequentially execute at least two independent behaviors in the combined behavior corresponding to the combo control.
[0026] In some embodiments, the behavior control corresponds to a preceding sub-behavior, and the game control device further includes:
[0027] A pre-subunit, used to control the virtual character to perform a pre-subbehavior in response to a third trigger operation on the behavior control;
[0028] A post-subunit, used to determine multiple post-sub behaviors corresponding to the behavior control;
[0029] The target subunit is used to determine the post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located as the target behavior; the graphical user interface includes multiple end areas, and each end area corresponds to a post-sub-behavior;
[0030] The control subunit is used to control the virtual character to perform target behavior.
[0031] In some embodiments, the post-behavior includes a first post-behavior sub-child and a second post-behavior sub-child, and a target subunit, for:
[0032] Determine the current prop holding status of the virtual character;
[0033] When the prop holding state is the first sub-state, the first sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character does not hold the prop;
[0034] When the prop holding state is the second sub-state, the second sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character holds the prop.
[0035] In some embodiments, the third trigger operation includes a first sub-operation and a second sub-operation, and the pre-sub-unit includes:
[0036] A start submodule, for responding to a first sub-operation on the behavior control, taking the start position of the first sub-operation as the start position of the trigger operation, and controlling the virtual character to execute the preceding sub-behavior;
[0037] The end submodule is used to respond to the second sub-operation of the behavior control and use the end position of the second sub-operation as the end position of the triggering operation.
[0038] In some embodiments, the start submodule is further configured to:
[0039] In response to the first sub-operation on the behavior control, the behavior control and / or the visual display state of the virtual character is modified.
[0040] In some embodiments, when the start submodule is used to control the virtual character to perform the preceding sub-behavior, it is specifically used to:
[0041] Determine the duration of the first sub-operation;
[0042] When the duration is longer than a preset threshold, the virtual character is controlled to execute the preceding sub-behavior;
[0043] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0044] In some embodiments, the game control device is further configured to:
[0045] In response to a first sub-operation on the behavior control, displaying associated behavior controls of the behavior control on the graphical user interface, each associated behavior control corresponding to a game behavior;
[0046] In response to the second sub-operation on the behavior control, when the end position of the second sub-operation is located within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control.
[0047] In some embodiments, when the game control device is used to display the associated behavior control in the graphical user interface in response to the first sub-operation on the behavior control, it is specifically used to:
[0048] Determine the duration of the first sub-operation;
[0049] When the duration is greater than a preset threshold, a related behavior control is displayed in a graphical user interface;
[0050] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0051] In some embodiments, the game control device is used to respond to the second sub-operation of the behavior control, when the end position of the second sub-operation is located within the associated behavior control, to control the virtual character to perform the game behavior corresponding to the associated behavior control, specifically for:
[0052] In response to a second sub-operation on the behavior control, determining an end position of the second sub-operation;
[0053] When the end position of the second sub-operation is within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control;
[0054] Suppresses the display of the associated behavior control in the graphical user interface.
[0055] The display unit is used to provide a prop control corresponding to a traction prop on the graphical user interface; and indicate the traction prop through a prop identifier of the traction prop on the prop control;
[0056] A determination unit, configured to determine a target object corresponding to the object selection operation in the game scene in response to an object selection operation based on the prop control; wherein the object selection operation is used to associate the prop control with the target object; and the object selection operation includes at least a first selection event and a second selection event acting on the prop control and the target object respectively;
[0057] The control unit is used to use the target object as the end point of the traction prop and the current virtual character as the starting point of the traction prop, and control the current virtual character to move from the starting point to the end point using the traction prop. The game objects include the target object and the current virtual character.
[0058] In some embodiments, the display unit is specifically used for:
[0059] In response to a prop control display operation on the graphical user interface, a prop control corresponding to the towing prop is displayed on the graphical user interface.
[0060] In some embodiments, the display unit is specifically used for:
[0061] When a designated event is detected to occur in the game scene, a prop control corresponding to the traction prop is displayed on the graphical user interface; the designated event includes at least a combat event.
[0062] In some embodiments, the object selection operation includes a touch operation, the touch operation includes a first touch point and a second touch point, the first selection event includes the first touch point of the touch operation, the second selection event includes the second touch point of the touch operation, and the determining unit is specifically configured to:
[0063] In response to a touch operation on a prop control, a target object corresponding to the touch operation in a game scene is determined; a first touch point and a second touch point of the touch operation are located at the prop control and the target object, respectively.
[0064] An embodiment of the present invention further provides an electronic device, comprising a memory storing a plurality of instructions; the processor loads instructions from the memory to execute the steps in any one of the game control methods provided by the embodiments of the present invention.
[0065] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any one of the game control methods provided in the embodiments of the present invention.
[0066] The embodiment of the present invention can control a virtual character to perform independent behaviors corresponding to at least one trigger operation respectively in response to at least one trigger operation on a behavior control; in response to a second trigger operation on the behavior control, determine whether a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is met according to a combined operation, where the combined operation includes at least one trigger operation and a second trigger operation; when it is determined according to the combined operation that the condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is met, control the virtual character to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0067] For example, in some embodiments, the user performs multiple operations on the behavior control "jump" within 2 seconds, and if the multiple operations are [click, click] in chronological order, the virtual character can be controlled to perform the combo [jump-double jump] in sequence according to the combined operation; if the multiple operations are [long press, click] in chronological order, the virtual character can be controlled to perform the combo [crouch and charge-super jump] in sequence according to the combined operation.
[0068] In addition, compared to the prior art in which users need to click on multiple controls in different positions within a short period of time, on the one hand, users can implement combined behaviors by simply performing combined operations on the same control, thereby improving the convenience of combined behavior manipulation; on the other hand, when implementing combined behaviors, users only need to pay attention to the order of each operation in the combined operation, without having to pay attention to operations on different controls, thereby improving the accuracy of combined behavior manipulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0070] Figure 1a is a flowchart of a game control method provided in an embodiment of the present application;
[0071] Figure 1b is a scene schematic diagram of the game control method provided in an embodiment of the present application;
[0072] Figure 1c It is a schematic diagram of the combined behavior of the game control method provided by the embodiment of the present application;
[0073] Figure 1d is a schematic diagram of the end area of the game control method provided in an embodiment of the present application;
[0074] Figure 1e is an operation diagram of the game control method provided by an embodiment of the present application;
[0075] Figure 1f is an operation diagram of the game control method provided by an embodiment of the present application;
[0076] Figure 1g is a scene schematic diagram of the game control method provided in an embodiment of the present application;
[0077] Figure 2a This is an operation diagram of applying the game control method provided in an embodiment of the present application to a third-person action game scene on a mobile phone;
[0078] Figure 2b This is an operation diagram of applying the game control method provided in an embodiment of the present application to a third-person action game scene on a mobile phone;
[0079] Figure 2c This is an operation diagram of applying the game control method provided in an embodiment of the present application to a third-person action game scene on a mobile phone;
[0080] Figure 2d is a schematic diagram of the traction operation of the game control method provided in an embodiment of the present application;
[0081] Figure 2e is a schematic diagram of the traction operation of the game control method provided in an embodiment of the present application;
[0082] Figure 2f is a schematic diagram of the traction operation of the game control method provided in an embodiment of the present application;
[0083] Figure 3 is a schematic diagram of the structure of a game control device provided in an embodiment of the present application;
[0084] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0085] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0086] Embodiments of the present application provide a game control method, device, electronic device, and storage medium.
[0087] The game control method can be integrated into an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, or a personal computer (PC); the server can be a single server or a server cluster composed of multiple servers.
[0088] In some embodiments, the game control method may also be integrated into multiple electronic devices. For example, the game control method may be integrated into multiple servers, and the game control method of the present application may be implemented by multiple servers.
[0089] In some embodiments, the server may also be implemented in the form of a terminal.
[0090] For example, in some embodiments, the electronic device may be an electronic device in which a game client is running, the game client providing a graphical user interface through a terminal, the content displayed by the graphical user interface at least partially including a game scene and a virtual character therein, the graphical user interface providing a behavior control, the game client responding to at least one trigger operation on the behavior control to control the virtual character to perform independent behaviors corresponding to the at least one trigger operation; responding to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied according to a combined operation, the combined operation including at least one trigger operation and a second trigger operation; when judging according to the combined operation that the condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0091] In one embodiment of the present disclosure, a character control method can be run on a terminal device or a server. The terminal device can be a local terminal device. When the character control method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0092] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated, the storage and operation of the character control method are completed on the cloud game server, and the role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a terminal, a TV, a computer, a handheld computer, etc.; but the terminal device for character control is a cloud game server in the cloud. When playing the game, the user operates the client device to send an operation instruction to the cloud game server, such as a touch operation instruction. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0093] In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0094] The game scene (or virtual scene) is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene. The virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, in a sandbox 3D shooting game, the virtual scene is a 3D game world for users to control virtual objects for battle. Exemplary virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles.
[0095] The game interface refers to the interface corresponding to the application provided or displayed through the graphical user interface, which includes the graphical user interface for users to interact with and the game screen, which is the screen of the game scene.
[0096] In an optional embodiment, the UI interface may include game controls (such as skill controls, behavior controls, function controls, etc.), indicators (such as direction indicators, character indicators, etc.), information display areas (such as number of kills, match time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.).
[0097] For example, in some embodiments, a behavior control may be included in a graphical user interface.
[0098] In an optional embodiment, the game screen is a display screen corresponding to the terminal device displaying the virtual scene. The game screen may include game objects that execute game logic in the virtual scene. The game objects may include virtual characters, non-player characters (NPC), artificial intelligence (AI) characters and other virtual objects.
[0099] For example, in some embodiments, the content displayed in the graphical user interface at least partially includes a game scene, wherein the game scene includes a virtual character.
[0100] In some embodiments, the virtual character in the game scene includes a virtual object manipulated by the user.
[0101] A virtual character refers to a virtual object in a virtual scene, including a game character. A game character is a dynamic object that can be controlled, i.e., a dynamic virtual object. Optionally, the dynamic object can be a virtual person, a virtual animal, a cartoon character, etc. The virtual object is a character controlled by a user through an input device, or an artificial intelligence character set in a virtual environment through training, or a non-virtual character set in a virtual scene.
[0102] Optionally, the virtual object is a virtual character competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset, or dynamically determined according to the number of clients joining the battle, which is not limited in the embodiment of the present application.
[0103] In one possible implementation, the user can control the virtual object to perform game behaviors in the virtual scene. Game behaviors may include movement, casting skills, using props, and conversations. For example, the user can control the virtual object to run, jump, crawl, etc., and can also control the virtual object to use the skills and virtual props provided by the application to fight with other virtual objects.
[0104] The virtual camera is a necessary component for presenting the game scene screen. One game scene corresponds to at least one virtual camera. Depending on actual needs, there can be two or more virtual cameras. They serve as the game rendering window to capture and present the game world's screen content to the user. By setting the parameters of the virtual camera, the user's perspective of viewing the game world can be adjusted, such as the first-person perspective and the third-person perspective.
[0105] In an optional implementation, an embodiment of the present invention provides a character control method, which provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0106] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0107] The disclosed embodiments firstly aim to provide a game control method, which adds a behavior control in a graphical user interface so that the user can implement a combination behavior by simply performing a combination operation on the same control, thereby improving the convenience of the combined behavior manipulation; on the other hand, when the user implements the combined behavior, he only needs to pay attention to the sequence of each operation in the combined operation, without having to pay attention to the operations on different controls, thereby improving the accuracy of the combined behavior manipulation.
[0108] like Figure 1a As shown, the specific process of the game control method can be as follows:
[0109] 110. In response to at least one trigger operation on the behavior control, control the virtual character to perform independent behaviors corresponding to the at least one trigger operation.
[0110] The trigger operation may include touch, slide, drag, swipe, long press, short press, click, double click, triple click, end drag, etc. For example, in some embodiments, the trigger operation may be a short press operation; in some embodiments, the trigger operation may be a long press operation; in some embodiments, the trigger operation may be a drag operation.
[0111] The trigger operation for each behavior control may correspond to a default independent behavior. For example, in some embodiments, in response to a short press operation on the behavior control, the virtual character may be controlled to perform the default independent behavior, wherein the default behavior may include casting a default skill, performing a default interactive behavior, performing a default moving behavior, etc.
[0112] For example, the default independent behavior can be to cast a default skill, such as jumping, normal attack, moving forward, crawling, etc. For example, refer to Figure 1b When the user short presses the behavior control 01, the virtual character 02 controlled by the user can cast the default skill [normal attack].
[0113] Among them, the default skills can be basic skills, and the opposite is special skills. Basic skills and special skills can be set according to actual needs. For example, basic skills can be [normal attack], special skills can be [throwing weapons], etc., basic interactive behaviors can be [dialogue], special interactive behaviors can be [provoke], etc., basic movement behaviors can be [advance], special movement behaviors can be [sprint forward], etc.
[0114] 120. In response to a second trigger operation on the behavior control, determine whether a condition for controlling the virtual character to release a combined behavior corresponding to the combined operation is met according to a combined operation, where the combined operation includes at least one trigger operation and a second trigger operation.
[0115] In some embodiments, a series of trigger operations can be combined into a combined operation, the combined operation including at least one trigger operation and a second trigger operation, and the sub-operations in the combined operation (at least one trigger operation and a second trigger operation) can include touch, drag, swipe, long press, short press, double-click, click, end dragging and other operations.
[0116] The second trigger operation is the last triggered operation in the combined operation, and the second trigger operation may be the same operation as the trigger operation in step 110, or may be a different operation. That is, the second trigger operation may include touch, slide, drag, swipe, long press, short press, click, double click, triple click, end drag, and the like.
[0117] For example, in some embodiments, the trigger operation in step 110 may be a long press operation, and the second trigger operation may be a drag operation.
[0118] For example, in some embodiments, the combined operation includes [operation 1..., operation i-1, operation i], where i is a positive integer greater than 2, where operations 1 to i-1 are all trigger operations in step 110, and operation i is the second trigger operation.
[0119] In order to improve the convenience of combined behavior manipulation and the accuracy of combined behavior manipulation, the combined operation can be judged whether it satisfies the condition of controlling the virtual character to cast the combined behavior corresponding to the combined operation according to the time interval between different trigger operations in the combined operation. For example, according to the time interval between each trigger operation, it can be determined whether each trigger operation in the combined operation is continuous, that is, whether the user triggers each trigger operation in the combined operation in sequence without pause within a short period of time.
[0120] For example, if the interval between operation X and operation Y in the combined operation is 3 seconds, it can be inferred that the user wants to control the virtual character to respectively perform the independent behavior corresponding to operation X and the independent behavior corresponding to operation Y by triggering operation X and operation Y respectively, that is, the combined operation is judged not to meet the condition of controlling the virtual character to perform the combined behavior corresponding to the combined operation.
[0121] For example, if the interval between operation X and operation Y in the combination operation is 2 milliseconds, it can be determined that the user wants to achieve a combo by continuously triggering operation X and operation Y, that is, the combination operation is determined to meet the conditions for controlling the virtual character to release the combination behavior corresponding to the combination operation.
[0122] It should be noted that, according to the time interval, there are multiple ways to determine whether the combined operation satisfies the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior. The following are examples:
[0123] In some embodiments, step 120 may include the following steps:
[0124] In response to a second trigger operation on the behavior control, determining a time interval between an end time of a last trigger operation in at least one trigger operation and a start time of a second trigger operation;
[0125] According to the time interval between the end time of the last trigger operation in at least one trigger operation and the start time of the second trigger operation, it is determined whether the condition of controlling the virtual character casting and the corresponding combined behavior of the combined operation is met.
[0126] For example, in some embodiments, the combined operation includes [operation 1..., operation i-1, operation i], where i is a positive integer greater than 2, where operations 1 to i-1 are all trigger operations in step 110, operation i-1 is the last trigger operation in at least one trigger operation, and operation i is the second trigger operation.
[0127] The operation information of each operation includes the start time and the end time of the operation, and the absolute value of the difference between the start time and the end time is the duration of the operation.
[0128] According to the end time of operation i-1 and the start time of operation i, the time interval between the two operations can be determined.
[0129] There are various embodiments that can determine whether the conditions for controlling the virtual character's casting and the combination operation corresponding to the combination behavior are met according to the time interval.
[0130] For example, in some embodiments, if the time interval is less than a preset interval, it can be determined that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are met; if the time interval is not less than the preset interval, it can be determined that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are not met.
[0131] For example, in some embodiments, if the time interval is not greater than the preset interval, it can be judged that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are met; if the time interval is greater than the preset interval, it can be judged that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are not met.
[0132] For example, in some embodiments, if the time interval is less than a preset interval, it can be determined that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are met; if the time interval is greater than the preset interval, it can be determined that the conditions for controlling the virtual character's release and the combined operation corresponding to the combined behavior are not met.
[0133] Among them, the preset interval can be set according to the actual application scenario.
[0134] In this embodiment, the user only needs to pay attention to the intervals between the operations, and can release the combined behavior corresponding to the combined operation without triggering other behavior controls. Therefore, this solution can take into account both the convenience and accuracy of combined behavior control.
[0135] Similarly, in some embodiments, step 120 may include the following steps:
[0136] In response to a second trigger operation on the behavior control, determining a time interval between a start time of a first trigger operation in at least one trigger operation and an end time of a second trigger operation;
[0137] According to the time interval between the start time of the first trigger operation in at least one trigger operation and the end time of the second trigger operation, it is determined whether the condition of controlling the virtual character casting and the corresponding combined behavior of the combined operation is met.
[0138] The first trigger operation in the at least one trigger operation is the first trigger operation in the at least one trigger operation.
[0139] For example, in some embodiments, the combined operation includes [operation 1..., operation i-1, operation i], where i is a positive integer greater than 2, where operations 1 to i-1 are all trigger operations in step 110, operation i is the first trigger operation in at least one trigger operation, and operation i is the second trigger operation.
[0140] The time interval between the start time of operation 1 and the end time of operation i can be used as the duration of the combined operation.
[0141] There are multiple embodiments that can determine whether the conditions for controlling the virtual character to release the combined behavior corresponding to the combined operation are met according to the duration of the combined operation.
[0142] For example, in some embodiments, if the duration of the combined operation is less than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are met; if the duration of the combined operation is not less than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are not met.
[0143] For example, in some embodiments, if the duration of the combined operation is not greater than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are met; if the duration of the combined operation is greater than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are not met.
[0144] For example, in some embodiments, if the duration of the combined operation is less than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are met; if the duration of the combined operation is greater than the preset duration, it can be judged that the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are not met.
[0145] In this embodiment, the user only needs to pay attention to the intervals between the operations, and can release the combined behavior corresponding to the combined operation without triggering other behavior controls. Therefore, this solution can take into account both the convenience and accuracy of combined behavior control.
[0146] Similarly, in some embodiments, step 120 may include the following steps:
[0147] In response to a second trigger operation on the behavior control, determining a first time interval between an end time of a previous trigger operation and a start time of a subsequent trigger operation in at least one trigger operation, and a second time interval between an end time of a last trigger operation and a start time of a second trigger operation in at least one trigger operation;
[0148] According to the first time interval and the second time interval, it is determined whether a condition for controlling the virtual character to release and combine operations corresponding to the combined behavior is met.
[0149] The latter trigger operation is the operation after the former trigger operation.
[0150] For example, in some embodiments, the combined operation includes [operation 1..., operation j-1, operation j..., operation i-1, operation i], where i is a positive integer greater than 2, j is a positive integer not greater than i-1 and not less than 2, where operations 1 to i-1 are all trigger operations in step 110, if operation j-1 is the previous trigger operation in at least one trigger operation, operation j is the next trigger operation of operation j-1, and operation i is the second trigger operation.
[0151] Based on the first time interval between the end time of operation j-1 and the start time of operation j, and the second time interval between the end time of operation i-1 and the start time of operation i, it can be determined whether the conditions for controlling the virtual character's release and the corresponding combined behavior of the combined operation are met.
[0152] There are various embodiments in which it is possible to determine whether the conditions for controlling the virtual character to release and combine operations corresponding to the combined behavior are met based on the first time interval and the second time interval.
[0153] For example, in some embodiments, if the first time interval is less than the preset first interval, and the second time interval is less than the preset second interval, the condition for controlling the virtual character's release and the combined operation to correspond to the combined behavior is met; otherwise, the condition for controlling the virtual character's release and the combined operation to correspond to the combined behavior is not met.
[0154] For example, in some embodiments, if the first time interval is not greater than the preset first interval, and the second time interval is not greater than the preset second interval, the condition for controlling the virtual character's release and the combined operation to correspond to the combined behavior is met; otherwise, the condition for controlling the virtual character's release and the combined operation to correspond to the combined behavior is not met.
[0155] The preset first interval and the preset second interval may be the same or different, and the preset first interval and the preset second interval may be set according to actual application scenarios.
[0156] For example, in some embodiments, if the first time interval is greater than the second time interval, the condition of controlling the virtual character's release and the combined operation corresponding to the combined behavior is satisfied; otherwise, the condition of controlling the virtual character's release and the combined operation corresponding to the combined behavior is not satisfied.
[0157] For example, in some embodiments, if the first time interval is not less than the second time interval, the condition of controlling the virtual character's release and the combination operation corresponding to the combination behavior is satisfied; otherwise, the condition of controlling the virtual character's release and the combination operation corresponding to the combination behavior is not satisfied.
[0158] In this embodiment, the user only needs to pay attention to the intervals between the operations, and can release the combined behavior corresponding to the combined operation without triggering other behavior controls. Therefore, this solution can take into account both the convenience and accuracy of combined behavior control.
[0159] 130. When it is determined according to the combined operation that a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0160] Multiple independent behaviors can be combined to form a combined behavior. For example, in some embodiments, the independent behaviors are independent moves, and the combined behavior is a combo, that is, the combo can be composed of multiple independent moves.
[0161] When the condition that the combined operation corresponds to the combined behavior is met, each trigger operation in the combined operation corresponds to each independent behavior in the independent behavior in sequence, that is, there is a mapping relationship between the combined operation and the combined behavior. Based on this, it is possible to determine whether the condition that the combined operation corresponds to the combined behavior is met based on the mapping relationship between the combined operation and the combined behavior, so as to improve the efficiency of combined behavior determination.
[0162] In addition, the independent behaviors corresponding to each trigger operation in at least one trigger operation and the second trigger operation and the independent behaviors included in the combination behavior can be judged in sequence. If the independent behavior corresponding to a trigger operation in at least one trigger operation and the second trigger operation does not match the independent behaviors in the corresponding order in the combination row, it can be judged that the conditions for releasing the combination operation corresponding to the combination behavior are not met, so as to improve the efficiency of the combination behavior judgment. If the independent behavior corresponding to each trigger operation in at least one trigger operation and the second trigger operation matches each corresponding independent behavior in the combination row, it can be judged that the conditions for releasing the combination operation corresponding to the combination behavior are met, so as to improve the accuracy of the combination behavior judgment.
[0163] The mapping relationship between the combination operation and the combination behavior can be designed according to the actual application scenario. For example, the combination operation [A, A, A] corresponds to the combination behavior [a, b, c]; for example, the combination operation [A, A, B] corresponds to the combination behavior [a, b, d]; for example, the combination operation [A, B, B] corresponds to the combination behavior [a, e, f]; the combination operation [A, B, A] corresponds to the combination behavior [c, g, h]…
[0164] In some embodiments, the present solution can be applied in the casting of skill combos, providing a combo control on a graphical user interface, and in response to a combo trigger operation on the combo control, controlling the virtual character to sequentially execute at least two independent behaviors in the combined behavior corresponding to the combo control.
[0165] For example, in response to the combo triggering operation [click, click, long press] of the combo control [jump], the virtual character is controlled to perform the combination behavior [jump, double jump, eagle strike] corresponding to the [jump] in sequence. The user only needs to continuously trigger the same combo control [jump] without triggering other behavior controls to perform the complex combination behavior corresponding to the combination operation. Therefore, this solution can take into account the convenience and accuracy of the combination behavior control.
[0166] In some embodiments, in order to reduce the impact of user misoperation and improve operation efficiency, when it is determined according to the combined operation that the conditions for controlling the virtual character to release the combined behavior corresponding to the combined operation are not met, that is, when the combo operation fails, it is also possible to:
[0167] Controls the virtual character to perform an independent behavior corresponding to the second trigger operation.
[0168] For example, in some cases, the combination operation [A, B, C] triggered by the user does not meet the conditions for controlling the virtual character to perform the combination behavior [a, b, c] corresponding to the combination operation. Therefore, since the trigger operation C in the combination operation [A, B, C] is the second trigger operation, the virtual character is controlled to perform the independent behavior c corresponding to the trigger operation C.
[0169] In some embodiments, in order to optimize the number of controls and improve screen utilization, the game control method further includes:
[0170] In response to a second combination operation on the behavior control, when the second combination operation satisfies the condition of controlling the virtual character to cast a second combination behavior corresponding to the second combination operation, the virtual character is controlled to sequentially cast at least two independent behaviors in the second combination behavior corresponding to the second combination operation; the second combination operation is different from the combination operation, and the second combination behavior is different from the combination behavior.
[0171] In some embodiments, the virtual character may be controlled to perform a second combined behavior based on a second combined operation on the behavior control that is different from the combined operation.
[0172] The second combination operation is different from the combination operation and may include:
[0173] (1) Among the at least two independent operations included in the second combined operation, at least one independent operation is different from any independent operation among the at least two independent operations included in the combined operation;
[0174] (2) Among the orders of different independent operations in at least two independent operations included in the second combined operation, there is at least one operation order that is different from a certain operation order in the orders of different independent operations in at least two independent operations included in the combined operation.
[0175] The second combined behavior may include:
[0176] (1) Among the at least two independent acts included in the second combined act, at least one independent act is different from any of the at least two independent acts included in the combined act;
[0177] (2) In the order of casting of different independent behaviors among the at least two independent behaviors included in the second combined behavior, there is at least one behavior casting order that is different from the casting order of a certain behavior among the casting orders among the at least two independent behaviors included in the combined behavior.
[0178] In the embodiment of the present invention, different combination operations of the same behavior control can correspond to different combination behaviors. There is no need to design corresponding controls for each combination behavior. Through different combination operations of the same behavior, the virtual character can be controlled to perform different combination behaviors. Therefore, the embodiment of the present invention can optimize the number of controls on the graphical user interface and improve screen utilization.
[0179] In some embodiments, the behavior control corresponds to a preceding sub-behavior, and the method may further include the following steps:
[0180] In response to a third trigger operation on the behavior control, controlling the virtual character to perform a preceding sub-behavior;
[0181] Determine multiple post-sub-behaviors corresponding to the behavior control;
[0182] Determine the post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located as the target behavior; the graphical user interface includes multiple end areas, and each end area corresponds to a post-sub-behavior;
[0183] Control the virtual character to perform target behavior.
[0184] The third trigger operation and the at least one trigger operation and the second trigger operation may be the same or different.
[0185] In this solution, a combined behavior may include multiple game behaviors, that is, the combined behavior is composed of multiple sub-behaviors, and each sub-behavior requires a specific sub-operation to trigger.
[0186] For example, a combined behavior may include a preceding sub-behavior and a following sub-behavior, and the following sub-behavior can be triggered only after the preceding sub-behavior is triggered. That is, the preceding sub-behavior is one of the triggering conditions of the following sub-behavior. In some embodiments, the trigger operation may consist of a first sub-operation and a second sub-operation, wherein the first sub-operation and the second sub-operation may be the same sub-operation or different sub-operations. In response to the first sub-operation of the behavior control, the virtual character may be controlled to execute the preceding sub-behavior; in response to the second sub-operation of the behavior control, the virtual character may be controlled to execute the following sub-behavior.
[0187] In some embodiments, the preceding sub-behavior is the first triggered sub-operation in the combined operation, and the succeeding sub-behavior is the last triggered sub-operation in the combined operation. Therefore, the starting position of the first triggered sub-operation is the starting position of the triggering operation, and the ending position of the last triggered sub-operation is the ending position of the triggering operation. For example, the triggering operation may include long pressing, dragging, and finally ending the dragging. In this case, the starting position of the long pressing is the starting position of the triggering operation, and the ending position of the dragging is the ending position of the triggering operation.
[0188] In some embodiments, each behavior control may correspond to a default behavior. In some embodiments, each behavior control may correspond to a plurality of candidate behaviors in addition to a default behavior. The candidate behaviors are candidate game behaviors. For example, a behavior control may correspond to candidate behavior A and candidate behavior B, and the target behavior may be determined from candidate behavior A and candidate behavior B according to the end position.
[0189] When the triggering operations for the behavior control are different, the game character can be controlled to execute the default behavior or candidate behavior corresponding to the behavior control.
[0190] For example, in response to a short press operation on a behavior control, the virtual character can be controlled to cast a default skill; in response to a sliding operation on the behavior control, the target behavior can be determined from multiple candidate skills based on the end position: cast the skill [charged attack], so as to improve the convenience of triggering the target behavior.
[0191] In this solution, game behaviors can be divided into default behaviors and combined behaviors according to the types of preset game behaviors. The default behavior only includes one game behavior, and the combined behavior may include multiple game behaviors, that is, the combined behavior is composed of multiple sub-behaviors, and each sub-behavior requires a specific sub-operation to trigger.
[0192] For example, a combined behavior may include a pre-behavior and a post-behavior. In response to a first sub-operation on a behavior control, the virtual character may be controlled to execute the pre-behavior; in response to a second sub-operation on the behavior control, the virtual character may be controlled to execute the post-behavior.
[0193] For example, a combination behavior can include multiple sub-behaviors, each of which requires a specific sub-operation to trigger, and each sub-behavior can only be executed after the sub-operation corresponding to the previous sub-behavior is completed. For example, for the combination behavior: Casting a long sword combo skill, it includes 3 sub-behaviors, namely Casting skill combo 1, Casting skill combo 2, and Casting skill combo 3. Among them, Casting skill combo 1 and Casting skill combo 2 are both triggered by the sub-operation: short press, and Casting skill combo 3 is triggered by the sub-operation: long press.
[0194] Therefore, if the user wants to control the virtual character to cast a long sword combo skill, he needs to first short press the behavior control once to make the virtual character cast skill combo 1; then, short press the behavior control again to make the virtual character cast skill combo 2; finally, long press the behavior control once to make the virtual character cast skill combo 3.
[0195] In some embodiments, the candidate behavior is a combination behavior, which may be composed of a pre-sub-behavior and a post-sub-behavior. For example, the combination behavior [Charge Shock Wave] is composed of a pre-sub-behavior [Charge] and a post-sub-behavior [Cast Shock Wave]. When the virtual character casts [Charge Shock Wave], it first needs to perform a charging animation, and then perform a casting shock wave animation after completing the charging action. Optionally, the longer the charging time, the higher the attack power of the cast shock wave.
[0196] In order to improve gameplay and further enhance user experience, in some embodiments, different candidate behaviors include the same pre-behavior and different post-behaviors. For example, the candidate behavior [charge and attack upward] includes the pre-behavior [charge] and the post-behavior [attack upward], and the candidate behavior [charge and attack downward] includes the pre-behavior [charge] and the post-behavior [attack downward], wherein the candidate behavior [charge and attack upward] and the candidate behavior [charge and attack downward] have the same pre-behavior but different post-behaviors.
[0197] For example, refer to Figure 1c , the candidate behavior A+B1 is composed of the preceding sub-behavior A and the succeeding sub-behavior B1; the candidate behavior A+B2 is composed of the preceding sub-behavior A and the succeeding sub-behavior B2.
[0198] Therefore, in some embodiments, the third trigger operation includes a first sub-operation and a second sub-operation, and in response to the third trigger operation on the behavior control, controlling the virtual character to perform the preceding sub-behavior includes:
[0199] In response to the first sub-operation of the behavior control, the starting position of the first sub-operation is used as the starting position of the triggering operation, and the virtual character is controlled to perform the preceding sub-behavior;
[0200] In response to the second sub-operation of the behavior control, the end position of the second sub-operation is used as the end position of the trigger operation. For example, in response to the trigger operation of the behavior control, the virtual character is controlled to cast the default skill [default attack].
[0201] In order to improve the gameplay and further improve the user experience, in some embodiments, the trigger operation includes a first sub-operation and a second sub-operation, and the step of controlling the virtual character to perform the preceding sub-behavior in response to the trigger operation on the behavior control includes:
[0202] In response to the first sub-operation of the behavior control, the starting position of the first sub-operation is used as the starting position of the triggering operation, and the virtual character is controlled to perform the preceding sub-behavior;
[0203] In response to the second sub-operation on the behavior control, the end position of the second sub-operation is used as the end position of the triggering operation.
[0204] Optionally, the first sub-operation and the second sub-operation are discontinuous operations to improve the accuracy of the trigger operation and avoid possible misoperation. For example, the first sub-operation may include a long press operation, and the second sub-operation may include a drag operation.
[0205] Optionally, the first sub-operation and the second sub-operation are continuous and uninterrupted operations to improve the convenience of the trigger operation. For example, the first sub-operation and the second sub-operation are continuous and uninterrupted sliding operations or dragging operations.
[0206] Optionally, when the behavior control is short-pressed, the virtual character can be controlled to perform a default behavior; when the behavior control is long-pressed, the virtual character can be controlled to perform a pre-sub-behavior. Wherein, long-pressing means that the behavior control is continuously touched for a time greater than a preset threshold, and short-pressing means that the behavior control is continuously touched for a time less than a preset threshold. Therefore, in some embodiments, controlling the virtual character to perform a pre-sub-behavior includes:
[0207] Determine the duration of the first sub-operation;
[0208] When the duration is longer than a preset threshold, the virtual character is controlled to execute the preceding sub-behavior;
[0209] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0210] For example, when the user continues to touch the behavior control for no more than 15 milliseconds, the virtual character is controlled to cast the default skill [normal attack]; when the user continues to touch the behavior control for more than 15 milliseconds, the virtual character is controlled to execute the preceding sub-behavior [charging power].
[0211] Since multiple candidate behaviors corresponding to a behavior control can have the same preceding sub-behavior, different post-sub-behaviors result in different candidate behaviors. There are multiple ways to determine the corresponding target behavior in the candidate behaviors according to the end position, for example, the target behavior can be determined in the post-sub-behavior according to the end position.
[0212] In some embodiments, the candidate behavior includes a post-sub-behavior, the target behavior includes a target behavior, the graphical user interface includes a plurality of end areas, each end area corresponds to a post-sub-behavior, and the corresponding target behavior is determined in the candidate behavior according to the end position, including:
[0213] Determine a target area, where the target area is the end area where the end position is located;
[0214] The post-subbehavior corresponding to the target area is determined as the target behavior.
[0215] In the graphical user interface, there are multiple end areas adjacent to the behavior controls, for example, reference Figure 1dThe end area consists of a first end area 20 and a second end area 21. The behavior control 01 is adjacent to the first end area 20 and the second end area 21 respectively. The first end area 20 has a corresponding post-sub-behavior: release a charged horizontal attack, and the second end area 21 has a corresponding post-sub-behavior: release a charged vertical attack.
[0216] For example, in some embodiments, the multiple post-sub-behaviors corresponding to the behavior control include a first post-sub-behavior and a second post-sub-behavior, wherein the first end area adjacent to the behavior control corresponds to the first post-sub-behavior, and the second end area adjacent to the behavior control corresponds to the second post-sub-behavior. Therefore, the step of determining the corresponding target behavior in the candidate behaviors according to the end position may include the following steps:
[0217] When the end position is within the first end region, the first subsequent sub-behavior is determined as the target behavior;
[0218] When the end position is located in the second end region, the second subsequent sub-behavior is determined as the target behavior.
[0219] For example, refer to Figure 1b , behavior control 01 corresponds to the first post-sub-behavior [horizontal attack] and the second post-sub-behavior [vertical attack], and behavior control 01 corresponds to the front sub-behavior [charge], therefore, refer to Figure 1d When the end position is within the first end area 20, the first subsequent sub-behavior [horizontal attack] is determined as the target behavior, that is, the target behavior is the preceding sub-behavior [accumulation of power] + the first subsequent sub-behavior [horizontal attack]; when the end position is within the second end area 21, the second subsequent sub-behavior [vertical attack] is determined as the target behavior, that is, the target behavior is the preceding sub-behavior [accumulation of power] + the second subsequent sub-behavior [vertical attack].
[0220] Finally, control the virtual character to perform the target behavior.
[0221] In some embodiments, after the virtual character finishes executing the preceding sub-behavior, the virtual character is controlled to execute the target behavior.
[0222] Therefore, the virtual character needs to complete the preceding sub-behavior before continuing to execute the following sub-behavior to improve the accuracy of triggering the following sub-behavior. For example, if the user wants to control the virtual character to execute the following sub-behavior: cast a charged attack, the user needs to first control the virtual character to complete the preceding sub-behavior: charge for 3 seconds.
[0223] Therefore, optional, refer to Figure 1b , when the user short presses the behavior control 01, the virtual character 02 controlled by the user performs a normal attack; refer to Figure 1eWhen the user long presses the behavior control 01, the virtual character 02 performs the charging animation. After the charging is completed, when the user drags the behavior control 01 horizontally and releases it, the virtual character 02 swings the knife horizontally; refer to Figure 1f After the power is accumulated, when the user drags the behavior control 01 vertically and releases it, the virtual character 02 swings the knife vertically.
[0224] In order to strengthen the visual prompt of the first sub-operation / predecessor sub-behavior, the user may be prompted that the virtual character is performing the preceding sub-behavior by modifying the control and / or the visual performance of the virtual character. Therefore, in some embodiments, in response to the first sub-operation of the behavior control, the starting position of the first sub-operation is used as the starting position of the triggering operation, and the virtual character is controlled to perform the preceding sub-behavior, and further includes:
[0225] In response to the first sub-operation on the behavior control, the behavior control and / or the visual display state of the virtual character is modified.
[0226] Among them, the visual display state refers to the visual state displayed on the screen, and the visual display state can be divided according to actual needs. For example, the visual display state can include a high-brightness state, a low-brightness state, a hidden state, etc.
[0227] Among them, highlighting can include displaying a blue light effect on the edge of the virtual character and / or behavior control, changing the color of the virtual character and / or behavior control to bright yellow, displaying a flashing effect on the virtual character and / or behavior control, and so on.
[0228] Therefore, in some embodiments, the behavior control may be highlighted in response to the first sub-operation on the behavior control.
[0229] In order to improve the flexibility of visual prompt control of the first sub-operation / predecessor sub-behavior, the user can be prompted that the virtual character is performing the preceding sub-behavior by modifying the visual display state of the virtual character in the game scene. Therefore, in some embodiments, step (1) responds to the first sub-operation of the behavior control, takes the starting position of the first sub-operation as the starting position of the triggering operation, and controls the virtual character to perform the preceding sub-behavior, and also includes:
[0230] In response to the first sub-operation on the behavior control, the visual display state of the virtual character is modified.
[0231] For example, in response to the first sub-operation on the behavior control, the virtual character is highlighted.
[0232] In order to strengthen the visual prompt of completing the preceding sub-behavior, the user may be prompted that the virtual character has completed the preceding sub-behavior, so as to inform the user to control the virtual character to perform the next subsequent sub-behavior. Therefore, in some embodiments, when the duration is greater than a preset threshold, after controlling the virtual character to perform the preceding sub-behavior, the steps further include:
[0233] Generate a preceding completion prompt, which is used to prompt the virtual character that the preceding sub-behavior has been completed.
[0234] The generated pre-completion prompt may include a sound effect prompt, a terminal vibration prompt, and a text or icon prompt on a UI interface.
[0235] In some embodiments, if the virtual character holds different weapons, different post-actions may be performed. For example, the post-action sub-action includes a first post-action sub-action and a second post-action sub-action. The post-action sub-action corresponding to the end area where the end position of the third trigger operation is located is determined as the target action, including:
[0236] Determine the current prop holding status of the virtual character;
[0237] When the prop holding state is the first sub-state, the first sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character does not hold the prop;
[0238] When the prop holding state is the second sub-state, the second sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character holds the prop.
[0239] In addition, the prop holding state can include multiple states besides the first sub-state and the second sub-state. For example, the prop holding state can include empty-handed (that is, the virtual character is not equipped with any weapon props or there are no weapon props in the virtual character's backpack), holding short weapons, holding long weapons, holding long-range weapons, etc.
[0240] For example, refer to Figure 1d , if the target area is the first end area 20, the first sub-post-sub-behavior corresponding to the first end area 20 is: cast the charged skill [slash with a sword], and the second sub-post-sub-behavior corresponding to the first end area 20 is: cast the charged skill [whip kick sweep]. Therefore, when the virtual character's item holding state is equipped with a sword, the target behavior is to cast the charged skill [slash with a sword], and when the virtual character's item holding state is unarmed, the target behavior is to cast the charged skill [whip kick sweep].
[0241] refer to Figure 1d, if the target area is the second end area 21, the first sub-post-sub-behavior corresponding to the second end area 21 is: cast the charged skill [swing the sword], and the second sub-post-sub-behavior corresponding to the second end area 21 is: cast the charged skill [uppercut]. Therefore, when the virtual character's item holding state is equipped with a sword, the target behavior is to cast the charged skill [swing the sword], and when the virtual character's item holding state is unarmed, the target behavior is to cast the charged skill [uppercut].
[0242] In some embodiments, the game control method further includes:
[0243] In response to a first sub-operation on the behavior control, displaying associated behavior controls of the behavior control on the graphical user interface, each associated behavior control corresponding to a game behavior;
[0244] In response to the second sub-operation on the behavior control, when the end position of the second sub-operation is located within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control.
[0245] Each behavior control may be associated with multiple associated behavior controls.
[0246] For example, in response to a click on a behavior control [Jump], three associated behavior controls of the behavior control [Down] may be displayed on the graphical user interface, namely, the associated behavior control [Bend], the associated behavior control [Squat], and the associated behavior control [Crawl]. When the end position of the second sub-operation is located within the associated behavior control [Crawl], the virtual character is controlled to perform a crawling action.
[0247] In some embodiments, in response to a first sub-operation on a behavior control, displaying the associated behavior control in a graphical user interface includes:
[0248] Determine the duration of the first sub-operation;
[0249] When the duration is greater than a preset threshold, a related behavior control is displayed in a graphical user interface;
[0250] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0251] In some embodiments, in response to the second sub-operation on the behavior control, when the end position of the second sub-operation is located within the associated behavior control, controlling the virtual character to perform the game behavior corresponding to the associated behavior control includes:
[0252] In response to a second sub-operation on the behavior control, determining an end position of the second sub-operation;
[0253] When the end position of the second sub-operation is within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control;
[0254] Suppresses the display of the associated behavior control in the graphical user interface.
[0255] In some embodiments, in order to make the UI interface more concise and further improve the user experience, the embodiment of the present application also provides a game control method, including:
[0256] (1) in response to a first sub-operation on the behavior control, displaying adjacent controls in the graphical user interface, the adjacent controls being adjacent to the behavior control, each adjacent control corresponding to a game behavior;
[0257] (2) In response to a second sub-operation on the behavior control, when the end position of the second sub-operation is located within an adjacent control, controlling the virtual character to execute the game behavior corresponding to the adjacent control.
[0258] For example, refer to Figure 1f In response to the user's long press operation on the behavior control 30, the adjacent controls 31 and the adjacent controls 32 are displayed in the graphical user interface; in response to the user's drag operation on the behavior control 30, when the end position of the drag operation is located in the adjacent control 31, the virtual character is controlled to execute the game behavior corresponding to the adjacent control 31: cast a skill [jumping move]; in response to the user's drag operation on the behavior control 30, when the end position of the drag operation is located in the adjacent control 32, the virtual character is controlled to execute the game behavior corresponding to the adjacent control 32: cast a skill [squatting move].
[0259] In addition, if the user short presses the behavior control 30, the virtual character can be controlled to perform the default skill corresponding to the behavior control 30. Therefore, in some embodiments, step (1) in response to the first sub-operation of the behavior control, displaying adjacent controls in the graphical user interface includes the following steps:
[0260] Determine the duration of the first sub-operation;
[0261] When the duration is greater than a preset threshold, adjacent controls are displayed in the graphical user interface;
[0262] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0263] In some embodiments, step (2) responds to the second sub-operation of the behavior control, and when the end position of the second sub-operation is located within the adjacent control, controlling the virtual character to perform the game behavior corresponding to the adjacent control includes the following steps:
[0264] In response to a second sub-operation on the behavior control, determining an end position of the second sub-operation;
[0265] When the end position of the second sub-operation is within the adjacent control, the virtual character is controlled to execute the game behavior corresponding to the adjacent control;
[0266] For example, refer to Figure 1g If the user short presses the behavior control 30, the virtual character performs a default move. If the user long presses the behavior control 30, adjacent controls 31 and adjacent controls 32 pop up around the behavior control 30. If the user drags the finger and the end position of the drag is located at the adjacent control 31, the virtual character performs a jumping move. If the end position of the drag is the adjacent control 32, the virtual character performs a squatting move.
[0267] The present application also proposes a game control method, which proposes multiple end areas in a graphical user interface, each end area corresponds to a post-sub-behavior, and the method may include the following:
[0268] After the virtual character has executed the sub-behavior corresponding to the i-th sub-operation, in response to the i+1-th sub-operation on the behavior control, the virtual character is controlled to execute the sub-behavior corresponding to the i+1-th sub-operation;
[0269] Control the virtual character to perform the sub-behavior corresponding to the i+1th sub-operation, including:
[0270] When the (i+1)th sub-operation is a short press operation, the virtual character is controlled to perform the sub-behavior corresponding to the (i+1)th sub-operation;
[0271] When the (i+1)th sub-operation is a long press operation, the virtual character is controlled to execute the preceding sub-behavior corresponding to the (i+1)th sub-operation;
[0272] When the i-th sub-operation is a long press operation and the (i+1)-th sub-operation is a drag operation, the target area is determined and the virtual character is controlled to execute the post-behavior corresponding to the target area. The target area is the end area where the end position of the drag operation is located.
[0273] Wherein, i is a positive integer.
[0274] This solution can be applied to the virtual character's combo casting. The user can control the virtual character to cast the combo by performing touch operations on the same behavior control. The touch operation can be composed of sub-operations such as short press operation, long press operation, and drag operation. Each time a sub-operation is completed, the virtual character can cast a combo according to the combo rules.
[0275] For example, refer to Table 1, which is a combo rule table:
[0276] Table 1
[0277] Long Sword Combo 1 Short press to slash 1 → Short press to slash 2 → Long press to charge → Swipe left to slash Long Sword Combo 2 Long press to charge → Swipe upward to fly → Short press to stab Shield combo 1 Long press to raise the shield → swipe upwards to cast shield strike
[0278] When the virtual character is equipped with a long sword, the virtual character can perform two combos: if the user wants to control the virtual character to perform long sword combo 1, the user needs to short press the behavior control twice in a row to make the virtual character perform normal attack 1 and normal attack 2, and then the user needs to long press the behavior control to make the virtual character enter a charging state, and when the charging is completed, the user needs to swipe to the left to make the virtual character perform a slash; if the user wants to control the virtual character to perform long sword combo 2, the user needs to long press the behavior control to make the virtual character enter a charging state, and when the charging is completed, the user needs to swipe upwards to make the virtual character perform a flying move, and then short press the behavior control again to make the virtual character perform a short-press stab.
[0279] When the virtual character is equipped with a shield, the virtual character can only perform one combo: first, the user needs to long press the behavior control to make the virtual character raise the shield, and then short press the behavior control to make the virtual character perform a shield attack.
[0280] It should be noted that the virtual character needs to complete the previous sub-behavior and perform a new sub-behavior within the preset duration before it can be executed. For example, referring to Table 1, if the preset duration is 50 milliseconds, when the player is performing Long Sword Combo 1, there is a 1 second difference between the two short presses of the behavior control, then the game character will not perform Flat Slash 2.
[0281] From the above, it can be seen that the embodiments of the present application can determine the end position of the trigger operation in response to the trigger operation of the behavior control; determine multiple candidate behaviors corresponding to the behavior control, and determine the corresponding target behavior among the candidate behaviors according to the end position; and control the virtual character to perform the target behavior.
[0282] Therefore, this solution can simplify the user's operation and reduce the user's learning cost. The operation method is in line with the user's operating habits and logic, and the operation method is straightforward and intuitive, further improving the user experience. Therefore, this solution can effectively improve the efficiency of virtual character control and improve the convenience and accuracy of combined behavior control.
[0283] The method described in the above embodiment will be further described in detail below.
[0284] The virtual character control scheme provided in the embodiment of the present application can be applied in various game scenarios. For example, taking a third-person action game as an example, on the computer side, the user presses the left and right buttons of the mouse to charge and attack. In order to conform to the operating habits and logic of the computer user and make the operation method more intuitive, in this embodiment, an operation method applied to a third-person action game on a mobile phone is proposed. The method of the embodiment of the present application will be described in detail below.
[0285] refer to Figure 2a, if the user short presses the attack key 40, the user character will perform a default attack; if the user long presses the attack key 40, the user character will charge for 3 seconds. During the charging process, the edge of the attack key 40 turns blue, and the user character turns blue; after the charging is completed, the mobile phone sends a vibration prompt.
[0286] refer to Figure 2b , when the user character holds a melee weapon, if the user drags to the left, the user character will slash horizontally, refer to Figure 2c , if the user drags upwards, the user character will slash vertically.
[0287] In addition, when the user character is unarmed or holding a long-range weapon, if the user drags to the left, the user character will perform a tornado kick, and if the user drags upward, the user character will perform an uppercut.
[0288] In addition, the present invention also proposes a game control method, the method steps are as follows:
[0289] (1) providing a prop control corresponding to a traction prop on a graphical user interface; indicating the traction prop through a prop identifier of the traction prop on the prop control.
[0290] 110. Provide a prop control corresponding to the traction prop on the graphical user interface; indicate the traction prop through the prop identifier of the traction prop on the prop control.
[0291] There is no limitation on the specific display form of the prop control in the graphical user interface; for example, the prop control can be displayed using a prop logo of a traction prop surrounded by a circle.
[0292] The prop identifier may be a unique identifier of a traction prop in a game scene, and may indicate the traction prop; for example, it may be an image, text, or a simple drawing of the traction prop.
[0293] As a virtual prop, the traction prop can also be called a zipline or a hook, etc. It is a virtual prop that can be used to move or transfer from one position to another position in the virtual game scene through specific or non-specific trigger operations when specific or non-specific trigger conditions are met. For example, the traction prop can be composed of a hook and a chain; or the traction prop can also be composed of a knot and a rope, etc.
[0294] In some embodiments, in response to a prop control display operation on a graphical user interface, a prop control corresponding to the traction prop is displayed on the graphical user interface. The prop control display operation may be touch, drag, swipe, long press, short press, double click, click, end drag, etc., or a mouse or keyboard trigger event, etc. The prop control is displayed only when the player needs to control the traction prop, which can reduce misoperation and improve the accuracy of traction prop control while taking into account the portability of operation.
[0295] In some embodiments, when a designated event is detected in the game scene, a prop control corresponding to the traction prop is displayed on the graphical user interface; the designated event includes at least a combat event, which may refer to a virtual character using a virtual prop to fight against a virtual character controlled by another player. The designated event may also be a displacement event, which may refer to the current virtual character moving quickly toward a target point or direction in the game scene.
[0296] For example, when a combat event is detected in the game scene, the prop controls corresponding to the traction props are displayed on the graphical user interface. Combat events are highly intense and real-time, and require high efficiency in control operations. When a combat event is detected, the prop controls are displayed, and players can quickly operate the prop controls to trigger the traction props to quickly move to the location where the combat event occurs, which can improve the portability and efficiency of operations. For another example, when a displacement event is detected in the game scene, the prop controls corresponding to the traction props are displayed on the graphical user interface; when the player controls the current virtual character to move, the traction props are automatically displayed, and the player can use the traction props to control the current virtual character to move quickly, so as to enrich the diversity of virtual character movement control, improve user experience, and thus improve user stickiness.
[0297] In some embodiments, in response to an enabling trigger operation on a prop control, the state of the towing prop may be determined as a use state, and the trigger operation on the prop control may be monitored.
[0298] Among them, monitoring the triggering operation of the prop control may include monitoring the object selection operation of the prop control, the prop control display operation, etc.
[0299] The enabling trigger operation can be a long press, double click, and other operations; the traction prop is in the use state, which means that the current virtual character can be controlled to use the traction prop and perform game behaviors related to the traction prop; if the traction prop is not in the use state, it will not respond to the trigger operation of the prop control. For example, the user can first long press the prop control, and in response to the long press operation of the prop control, the state of the traction prop is determined to be the use state; then monitor the drag operation of the prop control, if the traction prop is not in the use state, directly drag the prop control, and the electronic device will not respond. By long pressing to enable the traction prop, and then responding to the drag operation, it is possible to take into account the convenience of operation while avoiding user misoperation and improving the operation accuracy.
[0300] In some embodiments, when the backpack of the current virtual character contains a traction prop, the prop control is in the first display state, and the operation of the prop control can be triggered when operated; when there is no traction prop in the backpack, the prop control is in the second display state, and the operation of the prop control cannot be triggered when operated. Among them, the backpack can refer to the virtual space that accommodates the virtual props of the current virtual character; the first display state is used to indicate that the traction prop can be triggered when the prop control is operated, and the original color of the prop control can be displayed; the second display state is used to indicate that the traction prop cannot be triggered when the prop control is operated, and it can be grayed out.
[0301] (ii) In response to an object selection operation based on a prop control, determining a target object corresponding to the object selection operation in a game scene; wherein the object selection operation is used to associate the prop control and the target object; the object selection operation includes at least a first selection event and a second selection event acting on the prop control and the target object respectively.
[0302] The target object may be any game object in the game scene. For example, the target object may be a game object that can be hooked by the hook of the traction prop; or the target object may be a game object that can be tied by the knot of the traction prop.
[0303] The first selection event may be an event acting on a prop control; the second selection event may be an event acting on a target object.
[0304] The object selection operation may be an operation of the player on the graphical user interface, or may be a touch operation or a mouse or keyboard trigger event, etc. The touch operation may include touch, drag, slide, swipe, long press, short press, double click, click, end drag, etc. In some embodiments, the touch operation may be a combination of a series of operations, such as a combination of single-clicking or double-clicking a prop control and single-clicking or double-clicking a target object; and other touch operations other than the touch operations exemplified in this embodiment. The object selection operation is an operation for associating a prop control with a target object. Through this object selection operation, the target object may be determined or selected based on the prop control.
[0305] In some embodiments, the object selection operation includes a touch operation, the touch operation includes a first touch point and a second touch point, the first selection event includes the first touch point of the touch operation, and the second selection event includes the second touch point of the touch operation. The touch point may be a point where the player touches the graphical user interface when operating the graphical user interface. In some embodiments, a pressure sensor and a processor in an electronic device may be used to determine the touch point.
[0306] In response to a touch operation on a prop control, a target object corresponding to the touch operation in a game scene can be determined; a first touch point and a second touch point of the touch operation are located at the prop control and the target object, respectively.
[0307] In some embodiments, in response to a sliding operation on a prop control, a target object corresponding to the sliding operation in the game scene is determined.
[0308] In some embodiments, in response to a drag operation on a prop control, a target object corresponding to the drag operation in the game scene is determined.
[0309] For example, the touch operation can be a drag operation, then the first touch point can be the touch point acting on the prop control when the prop control is started to be dragged, and the second touch point can be the point acting on the target object when the prop control is finished dragging. For example, the electronic device is a touch screen terminal, and the user can use a finger to drag the prop control on the graphical user interface displayed on the touch screen terminal display screen. When the finger touches the graphical user interface and starts to drag the prop control, the point where the finger touches the graphical user interface is the first touch point, and the first touch point acts on the prop control; when the finger is released, the point where the finger touches the graphical user interface is the second touch point, and the second touch point acts on the target object. It can be understood that the value of the touch point will change with the change of the point where the touch operation touches the graphical user interface; for example, when the touch operation is a drag operation, during the process of dragging the prop control, the value of the touch point changes with the change of the point where the drag operation touches the graphical user interface. Through touch operations, such as sliding or dragging, the target object can be quickly and conveniently determined, which improves the convenience of determining or selecting the target object.
[0310] In addition, the touch operation may also include other touch operations besides the above-mentioned sliding and dragging, such as single-click or double-click operations on the prop control and the target object, respectively. That is, the touch operation includes single-click or double-click operations on the prop control and single-click or double-click operations on the target object, etc., and the embodiment of the present invention does not impose any special restrictions or constraints on this.
[0311] In some embodiments, when the object selection operation is a touch operation, a crosshair mark can be displayed in real time at the location of the current touch point of the touch operation on the graphical user interface. The current touch point can be the point where the touch operation touches the graphical user interface at the current moment, and the crosshair mark can be used to indicate the game object corresponding to the current touch point in the game scene. The crosshair mark can be an arrow icon, a triangle icon, etc. The crosshair mark can be displayed above the position where the finger touches the graphical user interface, which can prevent operation errors caused by the finger blocking the user's line of sight.
[0312] In response to a touch operation on the prop control, when the current touch point is the second touch point, the game object indicated by the crosshair mark is used as the target object corresponding to the touch operation in the game scene.
[0313] In some embodiments, the touch operation further includes a third touch point, and when the third touch point of the touch operation is located at an edge of the graphical user interface or a prop control, the current virtual character is controlled to cancel the use of the traction prop. For example, when the player drags the prop control to the edge of the user interface, or when the player drags the prop for a certain distance and then drags it back to the original position of the prop control, the electronic device responds to the user's touch operation and controls the current virtual character to cancel the use of the traction prop, thereby improving the convenience of canceling the use of the traction prop.
[0314] (III) The target object is used as the end point of the traction prop, and the current virtual character is used as the starting point of the traction prop. The current virtual character is controlled to use the traction prop to move from the starting point to the end point. The game objects include the target object and the current virtual character.
[0315] In some embodiments, before controlling the current virtual character to use the traction prop to move from the starting end to the ending end, it is also possible to determine whether the target object meets the interactive condition for controlling the current virtual character to use the traction prop. When the target object meets the interactive condition for controlling the current virtual character to use the traction prop, the current virtual character is controlled to use the traction prop to move from the starting end to the ending end. The specific implementation method for determining whether the target object meets the interactive condition for controlling the current virtual character to use the traction prop is not limited.
[0316] As an optional implementation, the interaction distance between the target object and the current virtual character may be determined; the interaction distance may be the distance between the current virtual character and the target object in the game scene.
[0317] The target object satisfies the interactive conditions for controlling the current virtual character to use the traction prop, including: the interactive distance between the target object and the current virtual character is not greater than the maximum movable distance of the traction prop. Among them, the maximum movable distance can be set according to the actual application situation, and the maximum movable distance can limit the range of movement using the traction prop.
[0318] The target object does not meet the interaction conditions for controlling the current virtual character to use the traction prop, including: the interaction distance between the target object and the current virtual character is greater than the maximum movable distance of the traction prop.
[0319] As an optional implementation, it can also be determined whether the target object is a hookable object. If the target object is a hookable object, it means that the traction prop can hook or hook the object, and the traction prop can be used to control the virtual character to move to the position of the hookable object in the game scene. For example, the hookable object can be a virtual character and a building. If the target object is an unhookable object, it means that the traction prop cannot hook or hook the object, and the traction prop cannot be used to control the virtual character to move to the position of the hookable object in the game scene. For example, the unhookable object can be grass, leaves, sky, water, etc. in the game scene.
[0320] The target object does not meet the interaction conditions for controlling the current virtual character to use the traction prop, including: the interaction distance between the target object and the current virtual character is greater than the maximum movable distance of the traction prop, and / or the target object is an unhookable object.
[0321] The target object meets the interactive conditions for controlling the current virtual character to use the traction prop, including: the interactive distance between the target object and the current virtual character is not greater than the maximum movable distance of the traction prop, and / or the target object is a hookable object.
[0322] In some embodiments, when the target object meets the interaction conditions for controlling the current virtual character to use the traction prop, the crosshair mark can be displayed as a first display state; when the target object does not meet the interaction conditions for controlling the current virtual character to use the traction prop, the crosshair mark can be displayed as a second display state.
[0323] The first display state is used to prompt the player that the target object meets the interactive conditions for controlling the current virtual character to use the traction prop, which can be to display the crosshair mark in the originally designed color or highlight, for example, the crosshair mark is displayed in an opaque display state. The second display state is used to prompt the player that the target object does not meet the interactive conditions for controlling the current virtual character to use the traction prop, for example, the crosshair mark is displayed in a semi-transparent display state. By displaying the crosshair mark and displaying different display states according to whether the interactive conditions are met, it is helpful for the player to control the timing of using the traction prop in the game scene, and further improve the accuracy of the traction prop control.
[0324] In some embodiments, text prompts may also be displayed in the graphical interface, such as "grass cannot be hooked", "hooked to xx character", "exceeding maximum movable distance", etc.
[0325] In some embodiments, the target object includes a second virtual character, which is any game character in the game scene, and may be an enemy game character. The second virtual character may be locked, and the current virtual character may be controlled to use a traction prop to move from the current virtual character's position to the second virtual character's position, so that the current virtual character attacks the second virtual character.
[0326] For example, at least one candidate object corresponding to the point corresponding to the second touch point in the game scene can be determined within the preset range of the point. The preset range can be customized according to the actual application situation, for example, it can be a circular area with a radius of 20 pixels. The corresponding aiming area in the game scene can be calculated according to the preset range of the second touch point, so as to determine the candidate object in the aiming area. When there is a game character among the candidate objects, the game character is determined as the second virtual character. For example, the game character stands on a stone, and the stone and the game character are both in the aiming area. In this case, the game character can be used as the second virtual character (target object), that is, the second virtual character is locked. That is, when there is a game character within the preset range of the second touch point, it can be directly locked to the game character, producing an adsorption function effect, so that the second virtual character can be quickly locked to launch an attack on the second virtual character, and a quick pursuit can be achieved, thereby improving the user experience.
[0327] In some embodiments, locking the second virtual character includes locking the second virtual character through a crosshair mark; the crosshair mark can be displayed as a third display state; the third display state is used to indicate that the target object is the second virtual character; the third display state can be an opaque display state that displays a color, for example, a red opaque display state. When the second virtual character is locked, the player is prompted by the third display state, which is conducive to the player's control of the timing of using the traction prop to attack the second virtual character in the game scene, and further improves the accuracy of the traction prop control. In addition, after the second virtual character is locked through the crosshair mark, the crosshair mark can move with the movement of the second virtual character's position in the game scene, that is, the crosshair mark always follows the second virtual character to lock the second virtual character.
[0328] This embodiment does not limit the specific implementation method of controlling the current virtual character to move from the starting end to the ending end using the traction prop.
[0329] In some embodiments, the target object can be a fixed, immobile game object, and the current virtual character is controlled to move toward the target object at a preset speed. The preset speed can be customized according to the actual application situation and can be set in the parameters of the traction prop. Alternatively, the target object can maintain its original moving speed and the current virtual character is controlled to catch up with the target object at a preset speed. In another embodiment, when the target object is a movable game object in a virtual game scene, the current virtual character can also be controlled to use a traction prop to move the target object from the end end to the starting end. For example, the current virtual character does not move, and the target object is controlled to move toward the current virtual character at a preset speed to hook the target object to the position of the current virtual character in the game scene, thereby increasing the diversity of the traction prop's functions.
[0330] After the target object is determined, the current virtual character can be controlled to use the traction prop. For example, the current virtual character can be controlled to throw the traction prop, and the claw of the traction prop hooks the target object, wherein the force point of the claw can be the point corresponding to the second touch point in the game scene. At this time, the target object is the end point of the traction prop, and the current virtual character is the starting point.
[0331] In some embodiments, in some cases, the target object is not suitable as the landing point of the current virtual character after moving with the traction prop, or the target object does not exist as the landing point of the current virtual character after moving with the traction prop. In this case, the traction prop can be used to tow the current virtual character to the target area; for example, the length of the chain of the traction prop can be shortened at a preset speed, so that the chain can tow the current virtual character to the target area; the target area is determined by the target object. For example, when the target object is the second virtual character, the target area can be a position associated with the target object, such as a position near the second virtual character; when the target object is a stone, the target area can be an area corresponding to the second touch point on the stone, so as to improve the success rate of using the traction prop and enrich the application scenarios of the traction prop.
[0332] In some embodiments, if the current virtual character's backpack can only carry a preset number of traction props, each time a traction prop is used, the number of traction props carried in the backpack is reduced by 1. In some embodiments, if the target object does not meet the interactive conditions for controlling the current virtual character to use the traction prop, but the player still operates and uses the prop control, the number of traction props carried in the backpack will also be reduced by 1.
[0333] The game control scheme provided by the present invention can be applied to various game scenes for controlling the rapid movement of game objects. For example, taking a multiplayer game scene as an example, a graphical user interface is provided by an electronic device, and the content displayed by the graphical user interface at least partially includes the multiplayer game scene and the game objects therein, and the game objects include the target object and the current virtual character; a prop control corresponding to a traction prop is provided on the graphical user interface; the traction prop is indicated by the prop identifier of the traction prop on the prop control; in response to a long press operation on the prop control, the state of the traction prop is determined as a use state, and the touch operation on the prop control is monitored; in response to the touch operation based on the prop control, the target object corresponding to the touch operation in the game scene is determined; wherein the first touch point and the second touch point of the touch operation act on the prop control and the target object respectively; the target object is used as the end end of the traction prop, and the current virtual character is used as the starting end of the traction prop, and the current virtual character is controlled to use the traction prop to move from the starting end to the end end. The scheme provided by the present invention can improve the convenience of manipulating the traction prop.
[0334] As can be seen from the above, in this embodiment, the prop control corresponding to the traction prop is directly displayed on the graphical user interface. The player can perform an object selection operation on the prop control to select the target object in the game scene to control the current virtual character to use the traction prop to move to the target object, thereby improving the convenience of controlling the traction prop.
[0335] In some embodiments, the graphical user interface also provides a behavior control. When the target object is a game character, after controlling the user object to use traction props to interact with displacement in the game scene, the behavior control can also be operated to control the user object to attack the target object. The operation is smooth and can improve operating efficiency.
[0336] The method described in the above embodiment will be further described in detail below.
[0337] In this embodiment, a multiplayer action competitive game installed on a mobile terminal is taken as an example, the traction prop can be a zipline, a graphical user interface is provided through the terminal, and the content displayed by the graphical user interface at least partially includes a game scene and game objects therein, and the game objects include a target object and a current virtual character. The specific process of the game object control method is as follows:
[0338] 1. Provide a prop control corresponding to the zipline on the graphical user interface; indicate the zipline through the prop icon of the zipline on the prop control.
[0339] The user may, in response to a prop control display operation on the graphical user interface, display a prop control corresponding to the zipline on the graphical user interface.
[0340] When a designated event is detected to occur in the game scene, a prop control corresponding to the zipline is displayed on the graphical user interface; the designated event at least includes a combat event.
[0341] 2. In response to a long press operation on the prop control, the state of the zipline is determined to be a use state, and the drag operation on the prop control is monitored.
[0342] like Figure 2d As shown, when the player long presses the prop control 01, the terminal can determine the state of the zipline as the use state in response to the long press operation on the prop control 01.
[0343] 3. In response to a drag operation based on a prop control, determine a target object corresponding to the drag operation in the game scene; wherein the drag operation is used for the prop control and the target object; the drag operation includes at least a first touch point and a second touch point acting on the prop control and the target object respectively.
[0344] In some embodiments, when the player drags the prop control, the terminal can always respond to the dragging operation of the prop control, and display the crosshair mark in real time at the location of the current touch point of the touch operation on the graphical user interface. When the object corresponding to the current touch point is grass, leaves, sky, etc., the crosshair mark 05 is a semi-transparent icon, prompting the player that the object cannot be selected; Figure 2e As shown in FIG. 1 , the crosshair mark is aimed at the sky, and is in a semi-transparent display state. When the object corresponding to the current touch point is not grass, leaves, sky, etc., the crosshair mark 05 is in an opaque display state, prompting the player that the object 03 can be selected, such as Figure 2f As shown. When the player drags the prop control for too long, and the interaction distance between the current virtual character and the object corresponding to the current touch point is greater than the maximum movable distance, it will prompt that the object cannot be picked; and it may also prompt that the maximum movable distance of the traction prop has been exceeded. When the user drags the prop control close to the game character, it triggers the locking of the second virtual character, that is, when the aiming area corresponding to the current touch point includes the game character, the crosshair mark will automatically point to the game character, and the crosshair mark can be displayed in red opaque state. By dragging the prop control, you can use the zipline to hook all the game objects that can be hooked in the field of view to avoid misoperation.
[0345] When the player releases the finger dragging the prop control, the current touch point becomes the second touch point, and the object corresponding to the second touch point in the game scene becomes the target object. By long pressing and dragging to use virtual props, the user's learning cost is reduced, the user's operation is simplified, and misoperation can be avoided.
[0346] 4. Set the target object as the end point of the zipline, and the current virtual character as the starting point of the zipline, and control the current virtual character to use the zipline to move from the starting end to the end point.
[0347] like Figure 2f As shown, the current virtual character 02 can be controlled to throw the zipline 06, and the hook of the zipline hooks the target object 03. At this time, the target object is the end of the zipline, and the current virtual character 02 is the starting end of the zipline. The length of the zipline chain can be shortened at a preset speed, so that the chain pulls the current virtual character 02 to move to a position near the target object 03.
[0348] In some embodiments, when the target object is a game character, the game character can be attacked directly after the zipline is used. For example, the skill control or behavior control of the weapon can be operated to attack the target object. The skill control or behavior control is adjacent to the prop control, which can reduce the time of searching for props, make the user's operation smooth, and improve the operation efficiency.
[0349] As can be seen from the above, the prop control corresponding to the zipline can be displayed on the graphical user interface, and the prop mark of the zipline on the prop control indicates the zipline; the player can drag the prop control to select the target object in the game scene; then the target object is used as the end point of the zipline, and the current virtual character is used as the starting point of the zipline, and the current virtual character is controlled to use the zipline to move from the starting end to the end end; when the target object is a game character, the skill control or behavior control of the virtual weapon can also be directly operated to attack the target object, and the operation process is convenient. Therefore, this solution can improve the accuracy of controlling the traction props.
[0350] In order to better implement the above method, the embodiment of the present application also provides a game control device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0351] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the game control device specifically integrated into an electronic device as an example.
[0352] The embodiment of the present invention also provides a game control device, which provides a graphical user interface through a terminal, wherein the content displayed by the graphical user interface at least partially includes a game scene and a virtual character therein, and the graphical user interface provides a behavior control, such as Figure 3 As shown, the game control device may include:
[0353] The first trigger unit 301 is used to control the virtual character to perform independent behaviors corresponding to the at least one trigger operation in response to at least one trigger operation on the behavior control;
[0354] The second trigger unit 302 is used to respond to the second trigger operation on the behavior control, and judge whether the condition of controlling the virtual character to cast the combined behavior corresponding to the combined operation is met according to the combined operation, and the combined operation includes at least one trigger operation and a second trigger operation;
[0355] The casting unit 303 is used to control the virtual character to sequentially cast at least two independent behaviors in the combined behavior corresponding to the combined operation when it is determined according to the combined operation that the condition for controlling the virtual character to cast the combined behavior corresponding to the combined operation is satisfied.
[0356] In some embodiments, the second trigger unit 302 is used to:
[0357] In response to a second trigger operation on the behavior control, determining a time interval between an end time of a last trigger operation in at least one trigger operation and a start time of a second trigger operation;
[0358] It is used to judge whether the conditions for controlling the virtual character casting and the corresponding combined behavior of the combined operation are met according to the time interval between the end time of the last trigger operation in at least one trigger operation and the start time of the second trigger operation.
[0359] In some embodiments, the second trigger unit 302 is used to:
[0360] In response to a second trigger operation on the behavior control, determining a time interval between a start time of a first trigger operation in at least one trigger operation and an end time of a second trigger operation;
[0361] According to the time interval between the start time of the first trigger operation in at least one trigger operation and the end time of the second trigger operation, it is determined whether the condition of controlling the virtual character casting and the corresponding combined behavior of the combined operation is met.
[0362] In some embodiments, the second trigger unit 302 is used to:
[0363] In response to a second trigger operation on the behavior control, determining a first time interval between an end time of a previous trigger operation and a start time of a subsequent trigger operation in at least one trigger operation, and a second time interval between an end time of a last trigger operation in at least one trigger operation and a start time of a second trigger operation;
[0364] According to the first time interval and the second time interval, it is determined whether a condition for controlling the virtual character to release and combine operations corresponding to the combined behavior is met.
[0365] In some embodiments, the game control device is further configured to:
[0366] Providing a combo control on the graphical user interface;
[0367] In response to a combo triggering operation on the combo control, the virtual character is controlled to sequentially execute at least two independent behaviors in the combined behavior corresponding to the combo control.
[0368] In some embodiments, the behavior control corresponds to a preceding sub-behavior, and the game control device further includes:
[0369] A pre-subunit, used to control the virtual character to perform a pre-subbehavior in response to a third trigger operation on the behavior control;
[0370] A post-subunit, used to determine multiple post-sub behaviors corresponding to the behavior control;
[0371] The target subunit is used to determine the post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located as the target behavior; the graphical user interface includes multiple end areas, and each end area corresponds to a post-sub-behavior;
[0372] The control subunit is used to control the virtual character to perform target behavior.
[0373] In some embodiments, the post-behavior includes a first post-behavior sub-child and a second post-behavior sub-child, and a target subunit, for:
[0374] Determine the current prop holding status of the virtual character;
[0375] When the prop holding state is the first sub-state, the first sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character does not hold the prop;
[0376] When the prop holding state is the second sub-state, the second sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character holds the prop.
[0377] In some embodiments, the third trigger operation includes a first sub-operation and a second sub-operation, and the pre-sub-unit includes:
[0378] A start submodule, for responding to a first sub-operation on the behavior control, taking the start position of the first sub-operation as the start position of the trigger operation, and controlling the virtual character to execute the preceding sub-behavior;
[0379] The end submodule is used to respond to the second sub-operation of the behavior control and use the end position of the second sub-operation as the end position of the triggering operation.
[0380] In some embodiments, the start submodule is further configured to:
[0381] In response to the first sub-operation on the behavior control, the behavior control and / or the visual display state of the virtual character is modified.
[0382] In some embodiments, when the start submodule is used to control the virtual character to perform the preceding sub-behavior, it is specifically used to:
[0383] Determine the duration of the first sub-operation;
[0384] When the duration is longer than a preset threshold, the virtual character is controlled to execute the preceding sub-behavior;
[0385] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0386] In some embodiments, the game control device is further configured to:
[0387] In response to a first sub-operation on the behavior control, displaying associated behavior controls of the behavior control on the graphical user interface, each associated behavior control corresponding to a game behavior;
[0388] In response to the second sub-operation on the behavior control, when the end position of the second sub-operation is located within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control.
[0389] In some embodiments, when the game control device is used to display the associated behavior control in the graphical user interface in response to the first sub-operation on the behavior control, it is specifically used to:
[0390] Determine the duration of the first sub-operation;
[0391] When the duration is greater than a preset threshold, a related behavior control is displayed in a graphical user interface;
[0392] When the duration is not greater than a preset threshold, the virtual character is controlled to execute the default behavior corresponding to the behavior control.
[0393] In some embodiments, the game control device is used to respond to the second sub-operation of the behavior control, when the end position of the second sub-operation is located within the associated behavior control, to control the virtual character to perform the game behavior corresponding to the associated behavior control, specifically for:
[0394] In response to a second sub-operation on the behavior control, determining an end position of the second sub-operation;
[0395] When the end position of the second sub-operation is within the associated behavior control, the virtual character is controlled to execute the game behavior corresponding to the associated behavior control;
[0396] Suppresses the display of the associated behavior control in the graphical user interface.
[0397] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0398] As can be seen from the above, the game control device of this embodiment comprises a first trigger unit that responds to at least one trigger operation on a behavior control to control the virtual character to perform independent behaviors corresponding to the at least one trigger operation respectively; a second trigger unit that responds to a second trigger operation on the behavior control to determine whether the conditions for controlling the virtual character to perform a combined behavior corresponding to the combined operation are met based on a combined operation, wherein the combined operation includes at least one trigger operation and a second trigger operation; and a performing unit that controls the virtual character to perform at least two independent behaviors in the combined behavior corresponding to the combined operation in sequence when determining that the conditions for controlling the virtual character to perform a combined behavior corresponding to the combined operation are met based on the combined operation.
[0399] Therefore, the embodiments of the present application can improve the convenience and accuracy of combined behavior manipulation.
[0400] In some embodiments, the game control device of this embodiment may further include a display unit, a determination unit, and a control unit, wherein:
[0401] The display unit is used to provide a prop control corresponding to a traction prop on the graphical user interface; the traction prop is indicated by a prop identifier of the traction prop on the prop control;
[0402] The determination unit is used to determine the target object corresponding to the object selection operation in the game scene in response to the object selection operation based on the prop control; wherein the object selection operation is used to associate the prop control and the target object; the object selection operation at least includes a first selection event and a second selection event acting on the prop control and the target object respectively;
[0403] The control unit is used to use the target object as the end point of the traction prop and the current virtual character as the starting point of the traction prop, and control the current virtual character to move from the starting point to the end point using the traction prop. The game objects include the target object and the current virtual character.
[0404] In some embodiments, the display unit is specifically used for:
[0405] In response to a prop control display operation on the graphical user interface, a prop control corresponding to the towing prop is displayed on the graphical user interface.
[0406] In some embodiments, the display unit is specifically used for:
[0407] When a designated event is detected to occur in the game scene, a prop control corresponding to the traction prop is displayed on the graphical user interface; the designated event includes at least a combat event.
[0408] In some embodiments, the object selection operation includes a touch operation, the touch operation includes a first touch point and a second touch point, the first selection event includes the first touch point of the touch operation, the second selection event includes the second touch point of the touch operation, and the determining unit is specifically configured to:
[0409] In response to a touch operation on a prop control, a target object corresponding to the touch operation in a game scene is determined; a first touch point and a second touch point of the touch operation are located at the prop control and the target object, respectively.
[0410] In some embodiments, the determining unit is specifically configured to:
[0411] In response to a sliding operation or a dragging operation on a prop control, a target object corresponding to the sliding operation or the dragging operation in a game scene is determined.
[0412] In some embodiments, the determining unit is specifically configured to:
[0413] The position of the current touch point of the touch operation on the graphical user interface is displayed in real time.
[0414] In response to a touch operation on a prop control, determining a target object corresponding to the touch operation in a game scene includes:
[0415] In response to a touch operation on the prop control, when the current touch point is the second touch point, the game object indicated by the crosshair mark is used as the target object corresponding to the touch operation in the game scene.
[0416] In some embodiments, the determining unit is specifically configured to:
[0417] Determine whether the target object meets the interactive conditions for controlling the current virtual character to use the traction prop;
[0418] Control the current virtual character to use the traction prop to move from the starting end to the end end, including:
[0419] When the target object satisfies the interactive condition for controlling the current virtual character to use the traction prop, the current virtual character is controlled to use the traction prop to move from the starting end to the ending end.
[0420] In some embodiments, the determining unit is specifically configured to:
[0421] When the target object meets the interactive condition for controlling the current virtual character to use the traction prop, the crosshair mark is displayed as the first display state;
[0422] When the target object does not meet the interactive condition for controlling the current virtual character to use the traction prop, the crosshair mark is displayed as the second display state.
[0423] In some embodiments, the determining unit is specifically configured to:
[0424] Determine the interaction distance between the target object and the current virtual character;
[0425] The target object meets the interactive conditions for controlling the current virtual character to use the traction prop, including:
[0426] The interaction distance between the target object and the current virtual character is not greater than the maximum movable distance of the traction prop;
[0427] The target object does not meet the interactive conditions for controlling the current virtual character to use the traction prop, including:
[0428] The interaction distance between the target object and the current virtual character is not greater than the maximum movable distance of the traction prop.
[0429] In some embodiments, the target object includes a second virtual character, and the control unit is specifically configured to:
[0430] The second virtual character is locked, and the current virtual character is controlled to use a traction prop to move from the position of the current virtual character to the position of the second virtual character, so that the current virtual character attacks the second virtual character.
[0431] In some embodiments, locking the second virtual character includes locking the second virtual character through a crosshair mark, and the control unit is specifically configured to:
[0432] The crosshair mark is displayed as a third display state; the third display state is used to indicate that the target object is the second virtual character.
[0433] In some embodiments, the touch operation further includes a third touch point, and the determining unit is specifically configured to:
[0434] When the third touch point of the touch operation is located at the edge of the graphical user interface or the prop control, the current virtual character is controlled to cancel the use of the traction prop.
[0435] In some embodiments, the game object control device is further used to:
[0436] In response to an enabling trigger operation on a prop control, the state of the towing prop is determined to be a use state, and the trigger operation on the prop control is monitored.
[0437] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0438] As can be seen from the above, the game object control device of this embodiment can display the prop control corresponding to the traction prop on the graphical user interface, and the prop mark of the traction prop on the prop control indicates the traction prop; the player can perform an object selection operation on the prop control to select the target object in the game scene; then the target object is used as the end point of the traction prop, and the current virtual character is used as the starting point of the traction prop, and the current virtual character is controlled to use the traction prop to move from the starting point to the end point. Therefore, this solution can improve the accuracy of controlling the traction prop.
[0439] Correspondingly, an embodiment of the present application also provides an electronic device, which may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer, a personal digital assistant (PDA), or other terminal devices.
[0440] like Figure 4 As shown, Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, wherein the electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be understood by those skilled in the art that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.
[0441] The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device 400, executes various functions of the electronic device 400 and processes data by running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, thereby monitoring the electronic device 400 as a whole.
[0442] In the embodiment of the present application, the processor 401 in the electronic device 400 will load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions:
[0443] In response to at least one trigger operation on the behavior control, controlling the virtual character to perform independent behaviors corresponding to the at least one trigger operation;
[0444] In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is satisfied according to the combined operation, the combined operation including at least one trigger operation and a second trigger operation;
[0445] When it is determined according to the combined operation that a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0446] In some embodiments, the processor 401 in the electronic device 400 may also load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402 to implement various functions:
[0447] Providing a prop control corresponding to the traction prop on the graphical user interface; indicating the traction prop through the prop identifier of the traction prop on the prop control;
[0448] In response to an object selection operation based on a prop control, determining a target object corresponding to the object selection operation in a game scene; wherein the object selection operation is used to associate the prop control with the target object; and the object selection operation includes at least a first selection event and a second selection event acting on the prop control and the target object respectively;
[0449] The target object is used as the end point of the traction prop, and the current virtual character is used as the starting point of the traction prop. The current virtual character is controlled to use the traction prop to move from the starting point to the end point. The game objects include the target object and the current virtual character.
[0450] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0451] Optional, such as Figure 4 As shown, the electronic device 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0452] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.
[0453] In the embodiment of the present application, the processor 401 executes the game application to generate a graphical user interface on the touch screen 403. The virtual scene on the graphical user interface includes a skill control area, and the skill control area includes a skill control. The touch screen 403 is used to present the graphical user interface and receive operation instructions generated by the user acting on the graphical user interface.
[0454] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.
[0455] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another electronic device through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earplug jack to provide communication between an external headset and an electronic device.
[0456] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0457] The power supply 407 is used to supply power to various components of the electronic device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0458] although Figure 4 Not shown, the electronic device 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0459] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0460] It can be seen from the above that the electronic device provided by this embodiment can improve the efficiency of the game control method.
[0461] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0462] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any game control method provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0463] In response to at least one trigger operation on the behavior control, controlling the virtual character to perform independent behaviors corresponding to the at least one trigger operation;
[0464] In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is satisfied according to the combined operation, the combined operation including at least one trigger operation and a second trigger operation;
[0465] When it is determined according to the combined operation that a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
[0466] In some embodiments, the computer program may further perform the following steps:
[0467] Providing a prop control corresponding to the traction prop on the graphical user interface; indicating the traction prop through the prop identifier of the traction prop on the prop control;
[0468] In response to an object selection operation based on a prop control, determining a target object corresponding to the object selection operation in a game scene; wherein the object selection operation is used to associate the prop control with the target object; and the object selection operation includes at least a first selection event and a second selection event acting on the prop control and the target object respectively;
[0469] The target object is used as the end point of the traction prop, and the current virtual character is used as the starting point of the traction prop. The current virtual character is controlled to use the traction prop to move from the starting point to the end point. The game objects include the target object and the current virtual character.
[0470] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0471] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0472] Since the computer program stored in the storage medium can execute the steps in any game control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any game control method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0473] The game control method, device, storage medium and electronic device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A game control method, It is characterized in that A graphical user interface is provided through a terminal, wherein the content displayed by the graphical user interface at least partially includes a game scene and a virtual character therein, and the graphical user interface provides a behavior control, and the method includes: In response to at least one triggering operation on the behavior control, controlling the virtual character to perform independent behaviors respectively corresponding to the at least one triggering operation; In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is satisfied according to a combined operation, the combined operation including the at least one trigger operation and the second trigger operation; When it is determined according to the combined operation that a condition for controlling the virtual character to perform a combined behavior corresponding to the combined operation is satisfied, the virtual character is controlled to sequentially perform at least two independent behaviors in the combined behavior corresponding to the combined operation.
2. The game control method according to claim 1, It is characterized in that In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is met according to the combined operation, including: In response to a second trigger operation on the behavior control, determining a time interval between an end time of a last trigger operation in the at least one trigger operation and a start time of the second trigger operation; According to the time interval between the end time of the last trigger operation in the at least one trigger operation and the start time of the second trigger operation, it is determined whether a condition for controlling the release of the virtual character and the combined behavior corresponding to the combined operation is met.
3. The game control method according to claim 1, It is characterized in that In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is met according to the combined operation, including: In response to a second trigger operation on the behavior control, determining a time interval between a start time of a first trigger operation of the at least one trigger operation and an end time of the second trigger operation; According to the time interval between the start time of the first trigger operation in the at least one trigger operation and the end time of the second trigger operation, it is determined whether a condition for controlling the release of the virtual character and the combined behavior corresponding to the combined operation is met.
4. The game control method according to claim 1, It is characterized in that In response to a second trigger operation on the behavior control, judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is met according to the combined operation, including: In response to a second trigger operation on the behavior control, determining a first time interval between an end time of a previous trigger operation and a start time of a subsequent trigger operation in the at least one trigger operation, and a second time interval between an end time of a last trigger operation in the at least one trigger operation and a start time of the second trigger operation; According to the first time interval and the second time interval, it is determined whether a condition for controlling the release of the virtual character and the combined operation corresponding to the combined behavior is satisfied.
5. The game control method according to claim 1, It is characterized in that The method further comprises: Providing a combo control on the graphical user interface; In response to a combo triggering operation on the combo control, the virtual character is controlled to sequentially execute at least two independent behaviors in the combined behavior corresponding to the combo control.
6. The game control method according to claim 1, It is characterized in that The behavior control corresponds to a preceding sub-behavior, and the method further includes: In response to a third trigger operation on the behavior control, controlling the virtual character to execute the preceding sub-behavior; Determine a plurality of post-positioned sub-behaviors corresponding to the behavior control; Determine the post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located as the target behavior; the graphical user interface includes multiple end areas, and each of the end areas corresponds to a post-sub-behavior; The virtual character is controlled to perform the target behavior.
7. The game control method according to claim 6, It is characterized in that The post-positioned sub-behavior includes a first sub-post-positioned sub-behavior and a second sub-post-positioned sub-behavior, and determining the post-positioned sub-behavior corresponding to the end area where the end position of the third trigger operation is located as the target behavior includes: Determine the current prop holding status of the virtual character; When the item holding state is the first sub-state, the first post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character does not hold the item; When the item holding state is the second sub-state, the second sub-post-sub-behavior corresponding to the end area where the end position of the third trigger operation is located is determined as the target behavior; the first sub-state is used to reflect that the virtual character holds the item.
8. The game control method according to claim 6, It is characterized in that The third trigger operation includes a first sub-operation and a second sub-operation, and in response to the third trigger operation on the behavior control, controlling the virtual character to perform the preceding sub-behavior includes: In response to a first sub-operation on the behavior control, taking the start position of the first sub-operation as the start position of the trigger operation, and controlling the virtual character to perform a preceding sub-behavior; In response to a second sub-operation on the behavior control, an end position of the second sub-operation is used as an end position of the trigger operation.
9. The game control method according to claim 8, It is characterized in that The method of responding to the first sub-operation of the behavior control, taking the starting position of the first sub-operation as the starting position of the trigger operation, and controlling the virtual character to perform the preceding sub-behavior, further includes: In response to a first sub-operation on the behavior control, the visual display state of the behavior control and / or the virtual character is modified.
10. The game control method according to claim 8, It is characterized in that The controlling the virtual character to execute the preceding sub-behavior comprises: Determining the duration of the first sub-operation; When the duration is longer than a preset threshold, controlling the virtual character to execute a preceding sub-behavior; When the duration is not greater than a preset threshold, the virtual character is controlled to execute a default behavior corresponding to the behavior control.
11. The game control method according to claim 8, It is characterized in that The game control method further includes: In response to a first sub-operation on the behavior control, displaying the associated behavior controls of the behavior control on the graphical user interface, each of the associated behavior controls corresponding to a game behavior; In response to a second sub-operation on the behavior control, when an end position of the second sub-operation is located within the associated behavior control, the virtual character is controlled to execute a game behavior corresponding to the associated behavior control.
12. The game control method according to claim 11, It is characterized in that The step of displaying the associated behavior control in the graphical user interface in response to the first sub-operation on the behavior control comprises: Determining the duration of the first sub-operation; When the duration is greater than a preset threshold, displaying an associated behavior control in the graphical user interface; When the duration is not greater than a preset threshold, the virtual character is controlled to execute a default behavior corresponding to the behavior control.
13. The game control method according to claim 11, It is characterized in that In response to the second sub-operation on the behavior control, when the end position of the second sub-operation is located within the associated behavior control, controlling the virtual character to perform the game behavior corresponding to the associated behavior control includes: In response to a second sub-operation on the behavior control, determining an end position of the second sub-operation; When the end position of the second sub-operation is within the associated behavior control, controlling the virtual character to execute the game behavior corresponding to the associated behavior control; The associated behavior control is suppressed from being displayed in the graphical user interface.
14. The game control method according to claim 1, It is characterized in that The method further comprises: Providing a prop control corresponding to a traction prop on the graphical user interface; indicating the traction prop through a prop identifier of the traction prop on the prop control; In response to an object selection operation based on the item control, determining a target object corresponding to the object selection operation in the game scene; wherein the object selection operation is used to associate the item control and the target object; the object selection operation at least includes a first selection event and a second selection event acting on the item control and the target object respectively; The target object is used as the end point of the traction prop, and the current virtual character is used as the starting point of the traction prop. The current virtual character is controlled to move from the starting point to the end point using the traction prop. The game object includes the target object and the current virtual character.
15. The game control method according to claim 14, It is characterized in that Providing a prop control corresponding to a traction prop on the graphical user interface, including: In response to a prop control display operation on a graphical user interface, the prop control corresponding to the traction prop is displayed on the graphical user interface.
16. The game control method according to claim 14, It is characterized in that Providing a prop control corresponding to a traction prop on the graphical user interface, including: When a designated event is detected to occur in the game scene, the prop control corresponding to the traction prop is displayed on the graphical user interface; the designated event at least includes a combat event.
17. The game control method according to claim 14, It is characterized in that The object selection operation includes a touch operation, the touch operation includes a first touch point and a second touch point, the first selection event includes the first touch point of the touch operation, and the second selection event includes the second touch point of the touch operation. In response to the object selection operation based on the prop control, determining a target object corresponding to the object selection operation in the game scene includes: In response to a touch operation on the item control, a target object corresponding to the touch operation in the game scene is determined; a first touch point and a second touch point of the touch operation are located at the item control and the target object, respectively.
18. A game control device, It is characterized in that A graphical user interface is provided through a terminal, wherein the content displayed by the graphical user interface at least partially includes a game scene and a virtual character therein, and the graphical user interface provides a behavior control, wherein the device comprises: A first trigger unit, configured to control the virtual character to perform independent behaviors corresponding to the at least one trigger operation in response to at least one trigger operation on the behavior control; A second trigger unit, for responding to a second trigger operation on the behavior control, and judging whether a condition for controlling the virtual character to cast a combined behavior corresponding to the combined operation is met according to the combined operation, wherein the combined operation includes at least one trigger operation and a second trigger operation; The casting unit is used to control the virtual character to sequentially cast at least two independent behaviors in the combined behavior corresponding to the combined operation when judging according to the combined operation that the condition for controlling the virtual character to cast the combined behavior corresponding to the combined operation is met.
19. An electronic device, It is characterized in that It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the game control method according to any one of claims 1 to 17.
20. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the game control method according to any one of claims 1 to 17.
Citation Information
Patent Citations
Game skill triggering method and device, game client and medium
CN111840988A
Game control method and device
CN112957735A
Skill release method and device, terminal equipment, storage medium and program product
CN112973125A
Method and device for controlling skills in game and electronic terminal
CN113908534A
