Game role control method and device, electronic equipment and storage medium

文档序号:557452 发布日期:2021-05-18 浏览:26次 中文

阅读说明:本技术 一种游戏角色的控制方法、装置、电子设备及存储介质 (Game role control method and device, electronic equipment and storage medium ) 是由 张智怡 于 2021-02-01 设计创作,主要内容包括:本申请提供了一种游戏角色的控制方法、装置、电子设备及存储介质,所述控制方法包括:响应作用于移动控制区域的第一操作,确定第一操作的第一触点面积;根据第一触点面积所属的第一预设面积范围,确定匹配的第一目标形态,并控制目标游戏角色触发第一目标形态;响应作用于移动控制区域的与第一操作连续的第二操作,确定第二操作的第二触点面积;根据第二触点面积所属的第二预设面积范围,确定匹配第二预设面积范围的第二目标形态,并控制目标游戏角色从第一目标形态切换为第二目标形态。本申请,能够快速实现对游戏角色不同形态的切换,缓解了玩家双手操作强度不平衡的问题,降低了玩家的操作难度,提高了人机效率。(The application provides a control method, a control device, electronic equipment and a storage medium of game roles, wherein the control method comprises the following steps: determining a first contact area of a first operation in response to the first operation acting on the movement control region; determining a matched first target form according to a first preset area range to which the first contact area belongs, and controlling a target game role to trigger the first target form; determining a second contact area of a second operation in response to the second operation continuous with the first operation, which acts on the movement control region; and determining a second target form matched with the second preset area range according to the second preset area range to which the second contact area belongs, and controlling the target game role to be switched from the first target form to the second target form. According to the method and the device, the switching of different forms of game roles can be quickly realized, the problem that the operation intensity of both hands of a player is unbalanced is solved, the operation difficulty of the player is reduced, and the man-machine efficiency is improved.)

1. A control method of game roles is characterized in that a terminal device provides a graphical user interface, a game scene of a game is displayed in the graphical user interface, and the game scene at least comprises a target game role; the graphical user interface comprises a mobile control area, and the control method comprises the following steps:

determining a first contact area of a first operation in response to the first operation acting on the movement control region; determining a first target form matched with a first preset area range according to the first preset area range to which the first contact area belongs, and controlling the target game role to trigger the first target form;

determining a second contact area of a second operation, which is continuous with the first operation, in response to the second operation acting on the movement control region; and determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs, and controlling the target game role to be switched from the first target form to the second target form.

2. The method of controlling a game character according to claim 1, wherein after controlling the target game character to trigger the first target form, the method further comprises: controlling the target game role to move in the game scene in the first target form;

after controlling the target game character to switch from the first target form to the second target form, the control method further includes: and controlling the target game role to move in the game scene in the second target form.

3. The method of controlling a game character according to claim 1, wherein the movement control area further includes: a first control area and a second control area in communication with the first control area; the second control area is positioned below the first control area;

the first control area is used for controlling and triggering the first target form, and the first control area and the second control area are jointly used for controlling and triggering the second target form; or the first control area is used for controlling and triggering the second target form, and the first control area and the second control area are jointly used for controlling and triggering the first target form.

4. The method of claim 3, wherein the movement control area includes a movement control, the movement control being located in the first control area;

the first operation is a first drag operation for the mobile control, and the second operation is a second drag operation for the mobile control.

5. The method of controlling a game character according to claim 1 or 3, wherein when the first target form is a standing form, the second target form is a sneak form: when the second target form is a standing form, the first target form is a sneak form;

wherein when the target game character triggers the sneak mode, the target game character submerges into a designated liquid of the game scene.

6. The method of controlling a game character according to claim 1, wherein the controlling the target game character to trigger the first target form includes:

determining a current form of the target game character;

if the current form of the target game role is different from the first target form, controlling the target game role to be switched from the current form to the first target form;

and if the current form of the target game role is the same as the first target form, controlling the target game role to keep the first target form.

7. A method for controlling a game character according to claim 1, wherein a skill control area is included in the graphic user interface, the method further comprising:

determining, in response to a third operation directed to the skill control area, a third contact area for the third operation; and determining a first target skill matched with the first preset area range according to the first preset area range to which the third contact area belongs, and controlling the target game role to release the first target skill.

8. The method of controlling a game character according to claim 7, further comprising:

determining a fourth contact area for a fourth operation that is continuous with the third operation for the skill control area; and determining a second target skill matched with a second preset area range according to the second preset area range to which the fourth contact area belongs, and controlling the target game role to switch from releasing the first target skill to releasing the second target skill.

9. The method of controlling a game character according to claim 7, further comprising:

responding to a selection operation aiming at target skills, and determining a first target skill and a second target skill selected by the selection operation;

and responding to configuration operation aiming at the first target skill and the second target skill, configuring the first target skill to be matched with the first preset area range, and configuring the second target skill to be matched with the second preset area range.

10. The method of claim 4, wherein when the target game character moves the same distance in the game scene, if the first predetermined area range is greater than the second predetermined area range, a moving distance of the first drag operation on the gui is smaller than a moving distance of the second drag operation on the gui;

and if the first preset area range is smaller than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is larger than the moving distance of the second dragging operation on the graphical user interface.

