Character control method and device, electronic equipment and computer readable storage medium
By setting up first and second control areas on the graphical user interface and dynamically adjusting the speed using sliding operations, the problem of insufficient flexibility in speed control of virtual game characters is solved, achieving flexible speed control and resource saving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the method of controlling the speed of virtual game characters by dragging a virtual joystick is not very flexible, resulting in large variations in the movement speed of game characters and increasing the computer resource consumption of electronic devices in rendering game scenes.
By setting preset first and second control areas on the graphical user interface, the virtual game character can be controlled to move at different speeds in response to sliding operations in different areas. The speed can be dynamically adjusted by utilizing the initial position and the relative position of the sliding operation, thus achieving flexible speed control.
It improves the speed control flexibility of virtual game characters, reduces the magnitude of speed changes, minimizes differences between game scenes, and saves computer resources for electronic devices to render game scenes.
Smart Images

Figure CN118662884B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the game technical field, and in particular to a role control method and device, electronic equipment and computer readable storage medium. BACKGROUND
[0002] With the development of science and technology, the types of electronic games are more and more, for example, the electronic game can be a first-person shooting game (FPS).
[0003] In the first-person shooting game, the player can control the virtual game character to move at different speeds by dragging the virtual joystick, however, the flexibility of the current speed of the virtual game character controlled by the virtual joystick is low. SUMMARY
[0004] The embodiments of the present application provide a role control method and device, electronic equipment and computer readable storage medium, which can improve the flexibility of controlling the speed of the virtual game character.
[0005] In a first aspect, the embodiments of the present application provide a role control method, which provides a graphical user interface by an electronic device, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, and the method includes:
[0006] In response to a first sliding operation acting on the first control area, controlling a target virtual game character to move at a predetermined first speed;
[0007] In response to a second sliding operation acting on the second control area, according to the relative position of the initial position and the touch point corresponding to the second sliding operation on the graphical user interface, controlling the target virtual game character to move at a second speed.
[0008] In a second aspect, the embodiments of the present application also provide a role control device, which provides a graphical user interface by an electronic device, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, and the device includes:
[0009] A first response module is configured to respond to a first sliding operation acting on the first control area, and control a target virtual game character to move at a predetermined first speed;
[0010] The second response module is configured to, in response to a second sliding operation acting on the second control area, control the target virtual game character to move at a second speed according to the initial position and a relative position of a touch point on the graphical user interface corresponding to the second sliding operation.
[0011] In a third aspect, an electronic device is provided, which includes a memory storing a plurality of instructions, and a processor configured to load the instructions from the memory to execute any of the role control methods provided in the embodiments of the present application.
[0012] In a fourth aspect, a computer readable storage medium is provided, which stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute any of the role control methods provided in the embodiments of the present application.
[0013] In the embodiments of the present application, a graphical user interface is provided by an electronic device, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, in response to a first sliding operation acting on the first control area, the target virtual game character is controlled to move at a predetermined first speed, in response to a second sliding operation acting on the second control area, the target virtual game character is controlled to move at a second speed according to the initial position and a relative position of a touch point on the graphical user interface corresponding to the second sliding operation, so that the target virtual game character is controlled to move at different speeds in the first control area and the second control area, and in the second control area, the target virtual game character is controlled to move at different second speeds according to different relative positions, which not only improves the flexibility of the speed of the target virtual game character, but also reduces the variation range of the speed of the target virtual game character, thereby reducing the difference between different game scenes represented by the movement of the target virtual game character, and further saving the computer resources consumed by the electronic device to render the game scenes. BRIEF DESCRIPTION OF DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0015] Figure 1 is a schematic diagram of the graphical user interface provided by the embodiments of the present application;
[0016] Figure 2 is a flowchart of an embodiment of the role control method provided by the embodiments of the present application;
[0017] Figure 3 is a schematic diagram of the first control area and the second control area provided in an embodiment of the present application;
[0018] Figure 4 is another schematic diagram of the first control area and the second control area provided in an embodiment of the present application;
[0019] Figure 5 is a schematic diagram of the first sliding operation provided in an embodiment of the present application;
[0020] Figure 6 is a schematic diagram of the second sliding operation provided in an embodiment of the present application;
[0021] Figure 7 is a schematic diagram of the third control area provided in an embodiment of the present application;
[0022] Figure 8 is a schematic diagram of the lock sub-control and the interface display sub-control provided in an embodiment of the present application;
[0023] Figure 9 is a schematic diagram of the joystick control interface provided in an embodiment of the present application;
[0024] Figure 10 is another schematic diagram of the joystick control interface provided in an embodiment of the present application;
[0025] Figure 11 is another schematic diagram of the joystick control interface provided in an embodiment of the present application;
[0026] Figure 12 is a variation schematic diagram of the second control area provided in an embodiment of the present application;
[0027] Figure 13 is a variation schematic diagram of the second control area and the first control area provided in an embodiment of the present application;
[0028] Figure 14 is another schematic diagram of the graphical user interface provided in an embodiment of the present application;
[0029] Figure 15 is a schematic diagram of the speed sub-control provided in an embodiment of the present application;
[0030] Figure 16 is a structural schematic diagram of the character control device provided in an embodiment of the present application;
[0031] Figure 17 is a structural schematic diagram of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0033] Before the embodiments of the present application are explained in detail, some terms related to the embodiments of the present application are explained.
[0034] In the description of the embodiments of the present application, the terms "first", "second", and the like can be used herein to describe various concepts, but unless specifically stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0035] The embodiments of the present application provide a role control method and device, electronic equipment and computer readable storage medium. Specifically, the role control method of the embodiments of the present application can be executed by an electronic equipment, wherein the electronic equipment can be a terminal or a server and the like.
[0036] The terminal can be a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (PDA), and the like. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client, and the like.
[0037] The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms, and the like.
[0038] The following will be described according to Figure 1 The graphical user interface provided by the embodiments of the present application will be described in detail.
[0039] In the embodiments of the present application, at least part of the game scene and many controls can be displayed on the graphical user interface. Figure 1 The controls in the graphical user interface are only examples, and the graphical user interface can also include controls other than those shown in the figures. Figure 1 The controls in the graphical user interface are only examples, and the graphical user interface can also include controls other than those shown in the figures.
[0040] Figure 1 101 in the figure represents a fire control, which is used to control the virtual game character to fire. Figure 1 102 in the figure represents a left probe control, which is used to control the left probe of the virtual game character. Figure 1 103 in the figure represents a right probe control, which is used to control the right probe of the virtual game character. Figure 1 104 in the figure represents a cancel throwing control, which is used to cancel the throwing of the throwing object.
[0041] Figure 1 1051 in the figure represents an operation point. Figure 1 1052 in the figure represents a first control area. Figure 1 1053 in the figure represents a second control located at the periphery of the first control area. The first control area, the second control area and the operation point can constitute a virtual joystick, which is used to control the speed of movement of the virtual game character. The player can control the target virtual game character to move at different speeds by dragging the operation point to the first control area and / or the second control area.
[0042] Figure 1 106 in the figure represents a medical supply control, which is used to store the medical supplies possessed by the virtual game character. Figure 1 107 in the figure represents a main weapon bar, which is used to control the main weapon of the virtual game character. Figure 1 108 in the figure represents a secondary weapon bar, which is used to control the secondary weapon of the virtual game character. Figure 1 109 in the figure represents a blood bar, which is used to display the blood volume of the virtual game character. Figure 1 1010 in the figure represents a throwing object control, which is used to throw the throwing object.
[0043] Figure 1 1011 in the figure represents a helmet control, which is used to display the helmet state. Figure 1 1012 in the figure represents an armor control, which is used to display the armor state. Figure 1 1013 in the figure represents a hunger state control, which is used to display the hunger state of the virtual game character. Figure 1 1014 in the figure represents a detection prompt control, which is used to set the detection prop. Figure 1 1015 in the figure represents a shooting mode control, which is used to switch between automatic shooting mode and semi-automatic shooting mode. Figure 11016 in the embodiment of FIG. 10 represents a melee weapon control for controlling a melee weapon. Figure 1 1017 in the embodiment of FIG. 10 represents a handgun control for controlling a handgun.
[0044] Figure 1 1018 in the embodiment of FIG. 10 represents a reload control for controlling a virtual game character to switch a bullet. Figure 1 1019 in the embodiment of FIG. 10 represents a crouch control for controlling a virtual game character to perform a crouching action. Figure 1 1020 in the embodiment of FIG. 10 represents a prone control for controlling a virtual game character to perform a prone action. Figure 1 1021 in the embodiment of FIG. 10 represents a jump control for controlling a virtual game character to perform a jumping action.
[0045] Figure 1 1022 in the embodiment of FIG. 10 represents a magnification switching control for switching magnification of a scope. Figure 1 1023 in the embodiment of FIG. 10 represents a scope control for controlling a scope to aim at a virtual object. Figure 1 1024 in the embodiment of FIG. 10 represents an outside help control for calling for help from outside lobby players and / or friends. Figure 1 1025 in the embodiment of FIG. 10 represents a nearby help control for calling for help from in-lieu players. Figure 1 1026 in the embodiment of FIG. 10 represents an inspection control for inspecting a weapon. Figure 1 1027 in the embodiment of FIG. 10 represents a setting control for setting a first control area and / or a second control area. Figure 1 1028 in the embodiment of FIG. 10 represents a rescue control for rescuing other players. Figure 1 1029 in the embodiment of FIG. 10 represents a skill control for setting a duration of a skill.
[0046] Figure 1 1030 in the embodiment of FIG. 10 represents a pet control for releasing a virtual game character's pet. Figure 1 1031 in the embodiment of FIG. 10 represents a focused skill control for releasing a focused skill. Figure 1 1032 in the embodiment of FIG. 10 represents a marker control for marking a certain location. Figure 1 1033 in the embodiment of FIG. 10 represents a chat control for sending and receiving messages in a game session. Figure 1 1033 in the embodiment of FIG. 10 represents a chat control for sending and receiving messages in a game session. Figure 1 1034 in the embodiment of FIG. 10 represents a horn control for playing a sound in a game session. Figure 1 1035 in the embodiment of FIG. 10 represents a microphone control for collecting a player's sound. Figure 1 1036 in the embodiment of FIG. 10 represents a game setting control for setting related configurations in a game session. Figure 11037 in FIG. 10 represents an action control for controlling the related action of the virtual game character. Figure 1 1038 in FIG. 10 represents a flashlight. Figure 1 1039 in FIG. 10 represents a pickable resource. Figure 1 1040 in FIG. 10 represents a storm progress bar.
[0047] The following will be described in detail with reference to the accompanying drawings. It should be noted that the sequence of the following embodiments is not intended to limit the preferred sequence of the embodiments. Although a logical sequence is shown in the flowcharts, in some cases, the steps shown or described can be performed in a sequence different from that shown in the accompanying drawings.
[0048] In the embodiment, the terminal is taken as an example, a graphical user interface is provided by the terminal, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, the embodiment provides a character control method, as shown in Figure 1 the specific flow of the character control method can be as follows:
[0049] 201, in response to a first sliding operation acting on the first control area, controlling the target virtual game character to move at a predetermined first speed.
[0050] The first control area refers to an area for controlling the target virtual game character to move at a predetermined first speed. The second control area refers to an area for controlling the target virtual game character to move at a second speed, and the second speed is a dynamically changing speed. The area shape of the first control area and the area shape of the second control area can be set according to actual conditions, for example, the first control area can be a rectangular control area, and the second control area can be a rectangular ring control area, as shown in Figure 1 for example, the first control area can be a circular control area, and the second control area can be a ring-shaped control area, as shown in Figure 1 401 of FIG. 10, which is not limited in the embodiments of the present application.
[0051] It should be understood that when the first control area is a circular control area, the first control area can also be represented as a ring as shown in Figure 1 402 of FIG. 10, at this time, the periphery of the first control area is represented by a ring, and when the first control area is as shown in Figure 1 401 of FIG. 10, the periphery of the first control area is represented by a line.
[0052] The terminal can fixedly display an operation point on the first control area, control the target virtual game character to move at a predetermined first speed by controlling the operation point to slide within the first control area, and control the target virtual game character to move at a second speed by sliding the operation point to the second control area.
[0053] Alternatively, the terminal can also display the operation point in response to a trigger operation acting on the first control area, and then control the target virtual game character to move at the predetermined first speed by sliding the operation point in the first control area, and control the target virtual game character to move at the second speed by sliding the operation point to the second control area.
[0054] The initial position in the first control area is the position where the operation point is located. When the operation point is fixedly displayed on the first control area, the operation point can be located at the center position of the first control area, and the initial position is the center position of the first control area. At this time, the operation point can be displayed as shown in FIG. 5A. Figure 1
[0055] When the operation point is displayed in response to a trigger operation acting on the first control area, the initial position is the trigger position corresponding to the trigger operation acting on the first control area. At this time, the trigger operation acting on the first control area can be another separate operation, or the trigger operation acting on the first control area can be the first sliding operation.
[0056] When the trigger operation acting on the first control area is another separate operation, the terminal can first display the operation point at the click position corresponding to the click operation acting on the first control area in response to the click operation acting on the first control area, and then control the target virtual game character to move at the predetermined first speed in response to the first sliding operation of the operation point in the first control area.
[0057] When the trigger operation acting on the first control area is the first sliding operation, the terminal displays the operation point at the starting sliding position of the first sliding operation in response to the first sliding operation acting on the first control area, and then controls the operation point to move along with the first sliding operation and controls the target virtual game character to move at the predetermined first speed. At this time, the initial position is the starting sliding position of the first sliding operation.
[0058] It should be understood that when the terminal controls the target virtual game character to move at the predetermined first speed in response to the first sliding operation of the operation point in the first control area, the terminal can control the operation point to move along with the first sliding operation, the moving direction of the operation point is the sliding direction of the first sliding operation, and the moving distance of the operation point is the sliding distance of the first sliding operation.
[0059] For example, when the first sliding operation is as shown in FIG. 5B 501, the moving result of the operation point along with the first sliding operation can be as shown in FIG. 5B 502. Figure 1 Figure 1
[0060] When the terminal moves along with the first sliding operation, the terminal can determine the moving direction of the operation point, and control the moving direction of the target virtual game character according to the moving direction of the operation point, that is, the moving direction of the target virtual game character. For example, when the first sliding operation is as shown in FIG. 5A, the sliding direction corresponding to the first sliding operation is the right direction, and the target virtual game character is controlled to move in the right direction at the first speed. Figure 1
[0061] The target virtual game character refers to a virtual game character in a game scene controlled by the terminal. The first speed is a pre-set speed. The specific value of the first speed can be set according to actual conditions. For example, the first speed can be 2A / B or 1A / B, A / B represents a speed unit, A represents a length unit, and B represents a time unit, which is not limited in the embodiments of the present application.
[0062] 202. In response to a second sliding operation acting on the second control area, the target virtual game character is controlled to move at a second speed according to the relative position of the initial position and the touch point on the graphical user interface corresponding to the second sliding operation.
[0063] The touch point of the second sliding operation on the graphical user interface refers to the sliding position corresponding to the second sliding operation on the second control area. For example, as shown in FIG. 5B, each position on the arrow representing the second sliding operation can be a touch point. Figure 1
[0064] When the relative positions of the touch points are different, the second speed is also different, that is, the second speed corresponding to the second control area includes multiple second speeds, so as to control the target virtual game character to move at different second speeds through one second control area. Compared with the mode of controlling the target virtual game character to move at one second speed through one second control area, the change range of the speed of the target virtual game character can be reduced, so as to reduce the difference between different game scenes reflecting the movement of the target virtual game character, and further save the computer resources consumed by the electronic device for rendering the game scene.
[0065] For example, the first speed can be 2A / B, when the second speed is one, the second speed is 6A / B, the change range between the first speed and the second speed is large, when the second speed is multiple, the second speed can be between 2-6A / B, the change range between the first speed and the second speed is small, when the speed of the target virtual game character changes from the first speed to the second speed, the game scene containing the target virtual game character can change from the first game scene to the second game scene, if the change range between the first speed and the second speed is large, the difference between the first game scene and the second game scene is large, and the computer resources consumed for rendering the game scene are more, if the change range between the first speed and the second speed is small, the difference between the first game scene and the second game scene is small, and the computer resources consumed for rendering the game scene are less, thereby saving the computer resources consumed for rendering the game scene.
[0066] Alternatively, it can be a relative position, corresponding to a second speed, for example, the relative position includes a1-an meters, and the second speed corresponding to the second control area is between 2-6A / B, when the relative position is a1 meter, the second speed is 2.1A / B, and when the relative position is a2 meter, the second speed is 2.2A / B.
[0067] Alternatively, it can be a relative position, corresponding to a second speed, for example, the relative position includes a1-an meters, and the second speed corresponding to the second control area is between 2-6A / B, when the relative position is a1 meter, the second speed is 2.1A / B, and when the relative position is a2 meter, the second speed is 2.2A / B.
[0068] It should be noted that the second speed corresponding to the second control area can be a uniform speed or a non-uniform speed. For example, when the second speed corresponding to the second control area is a uniform speed and the second speed corresponding to the second control area is between 2-6A / B, the second speed can be 2.1A / B, 2.2A / B and 2.3A / B. For example, when the second speed corresponding to the second control area is a non-uniform speed and the second speed corresponding to the second control area is between 2-6A / B, the second speed can be 3A / B, 4A / B and 5A / B.
[0069] In some embodiments, the farther the relative position is from the initial position, the greater the second speed corresponding to the relative position, or the closer the relative position is to the initial position, the smaller the second speed corresponding to the relative position, or the farther the relative position is from the initial position, the smaller the second speed corresponding to the relative position, or the closer the relative position is to the initial position, the greater the second speed corresponding to the relative position.
[0070] When the farther the relative position is from the initial position, the greater the second speed corresponding to the relative position, or the closer the relative position is to the initial position, the smaller the second speed corresponding to the relative position, in response to the second sliding operation acting on the second control area, the relative position between the initial position and the touch point on the graphical user interface corresponding to the second sliding operation is determined, and the target virtual game character is controlled to move at the second speed, comprising:
[0071] In response to the second sliding operation acting on the second control area, the relative position between the initial position and the touch point on the graphical user interface corresponding to the second sliding operation is determined;
[0072] The second speed corresponding to the relative position is determined, wherein the second speed corresponding to the relative position close to the initial position is smaller than the second speed corresponding to the relative position away from the initial position;
[0073] The target virtual game character is controlled to move at the second speed.
[0074] Wherein, the second speed corresponding to the relative position close to the initial position is smaller than the second speed corresponding to the relative position away from the initial position, which can be understood as the farther the relative position is from the initial position, the greater the second speed corresponding to the relative position, or the closer the relative position is to the initial position, the smaller the second speed corresponding to the relative position.
[0075] For example, the initial position is the center position of the first control area, and the second speed corresponding to the second control area is between 2-6A / B, when the relative position is closer to the periphery of the first control area (the periphery of the first control area is as shown in Figure 1 ), that is, when the relative position is closer to the initial position, the second speed is closer to 2A / B, and the second speed is slower, when the relative position is closer to the periphery of the second control area (the periphery of the second control area is as shown in Figure 1 ), that is, when the relative position is farther from the initial position, the second speed is closer to 6A / B, and the second speed is faster.
[0076] Exemplarily, as shown in Figure 1As shown, when the touch point corresponding to the second sliding operation on the graphical user interface is b1, the relative position is a1 meters, and when the touch point corresponding to the second sliding operation on the graphical user interface is b2, the relative position is a2 meters, a1 meters is less than a2 meters, and the second speed corresponding to a1 meters is less than the second speed corresponding to a2 meters.
[0077] In some embodiments, the graphical user interface further includes a third control region located at the periphery of the second control region, and the embodiments of the present application further include:
[0078] In response to a third sliding operation acting on the third control region, the target virtual game character is controlled to move at a predetermined third speed.
[0079] The third speed is different from the first speed and the second speed, and the value of the third speed can be set according to actual conditions. For example, the first speed can be 2A / B, the second speed can be between 2-6A / B, and the third speed can be 6A / B, in which case the first speed is less than the second speed, and the second speed is less than the third speed. For another example, the first speed can be 6A / B, the second speed can be between 2-6A / B, and the third speed can be 2A / B, in which case the first speed is greater than the second speed, and the second speed is greater than the third speed. The embodiments of the present application do not limit this.
[0080] Optionally, the area range of the third control region can be limited, or the area range of the third control region can not be limited. When the area range of the third control region is limited, the third control region can be, for example, Figure 1 As shown, when the touch point corresponding to the second sliding operation on the graphical user interface is b1, the relative position is a1 meters, and when the touch point corresponding to the second sliding operation on the graphical user interface is b2, the relative position is a2 meters, a1 meters is less than a2 meters, and the second speed corresponding to a1 meters is less than the second speed corresponding to a2 meters.
[0081] In the embodiments of the present application, the graphical user interface further includes a third control region located at the periphery of the second control region, so that in response to a third sliding operation acting on the third control region, the target virtual game character is controlled to move at a predetermined third speed, thereby realizing the movement of the target virtual game character at the first speed, the second speed, or the third speed.
[0082] In some embodiments, when the third sliding operation is detected to slide to a certain position in the third control region and is released, the movement speed of the target virtual game character can be locked to the third speed, and the target virtual game character is controlled to move at the third speed.
[0083] In some embodiments, when the first speed is less than the second speed, and the second speed is less than the third speed, when the target virtual game character moves at the first speed, it can be said that the target virtual game character moves in a slow-moving manner, when the target virtual game character moves at the second speed, it can be said that the target virtual game character moves in a normal-moving manner, and when the target virtual game character moves at the third speed, it can be said that the target virtual game character moves in a fast-moving manner.
[0084] In some embodiments, after controlling the movement of the target virtual game character, further comprising:
[0085] According to the speed of the movement of the target virtual game character, adjusting the character index information of the target virtual game character to obtain adjusted character index information, the character index information affecting the survival state of the target virtual game character in the game;
[0086] Displaying the adjusted character index information to prompt the player to adjust the speed of the movement of the target virtual game character according to the adjusted character index information.
[0087] The character index information refers to information indicating some indicators of the target virtual game character, which can be set according to actual conditions, for example, the character index information can be the temperature value, the physical value, the blood volume or the oxygen volume of the target virtual game character, and the present embodiments do not limit the same.
[0088] The character index information can be represented by a numerical value. The character index information affects the survival state of the target virtual game character in the game, which can be understood as that the smaller the character index information, the higher the survival probability of the target virtual game character in the game, and the larger the character index information, the lower the survival probability of the target virtual game character in the game. For example, when the character index information indicates the temperature value of the target virtual game character, the larger the temperature value of the target virtual game character, the greater the probability of the target virtual game character being attacked by other virtual game characters, and the lower the survival probability of the target virtual game character. Alternatively, the character index information affects the survival state of the target virtual game character in the game, which can be understood as that the larger the character index information, the higher the survival probability of the target virtual game character in the game, and the smaller the character index information, the lower the survival probability of the target virtual game character in the game. For example, when the character index information indicates the blood volume of the target virtual game character, the larger the blood volume of the target virtual game character, the smaller the probability of the target virtual game character being killed by attack, and the higher the survival probability of the target virtual game character.
[0089] The speed of the target virtual game character moving and the character index information can be in a positive correlation relationship. For example, the character index information can be a temperature value of the target virtual game character. The faster the target virtual game character moves, the greater the temperature value of the target virtual game character. The slower the target virtual game character moves, the smaller the temperature value of the target virtual game character. Alternatively, the speed of the target virtual game character moving and the character index information can be in a negative correlation relationship. For example, the character index information can be an oxygen amount of the target virtual game character. The faster the target virtual game character moves, the smaller the oxygen amount of the target virtual game character. The slower the target virtual game character moves, the greater the oxygen amount of the target virtual game character.
[0090] In the embodiments of the present application, the character index information of the target virtual game character is adjusted according to the speed of the target virtual game character moving, to obtain adjusted character index information. The character index information affects the survival state of the target virtual game character in the game. The adjusted character index information is displayed to prompt the player to adjust the speed of the target virtual game character moving according to the adjusted character index information, so that the player can control the speed of the target virtual game character moving, thereby ensuring the survival state of the target virtual game character in the game.
[0091] In some embodiments, the graphical user interface further includes a setting control. The embodiments of the present application further include:
[0092] In response to a first trigger operation on the setting control, the moving speed of the target virtual game character is locked to a first speed.
[0093] In response to a sliding operation on different control regions, the target virtual game character is controlled to move at the first speed. The different control regions include a first control region and a second control region.
[0094] When the graphical user interface includes a third control region, the different control regions can further include the third control region. The type of the first trigger operation can be set according to actual conditions. For example, the first trigger operation can be a click operation or a long press operation, which is not limited in the embodiments of the present application.
[0095] The position of the setting control on the graphical user interface can be set according to actual conditions. For example, the setting control on the graphical user interface can be as shown in FIG. 2, which is not limited in the embodiments of the present application. Figure 1
[0096] In the embodiments of the present application, in response to the first triggering operation on the setting control, the moving speed of the target virtual game character is locked as the first speed. At this time, when the sliding operation is detected in the different control areas, the target virtual game character can be directly controlled to move at the first speed. The speed of the target virtual game character can be locked, so that the player can lock the speed of the target virtual game character according to his own needs, and the game experience is improved.
[0097] In some embodiments, when the speed of the movement of the target virtual game character affects the character index information of the target virtual game character, the character index information affects the survival state of the target virtual game character in the game, the first speed is less than the second speed, the second speed is less than the third speed, and the faster the speed, the lower the survival probability of the target virtual game character in the game indicated by the character index information, the speed of the target virtual game character is locked as the first speed, which can ensure the survival rate of the target virtual game character in the game.
[0098] For example, the first speed is the speed corresponding to the static moving mode, and the character index information is the temperature value of the target virtual game character. When the target virtual game character moves faster, the temperature value of the target virtual game character rises faster. When the temperature value of the target virtual game character rises to a temperature threshold, the target virtual game character will be attacked by other virtual game characters, thereby reducing the survival probability of the target virtual game character in the game. Therefore, the speed of the target virtual game character can be locked as the first speed, the rising speed of the temperature value of the target virtual game character is reduced, so that the temperature value of the target virtual game character will not rise to the temperature threshold.
[0099] In some embodiments, the embodiments of the present application further include:
[0100] The joystick control interface is displayed on the graphical user interface, and the joystick control interface includes a control for adjusting the control area, and the control area includes the first control area and / or the second control area.
[0101] In response to the triggering operation on the control, the first control area and / or the second control area are adjusted.
[0102] The joystick control interface can be displayed on the graphical user interface in the game session, or the joystick control interface can be displayed on the graphical user interface outside the game session.
[0103] The terminal can display the joystick control interface on the graphical user interface in response to a setting event. The setting event can be obtained in various manners, such as: the terminal can collect a voice of the player, recognize the voice to obtain a recognition result, and generate the setting event according to the recognition result; or the graphical user interface includes a setting control, and the setting event is generated in response to a second trigger operation on the setting control; or the terminal can generate the setting event in response to a long-press operation on the operation point, and the present embodiment is not limited in this regard.
[0104] When the setting event is generated in response to the second trigger operation on the setting control, the second trigger operation and the first trigger operation can be trigger operations of the same type or can not be trigger operations of the same type. When the second trigger operation and the first trigger operation are trigger operations of the same type, the setting control can include a lock sub-control and an interface display sub-control. The first trigger operation on the setting control can be a trigger operation on the lock sub-control, and the second trigger operation on the setting control can be a trigger operation on the interface display sub-control.
[0105] For example, the lock sub-control and the interface display sub-control can be Figure 1 As shown in FIG. 6, the first trigger operation and the second trigger operation are both click operations. In response to the click operation on the lock sub-control, the speed of the target virtual game character is locked to the first speed, and in response to the click operation on the interface display sub-control, the setting event is generated.
[0106] When the first trigger operation and the second trigger are trigger operations of different types, for example, the first trigger operation can be a click operation and the second trigger operation can be a long-press operation, or the first trigger operation can be a long-press operation and the second trigger operation can be a click operation, and the present embodiment is not limited in this regard.
[0107] Adjusting the first control region and / or the second control region can be understood as adjusting the area range of the first control region and / or the area range of the second control region (the area range of the first control region can be understood as the area of the first control region, and the area range of the second control region can be understood as the area of the second control region, or when the first control region and the second control region are annular regions, the area range of the first control region can be understood as the length and / or width of the annular region of the first control region, and the area range of the second control region can be understood as the length and / or width of the annular region of the second control region), and / or adjusting the first control region and / or the second control region can be understood as adjusting the first speed corresponding to the first control region and / or the second speed corresponding to the second control region.
[0108] The form of the control for adjusting the control region on the joystick control interface and the type of the triggering operation on the control can be set according to actual conditions. For example, the control can include an input region, and the triggering operation on the control can be an input operation on the input region, or the control can include a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, and the triggering operation on the control can be a triggering operation on the first sub-control and / or the second sub-control, or the control can display the first control region and the second control region, and the triggering operation on the control can be a boundary adjustment operation on the first control region and / or the second control region. The embodiments of the present application do not limit this.
[0109] In the embodiments of the present application, a joystick control interface is displayed on a graphical user interface, the joystick control interface includes a control for adjusting a control region, and the control region includes a first control region and / or a second control region. In response to a triggering operation on the control, the first control region and / or the second control region are adjusted, so that the player can customize the area range and the corresponding speed of the first control region according to his own needs or habits, and can customize the area range and the corresponding speed of the second control region, thereby reducing the difficulty of the player in controlling the target virtual game character to move through the first control region and the second control region, and improving the flexibility of controlling the target virtual game character.
[0110] In some embodiments, when the control includes an input region, and the triggering operation on the control is an input operation on the input region, in response to the triggering operation on the control, the first control region and / or the second control region are adjusted, including:
[0111] In response to the input operation on the input region, a value is obtained from the input operation;
[0112] According to the value, the first control region and / or the second control region are adjusted.
[0113] For example, adjusting the first control region and / or the second control region is understood as adjusting the area range of the first control region and / or the area range of the second control region. The control can be as shown in FIG. 8A, in response to the input operation on the input region corresponding to the static movement mode, the value input is 3, and the radius of the first control region is adjusted from 2 to 3, thereby changing the area range of the first control region. Figure 1
[0114] In some embodiments, when the control displays the first control region and the second control region, and the triggering operation on the control is a boundary adjustment operation on the first control region and / or the second control region, in response to the triggering operation on the control, the first control region and / or the second control region are adjusted, including:
[0115] In response to the boundary adjustment operation on the first control area and / or the second control area, the area range of the first control area and / or the second control area is adjusted.
[0116] The boundary adjustment operation can be a drag operation, the drag operation is used to enlarge the area range of the first control area and / or the area range of the second control area, and the drag operation is used to reduce the area range of the first control area and / or the area range of the second control area.
[0117] The boundary adjustment operation on the first control area can be a drag operation on the periphery of the first control area. Since the periphery of the first control area is also the periphery of the second control area, in response to the drag operation on the periphery of the first control area, the area range of the first control area and the area range of the second control area are adjusted. The boundary adjustment operation on the second control area can be a drag operation on the periphery of the second control area.
[0118] For example, the first control area and the second control area displayed on the control can be as shown in FIG. 1001. When the boundary adjustment operation is a drag enlargement operation, in response to the drag enlargement operation on the periphery of the second control area, the area range of the second control area is enlarged. At this time, the second control area can be as shown in FIG. 1002. Figure 1 When the boundary adjustment operation is a drag reduction operation, in response to the drag reduction operation on the periphery of the first control area, the area range of the first control area is reduced. At this time, the area range of the second control area is enlarged, and the first control area and the second control area can be as shown in FIG. 1003. Figure 1 Figure 1 In the embodiments of the present application, the first control area and the second control area displayed on the control are in an editable state, so that the area range of the first control area and / or the second control area can be adjusted in response to the boundary adjustment operation on the first control area and / or the second control area, and the convenience of adjusting the area range of the first control area and / or the second control area is improved.
[0119] In some embodiments, the periphery of the first control area can display an identifier of a moving manner corresponding to the first speed, and the periphery of the second control area can display an identifier of a moving manner corresponding to the third speed. For example, the moving manner corresponding to the first speed is called a walking moving manner, and the moving manner corresponding to the third speed is called a running moving manner. The identifier of the walking moving manner and the identifier of the running moving manner can be as shown in FIG. 1002.
[0120] Figure 1
[0121] In some embodiments, when the control includes a first sub-control corresponding to the first control area and a second sub-control corresponding to the second control area, and the triggering operation on the control is a triggering operation on the first sub-control and / or the second sub-control, in response to the triggering operation on the control, the first control area and / or the second control area is adjusted, including:
[0122] adjusting the first control area in response to the triggering operation on the first sub-control;
[0123] and / or adjusting the second control area in response to the triggering operation on the second sub-control.
[0124] The triggering operation on the first sub-control and the triggering operation on the second sub-control can be an input operation or a sliding operation, which is not limited in the embodiments of the present application.
[0125] In the embodiments of the present application, the first sub-control corresponding to the first control area and the second sub-control corresponding to the second control area are provided, so that the first control area can be adjusted by the first sub-control and the second control area can be adjusted by the second sub-control. The first sub-control and the second sub-control can be as shown in Figure 1 .
[0126] When the triggering operation on the first sub-control and the triggering operation on the second sub-control are sliding operations, and the first sub-control and the second sub-control are used to adjust the area range of the control area, in response to the triggering operation on the first sub-control, the first control area is adjusted, including:
[0127] determining the position of the first sub-control after sliding on the control in response to the sliding operation on the first sub-control;
[0128] adjusting the area range of the first control area according to the position of the first sub-control after sliding;
[0129] and / or adjusting the second control area in response to the triggering operation on the second sub-control, including:
[0130] determining the position of the second sub-control after sliding on the control in response to the sliding operation on the second sub-control;
[0131] adjusting the area range of the second control area according to the position of the second sub-control after sliding.
[0132] In the embodiments of the present application, in response to the sliding operation on the first sub-control, the position of the first sub-control after sliding on the control is determined, the range of the first control region is adjusted according to the position of the first sub-control after sliding, in response to the sliding operation on the second sub-control, the position of the second sub-control after sliding on the control is determined, the range of the second control region is adjusted according to the position of the second sub-control after sliding, and the range of the control region is adjusted according to the position of the sub-control after sliding.
[0133] In some embodiments, different positions on the control can correspond to different numerical values, and the different numerical values corresponding to different positions represent different ranges. The process of adjusting the range of the first control region according to the position of the first sub-control after sliding can be:
[0134] determining the numerical value corresponding to the position of the first sub-control after sliding as the first target range;
[0135] adjusting the range of the first control region to the first target range;
[0136] And / or, the process of adjusting the range of the second control region according to the position of the second sub-control after sliding can be:
[0137] determining the numerical value corresponding to the position of the second sub-control after sliding as the second target range;
[0138] adjusting the range of the second control region to the second target range.
[0139] In some embodiments, the process of adjusting the range of the second control region according to the position of the second sub-control after sliding can also be:
[0140] determining the distance between the second sub-control and the first sub-control according to the position of the second sub-control after sliding;
[0141] adjusting the range of the second control region according to the distance.
[0142] Wherein, after the terminal obtains the distance, the distance can be mapped to obtain the range corresponding to the distance, and then the range of the second control region is adjusted to the range corresponding to the distance. When the distance between the first sub-control and the second sub-control is greater, the range corresponding to the distance is greater, and the adjusted range of the second control region is greater, and when the distance between the first sub-control and the second sub-control is smaller, the range corresponding to the distance is smaller, and the adjusted range of the second control region is smaller.
[0143] For example, when the first sub-control and the second sub-control are as shown in 1201 in FIG. 12, Figure 1 the range of the second control region can be as shown inFigure 1 As shown in Figure 1201, in response to a downward sliding operation on the second sub-control, the distance between the second sub-control and the first sub-control decreases, and the adjusted area of the second control region decreases. At this time, the second control region can be as follows: Figure 1 As shown in 1202, from Figure 1 As can be seen from 1202, the area of the second control region is smaller than... Figure 1 The area of the second control region shown in 1201.
[0144] In this embodiment, the distance between the second sub-control and the first sub-control is determined based on the position of the second sub-control after sliding. The area of the second control region is adjusted according to the distance, thereby improving the convenience of adjusting the area of the second control region by means of the distance between the first and second sub-controls.
[0145] In some embodiments, adjusting the area range of the first control region based on the position of the first sub-control after sliding includes:
[0146] Determine the distance between the first and second child controls based on the position of the first child control after it has been slid.
[0147] The area of the second control zone is adjusted according to the distance;
[0148] The area of the first control region is adjusted based on the position of the first sub-control after it is slid.
[0149] The terminal can adjust only the area of the first control region based on the position of the first sub-control after it has been slid, or it can adjust not only the area of the first control region but also the area of the second control region based on the position of the first sub-control after it has been slid.
[0150] For example, when the first child control and the second child control are like Figure 1 As shown in Figure 1301, the range of the first control area and the range of the second control area can be as follows: Figure 1 As shown in Figure 1301, in response to a downward sliding operation on the first sub-control, the area range of the first control region is reduced according to the position of the first sub-control after sliding. Furthermore, in response to the downward sliding operation on the first sub-control, the distance between the second sub-control and the first sub-control increases, and the adjusted area range of the second control region increases. At this time, the first control region and the second control region can be... Figure 1 As shown in 1302, from Figure 1 As can be seen from 1302, the area of the first control region is smaller than Figure 1The area range of the first control region shown in 1301 is greater than the area range of the second control region. Figure 1 The area of the second control region shown in 1301.
[0151] Optionally, the method for adjusting the area range of the first control region based on the position of the first sub-control after sliding can be set according to the actual situation. For example, the area range corresponding to the position of the first sub-control after sliding can be used as the adjusted area range of the first control region. Alternatively, the distance between the position of the first sub-control after sliding and the starting position on the control can be determined to adjust the area range of the first control region. The starting position on the control can be set according to the actual situation. For example, the starting position on the control can be as follows: Figure 1 As shown in 1301.
[0152] In this embodiment, the distance between the first and second sub-controls is determined based on the position of the first sub-control after sliding. The area of the second control region is adjusted based on the distance. The area of the first control region is also adjusted based on the position of the first sub-control after sliding. This allows for simultaneous adjustment of the area of the first and second control regions with a single sliding operation of the first sub-control, thereby improving the efficiency of adjusting the area of the first and second control regions.
[0153] In some embodiments, when the control includes a first sub-control and a second sub-control, when the area range of the first control region is adjusted by the first sub-control and the area range of the second control region is adjusted by the second sub-control, the adjusted area range of the first control region and the adjusted area range of the second control region can be displayed in real time on the graphical user interface, so that the player can see the adjusted area range of the first control region and the adjusted area range of the second control region in real time, and the player can quickly adjust the area range of the first control region and the area range of the second control region to the area range they need.
[0154] For example, when the joystick control interface is displayed, the first sub-control, the second sub-control, the first control area, and the second control area can be displayed as follows: Figure 1 As shown in Figure 1401. In response to a downward sliding operation on the second sub-control, the second sub-control is slid down, reducing the distance between the second and first sub-controls, thus shrinking the area of the second control region. At this time, the second control region on the graphical user interface can be as follows: Figure 1 As shown in 1402, from Figure 1 As can be seen from 1402, the area of the second control region is smaller than... Figure 1 The area of the second control region shown in 1401.
[0155] In some embodiments, when the adjusted region range of the first control region and the adjusted region range of the second control region are displayed in real time on the graphical user interface, the identification of the walking movement mode can also be displayed on the first control region, and the identification of the running movement mode can also be displayed on the second control region, such as shown in FIG. 1401. Figure 1
[0156] In some embodiments, when the control includes a first sub-control and a second sub-control, the first speed can also be displayed on the first sub-control, and the maximum second speed of the second speed can also be displayed on the second sub-control. For example, when the first speed is 2A / B, the second speed is between 2-6A / B, and the maximum second speed is 6A / B, 2 is displayed on the first sub-control, and 6 is displayed on the second sub-control. At this time, the first sub-control and the second sub-control can be as shown in FIG. 1401. Figure 1
[0157] In some embodiments, the trigger operation is a sliding operation, the control includes a speed sub-control for adjusting the speed corresponding to the control region, and in response to the trigger operation on the control, the first control region and / or the second control region are adjusted, including:
[0158] In response to the sliding operation on the speed sub-control, the position of the speed sub-control after sliding on the control is determined.
[0159] According to the position of the speed sub-control after sliding, the speed corresponding to the first control region and / or the second control region is adjusted.
[0160] The speed corresponding to the first control region is referred to as the first speed, and the speed corresponding to the second control region is referred to as the second speed. The terminal can adjust the first speed or the second speed through one speed sub-control, or can also adjust the first speed and the second speed through one speed sub-control, or the speed sub-control can include a first sub-control and a second sub-control. At this time, the first sub-control is used to adjust the first speed, and the second sub-control is used to adjust the second speed, that is, the first sub-control can be used to adjust the region range of the first control region and the first speed, and the second sub-control can be used to adjust the region range of the second control region and the second speed.
[0161] After the terminal obtains the position of the speed sub-control after sliding, the speed corresponding to the first control region and / or the second control region can be adjusted according to the value corresponding to the position of the speed sub-control after sliding.
[0162] Alternatively, the control further comprises a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, the first sub-control and the second sub-control being used to adjust the range of the control region, and the process of adjusting the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding can also be:
[0163] obtaining a first distance between the first sub-control and the second sub-control;
[0164] determining a second distance according to the position of the speed sub-control after sliding, the second distance being the distance between the speed sub-control and the first sub-control, or the second distance being the distance between the speed sub-control and the second sub-control;
[0165] adjusting the speed corresponding to the first control region and / or the second control region according to the first distance and the second distance.
[0166] wherein the second distance can be divided by the first distance to obtain a distance ratio, and then the speed corresponding to the distance ratio is used to adjust the speed corresponding to the first control region and / or the second control region.
[0167] Alternatively, the maximum speed or the minimum speed corresponding to the second control region can be adjusted according to the speed corresponding to the distance ratio, and at this time, the adjusted maximum speed or the adjusted minimum speed corresponding to the second control region can be the speed corresponding to the distance ratio. For example, the speed corresponding to the distance ratio is 4A / B, and the maximum speed corresponding to the second control region is 6A / B, and then the adjusted maximum speed corresponding to the second control region is 4A / B.
[0168] In the embodiments of the present application, the control comprises a speed sub-control used to adjust the speed corresponding to the control region, and the position of the speed sub-control after sliding on the control is determined in response to the sliding operation of the speed sub-control, and the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding, so as to realize the adjustment of the speed corresponding to the first control region and / or the second control region through the speed sub-control.
[0169] In some embodiments, the adjustment of the speed corresponding to the second control region according to the position of the speed sub-control after sliding comprises:
[0170] adjusting the maximum speed or the minimum speed corresponding to the second control region according to the position of the speed sub-control after sliding.
[0171] For example, the maximum speed corresponding to the second control region is 6A / B, and the adjusted maximum speed is 4A / B according to the position of the speed sub-control after sliding, and then the maximum speed corresponding to the second control region is adjusted to 4A / B.
[0172] In the embodiments of the present application, the maximum speed or the minimum speed in the speed corresponding to the second control region is adjusted according to the position of the speed sub-control after sliding, so as to realize the speed limiting processing of the target virtual game character through the second control region.
[0173] In some embodiments, the control further includes a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, the first sub-control and the second sub-control are used to adjust the region range of the control region, and the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding, including:
[0174] determining whether the position of the speed sub-control after sliding is between the first sub-control and the second sub-control;
[0175] If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding.
[0176] If the position of the speed sub-control after sliding is not between the first sub-control and the second sub-control, the speed corresponding to the first control region and / or the second control region is not adjusted according to the position of the speed sub-control after sliding.
[0177] For example, when the joystick control interface is displayed, the speed sub-control is not between the first sub-control and the second sub-control, at this time, the speed sub-control, the first sub-control and the second sub-control can be as shown in FIG. 1501, the speed corresponding to the first control region and / or the second control region is not adjusted according to the position of the speed sub-control, and the speed sub-control is slid to between the first sub-control and the second sub-control in response to the sliding operation of the speed sub-control, at this time, the speed sub-control, the first sub-control and the second sub-control can be as shown in FIG. 1502, the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding. Figure 1 Figure 1
[0178] Optionally, if the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the process of adjusting the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding can be:
[0179] If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the maximum speed or the minimum speed in the speed corresponding to the second control region is adjusted according to the position of the speed sub-control after sliding.
[0180] Optionally, if the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the process of adjusting the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding can also be:
[0181] If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, a first distance between the first sub-control and the second sub-control is obtained;
[0182] According to the position of the speed sub-control after sliding, a second distance is determined, the second distance being a distance between the speed sub-control and the first sub-control, or the second distance being a distance between the speed sub-control and the second sub-control;
[0183] According to the first distance and the second distance, the speed corresponding to the first control region and / or the second control region is adjusted.
[0184] The second distance can be divided by the first distance to obtain a distance ratio, and then the speed corresponding to the first control region and / or the second control region is adjusted according to the speed corresponding to the distance ratio.
[0185] Optionally, the maximum speed or the minimum speed corresponding to the second control region can be adjusted according to the speed corresponding to the distance ratio, and at this time, the adjusted maximum speed or the adjusted minimum speed corresponding to the second control region can be the speed corresponding to the distance ratio. For example, the speed corresponding to the distance ratio is 4A / B, and the maximum speed corresponding to the second control region is 6A / B, and the adjusted maximum speed corresponding to the second control region is 4A / B.
[0186] In some embodiments, in response to the triggering operation on the control, the first control region and / or the second control region are adjusted, including:
[0187] In response to the triggering operation on the control, the area range of the first control region and / or the second control region is adjusted;
[0188] In response to the changing operation on the parameter adjusted by the control, the parameter adjusted by the control is changed from the area range of the control region to the speed corresponding to the control region;
[0189] In response to the triggering operation on the control, the speed corresponding to the first control region and / or the second control region is adjusted.
[0190] The type of the changing operation on the parameter adjusted by the control can be set according to actual conditions, for example, the control can also change a sub-control, the changing operation can be a triggering operation for changing the sub-control, or the changing operation can also be a voice changing operation, or the changing operation can also be a long-press operation on the control, which is not limited in the embodiments of the present application.
[0191] In the embodiments of the present application, the area range of the first control region and / or the second control region is adjusted in response to the triggering operation on the control, the parameter adjusted by the control is changed from the area range of the control region to the speed corresponding to the control region in response to the changing operation on the parameter adjusted by the control, and the speed corresponding to the first control region and / or the second control region is adjusted in response to the triggering operation on the control, so that the area range of the first control region, the speed corresponding to the first control region, the area range of the second control region and the speed corresponding to the second control region can be adjusted through one control, the control setting on the rocker control interface is simplified, and the computing resources of the terminal are saved.
[0192] In some embodiments, the control includes a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, the area range of the first control region and / or the second control region is adjusted in response to the triggering operation on the control, including:
[0193] the area range of the first control region is adjusted in response to the triggering operation on the first sub-control;
[0194] and / or, the area range of the second control region is adjusted in response to the triggering operation on the second sub-control;
[0195] the parameter adjusted by the control is changed from the area range of the control region to the speed corresponding to the control region in response to the changing operation on the parameter adjusted by the control;
[0196] the speed corresponding to the first control region is adjusted in response to the triggering operation on the first sub-control;
[0197] and / or, the speed corresponding to the second control region is adjusted in response to the triggering operation on the second sub-control.
[0198] It can be seen from the above that, in the embodiments of the present application, a graphical user interface is provided by the electronic device, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, in response to a first sliding operation acting on the first control area, the target virtual game character is controlled to move at a predetermined first speed, in response to a second sliding operation acting on the second control area, the target virtual game character is controlled to move at a second speed according to the relative position of the initial position and a touch point corresponding to the second sliding operation on the graphical user interface, so that the target virtual game character is controlled to move at different speeds in the first control area and the second control area, and the target virtual game character is controlled to move at different second speeds in the second control area according to different relative positions, which not only improves the flexibility of the speed of the target virtual game character, but also reduces the variation range of the speed of the target virtual game character, thereby reducing the difference between different game scenes embodied by the movement of the target virtual game character, and further saving the computer resources consumed by the electronic device to render the game scene.
[0199] In order to better implement the above method, the embodiments of the present application also provide a character control device, which can be integrated in an electronic device, such as a computer device, which can be a terminal, a server, etc.
[0200] The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a notebook computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0201] For example, in the present embodiment, the character control device is integrated in a terminal, and the method of the present embodiment is described in detail, the present embodiment provides a character control device, as shown in the figure, the character control device provides a graphical user interface by an electronic device, the graphical user interface includes a preset first control area and a second control area located at the periphery of the first control area, the first control area includes an initial position, the character control device can include: Figure 1
[0202] The first response module 1601 is configured to respond to a first sliding operation acting on the first control area, and control the target virtual game character to move at a predetermined first speed.
[0203] The second response module 1602 is configured to respond to a second sliding operation acting on the second control area, and control the target virtual game character to move at a second speed according to the relative position of the initial position and a touch point corresponding to the second sliding operation on the graphical user interface.
[0204] In some embodiments, the graphical user interface further comprises a third control region located at a periphery of the second control region, and the role control apparatus further comprises a third response module, and the third response module is configured to perform:
[0205] in response to a third sliding operation performed on the third control region, control the target virtual game role to move at a predetermined third speed.
[0206] In some embodiments, the second response module 1602 is specifically configured to perform:
[0207] in response to a second sliding operation performed on the second control region, determine a relative position between an initial position and a touch point on the graphical user interface corresponding to the second sliding operation;
[0208] determine a second speed corresponding to the relative position, wherein the second speed corresponding to the relative position close to the initial position is smaller than the second speed corresponding to the relative position away from the initial position;
[0209] control the target virtual game role to move at the second speed.
[0210] In some embodiments, the first response module 1601 is further configured to perform:
[0211] in response to a first triggering operation on the setting control, lock the moving speed of the target virtual game role to the first speed;
[0212] in response to a sliding operation performed on different control regions, control the target virtual game role to move at the first speed, wherein the different control regions include the first control region and the second control region.
[0213] In some embodiments, the role control apparatus further comprises a setting module, and the setting module is configured to perform:
[0214] display a joystick control interface on the graphical user interface, wherein the joystick control interface comprises a control for adjusting the control region, and the control region includes the first control region and / or the second control region;
[0215] in response to a triggering operation on the control, adjust the first control region and / or the second control region.
[0216] In some embodiments, the control includes a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, and the setting module is specifically configured to perform:
[0217] in response to a triggering operation on the first sub-control, adjust the first control region;
[0218] and / or, in response to a triggering operation on the second sub-control, adjust the second control region.
[0219] In some embodiments, the triggering operation is a sliding operation, the first sub-control and the second sub-control are used to adjust the region range of the control region, and the setting module is specifically configured to perform:
[0220] In response to the sliding operation on the first sub-control, the position of the first sub-control after sliding on the control is determined;
[0221] According to the position of the first sub-control after sliding, the region range of the first control region is adjusted;
[0222] In response to the sliding operation on the second sub-control, the position of the second sub-control after sliding on the control is determined;
[0223] According to the position of the second sub-control after sliding, the region range of the second control region is adjusted.
[0224] In some embodiments, the setting module is specifically configured to perform:
[0225] According to the position of the second sub-control after sliding, the distance between the second sub-control and the first sub-control is determined;
[0226] According to the distance, the region range of the second control region is adjusted.
[0227] In some embodiments, the setting module is specifically configured to perform:
[0228] According to the position of the first sub-control after sliding, the distance between the first sub-control and the second sub-control is determined;
[0229] According to the distance, the region range of the second control region is adjusted;
[0230] According to the position of the first sub-control after sliding, the region range of the first control region is adjusted.
[0231] In some embodiments, the triggering operation is a sliding operation, the control includes a speed sub-control used to adjust the speed corresponding to the control region, and the setting module is specifically configured to perform:
[0232] In response to the sliding operation on the speed sub-control, the position of the speed sub-control after sliding on the control is determined;
[0233] According to the position of the speed sub-control after sliding, the speed corresponding to the first control region and / or the second control region is adjusted.
[0234] In some embodiments, the setting module is specifically configured to perform:
[0235] According to the position of the speed sub-control after sliding, the maximum speed or the minimum speed corresponding to the second control region is adjusted.
[0236] In some embodiments, the control further comprises a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, the first sub-control and the second sub-control being used to adjust the region range of the control region, and the setting module is specifically used to perform:
[0237] determine whether the position of the speed sub-control after sliding is between the first sub-control and the second sub-control;
[0238] If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding.
[0239] In some embodiments, the setting module is specifically used to perform:
[0240] If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, a first distance between the first sub-control and the second sub-control is obtained.
[0241] According to the position of the speed sub-control after sliding, a second distance is determined, the second distance being a distance between the speed sub-control and the first sub-control, or the second distance being a distance between the speed sub-control and the second sub-control;
[0242] According to the first distance and the second distance, the speed corresponding to the first control region and / or the second control region is adjusted.
[0243] In some embodiments, the setting module is specifically used to perform:
[0244] In response to a triggering operation on the control, the region range of the first control region and / or the second control region is adjusted.
[0245] In response to a change operation on the parameter adjusted by the control, the parameter adjusted by the control is changed from the region range of the control region to the speed corresponding to the control region.
[0246] In response to a triggering operation on the control, the speed corresponding to the first control region and / or the second control region is adjusted.
[0247] In some embodiments, the control displays the first control region and the second control region, and the setting module is specifically used to perform:
[0248] In response to a boundary adjustment operation on the first control region and / or the second control region, the region range of the first control region and / or the second control region is adjusted.
[0249] In some embodiments, the role control apparatus further comprises an adjustment display module, which is specifically configured to perform the following steps:
[0250] adjusting the role index information of the target virtual game role according to the speed of the movement of the target virtual game role, to obtain adjusted role index information, the role index information affecting the survival state of the target virtual game role in the game;
[0251] displaying the adjusted role index information to prompt the player to adjust the speed of the movement of the target virtual game role according to the adjusted role index information.
[0252] In some embodiments, the initial position is a central position of the first control area, or the initial position is a trigger position corresponding to the trigger operation acting on the first control area.
[0253] In implementation, the above various modules can be implemented as independent entities, or can be combined as the same or several entities, and the specific implementation manners of the above various modules and the corresponding beneficial effects can be referred to the method embodiments above, which will not be described here.
[0254] Correspondingly, the embodiment of the present application also provides an electronic device, which can be a terminal, such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), etc. Figure 1 As shown in the figure, Figure 1 The electronic device provided by the embodiment of the present application is a structure schematic diagram. The electronic device 1700 includes a processor 1701 with one or more processing cores, a memory 1702 with one or more computer readable storage media, and a computer program stored in the memory 1702 and executable on the processor. Among them, the processor 1701 and the memory 1702 are electrically connected. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the electronic device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.
[0255] The processor 1701 is the control center of the electronic device 1700, which connects all parts of the electronic device 1700 through various interfaces and lines, executes the software programs and / or modules stored in the memory 1702, and calls the data stored in the memory 1702, to perform various functions and process data of the electronic device 1700, thereby overall monitoring the electronic device 1700.
[0256] In the embodiments of the present application, the processor 1701 in the electronic device 1700 loads the instructions corresponding to the processes of one or more application programs into the memory 1702, and runs the application programs stored in the memory 1702 by the processor 1701, so as to realize various functions, such as:
[0257] In response to the first sliding operation acting on the first control area, the target virtual game character is controlled to move at a predetermined first speed;
[0258] In response to the second sliding operation acting on the second control area, the target virtual game character is controlled to move at a second speed according to the initial position and the relative position of the touch point on the graphical user interface corresponding to the second sliding operation.
[0259] The specific implementation and corresponding beneficial effects of the above operations can be referred to the detailed description of the character control method above, and will not be repeated here.
[0260] Optionally, as shown in Figure 1 The electronic device 1700 further includes a touch display screen 1703, a radio frequency circuit 1704, an audio circuit 1705, an input unit 1706, and a power supply 1707. The processor 1701 is electrically connected with the touch display screen 1703, the radio frequency circuit 1704, the audio circuit 1705, the input unit 1706, and the power supply 1707, respectively. Those skilled in the art can understand that the electronic device structure shown in Figure 1 The electronic device structure shown in the above does not constitute a limitation on the electronic device, and can include more or fewer components than shown, or combine certain components, or different component arrangements.
[0261] The touch display screen 1703 can be used to display a graphical user interface and receive operation instructions generated by user acting on the graphical user interface. The touch display screen 1703 can include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, video and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations (such as user operations on or near the touch panel using a finger, a stylus or any suitable object or accessory) of the user thereon or therearound, and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts of a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 1701, and can also receive commands from the processor 1701 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation thereon or therearound, it transmits to the processor 1701 to determine the type of touch event, and then the processor 1701 provides corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 1703 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can realize the input and output functions as two independent components. That is, the touch display screen 1703 can also realize the input function as part of the input unit 1706.
[0262] The radio frequency circuit 1704 can be used to transceive radio frequency signals to establish wireless communication with network devices or other electronic devices, and transceive signals between network devices or other electronic devices.
[0263] The audio circuit 1705 can be used to provide an audio interface between a user and the electronic device through a speaker and a microphone. The audio circuit 1705 can convert received audio data into an electrical signal and transmit the electrical signal to the speaker for conversion into a sound signal and output; on the other hand, the microphone collects a sound signal and converts the sound signal into an electrical signal, which is received by the audio circuit 1705 and converted into audio data, and then output to the processor 1701 for processing, and then transmitted to another electronic device through the radio frequency circuit 1704, or output to the memory 1702 for further processing. The audio circuit 1705 can also include a headphone jack to provide communication between an external device and the electronic device.
[0264] The input unit 1706 can be used to receive input digital, character information or user feature information (such as fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0265] The power supply 1707 is used to supply power to various components of the electronic device 1700. Optionally, the power supply 1707 can be logically connected to the processor 1701 through a power management system, so that the power management system can realize functions such as management of charging, discharging and power consumption management. The power supply 1707 can also include one or more direct current or alternating current power supplies, recharge systems, power failure detection circuits, power converters or inverters, power state indicators, and any other components.
[0266] Although Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Figure 1 Although not shown in the embodiment, the electronic device 1700 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, and the like, which will not be described here.
[0267] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0268] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by instructions controlling related hardware, which can be stored in a computer readable storage medium and loaded and executed by a processor.
[0269] To this end, the embodiments of the present application provide a computer readable storage medium, which stores a plurality of computer programs capable of being loaded by a processor to execute any one of the role control methods provided by the embodiments of the present application. For example, the computer program can execute the following steps:
[0270] In response to a first sliding operation acting on the first control area, the target virtual game role is controlled to move at a predetermined first speed;
[0271] In response to a second sliding operation performed on the second control area, the target virtual game character is controlled to move at a second speed according to the relative position of the touch point on the graphical user interface corresponding to the initial position and the second sliding operation.
[0272] The specific implementation and corresponding beneficial effects of the above operations can be found in the detailed description of the character control method above, and will not be repeated here.
[0273] The computer readable storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, etc.
[0274] Due to the computer program stored in the computer readable storage medium, any character control method provided by the embodiments of the present application can be executed, and thus the beneficial effects of any character control method provided by the embodiments of the present application can be achieved. Details are described above, and will not be repeated here.
[0275] The above describes in detail a character control method, device, electronic equipment and computer readable storage medium provided by the embodiments of the present application. The principle and implementation of the present application is described by applying specific examples. The above description of the embodiments is only used to help understand the method and its core idea of the present application. Meanwhile, for those skilled in the art, the specific implementation and application range of the present application can be changed according to the idea of the present application. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A character control method, characterized by, Providing a graphical user interface by an electronic device, the graphical user interface comprising a preset first control region and a second control region located at a periphery of the first control region, the first control region comprising an initial position, the method comprising: controlling a target virtual game character to move at a predetermined first speed in response to a first sliding operation performed on the first control region; controlling the target virtual game character to move at a second speed in response to a second sliding operation performed on the second control region according to a relative position between the initial position and a touch point corresponding to the second sliding operation on the graphical user interface; displaying a joystick control interface on the graphical user interface, the joystick control interface comprising a control for adjusting a control region, the control comprising a speed sub-control for adjusting a speed corresponding to the control region, the control region comprising the first control region and / or the second control region; determining a position of the speed sub-control after sliding on the control in response to a sliding operation on the speed sub-control; and adjusting the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding.
2. The character control method of claim 1, wherein, The graphical user interface further comprises a third control region located at a periphery of the second control region, and the method further comprises: controlling the target virtual game character to move at a predetermined third speed in response to a third sliding operation performed on the third control region.
3. The character control method of claim 1, wherein The controlling the target virtual game character to move at a second speed in response to a second sliding operation performed on the second control region according to a relative position between the initial position and a touch point corresponding to the second sliding operation on the graphical user interface comprises: determining the relative position between the initial position and the touch point corresponding to the second sliding operation on the graphical user interface in response to the second sliding operation performed on the second control region; determining the second speed corresponding to the relative position, wherein the second speed corresponding to a relative position close to the initial position is smaller than the second speed corresponding to a relative position far from the initial position; and controlling the target virtual game character to move at the second speed.
4. The character control method of claim 1, wherein, The graphical user interface further comprises a setting control, and the method further comprises: locking the moving speed of the target virtual game character to the first speed in response to a first triggering operation on the setting control; and controlling the target virtual game character to move at the first speed in response to a sliding operation performed on different control regions, the different control regions comprising the first control region and the second control region.
5. The character control method of claim 1, wherein, The method further comprises: adjusting the first control region and / or the second control region in response to a triggering operation on the control.
6. The character control method of claim 5, wherein, The control comprises a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, and the adjusting the first control region and / or the second control region in response to the triggering operation on the control comprises: In response to a triggering operation on the first sub-control, the first control region is adjusted; In response to a triggering operation on the second sub-control, the second control region is adjusted.
7. The character control method of claim 6, wherein The triggering operation is a sliding operation, the first sub-control and the second sub-control are used to adjust the region range of the control region, and the adjusting of the first control region in response to the triggering operation on the first sub-control comprises: In response to the sliding operation on the first sub-control, a position of the first sub-control after sliding on the control is determined; The region range of the first control region is adjusted according to the position of the first sub-control after sliding; In response to the sliding operation on the second sub-control, a position of the second sub-control after sliding on the control is determined; The region range of the second control region is adjusted according to the position of the second sub-control after sliding. The adjusting of the region range of the second control region according to the position of the second sub-control after sliding comprises:
8. The character control method of claim 7, wherein, A distance between the second sub-control and the first sub-control is determined according to the position of the second sub-control after sliding; The region range of the second control region is adjusted according to the distance. The adjusting of the region range of the first control region according to the position of the first sub-control after sliding comprises:
9. The character control method of claim 7, wherein, A distance between the first sub-control and the second sub-control is determined according to the position of the first sub-control after sliding; The region range of the second control region is adjusted according to the distance. The adjusting of the region range of the first control region according to the position of the first sub-control after sliding comprises: A distance between the first sub-control and the second sub-control is determined according to the position of the first sub-control after sliding; 10. The character control method of claim 1, wherein, The region range of the second control region is adjusted according to the distance. The adjusting of the region range of the first control region according to the position of the first sub-control after sliding comprises:
11. The character control method of claim 1, wherein A distance between the first sub-control and the second sub-control is determined according to the position of the first sub-control after sliding; The region range of the second control region is adjusted according to the distance. The adjusting of the speed corresponding to the second control region according to the position of the speed sub-control after sliding comprises:
12. The character control method of claim 11, wherein, The maximum speed or the minimum speed in the speed corresponding to the second control region is adjusted according to the position of the speed sub-control after sliding. The control further comprises a first sub-control corresponding to the first control region and a second sub-control corresponding to the second control region, the first sub-control and the second sub-control are used to adjust the region range of the control region, and the adjusting of the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding comprises: It is judged whether the position of the speed sub-control after sliding is between the first sub-control and the second sub-control; If the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, the speed corresponding to the first control region and / or the second control region is adjusted according to the position of the speed sub-control after sliding. The adjusting of the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding if the position of the speed sub-control after sliding is between the first sub-control and the second sub-control comprises: if the position of the speed sub-control after sliding is between the first sub-control and the second sub-control, obtaining a first distance between the first sub-control and the second sub-control; determining a second distance according to the position of the speed sub-control after sliding, the second distance being a distance between the speed sub-control and the first sub-control, or the second distance being a distance between the speed sub-control and the second sub-control; adjusting the speed corresponding to the first control region and / or the second control region according to the first distance and the second distance.
13. The character control method of claim 5, wherein, The adjusting the first control region and / or the second control region in response to the triggering operation on the control includes: adjusting the area range of the first control region and / or the second control region in response to the triggering operation on the control; changing the parameter adjusted by the control from the area range of the control region to the speed corresponding to the control region in response to the changing operation on the parameter adjusted by the control; adjusting the speed corresponding to the first control region and / or the second control region in response to the triggering operation on the control.
14. The character control method of claim 5, wherein, The first control region and the second control region are displayed on the control, and the adjusting the first control region and / or the second control region in response to the triggering operation on the control includes: adjusting the area range of the first control region and / or the second control region in response to the boundary adjusting operation on the first control region and / or the second control region.
15. The character control method of claim 1, wherein, After controlling the movement of the target virtual game character, the method further includes: adjusting character index information of the target virtual game character according to the speed of the movement of the target virtual game character, to obtain adjusted character index information, the character index information affecting a survival state of the target virtual game character in the game; and displaying the adjusted character index information to prompt a player to adjust the speed of the movement of the target virtual game character according to the adjusted character index information.
16. The character control method according to any one of claims 1 to 15, wherein The initial position is a center position of the first control region, or the initial position is a triggering position corresponding to the triggering operation acting on the first control region.
17. A character control device, comprising: A graphical user interface is provided by an electronic device, the graphical user interface including a preset first control region and a second control region located at a periphery of the first control region, the first control region including an initial position, and the apparatus includes: a first response module configured to control a target virtual game character to move at a predetermined first speed in response to a first sliding operation acting on the first control region; a second response module configured to control the target virtual game character to move at a second speed according to the initial position and a relative position of a touch point corresponding to a second sliding operation on the graphical user interface in response to the second sliding operation acting on the second control region. The setting module is configured to display a joystick control interface on the graphical user interface, the joystick control interface comprising a control for adjusting a control region, the control comprising a speed sub-control for adjusting a speed corresponding to the control region, the control region comprising the first control region and / or the second control region; in response to a sliding operation on the speed sub-control, determining a position of the speed sub-control after sliding on the control; and adjusting the speed corresponding to the first control region and / or the second control region according to the position of the speed sub-control after sliding.
18. An electronic device, comprising: A processor and a memory are included, and the memory stores a plurality of instructions; the processor loads the instructions from the memory to execute the role control method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the role control method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Method and system for controlling game characters to move
CN106951178A