Game control method, device, equipment and storage medium
By using virtual props to rescue a fallen virtual character from a distance in shooting games, the problem of high complexity of rescue operations in the existing technology is solved, and a fast and simple rescue effect is achieved.
Patent Information
- Application Number
- CN202111397998.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-11-23
AI Technical Summary
Rescue operations in existing shooting games are highly complex, requiring the user to control the virtual character to move to the position of a fallen teammate and perform rescue operations, and the rescue operation cannot be interrupted, which increases the difficulty of the operation.
By running the game application on the terminal device and responding to the equipment, crosshair adjustment and launch operations of the virtual props, the virtual character can be rescued from a distance and the fallen virtual character can be restored to its health and stand up, thus reducing the complexity of the rescue operation.
It realizes fast and simple rescue operations, reduces the complexity and success rate of rescue, and avoids the possibility of being attacked during the rescue process.
Smart Images

Figure CN114053700B
Abstract
Description
Technical Field
[0001] The present application relates to the field of games, and in particular to a game control method, device, equipment and storage medium. Background Art
[0002] In some online games, "rescue" is a tactical operation. For example, if a teammate is in a fallen state, you can rescue him. After the rescue is successful, the teammate can get out of the fallen state.
[0003] Currently, when performing a rescue operation, the user needs to control the virtual character to reach the position of the teammate to be rescued and perform the rescue operation. For example, in a shooting game, if a teammate is in a fallen state, the user needs to control the virtual character to move to the teammate's position and click the rescue control. After 5 seconds, the rescue is successful and the teammate returns to normal. However, the above rescue operation requires moving to the teammate's side and cannot be interrupted during the rescue, which makes the rescue operation more complicated. Summary of the invention
[0004] The present application provides a game control method, device, equipment and storage medium, which are used to solve the technical problem of high complexity of rescue operations in the prior art.
[0005] A first aspect of the present application provides a game control method, wherein a terminal device executes a game application and renders a graphical user interface on a screen of the terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a first virtual character and a second virtual character belonging to the same game camp, and the method comprises:
[0006] In response to an equipping operation for a first virtual prop, controlling the first virtual character to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state;
[0007] In response to an adjustment operation performed on a crosshair adjustment area in the graphical user interface, controlling the movement of a crosshair corresponding to the first virtual prop;
[0008] In response to a firing operation on the first virtual prop, controlling the first virtual prop to shoot according to a current position of the crosshair;
[0009] In response to the second virtual character being hit by the first virtual prop, rescuing the second virtual character.
[0010] In a possible implementation manner, rescuing the second virtual character includes:
[0011] The second virtual character is controlled to restore a preset amount of health, and the second virtual character is controlled to stand.
[0012] In a possible implementation, the method further includes:
[0013] When the second virtual character recovers the preset health, displaying the acceleration control;
[0014] In response to the touch operation on the acceleration control, the second virtual character is controlled to move at a high speed.
[0015] In a possible implementation, before controlling the first virtual prop to shoot according to the current position of the crosshair, the method further includes:
[0016] In response to the loading operation on the first virtual prop, the first virtual prop is equipped with virtual ammunition.
[0017] In a possible implementation, the method further includes:
[0018] In response to a selection operation on a virtual drug, displaying a virtual joystick;
[0019] In response to a sliding operation on the virtual remote control, determining a throwing trajectory according to the sliding operation;
[0020] In response to the end of the sliding operation, the virtual medicine is thrown according to the throwing trajectory.
[0021] In a possible implementation, determining the throwing trajectory according to the sliding operation includes:
[0022] The throwing trajectory is determined according to the sliding direction and sliding distance of the sliding operation.
[0023] In a possible implementation, the method further includes:
[0024] When the virtual medicine is within a preset range of the second virtual character, displaying a pick-up control;
[0025] In response to a touch operation on the pick-up control, the virtual medicine is placed into a virtual backpack corresponding to the second virtual character.
[0026] A second aspect of the present application provides a game control device, including a control module and a display module, wherein the control module executes a game application and renders a graphical user interface on the display module, wherein the graphical user interface displays at least part of a game scene, wherein the game scene includes a first virtual character and a second virtual character belonging to the same game camp, wherein:
[0027] The control module is used for, in response to an equipping operation on a first virtual prop, controlling the first virtual character to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state;
[0028] The control module is further configured to, in response to an adjustment operation performed on the crosshair adjustment area in the graphical user interface, control the movement of the crosshair corresponding to the first virtual prop;
[0029] The control module is further configured to, in response to a firing operation on the first virtual item, control the first virtual item to shoot according to the current position of the crosshair;
[0030] The control module is further configured to, in response to the second virtual character being hit by the first virtual prop, rescue the second virtual character.
[0031] In a possible implementation manner, the control module is specifically used to:
[0032] The second virtual character is controlled to restore a preset amount of health, and the second virtual character is controlled to stand.
[0033] In a possible implementation manner, the control module is further used for:
[0034] When the second virtual character recovers the preset health, displaying the acceleration control;
[0035] In response to the touch operation on the acceleration control, the second virtual character is controlled to move at a high speed.
[0036] In a possible implementation manner, the control module is further used for:
[0037] In response to the loading operation on the first virtual prop, the first virtual prop is equipped with virtual ammunition.
[0038] In a possible implementation manner, the control module is further used for:
[0039] In response to a selection operation on a virtual drug, displaying a virtual joystick;
[0040] In response to a sliding operation on the virtual remote control, determining a throwing trajectory according to the sliding operation;
[0041] In response to the end of the sliding operation, the virtual medicine is thrown according to the throwing trajectory.
[0042] In a possible implementation manner, the control module is specifically used to:
[0043] The throwing trajectory is determined according to the sliding direction and sliding distance of the sliding operation.
[0044] In a possible implementation manner, the control module is further used for:
[0045] When the virtual medicine is within a preset range of the second virtual character, displaying a pick-up control;
[0046] In response to a touch operation on the pick-up control, the virtual medicine is placed into a virtual backpack corresponding to the second virtual character.
[0047] A third aspect of the present application provides a terminal device, including:
[0048] Processor, memory, display;
[0049] The memory is used to store programs and data, and the processor calls the program stored in the memory to execute the game control method provided by any implementation of the first aspect.
[0050] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a program, and when the program is executed by a processor, the program is used to execute the game control method provided in any embodiment of the first aspect.
[0051] The present application provides a game control method, device, equipment and storage medium, wherein a game application is executed by a terminal device and a graphical user interface is rendered on the screen of the terminal device, wherein the graphical user interface displays at least part of a game scene, wherein the game scene includes a first virtual character and a second virtual character belonging to the same game camp, and in response to an equipment operation for a first virtual prop, the first virtual character is controlled to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state, in response to an adjustment operation acting on a crosshair adjustment area in the graphical user interface, the crosshair corresponding to the first virtual prop is controlled to move, in response to a firing operation for the first virtual prop, the first virtual prop is controlled to shoot according to the current position of the crosshair, and in response to the second virtual character being concentrated by the first virtual prop, the second virtual character is rescued. In the above method, since the first virtual prop can be shot at the virtual character in a fallen state from a long distance, the virtual character in the fallen state is rescued so that the virtual character in the fallen state is restored to a normal state, therefore, by controlling the first virtual prop to rescue the virtual character in the fallen state, the complexity of the rescue operation can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0053] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0054] Figure 2 A flowchart of a game control method provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of a process of equipping a first virtual prop provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of the movement process of a crosshair provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of launching a first virtual prop provided in an embodiment of the present application;
[0058] Figure 6 A schematic diagram of another game control method provided by an embodiment of the present application;
[0059] Figure 7 A schematic diagram of a process of throwing virtual medicine provided in an embodiment of the present application;
[0060] Figure 8 A process diagram of a game control method provided by an embodiment of the present application;
[0061] Fig. 9 A schematic diagram of the structure of a game control device provided in an embodiment of the present application;
[0062] Fig.10 A schematic diagram of the hardware structure of the terminal device provided for this application. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0064] The terms "first", "second", "third", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example.
[0065] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.
[0066] In the related art, in shooting games with tactical competition as the main gameplay, the rescue operation is an important tactical operation, and the rescue operation can restore the virtual character in the fallen state to a normal state. In some existing shooting games, the rescue operation requires the user to control the virtual character to move to the position of the virtual character in the fallen state, and click the rescue control so that the virtual character controlled by the user performs the rescue operation. However, the rescue operation requires execution time. During the execution of the rescue operation, the rescue operation of the virtual character controlled by the user cannot be interrupted, and only by controlling the virtual character to move to the position of the virtual character in the fallen state can the rescue operation be performed on the virtual character in the fallen state, which leads to a high complexity of the rescue operation.
[0067] In order to solve the technical problem of high complexity of rescue operations in related technologies, an embodiment of the present application provides a game control method. When a terminal device runs a game application, the terminal device responds to an equipment operation on a first virtual prop, controls a first virtual character to equip the first virtual prop, and the first virtual prop is a prop used to rescue a virtual character in a fallen state. In response to an adjustment operation of a crosshair adjustment area in a graphical user interface, the movement of a crosshair corresponding to the first virtual prop is controlled. In response to a loading operation on the first virtual prop, virtual ammunition is equipped for the first virtual prop. In response to a firing operation on the first virtual prop, the first virtual prop is controlled to shoot according to the current position of the crosshair. In response to a second virtual character being hit by the first virtual prop, the second virtual character is controlled to restore a preset blood volume, and the second virtual character is controlled to stand. In the above method, since the first virtual prop can rescue the virtual character in the fallen state from a long distance, so that the virtual character in the fallen state can be restored to a normal state, and there is no need to control the first virtual character to move to the position of the second virtual character during the rescue, the possibility of being vulnerable to attack while waiting for rescue is reduced, the success rate of rescue is improved, and the second virtual character can be rescued quickly and easily, thereby reducing the complexity of the rescue operation.
[0068] Next, combine Figure 1 , the application scenarios of the embodiments of the present application are introduced.
[0069] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1, including a terminal device. The terminal device includes a graphical user interface. When the terminal device runs a game application, the graphical user interface can be displayed on the display screen of the terminal device. Among them, the graphical user interface includes a first virtual character in a normal state and a second virtual character in a fallen state, the first virtual character is equipped with a first virtual prop, and shoots the first virtual prop at the second virtual character. When the first virtual prop hits the second virtual character, the second virtual character changes from a fallen state to a normal state. In this way, the second virtual character in a fallen state can be rescued from a long distance through the first virtual prop, and there is no need to wait until the execution time of the rescue operation, thereby reducing the complexity of the rescue operation.
[0070] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0071] Figure 2 This is a flowchart of a game control method provided in an embodiment of the present application. Figure 2 , the method may include:
[0072] S201: In response to an equipment operation for a first virtual prop, control a first virtual character to equip the first virtual prop.
[0073] The execution subject of the embodiment of the present application can be a terminal device, or a game control device set in the terminal device. The game control device can be implemented by software or by a combination of software and hardware. Optionally, the terminal device is any device with program running function and data display function. For example, the terminal device can be a mobile phone, a laptop computer, a desktop computer and other devices.
[0074] Optionally, the game control method in the embodiment of the present application can be run on a local terminal device or a cloud interaction system. The cloud interaction system includes a cloud server and a user device for running cloud applications. The cloud applications run separately.
[0075] In an optional implementation, cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating entity of the game program and the entity presenting the game screen are separated, the storage and operation of the object control method are completed on the cloud gaming server, and the cloud gaming client is used for receiving and sending data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a television, a computer, a handheld computer, etc.; but the cloud gaming server in the cloud processes the game data. When playing the game, the player operates the cloud gaming client to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.
[0076] In an optional embodiment, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0077] When the terminal device executes the game application, a graphical user interface can be rendered on the screen of the terminal device, and the graphical user interface displays at least part of the game scene. For example, when the terminal device executes a shooting game, the screen of the shooting game can be displayed on the screen of the terminal device. For example, when the terminal device runs the application of the shooting game, the graphical user interface can display part of the scene of the shooting game, and when the virtual user moves, the scene displayed by the graphical user interface will also change. Optionally, part of the game scene contains a first virtual character and a second virtual character belonging to the same game camp. For example, the first virtual character and the second virtual character contained in part of the game scene of the shooting game are teammates, and the first virtual character and the second virtual character can rescue each other.
[0078] Optionally, the virtual character is a game character controlled by the user through a terminal device in a graphical user interface, and the user controls the virtual character in the graphical user interface by operating the terminal device. For example, the user can control the virtual character to move and jump in the graphical user interface by clicking controls such as move and jump. Optionally, the state of the virtual character includes a normal state and a fallen state. The state of the virtual character can be determined based on the virtual blood volume of the virtual character. For example, in a shooting game, if the virtual blood volume of the virtual character is greater than zero, the state of the virtual character is a normal state, and if the virtual blood volume of the virtual character is less than zero, the state of the virtual character is a fallen state. For example, in the actual application of shooting games, if the virtual blood volume corresponding to the virtual character controlled by the user drops to zero, the state of the virtual character changes from a normal state to a fallen state. The first virtual character is a virtual character in a normal state, and the second virtual character is a virtual character in a fallen state.
[0079] The first virtual prop is a prop used to rescue a virtual character in a fallen state. For example, if the first virtual prop is used on a virtual character in a fallen state, the fallen state of the virtual character will be restored to a normal state. For example, in a shooting game, the first virtual prop may be a hormone gun, and shooting the hormone gun at a virtual character in a fallen state may restore the virtual character to a normal state.
[0080] Optionally, in response to an equipment operation for the first virtual prop, the first virtual character is controlled to equip the first virtual prop, specifically: in response to a click operation on a first control in the graphical user interface, a prop bar is displayed in the graphical user interface. The first control is used to display the prop bar. For example, the first control can be a backpack icon. If the backpack icon is clicked in the graphical user interface, the graphical user interface can display the prop bar. The prop bar includes the first virtual prop. For example, when implementing the rescue operation of the present application, the prop bar of the first virtual character includes the first virtual prop.
[0081] In response to a click operation on the first virtual prop, the first virtual character is controlled to equip the first virtual prop. For example, when the graphical user interface displays a prop bar, if the user clicks the first virtual prop in the prop bar, the first virtual character can equip the first virtual prop.
[0082] Optionally, before the first virtual prop is clicked, the terminal device may also receive an upward sliding operation by the user to display the first virtual prop. For example, if the first virtual character has a large number of props in the virtual backpack, the first virtual prop may not be displayed in the prop bar page when the graphical user interface displays the prop bar. At this time, the terminal device may respond to the upward sliding operation by the user in the graphical user interface to slide and display the props in the prop bar, thereby effectively displaying the first virtual prop.
[0083] Next, combine Figure 3 , a process of controlling the first virtual character to equip the first virtual prop is described.
[0084] Figure 3 A schematic diagram of a process of equipping a first virtual prop provided in an embodiment of the present application. Figure 3 , including a terminal device. The terminal device runs a game application, and the page displayed by the terminal device is page 301, and page 301 includes a first virtual character and a first control. Among them, the first control is a prop bar control. When the user clicks the first control in the display screen, the page displayed by the terminal device is page 302, and page 302 includes a prop bar and the first virtual character. The prop bar includes multiple props such as prop A and prop B. Among them, prop B is the first virtual prop. When the user clicks prop B, the page displayed by the terminal device is page 303, and page 303 includes the first virtual character, prop B and the first control, and the first virtual character is equipped with prop B.
[0085] S202: In response to an adjustment operation performed on a crosshair adjustment area in a graphical user interface, control the movement of a crosshair corresponding to the first virtual prop.
[0086] Optionally, the crosshair adjustment area may be an area displayed by the terminal device. For example, in actual application, the crosshair adjustment area of a shooting game may be all areas displayed by the terminal device. Optionally, the crosshair adjustment area may also be any pre-set area, which is not limited in the present embodiment of the application.
[0087] Optionally, the adjustment operation may be a sliding operation of the user on the screen of the terminal device. For example, when the terminal device executes a game application and renders a graphical user interface on the screen, the user may slide on the graphical user interface to adjust the position of the crosshair.
[0088] Optionally, the first virtual prop includes a crosshair, and the first virtual prop can be launched in the direction of the crosshair. For example, when the first virtual prop is launched, the first virtual prop can be launched to the position at which the crosshair is aimed. Optionally, the movement of the crosshair corresponding to the first virtual prop can be controlled according to the following feasible implementation method: in response to the adjustment operation acting on the crosshair adjustment area in the graphical user interface, the sliding speed and sliding direction of the crosshair are determined. Among them, the adjustment operation in the crosshair adjustment area can be a sliding operation of the user on the display screen of the terminal device. The sliding speed can be the movement speed corresponding to the user adjustment operation, and the sliding direction can be the movement direction corresponding to the user adjustment operation. For example, when the user slides the screen of the terminal device, the speed at which the user's finger slides on the screen can be the sliding speed corresponding to the crosshair, and the direction in which the user's finger slides on the screen can be the sliding direction corresponding to the crosshair.
[0089] Optionally, the sliding direction may be the direction of the location of the second virtual character. For example, when the first virtual character is equipped with the first virtual item, the user may control the aiming star corresponding to the first virtual item to move toward the location of the second virtual character through sliding operation. Optionally, the state of the second virtual character is a falling state. For example, the virtual health of the second virtual character in some game scenes is zero, and the state of the second virtual character is a falling state. When the second virtual character is in the falling state, the user may control the second virtual character to crawl in the game scene of the graphical user interface.
[0090] According to the sliding speed and sliding direction, the aiming star is controlled to move toward the position of the second virtual character. For example, when the user performs a sliding operation on the screen of the terminal device, the aiming star can be controlled to move according to the sliding speed and sliding direction until the sliding operation stops. For example, if the sliding speed of the sliding operation is 0.1 m / s and the sliding direction is to the right of the aiming star, the aiming star corresponding to the first virtual prop slides to the right at a speed of 0.1 m / s.
[0091] Next, combine Figure 4 , a process of controlling the crosshairs corresponding to the first virtual prop to move to the position where the second virtual character is located is described.
[0092] Figure 4 A schematic diagram of the movement process of a crosshair provided in an embodiment of the present application. Figure 4 , the terminal device runs a game application. When the first virtual character is equipped with the first virtual prop, the terminal device displays page 401, which includes a crosshair corresponding to the first virtual prop. When the user slides right at any position on the display screen, the crosshair slides right on page 401. When the sliding stops, the page displayed on the terminal device is page 402. When the user slides downward at any position on the display screen, the crosshair slides downward on page 402. When the sliding stops, the page displayed on the terminal device is page 403.
[0093] S203: In response to the firing operation on the first virtual prop, control the first virtual prop to shoot according to the current position of the crosshair.
[0094] The firing operation for the first virtual item may be a user clicking a firing control in the graphical user interface. For example, after the first virtual character is equipped with the first virtual item, if the user clicks the firing control in the graphical user interface, the terminal device controls the first virtual item to fire according to the current position of the crosshair.
[0095] S204: In response to the second virtual character being hit by the first virtual prop, rescuing the second virtual character.
[0096] Optionally, the second virtual character may be rescued according to the following feasible implementation: the second virtual character is controlled to restore a preset amount of health, and the second virtual character is controlled to stand up. For example, the second virtual character is in a fallen state, and when the second virtual character is hit by the first virtual prop, the second virtual character changes from the fallen state to a standing state, and the virtual health of the second virtual character is restored to 50%.
[0097] Optionally, in response to the second virtual character being hit by the first virtual prop, the terminal device needs to control the crosshair to point to the second virtual character according to the user's adjustment operation in the crosshair adjustment area. When the crosshair points to the second virtual character, the terminal device controls the first virtual prop to shoot at the second virtual character according to the user's operation. Optionally, the crosshair pointing to the second virtual character can be that the center of the crosshair points to the second virtual character. For example, when the center of the crosshair points to the head, chest, legs, hands, etc. of the second virtual character, it is determined that the crosshair points to the second virtual character.
[0098] The first virtual prop can be controlled to shoot toward the second virtual character according to the following feasible implementation: in response to a click operation on the second control in the control area, the first virtual prop is controlled to shoot toward the second virtual character. The graphical user interface may also include a control area. The control area is used to control the virtual characters in the graphical user interface. Among them, the control area includes a second control. The second control is used to launch the first virtual prop. For example, after the first virtual user equips the first virtual prop, if the user clicks the second control in the control area, the first virtual prop is shot toward the position of the crosshair. For example, when the crosshair corresponding to the first virtual prop is aimed at the second virtual character, if the user clicks the second control in the control area of the graphical user interface, the first virtual character shoots the first virtual prop toward the second virtual character.
[0099] Optionally, the control area also includes a movement control, and the user controls the movement of the virtual character in the graphical user interface by operating the movement control. For example, when the user clicks the forward movement control, the virtual user in the graphical user interface moves forward, and when the user clicks the backward movement control, the virtual user in the graphical user interface moves backward.
[0100] Next, combine Figure 5 , the process of controlling the first virtual prop to shoot at the second virtual character is described.
[0101] Figure 5 A schematic diagram of a first virtual prop launch provided in an embodiment of the present application. The terminal device runs a game application and renders a graphical user interface on the display screen. Figure 5, including a terminal device. The graphical user interface of the terminal device (the interface displayed on the display screen) includes a first virtual character, a second virtual character, and a second control. Among them, the state of the first virtual character is a normal state, and the state of the second virtual character is a fallen state. The first virtual character is equipped with a first virtual prop, and the crosshair corresponding to the first virtual prop is aimed at the second virtual character. The second control is used to launch the first virtual prop. When the user clicks the second control in the graphical user interface, the terminal device controls the first virtual prop to shoot at the second virtual character.
[0102] The embodiment of the present application provides a game control method, when a terminal device runs a game application, in response to an equipment operation for a first virtual prop, a first virtual character is controlled to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state, in response to an adjustment operation of a crosshair adjustment area in a graphical user interface, a crosshair corresponding to the first virtual prop is controlled to move, in response to a firing operation for the first virtual prop, the first virtual prop is controlled to shoot according to the current position of the crosshair, in response to a second virtual character being focused by the first virtual prop, the second virtual character is controlled to restore a preset blood volume, and the second virtual character is controlled to stand. In the above method, since the first virtual prop can be shot at the virtual character in a fallen state from a long distance, and then the virtual character in the fallen state is rescued, so that the virtual character in the fallen state is restored to a normal state, therefore, by controlling the first virtual prop to shoot at the second virtual character in a fallen state, there is no need to control the first virtual character to move to the position of the second virtual character to rescue the second virtual character, and thus the second virtual character can be rescued quickly, simply and safely, thereby reducing the complexity of the rescue operation.
[0103] exist Figure 2 Based on the embodiment shown below, combined with Figure 6 , the process of the above-mentioned game control method is explained in detail.
[0104] Figure 6 This is a process diagram of another game control method provided by an embodiment of the present application. Figure 6 The method flow includes:
[0105] S601: In response to an equipment operation for a first virtual prop, control a first virtual character to equip the first virtual prop.
[0106] The first virtual prop is used to rescue a virtual character that has fallen to the ground.
[0107] It should be noted that the execution process of step S601 can refer to step S201, and the embodiment of the present application will not be repeated here.
[0108] S602: In response to an adjustment operation performed on a crosshair adjustment area in a graphical user interface, control the movement of a crosshair corresponding to the first virtual prop.
[0109] It should be noted that the execution process of step S602 can refer to step S202, and the embodiment of the present application will not be repeated here.
[0110] S603: In response to the loading operation on the first virtual prop, equip the first virtual prop with virtual ammunition.
[0111] Optionally, in actual application, the virtual weapons of shooting games need to be loaded with virtual ammunition. Therefore, after the first virtual character is equipped with the first virtual prop, the first virtual character will fill the first virtual prop with virtual ammunition. After the virtual ammunition is filled, the first virtual character can use the first virtual prop to rescue the virtual character who is lying on the ground. For example, after the first virtual character is equipped with a hormone gun, the first virtual character can automatically fill the hormone gun with virtual ammunition. After the hormone gun is filled with virtual ammunition, the first virtual character can control the hormone gun to shoot at the corresponding crosshair position according to the firing operation.
[0112] S604: In response to the firing operation on the first virtual prop, control the first virtual prop to shoot according to the current position of the crosshair.
[0113] It should be noted that the execution process of step S604 can refer to step S203, and the embodiment of the present application will not be repeated here.
[0114] S605: Determine whether the first virtual prop hits the second virtual character.
[0115] If not, execute step S606.
[0116] If yes, execute step S607.
[0117] S606: Determine that the rescue of the second virtual character has failed, and the second virtual character is in a fallen state.
[0118] If the first virtual prop does not hit the second virtual character in the fallen state, the state of the second virtual character will not be restored to the normal state. For example, in a shooting game, if the first virtual prop does not hit the virtual character in the fallen state, the state of the virtual character in the fallen state will remain in the fallen state and will not be restored to the normal state.
[0119] S607: Determine that the second virtual character is successfully rescued, and update the status of the second virtual character within a preset period of time.
[0120] Optionally, if the first virtual prop hits the second virtual character, it is determined that the second virtual character is successfully rescued. For example, in a shooting game, if the first virtual prop hits a virtual character in a fallen state, the state of the virtual character in the fallen state is changed to a normal state. Optionally, when the second virtual character is successfully rescued, the state of the second virtual character is updated within a preset period of time, specifically: when the second virtual character recovers the preset blood volume, the acceleration control is displayed, and the touch operation on the acceleration control is responded to to control the second virtual character to move at a high speed. For example, if the second virtual character is successfully rescued, the second virtual character is restored to the preset blood volume. When the blood volume of the second virtual character is restored to the preset blood volume, the user can click on the generated acceleration control to increase the movement speed of the second virtual character. In this way, when the second virtual character is successfully rescued, the second virtual character can quickly leave the danger zone, thereby improving the safety of the second virtual character.
[0121] When the second virtual character is successfully rescued, the embodiment of the present application also includes a method for throwing the second virtual prop. Optionally, the second virtual prop is a virtual medicine, and the throwing process of the second virtual prop is specifically as follows: in response to the selection operation for the virtual medicine, a virtual joystick is displayed. Optionally, the virtual medicine can be selected by the following feasible implementation method: in response to the second operation in the graphical user interface, the first virtual character is controlled to equip the virtual medicine. Among them, the second operation is used to open the prop bar and select the virtual medicine in the prop bar so that the first virtual character is equipped with the virtual medicine. The virtual medicine is used to increase the virtual blood volume of the virtual character. For example, the virtual medicine may include virtual medical kits, virtual bandages, and other props that can increase the virtual blood volume of the virtual character.
[0122] The virtual joystick is used to control the throwing trajectory of the virtual medicine. For example, the throwing trajectory of the virtual medicine can be changed by the user's operation on the virtual joystick. For example, when the user equips the virtual medicine, if the user slides the virtual joystick upward, the throwing trajectory of the virtual medicine also moves upward.
[0123] In response to the sliding operation on the virtual joystick, a throwing trajectory is determined according to the sliding operation, and the throwing trajectory is the throwing route of the second virtual prop. For example, when the user long presses the virtual joystick, the graphical user interface can display the throwing trajectory of the virtual medicine, and when the user long presses and slides the virtual joystick, the throwing trajectory of the virtual medicine in the graphical user interface changes according to the sliding operation.
[0124] Optionally, the throwing trajectory can be determined based on the sliding direction and sliding distance of the sliding operation. Optionally, when the user long presses the virtual joystick, the user can adjust the initial angle of the parabola by adjusting the camera angle displayed on the graphical user interface, thereby changing the trajectory of the parabola. The trajectory of the parabola is composed of a series of three-dimensional coordinate points, and special effects are attached to each three-dimensional coordinate point to visually create a parabola effect. The terminal device can determine the throwing trajectory according to the following formula:
[0125] x=v*cos(θ)*t
[0126] y=v*sin(θ)*t-0.5*g*t 2
[0127] p=r*(0,y,x)+p s
[0128] Where p is the coordinate point of the parabola in the current frame, r is the initial rotation angle of the lens, v is the initial speed of the throw, θ is the initial angle of the throw, t is the time of the tth frame, g is the gravity of the drug, p s is the starting point of the throw. Optionally, the end position of the parabola is the throw position.
[0129] Optionally, when the user long presses the throwing control, the throwing trajectory of the second virtual prop can be adjusted by sliding left and right. For example, when the user long presses the throwing control, the graphical user interface displays the throwing trajectory of the current frame, and when the user long presses and slides the throwing control, the throwing trajectory displayed in the graphical user interface changes.
[0130] When the control operation stops, the virtual medicine is controlled to move along the throwing trajectory. For example, when the user long presses the throwing control, the graphical user interface displays the throwing trajectory corresponding to the virtual medicine, and when the user releases the throwing control, the second virtual prop moves along the throwing trajectory. Optionally, when the virtual medicine moves along the throwing trajectory, the moving speed can be a preset speed.
[0131] Next, combine Figure 7 , the process of controlling the second virtual prop to move along the throwing trajectory is described.
[0132] Figure 7 A schematic diagram of a process of throwing virtual medicine provided in an embodiment of the present application. The terminal device runs a game application and renders a graphical user interface on the display screen. Figure 7, the display screen of the terminal device includes a first virtual character, a second virtual character and a virtual joystick. The first virtual character and the second virtual character are in a normal state, and the first virtual character is equipped with a virtual medicine. When the user long presses the virtual joystick in the display screen, the display screen displays the throwing track of the virtual medicine. When the user releases the virtual joystick, the virtual medicine moves along the throwing track to the throwing position.
[0133] Optionally, when the virtual drug is within a preset range of the second virtual character, a pick-up control is displayed, and in response to a touch operation on the pick-up control, the virtual drug is placed in a virtual backpack corresponding to the second virtual character. For example, when the virtual drug is within 1 meter of the second virtual character, the graphical user interface of the terminal device may display a pick-up control, and when the user clicks the pick-up control, the terminal device controls the second virtual character to pick up the virtual drug and places the virtual drug in a virtual backpack corresponding to the second virtual character.
[0134] The embodiment of the present application provides a game control method, in response to an equipment operation for a first virtual prop, controlling a first virtual character to equip the first virtual prop, in response to an adjustment operation on a crosshair adjustment area in a graphical user interface, controlling the crosshair corresponding to the first virtual prop to move, in response to a loading operation for the first virtual prop, equipping the first virtual prop with virtual ammunition, in response to a firing operation for the first virtual prop, controlling the first virtual prop to shoot according to the current position of the crosshair, determining whether the first virtual prop hits a second virtual character, if so, determining that the second virtual character is successfully rescued, and updating the state of the second virtual character within a preset period. In this way, since the first virtual prop can be shot at a virtual character in a fallen state from a long distance to restore the virtual character in the fallen state to a normal state, there is no need to control the first virtual character to move to the position of the second virtual character to rescue the second virtual character, thereby rescuing the second virtual character quickly, simply, and safely, and when the second virtual character is successfully rescued, virtual medicine can be thrown to the position of the second virtual character, so that the second virtual character can quickly increase the virtual blood volume through the virtual medicine, thereby reducing the complexity of the rescue operation.
[0135] Based on any of the above embodiments, Figure 8 , the process of the above-mentioned game control method is explained.
[0136] Figure 8 This is a process diagram of a game control method provided by an embodiment of the present application. Figure 8, including a terminal device. The terminal device displays page 801, and page 801 includes a first virtual character, a second virtual character, and a second control. The first virtual character is in a normal state, the second virtual character is in a fallen state, the first virtual character is equipped with a first virtual prop, and the display screen of the terminal device displays a crosshair corresponding to the first virtual prop.
[0137] See also Figure 8 When the user slides rightward at any position on the display screen, the terminal device controls the crosshair to move rightward in page 801 according to the sliding speed corresponding to the rightward sliding operation. When the crosshair stops sliding, the terminal device displays page 802. In page 802, the crosshair is aimed at the second virtual character in the lying state. When the user clicks the second control, the terminal device controls the first virtual prop to shoot at the second virtual character.
[0138] See also Figure 8 When the first virtual prop hits the second virtual character, the terminal device displays page 803. In page 803, the second virtual character recovers from the fallen state to the normal state, and the terminal device can increase the movement speed of the second virtual character in the game scene.
[0139] See also Figure 8 When the first virtual character is equipped with virtual medicine, the terminal device displays page 804. In page 804, the terminal device displays a virtual joystick, which is used to throw virtual props. When the user long presses the virtual joystick in the display screen, the display screen displays the throwing trajectory and throwing position of the virtual medicine.
[0140] See also Figure 8 When the user releases the virtual joystick, the terminal device displays page 805, in which the virtual medicine moves to the throwing position along the throwing trajectory. In this way, since the first virtual prop can remotely rescue the virtual character in the fallen state to restore the virtual character in the fallen state to a normal state, there is no need to control the first virtual character to move to the position of the second virtual character to rescue the second virtual character, so that the second virtual character can be rescued quickly, simply and safely, reducing the risk factor when rescuing teammates, and when the second virtual character successfully rescues, the virtual medicine can be thrown to the position of the second virtual character, so that the second virtual character can quickly increase the virtual blood volume of the second virtual character through the virtual medicine, thereby reducing the complexity of the rescue operation.
[0141] Fig. 9 This is a schematic diagram of the structure of a game control device provided in an embodiment of the present application. Fig. 9The game control device 10 includes a control module 11 and a display module 12. The control module 11 executes a game application and renders a graphical user interface on the display module 12. The graphical user interface displays at least part of a game scene. The game scene includes a first virtual character and a second virtual character belonging to the same game camp, wherein:
[0142] The control module 11 is used for, in response to an equipping operation for a first virtual prop, controlling the first virtual character to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state;
[0143] The control module 11 is further used to control the movement of the crosshair corresponding to the first virtual prop in response to an adjustment operation acting on the crosshair adjustment area in the graphical user interface;
[0144] The control module 11 is also used for, in response to a firing operation on the first virtual prop, controlling the first virtual prop to shoot according to the current position of the crosshair;
[0145] The control module 11 is further configured to, in response to the second virtual character being hit by the first virtual prop, rescue the second virtual character.
[0146] In a possible implementation manner, the control module 11 is specifically used for:
[0147] The second virtual character is controlled to restore a preset amount of health, and the second virtual character is controlled to stand.
[0148] In a possible implementation manner, the control module 11 is further used for:
[0149] When the second virtual character recovers the preset health, displaying the acceleration control;
[0150] In response to the touch operation on the acceleration control, the second virtual character is controlled to move at a high speed.
[0151] In a possible implementation manner, the control module 11 is further used for:
[0152] In response to the loading operation on the first virtual prop, the first virtual prop is equipped with virtual ammunition.
[0153] In a possible implementation manner, the control module 11 is further used for:
[0154] In response to a selection operation on a virtual drug, displaying a virtual joystick;
[0155] In response to a sliding operation on the virtual remote control, determining a throwing trajectory according to the sliding operation;
[0156] In response to the end of the sliding operation, the virtual medicine is thrown according to the throwing trajectory.
[0157] In a possible implementation manner, the control module 11 is specifically used for:
[0158] The throwing trajectory is determined according to the sliding direction and sliding distance of the sliding operation.
[0159] In a possible implementation manner, the control module 11 is further used for:
[0160] When the virtual medicine is within a preset range of the second virtual character, displaying a pick-up control;
[0161] In response to a touch operation on the pick-up control, the virtual medicine is placed into a virtual backpack corresponding to the second virtual character.
[0162] The game control device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be described in detail here.
[0163] Fig.10 The hardware structure diagram of the terminal device provided for this application. Fig.10 The terminal device 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 can communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 is used to store program instructions, and the processor 21 is used to call the program instructions in the memory to execute the game control method shown in any of the above method embodiments.
[0164] Optionally, the terminal device 20 may further include a communication interface, which may include a transmitter and / or a receiver.
[0165] Optionally, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the present application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0166] The present application provides a readable storage medium, on which a computer program is stored; the computer program is used to implement the game control method as described in any of the above embodiments.
[0167] An embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed, a computer executes the above-mentioned game control method.
[0168] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.
[0169] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable terminal device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0170] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0171] These computer program instructions can also be loaded onto a computer or other programmable terminal device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0172] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0173] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.
Claims
1. A game control method, It is characterized in that The method includes executing a game application on a terminal device and rendering a graphical user interface on a screen of the terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a first virtual character and a second virtual character belonging to the same game camp. In response to an equipping operation for a first virtual prop, controlling the first virtual character to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state; In response to an adjustment operation performed on a crosshair adjustment area in the graphical user interface, controlling the movement of a crosshair corresponding to the first virtual prop; In response to a firing operation on the first virtual prop, controlling the first virtual prop to shoot according to a current position of the crosshair; In response to the second virtual character being hit by the first virtual prop, rescuing the second virtual character.
2. The method according to claim 1, It is characterized in that The rescuing the second virtual character comprises: The second virtual character is controlled to restore a preset amount of health, and the second virtual character is controlled to stand.
3. The method according to claim 1, It is characterized in that The method further comprises: When the second virtual character recovers the preset health, displaying the acceleration control; In response to the touch operation on the acceleration control, the second virtual character is controlled to move at a high speed.
4. The method according to claim 1, It is characterized in that Before controlling the first virtual prop to shoot according to the current position of the crosshair, the method further includes: In response to the loading operation on the first virtual prop, the first virtual prop is equipped with virtual ammunition.
5. The method according to claim 1, It is characterized in that The method further comprises: In response to a selection operation on a virtual drug, displaying a virtual joystick; In response to a sliding operation on the virtual remote control, determining a throwing trajectory according to the sliding operation; In response to the end of the sliding operation, the virtual medicine is thrown according to the throwing trajectory.
6. The method according to claim 5, It is characterized in that The determining of the throwing trajectory according to the sliding operation comprises: The throwing trajectory is determined according to the sliding direction and sliding distance of the sliding operation.
7. The method according to claim 5, It is characterized in that The method further comprises: When the virtual medicine is within a preset range of the second virtual character, displaying a pick-up control; In response to a touch operation on the pick-up control, the virtual medicine is placed into a virtual backpack corresponding to the second virtual character.
8. A game control device, It is characterized in that The system comprises a control module and a display module. The control module executes a game application and renders a graphical user interface on the display module. The graphical user interface displays at least part of a game scene. The game scene includes a first virtual character and a second virtual character belonging to the same game camp, wherein: The control module is used for, in response to an equipping operation on a first virtual prop, controlling the first virtual character to equip the first virtual prop, wherein the first virtual prop is a prop used to rescue a virtual character in a fallen state; The control module is further configured to, in response to an adjustment operation performed on the crosshair adjustment area in the graphical user interface, control the movement of the crosshair corresponding to the first virtual prop; The control module is further configured to, in response to a firing operation on the first virtual item, control the first virtual item to shoot according to the current position of the crosshair; The control module is further configured to, in response to the second virtual character being hit by the first virtual prop, rescue the second virtual character.
9. A terminal device, It is characterized in that include: Processor, memory, display; The memory is used to store programs and data, and the processor calls the program stored in the memory to execute the game control method described in any one of claims 1-7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a program, and when the program is executed by a processor, it is used to execute the game control method described in any one of 1-7.