11. A control method of game roles is characterized in that a terminal device provides a graphical user interface, a game scene of a game is displayed in the graphical user interface, and the game scene at least comprises a target game role; the graphical user interface comprises a mobile control area, and the control method further comprises the following steps:

responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes; controlling the target game role to trigger a first target form corresponding to the first target shape;

and responding to a second operation which is acted on the mobile control area and is continuous with the first operation, determining a second action shape of the second operation, selecting a second target shape matched with the second action shape from preset reference shapes, and controlling the target game role to be switched from the first target shape to a second target shape corresponding to the second target shape.

12. A control device of game characters is characterized in that a terminal device provides a graphical user interface, a game scene of a game is displayed in the graphical user interface, and the game scene at least comprises a target game character; the graphical user interface comprises a mobile control area, and the control device comprises:

a first determination module for determining a first contact area of a first operation in response to the first operation acting on the movement control region; determining a first target form matched with a first preset area range according to the first preset area range to which the first contact area belongs;

the first control module is used for controlling the target game role to trigger the first target form;

a second determination module configured to determine, in response to a second operation that is continuous with the first operation and that acts on the movement control region, a second contact area of the second operation; determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs;

and the second control module is used for controlling the target game role to be switched from the first target form to the second target form.

13. A control device of game characters is characterized in that a terminal device provides a graphical user interface, a game scene of a game is displayed in the graphical user interface, and the game scene at least comprises a target game character; the graphical user interface comprises a mobile control area, and the control device further comprises:

the first selection module is used for responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes;

the first control module is used for controlling the target game role to trigger a first target form corresponding to the first target shape;

a second selection module, configured to determine a second action shape of a second operation, which is continuous with the first operation and acts on the mobile control area, and select a second target shape matching the second action shape from preset reference shapes;

and the second control module is used for controlling the target game role to be switched from the first target form to a second target form corresponding to the second target shape.

14. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method for controlling a game character according to any one of claims 1 to 11.

15. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, performs the steps of the method of controlling a game character according to any one of claims 1 to 11.

Technical Field

The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling a game character, an electronic device, and a storage medium.

Background

In the current hand game, for example, in a Multiplayer Online Battle game (MOBA) game, or a First-person shooter (FPS) game or an asymmetric competitive game, a player controls a moving rocker to control a game character to move in a default form by controlling the moving rocker with the thumb of the left hand.

However, when a player wants to control the form switching of a game character, the player usually needs to click the form control to be switched with the right hand, and in reality, the game has more complicated operation, and in the existing game design, the thumb of the left hand of the player only has the function of controlling movement, and the right hand of the player needs to bear heavier operation behaviors (for example, switching the form and executing a specific action), which causes the problem of unbalanced operation intensity of the left hand and the right hand of the player, so that the operation difficulty of the player is high, and the man-machine efficiency is low.

Disclosure of Invention

In view of the above, an object of the present application is to provide a method and an apparatus for controlling a game character, an electronic device, and a storage medium, in which a player can quickly switch between different forms of a target game character through two operations that correspond to different preset area ranges and can be continuously switched, so that the problem of unbalanced strength of two-hand operation of the player is alleviated, the operation difficulty of the player is reduced, and the human-machine efficiency is improved.

In a first aspect, an embodiment of the present application provides a method for controlling a game role, where a terminal device provides a graphical user interface, and a game scene of a game is displayed in the graphical user interface, where the game scene at least includes a target game role; the graphical user interface comprises a mobile control area, and the control method comprises the following steps:

determining a first contact area of a first operation in response to the first operation acting on the movement control region; determining a first target form matched with a first preset area range according to the first preset area range to which the first contact area belongs, and controlling the target game role to trigger the first target form;

determining a second contact area of a second operation, which is continuous with the first operation, in response to the second operation acting on the movement control region; and determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs, and controlling the target game role to be switched from the first target form to the second target form.

In one possible embodiment, after controlling the target game character to trigger the first target form, the control method further includes: controlling the target game role to move in the game scene in the first target form;

after controlling the target game character to switch from the first target form to the second target form, the control method further includes: and controlling the target game role to move in the game scene in the second target form.

In one possible embodiment, the mobile control area further comprises: a first control area and a second control area in communication with the first control area; the second control area is positioned below the first control area;

the first control area is used for controlling and triggering the first target form, and the first control area and the second control area are jointly used for controlling and triggering the second target form; or the first control area is used for controlling and triggering the second target form, and the first control area and the second control area are jointly used for controlling and triggering the first target form.

In one possible implementation, the movement control area includes a movement control, and the movement control is located in the first control area;

the first operation is a first drag operation for the mobile control, and the second operation is a second drag operation for the mobile control.

In one possible embodiment, when the first target configuration is a standing configuration, the second target configuration is a sneak configuration: when the second target form is a standing form, the first target form is a sneak form;

wherein when the target game character triggers the sneak mode, the target game character submerges into a designated liquid of the game scene.

In one possible embodiment, the controlling the target game character to trigger the first target modality includes:

determining a current form of the target game character;

if the current form of the target game role is different from the first target form, controlling the target game role to be switched from the current form to the first target form;

and if the current form of the target game role is the same as the first target form, controlling the target game role to keep the first target form.

In a possible embodiment, a skill control area is included in the graphical user interface, and the control method further includes:

determining, in response to a third operation directed to the skill control area, a third contact area for the third operation; and determining a first target skill matched with the first preset area range according to the first preset area range to which the third contact area belongs, and controlling the target game role to release the first target skill.

In one possible embodiment, the control method further includes:

determining a fourth contact area for a fourth operation that is continuous with the third operation for the skill control area; and determining a second target skill matched with a second preset area range according to the second preset area range to which the fourth contact area belongs, and controlling the target game role to switch from releasing the first target skill to releasing the second target skill.

In one possible embodiment, the control method further includes:

responding to a selection operation aiming at target skills, and determining a first target skill and a second target skill selected by the selection operation;

and responding to configuration operation aiming at the first target skill and the second target skill, configuring the first target skill to be matched with the first preset area range, and configuring the second target skill to be matched with the second preset area range.

In a possible implementation manner, when the target game character moves for the same distance in the game scene, if the first preset area range is larger than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is smaller than the moving distance of the second dragging operation on the graphical user interface;

and if the first preset area range is smaller than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is larger than the moving distance of the second dragging operation on the graphical user interface.

In a second aspect, an embodiment of the present application further provides a method for controlling a game role, where a terminal device provides a graphical user interface, and a game scene of a game is displayed in the graphical user interface, where the game scene at least includes a target game role; the graphical user interface comprises a mobile control area, and the control method further comprises the following steps:

responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes; controlling the target game role to trigger a first target form corresponding to the first target shape;

and responding to a second operation which is acted on the mobile control area and is continuous with the first operation, determining a second action shape of the second operation, selecting a second target shape matched with the second action shape from preset reference shapes, and controlling the target game role to be switched from the first target shape to a second target shape corresponding to the second target shape.

In a third aspect, an embodiment of the present application further provides a device for controlling a game role, where a terminal device provides a graphical user interface, and a game scene of a game is displayed in the graphical user interface, where the game scene at least includes a target game role; the graphical user interface comprises a mobile control area, and the control device comprises:

a first determination module for determining a first contact area of a first operation in response to the first operation acting on the movement control region; determining a first target form matched with a first preset area range according to the first preset area range to which the first contact area belongs;

the first control module is used for controlling the target game role to trigger the first target form;

a second determination module configured to determine, in response to a second operation that is continuous with the first operation and that acts on the movement control region, a second contact area of the second operation; determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs;

and the second control module is used for controlling the target game role to be switched from the first target form to the second target form.

In a fourth aspect, an embodiment of the present application further provides a device for controlling a game role, where a terminal device provides a graphical user interface, a game scene of the game is displayed in the graphical user interface, and the game scene at least includes a target game role; the graphical user interface comprises a mobile control area, and the control device further comprises:

the first selection module is used for responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes;

the first control module is used for controlling the target game role to trigger a first target form corresponding to the first target shape;

a second selection module, configured to determine a second action shape of a second operation, which is continuous with the first operation and acts on the mobile control area, and select a second target shape matching the second action shape from preset reference shapes;

and the second control module is used for controlling the target game role to be switched from the first target form to a second target form corresponding to the second target shape.

In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the method for controlling a game character according to any one of the first aspect and the second aspect.

In a sixth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for controlling a game character according to any one of the first aspect and the second aspect are executed.

According to the control method and device for the game role, the electronic device and the storage medium, the player can quickly realize the switching of different forms of the target game role through two operations which correspond to different preset area ranges and can be switched continuously, the problem of unbalanced operation intensity of two hands of the player is solved, the operation difficulty of the player is reduced, and the man-machine efficiency is improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

FIG. 1a is a flow chart illustrating a method for controlling a game character according to an embodiment of the present disclosure;

FIG. 1b illustrates a schematic diagram of various controls provided by a graphical user interface and displayed game content;

FIG. 1c is a schematic diagram showing different display states of the movement control area after a player triggers different triggering operations for the movement control area;

FIG. 1d is a schematic diagram showing a player triggering different object aspects of a target game character through different contact area operations;

FIG. 2 is a flow chart showing another control method for a game character according to an embodiment of the present application;

FIG. 3 is a flow chart showing another control method for a game character according to an embodiment of the present application;

FIG. 4 is a schematic structural diagram of a control device for a game character according to an embodiment of the present application;

FIG. 5 is a schematic structural diagram of another control device for a game character according to an embodiment of the present application;

fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.

In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.

In the game, currently, a player controls a game character to move in a default form by controlling a movable rocker with a left thumb, and when the form of the game character is controlled to be switched, the player usually needs to click a form control to be switched with a right hand, and actually, the game also has more complex operation, but in the existing game design, the left thumb of the player only has the function of controlling the movement, and the right hand of the player needs to undertake heavier operation behaviors (for example, switching the form and executing specific actions), so that the problem of unbalanced operation intensity of the left hand and the right hand of the player is caused; moreover, if two or more operations need to be completed by the right hand of the player, the thumb of the right hand of the player needs to be moved quickly to click the corresponding functional area, the smoothness of the operations is completely limited by the reaction speed of the player, the operation difficulty of the player is high, and the man-machine efficiency is low.

In addition, at present, a derivative design aiming at the movable rocker is provided, so that the left hand of the player can bear more operation forms, and the game experience of the player is more smooth and convenient. For example, the player can move the joystick forward for a period of time by operating the joystick with the left hand to trigger the game character to keep a continuous sprint form, so as to realize the form switching of the game character. However, in this form switching method, a player needs to control a game character to move forward for a certain period of time to trigger, and can only continue to rush forward, and if the direction is changed, the player needs to adjust the visual field by the right hand to control the moving direction.

At present, another derivative design for the moving rocker exists, and the form of the game role after being switched interferes with the function of the movement itself, so that the two derivative designs for the moving rocker have certain optimization space.

Based on this, embodiments of the present application provide a method and an apparatus for controlling a game character, an electronic device, and a storage medium, in which a player can quickly implement switching between different forms of a target game character through two operations that correspond to different preset area ranges and can be continuously switched, thereby alleviating the problem of imbalance in the operation strength of both hands of the player, reducing the operation difficulty of the player, and not limiting the operation of the player, improving the operation flexibility of the player, implementing real-time switching between game character forms and reducing the operation complexity of the player, and the form after the game character switching does not interfere with the function of moving the player, thereby improving the man-machine efficiency.

For the convenience of understanding the present embodiment, a method, an apparatus, an electronic device, and a storage medium for controlling a game character provided in the embodiments of the present application are described in detail below.

As shown in fig. 1a, in order to provide a method for controlling a game character according to a first embodiment of the present application, a terminal device provides a graphical user interface, where a game scene of a game is displayed in the graphical user interface, and the game scene at least includes a target game character; the graphical user interface comprises a mobile control area, and the control method comprises the following steps:

s101, responding to a first operation acting on the mobile control area, and determining a first contact area of the first operation; and determining a first target form matched with the first preset area range according to the first preset area range to which the first contact area belongs, and controlling the target game role to trigger the first target form.

S102, responding to a second operation which is continuous with the first operation and acts on the movement control area, and determining a second contact area of the second operation; and determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs, and controlling the target game role to be switched from the first target form to the second target form.

The embodiment of the application provides a control method of game roles, a player can realize control of different forms of target game roles through two operations which correspond to different preset area ranges and can be switched continuously, the problem of unbalanced double-hand operation strength of the player is solved, the operation difficulty of the player is reduced, furthermore, the operation of the player is not limited, the operation flexibility of the player is improved, the real-time switching of the forms of the game roles is realized, the operation complexity of the player is reduced, in addition, the forms after the game roles are switched can not interfere with the functions of moving the player, and the man-machine efficiency is improved.

The above exemplary steps provided by the embodiments of the present application are described below by taking the application of the above method to a terminal device as an example.

S101, responding to a first operation acting on the mobile control area, and determining a first contact area of the first operation; and determining a first target form matched with the first preset area range according to the first preset area range to which the first contact area belongs, and controlling the target game role to trigger the first target form.

The above-described control method of a game character can be applied to various types of games each including at least a target game character controlled by a player. As shown in fig. 1b, in the embodiment of the present application, a terminal device provides a graphical user interface 100, a mobile control area 101 is provided on the graphical user interface 100, and in addition, a game scene 200 of an application game is displayed on the graphical user interface 100, where the game scene 200 at least includes the target game character 201. Generally, the movement control area 101 is disposed at a lower left position of the graphical user interface 100, so that the user can control the target game character 201 to move in the game scene 200 by operating the movement control area 101 with the left hand.

In the embodiment of the present application, the player operates different contact areas for the operation in the movement control region, and different target forms are triggered corresponding to the control target game character. Different preset area ranges and target forms corresponding to the preset area ranges are preset in the terminal equipment. Optionally, the method includes a first preset area range and a first target form corresponding to the first preset area range; and the second preset area range and a second target form corresponding to the second preset area range.

When the terminal device detects a first operation of a player acting on a mobile control area, determining a first contact area of the first operation, judging which preset area range the first contact area belongs to, and when determining that the first contact area belongs to the first preset area range, determining a first target form corresponding to the first preset area range, and controlling a target game character to trigger the first target form.

Here, when the control target game character triggers the first target form, first, the current form of the target game character is determined; if the current form of the target game role is different from the first target form, controlling the target game role to be switched from the current form to the first target form; and controlling the target game character to maintain the first target form if the current form of the target game character is the same as the first target form.

Optionally, the first operation may be an operation in which the action position is kept unchanged, for example, a touch click operation, a long press operation, and a heavy press operation; the operation of effecting a change in position may also be, for example, a movement operation or a drag operation for a movement control located in the movement control area.

When the first operation is an operation of acting position change (such as a drag operation for a movement control), after the control target game character triggers the first target form, the control target game character is also controlled to move in the game scene in the first target form.

S102, responding to a second operation which is continuous with the first operation and acts on the movement control area, and determining a second contact area of the second operation; and determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs, and controlling the target game role to be switched from the first target form to the second target form.

In the embodiment of the present application, when the second operation is a continuous operation with the first operation, and the second operation and the first operation correspond to different predetermined area ranges. Here, the second operation is an operation in which the corresponding second contact area satisfies the second preset area range, and then, the first target form corresponding to the second preset area range to which the second contact area belongs is determined, and the target game character is controlled to switch from the first target form to the second target form.

Optionally, the second operation may be an operation in which the action position is kept unchanged, for example, a touch click operation, a long press operation, and a heavy press operation; the operation of effecting a change in position may also be, for example, a movement operation or a drag operation for a movement control located in the movement control area.

When the second operation is an operation of changing the action position (for example, a drag operation for the movement control), after the control target game character is switched from the first target form to the second target form, the control target game character is also controlled to move in the game scene in the second target form.

Alternatively, the target configuration may include a standing configuration or a diving configuration. For example, when the first target configuration is a standing configuration, the second target configuration is a sneak configuration: when the second target form is a standing form, the first target form is a sneak form; wherein, when the target game role triggers the sneak form, the target game role submerges into the appointed liquid of the game scene. In some games, the specified liquid may be ink.

For example, in a game of a type in which a player needs to change the form while walking and sneak into ink to steal an enemy, the game of the type is highly required to change the form of a game character, and the form of the game character needs to be changed quickly and frequently. The method is difficult to handle in the traditional game role operation control, and by adopting the method, the switching of different forms of the game role can be quickly realized, the problem of unbalanced operation intensity of both hands of a player is relieved, the operation difficulty of the player is reduced, and the man-machine efficiency is improved.

For example, the "click and press" of the left thumb corresponds to the "movement and lying prone" of the control target game character, or the "click and press" of the left thumb corresponds to the movement and squat of the control target game character.

Further, as shown in fig. 1b, in the method for controlling a game character according to the embodiment of the present application, the movement control area 101 includes: a first control area 1011 and a second control area 1012 in communication with the first control area 1011; the second control area 1012 is located below the first control area 1011; the first control area 1011 is used to control the triggering of one target configuration, and the first control area 1011 and the second control area 1012 are used together to trigger another target configuration. Optionally, the movement control is located in the first control area 1011, and the movement control can move within a preset area including the movement control area 101. Alternatively, the target configuration may include a standing configuration or a diving configuration.

For example, the first control area 1011 is used for controlling and triggering a first target form, and the first control area 1011 and the second control area 1012 are commonly used for controlling and triggering a second target form; in this case, the first target form is a standing form, and the second target form is a creeping form. Alternatively, the first control area 1011 is used to control triggering of the second target configuration, and the first control area 1011 and the second control area 1012 are used together to control triggering of the first target configuration. In this case, when the second target form is the standing form, the first target form is the creeping form. Wherein when the target game character triggers the sneak mode, the target game character submerges into the designated liquid of the game scene.

The different trigger operations of the player moving the control area 101 differ the display state of the movement control area 101. As shown in fig. 1c, fig. 1c shows, from left to right, a display state of the movement control area 101 when the player does not operate the movement control area 101; a display state of the movement control area 101 when the player operates the first control area 1011 in the movement control area 101; and a display state of the movement control area 101 when the player operates the first control area 1011 and the second control area 1012 in the movement control area 101 at the same time.

As shown in fig. 1d, for example, if the first operation is a "touch-and-click operation" applied to the first control area 1011, it is determined that the first target form triggered by the control target game character is a "standing form"; if the first operation is a "drag operation for a movement control" acting on the first control area 1011, it is determined that the first target form triggered by the control target game character is a "standing movement form".

As shown in fig. 1d, for another example, if the second operation is a "touch-and-click operation" simultaneously acting on the first control area 1011 and the second control area 1012, it is determined that the second target form triggered by the control target game character is a "submerged specific liquid form" (e.g., submerged in ink); if the second operation is a "drag operation for a movement control" simultaneously acting on the first control area 1011 and the second control area 1012, it is determined that the second target form triggered by the control target game character is a "form of movement submerged in a specific liquid".

Further, in the method for controlling a game character provided in the embodiment of the present application, the graphical user interface includes a skill control area, and the method further includes:

determining, in response to a third operation directed to the skill control area, a third contact area for the third operation; and determining a first target skill matched with the first preset area range according to the first preset area range to which the third contact area belongs, and controlling the target game role to release the first target skill.

Wherein, the player controls the target game role to release the skill by triggering the operation of the skill control area. A skill control area is provided on a graphical user interface provided by a terminal device, and is usually arranged at the lower right position of the graphical user interface, so that a user can conveniently control a target game character to release a target skill in a game scene by operating the skill control area with the right hand. As shown in fig. 1b, the skill control area may be the area in which the particular skill control is located in the skill control area 102.

In the embodiment of the application, the player acts on different contact areas of the operation of the skill control area, and different target skills are triggered corresponding to the control target game role. Different preset area ranges and target skills corresponding to each preset area range are preset in the terminal equipment. Optionally, the first target skill includes a first preset area range and a first target skill corresponding to the first preset area range; and the second preset area range and a second target skill corresponding to the second preset area range.

When the terminal device detects a third operation of a player acting on the skill control area, determining a third contact area of the third operation, judging which preset area range the third contact area belongs to, and when determining that the third contact area belongs to a first preset area range, determining a first target skill corresponding to the first preset area range, and controlling a target game character to trigger the first target skill.

Optionally, the third operation may be an operation in which the action position remains unchanged, for example, a touch click operation, a long-time press operation, and a heavy-time press operation for the skill control; it may also be an operation that effects a change in position, such as a movement operation or a drag operation for a skill control located in the skill control area.

In addition, after the player triggers a fourth operation continuous with the third operation for the skill movement control region, determining a fourth contact area of the fourth operation in response to the fourth operation continuous with the third operation for the skill movement control region; and determining a second target skill matched with a second preset area range according to the second preset area range to which the fourth contact area belongs, and controlling the target game role to switch from releasing the first target skill to releasing the second target skill.

In the embodiment of the present application, when the fourth operation is a continuous operation with the third operation, and the preset area ranges corresponding to the fourth operation and the second operation are different. Here, the fourth operation is an operation in which the corresponding fourth contact area satisfies the second preset area range, and then, the second target skill corresponding to the second preset area range to which the second contact area belongs is determined, and the target game character is controlled to switch from the first target skill to the second target skill.

Optionally, the fourth operation may be an operation in which the action position is kept unchanged, for example, a touch click operation, a long press operation, and a heavy press operation; it may also be an operation that effects a change in position, such as a movement operation or a drag operation for a skill control located in the skill control area.

Further, in the method for controlling a game character provided in the embodiment of the present application, as shown in fig. 2, the method further includes:

s201, responding to the selection operation aiming at the target skills, and determining the first target skill and the second target skill selected by the selection operation.

S202, responding to configuration operation aiming at the first target skill and the second target skill, configuring the first target skill to match the first preset area range, and configuring the second target skill to match the second preset area range.

In conjunction with step 201 and step 202, the player may perform configuration operation on the target skills, select a first target skill (or matching target skills) corresponding to a first preset area range, and select a second target skill (or matching target skills) corresponding to a second preset area range. For example, the first preset area range corresponds to "points of the player's fingers", the second preset area range corresponds to "pressing of the player's fingers", and "points and presses of the right thumb" correspond to "shooting and opening mirrors" for controlling the target game character; the 'click and press' of the thumb of the right hand corresponds to the 'shooting and gun changing' of the game role of the control target; the 'click and press' of the thumb of the right hand corresponds to the 'shooting and bullet changing' of the game role of the control target; the "click and press" of the right thumb corresponds to the "shooting and jumping" of the control target game character.

When the thumb is pressed down, the contact area between the finger and the screen is instantly enlarged, so that a large friction force is generated between the finger and the screen, and the friction force can generate the illusion that the player moves slowly. In order to improve the game experience of the player, in the embodiment of the application, when the target game character moves the same distance in the game scene, if the first preset area range is larger than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is smaller than the moving distance of the second dragging operation on the graphical user interface; and if the first preset area range is smaller than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is larger than the moving distance of the second dragging operation on the graphical user interface.

Specifically, the embodiment of the present application may neutralize the friction force in the following manner: and (3) dynamically adjusting the sensitivity of the rocker: after the program distinguishes the click state and the press state of the player, the sensitivity of the joystick during the sneak state is actively increased in the press state, so that the influence of the friction force is neutralized. Namely, more obvious visual feedback of 'pressing' is given, and when the target game role moves the same distance in the game scene, the moving positions of the moving rocker corresponding to the 'pressing' state are fewer; through this kind of mode, improved player's gaming experience.

The control method for the game role provided by the embodiment of the application has the following beneficial effects:

1) the possibility of transplanting the host side and playing the mobile phone side in the Switch platform is increased. The operation habit of present cell-phone end player uses both hands to grip as the main, through the mode of this application, can let the player pass through the form of left thumb fast switch over role in the game, has reduced the quantity of required input carrier, and this kind is with the mode of "mobile control region" design for compound controlling part, has given the player bigger operation possibility.

2) In a particular game implementation, a technical barrier may be formed. The method and the device are suitable for game types needing rapid role form switching and flexible movement, have the advantages of being simple to operate, free of movement interruption, capable of meeting finger inertia, capable of meeting player cognition and the like compared with other operation modes, and can form a strong technical barrier if the player accepts and adapts.

As shown in fig. 3, in a method for controlling a game character according to a second embodiment of the present application, a terminal device provides a graphical user interface, where a game scene of a game is displayed in the graphical user interface, and the game scene at least includes a target game character; the graphical user interface comprises a mobile control area, and the control method comprises the following steps:

s301, responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes; and controlling the target game character to trigger a first target form corresponding to the first target shape.

S302, responding to a second operation which is acted on the mobile control area and is continuous with the first operation, determining a second action shape of the second operation, selecting a second target shape matched with the second action shape from preset reference shapes, and controlling the target game role to be switched from the first target shape to a second target shape corresponding to the second target shape.

According to the control method of the game role, a player can rapidly realize the switching of different forms of the target game role through two operations which correspond to different preset reference shapes and can be switched continuously, the problem of unbalanced operation intensity of both hands of the player is solved, the operation difficulty of the player is reduced, the operation of the player is not limited, the operation flexibility of the player is improved, the real-time switching of the form of the game role is realized, the operation complexity of the player is reduced, the form after the game role is switched does not interfere with the function of moving the player, and the man-machine efficiency is improved.

The above exemplary steps provided in the embodiments of the present application are described below with the above method applied to a terminal device as an example.

S301, responding to a first operation acting on the mobile control area, determining a first action shape of the first operation, and selecting a first target shape similar to the first action shape from preset reference shapes; and controlling the target game character to trigger a first target form corresponding to the first target shape.

The method provided by the embodiment of the application can be applied to various types of games, wherein the games at least comprise target game characters controlled by players; in the embodiment of the present application, a mobile control area is provided on a graphical user interface provided by a terminal device, and in addition, a game scene of the game is displayed on the graphical user interface, where the game scene at least includes the target game character. In general, the movement control area is arranged at the lower left position of the graphical user interface, so that a user can conveniently control the target game character to move in a game scene by operating the movement control area with the left hand.

In the embodiment of the present application, different action shapes of operations of a player acting on a movement control area trigger different target forms corresponding to a control target game character. Different reference shapes and target forms corresponding to the reference shapes are preset in the terminal equipment. Optionally, a first target form including a first reference shape and corresponding to the first reference shape; and the second reference shape and a second target form corresponding to the second reference shape.

When the terminal device detects a first operation of a player acting on a mobile control area, a first action shape of the first operation is determined, a shape similar to the first action shape is selected from preset reference shapes, and when the first action shape is determined to be similar to a first target shape, a first target form corresponding to the first target shape is determined, and a target game role is controlled to trigger the first target form.

Here, when the control target game character triggers the first target form, first, the current form of the target game character is determined; if the current form of the target game role is different from the first target form, controlling the target game role to be switched from the current form to the first target form; and controlling the target game character to maintain the first target form if the current form of the target game character is the same as the first target form.

Optionally, the first operation may be an operation in which the action position is kept unchanged, for example, a touch click operation, a long press operation, and a heavy press operation; the operation of effecting a change in position may also be, for example, a movement operation or a drag operation for a movement control located in the movement control area.

When the first operation is an operation of acting position change (such as a drag operation for a movement control), after the control target game character triggers the first target form, the control target game character is also controlled to move in the game scene in the first target form.

S302, responding to a second operation which is acted on the mobile control area and is continuous with the first operation, determining a second action shape of the second operation, selecting a second target shape matched with the second action shape from preset reference shapes, and controlling the target game role to be switched from the first target shape to a second target shape corresponding to the second target shape.

In the embodiment of the application, when the second operation is continuous with the first operation, and the second operation is different from the first operation in the corresponding preset reference shape. Here, the second operation is an operation in which the corresponding second action shape is similar to the second target shape, and thereafter, the second target form corresponding to the second target shape is specified, and the target game character is controlled to be switched from the first target form to the second target form.

Optionally, the second operation may be an operation in which the action position is kept unchanged, for example, a touch click operation, a long press operation, and a heavy press operation; the operation of effecting a change in position may also be, for example, a movement operation or a drag operation for a movement control located in the movement control area.

When the second operation is an operation of changing the action position (for example, a drag operation for the movement control), after the control target game character is switched from the first target form to the second target form, the control target game character is also controlled to move in the game scene in the second target form.

Alternatively, the target configuration may include a standing configuration or a diving configuration. For example, when the first target configuration is a standing configuration, the second target configuration is a sneak configuration: when the second target form is a standing form, the first target form is a sneak form; wherein, when the target game role triggers the sneak form, the target game role submerges into the appointed liquid of the game scene. In some games, the specified liquid may be ink.

In addition, the corresponding features in the first embodiment of the present application can also be applied to the second embodiment.

When switching the target form of the target game character by the first operation and the second operation is realized by the contact area, the third operation and the fourth operation may realize switching of the target skill of the target game character by the contact area, or may realize switching of the target skill of the target game character by the action shape. Conversely, when switching of the target form of the target game character by the first operation and the second operation is realized by the action shape, the third operation and the fourth operation may realize switching of the target skill of the target game character by the action shape, or may realize switching of the target skill of the target game character by the contact area.

Based on the same inventive concept, the third embodiment of the present application further provides a control apparatus for a game character corresponding to the control method for a game character in the first embodiment, and since the principle of the apparatus in the third embodiment of the present application for solving the problem is similar to the control method for a game character provided in the first embodiment of the present application, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.

Referring to fig. 4, a schematic diagram of a control apparatus for game characters according to a third embodiment of the present application is provided, where a terminal device provides a graphical user interface, and a game scene of a game is displayed in the graphical user interface, where the game scene at least includes a target game character; the graphical user interface comprises a mobile control area; the control device includes:

a first determination module 401, configured to determine, in response to a first operation acting on the movement control region, a first contact area of the first operation; determining a first target form matched with a first preset area range according to the first preset area range to which the first contact area belongs;

a first control module 402, configured to control the target game character to trigger the first target form;

a second determination module 403, configured to determine, in response to a second operation that is continuous with the first operation and acts on the movement control area, a second contact area of the second operation; determining a second target form matched with a second preset area range according to the second preset area range to which the second contact area belongs;

a second control module 404, configured to control the target game role to switch from the first target form to the second target form.

In one possible embodiment, the control device further comprises:

the third control module is used for controlling the target game role to move in the game scene in the first target form after controlling the target game role to trigger the first target form;

and the fourth control module is used for controlling the target game role to move in the game scene in the second target form after controlling the target game role to be switched from the first target form to the second target form.

In one possible embodiment, the mobile control area further comprises: a first control area and a second control area in communication with the first control area; the second control area is positioned below the first control area;

the first control area is used for controlling and triggering the first target form, and the first control area and the second control area are jointly used for controlling and triggering the second target form; or the first control area is used for controlling and triggering the second target form, and the first control area and the second control area are jointly used for controlling and triggering the first target form.

In one possible implementation, the movement control area includes a movement control, and the movement control is located in the first control area;

the first operation is a first drag operation for the mobile control, and the second operation is a second drag operation for the mobile control.

In one possible embodiment, when the first target configuration is a standing configuration, the second target configuration is a sneak configuration: when the second target form is a standing form, the first target form is a sneak form;

wherein when the target game character triggers the sneak mode, the target game character submerges into a designated liquid of the game scene.

In one possible implementation, the first control module 402 controls the target game character to trigger the first target form, including:

determining a current form of the target game character;

if the current form of the target game role is different from the first target form, controlling the target game role to be switched from the current form to the first target form;

and if the current form of the target game role is the same as the first target form, controlling the target game role to keep the first target form.

In a possible embodiment, the graphical user interface includes a skill control area therein, and the control device further includes:

a third determination module for determining a third contact area for a third operation in response to the third operation for the skill control area; determining a first target skill matched with a first preset area range according to the first preset area range to which the third contact area belongs;

and the fifth control module is used for controlling the target game role to release the first target skill.

In one possible embodiment, the control device further comprises:

a fourth determination module for determining a fourth contact area for a fourth operation that is continuous with the third operation for the skill control area in response to the fourth operation; determining a second target skill matched with a second preset area range according to the second preset area range to which the fourth contact area belongs;

and the sixth control module is used for controlling the target game role to switch from releasing the first target skill to releasing the second target skill.

In one possible embodiment, the control device further comprises:

the fifth determination module is used for responding to the selection operation aiming at the target skills, and determining the first target skill and the second target skill selected by the selection operation;

a configuration module, configured to configure the first target skill to match the first preset area range and configure the second target skill to match the second preset area range in response to a configuration operation for the first target skill and the second target skill.

In a possible implementation manner, when the target game character moves for the same distance in the game scene, if the first preset area range is larger than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is smaller than the moving distance of the second dragging operation on the graphical user interface;

and if the first preset area range is smaller than the second preset area range, the moving distance of the first dragging operation on the graphical user interface is larger than the moving distance of the second dragging operation on the graphical user interface.

According to the control method of the game role, a player can rapidly realize the switching of different forms of the target game role through two operations which correspond to different preset area ranges and can be switched continuously, the problem of unbalanced double-hand operation strength of the player is solved, the operation difficulty of the player is reduced, the operation of the player is not limited, the operation flexibility of the player is improved, the real-time switching of the form of the game role is realized, the operation complexity of the player is reduced, the form after the game role is switched does not interfere with the function of moving the player, and the man-machine efficiency is improved.

Based on the same inventive concept, the fourth embodiment of the present application further provides a control apparatus for a game character corresponding to the control method for a game character in the second embodiment, and since the principle of the apparatus in the fourth embodiment of the present application for solving the problem is similar to the control method for a game character provided in the second embodiment of the present application, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.

Referring to fig. 5, a schematic diagram of a control apparatus for game characters according to a fourth embodiment of the present application is provided, where a terminal device provides a graphical user interface, and a game scene of a game is displayed in the graphical user interface, where the game scene at least includes a target game character; the graphical user interface comprises a mobile control area; the control device includes:

a first selecting module 501, configured to determine a first action shape of a first operation in response to the first operation acting on the mobile control area, and select a first target shape similar to the first action shape from preset reference shapes;

a first control module 502, configured to control the target game character to trigger a first target form corresponding to the first target shape;

a second selecting module 503, configured to determine a second action shape of the second operation in response to a second operation that is continuous with the first operation and acts on the mobile control area, and select a second target shape that matches the second action shape from preset reference shapes;

a second control module 504, configured to control the target game character to switch from the first target form to a second target form corresponding to the second target shape.

The control device of game role that this application embodiment provided, the player can be through corresponding different preset reference shape, two operations that can switch in succession, realize the switching to the different forms of target game role fast, the unbalanced problem of player's both hands operating strength has been alleviated, the operation degree of difficulty of player has been reduced, and, can not produce the restriction to player's operation, the flexibility of player's operation has been improved, the real-time switching of game role form has been realized and the complex degree of operation of player has been reduced, and, the form after the game role switches can not disturb the function of removing itself, human-machine efficiency has been improved.

As shown in fig. 6, a fifth embodiment of the present application provides an electronic device 600, including: a processor 601, a memory 602 and a bus, wherein the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device runs, the processor 601 and the memory 602 communicate with each other through the bus, and the processor 601 executes the machine-readable instructions to execute the steps of the control method of the game character as in the first embodiment or the second embodiment.

Specifically, the memory 602 and the processor 601 can be general-purpose memories and processors, and are not specifically limited herein, and when the processor 601 runs a computer program stored in the memory 602, the method for controlling a game character in the first embodiment or the second embodiment can be executed.

A sixth embodiment of the present application provides a computer-readable storage medium, which stores thereon a computer program that, when executed by a processor, performs the steps of the method for controlling a game character according to the first or second embodiment.

It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.

The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:方向盘模拟按键操作的方法及车载显示终端、车辆和介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类