CN116271791A - Game control method, game control device, computer equipment and storage medium - Google Patents

Game control method, game control device, computer equipment and storage medium Download PDF

Info

Publication number
CN116271791A
CN116271791A CN202211504786.1A CN202211504786A CN116271791A CN 116271791 A CN116271791 A CN 116271791A CN 202211504786 A CN202211504786 A CN 202211504786A CN 116271791 A CN116271791 A CN 116271791A
Authority
CN
China
Prior art keywords
virtual object
game
roll
rocker
sideways
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211504786.1A
Other languages
Chinese (zh)
Inventor
刘钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202211504786.1A priority Critical patent/CN116271791A/en
Publication of CN116271791A publication Critical patent/CN116271791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses a game control method, a game control device, computer equipment and a storage medium. According to the method, the preset sideways condition for triggering the sideways operation of the virtual object in the game scene is designed, when the preset sideways condition is detected to be met, a sideways control function is added for the rocker control, namely a sideways response area is determined at the relevant position of the rocker control, the sliding operation of a game player in the sideways operation area is responded, the sideways action of the virtual object relative to the target virtual shelter is controlled, so that the sideways control of the virtual object can be realized by a colleague controlling the movement of the virtual object, the operation is consistent and convenient, the user does not need to memorize the sideways key position deliberately, the burden of the user is lightened, and the game experience of the player is improved.

Description

Game control method, game control device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for game control, a computer device, and a storage medium.
Background
With the development of the internet, a large number of different types of games are emerging to meet the daily entertainment needs of users. In shooting games, core experience operations comprise a sideways operation, wherein the sideways operation refers to an experience playing method that a player brings a character model into a state of tilting the upper body through interactive control in a shooting game. After entering the state, the player can create a favorable combat environment for the player by means of the virtual shelter while reducing the exposure volume of the player and avoiding attack injury of enemy.
In the related art, a sideways control is provided on a game interface, a character model is triggered to enter a sideways state by the operation of the sideways control by a game player, and when the character model is in the sideways state, the sideways state of the character model is released by the re-operation of the sideways control by the game player. However, the sideways status of the character model may include a variety of factors, and the need to provide multiple sideways controls on the game interface may adversely affect the player's gaming experience due to the limited size of the display screen and the provision of too many items on the game interface.
Disclosure of Invention
The embodiment of the application provides a game control method, a game control device, computer equipment and a storage medium, which can improve the game experience of a game player.
The embodiment of the application provides a game control method, which comprises the steps of providing a graphical user interface through terminal equipment, wherein the graphical user interface at least comprises a part of game scenes and rocker controls, and virtual objects in the game scenes are controlled through the terminal equipment, and the method comprises the following steps:
controlling the virtual object to move in the game scene in response to a first sliding operation for the rocker control;
Responding that the current position of the virtual object meets a preset roll condition, and generating a roll response area at the associated position of the rocker control;
and controlling the virtual object to execute a roll action in response to a second sliding operation for the roll response area.
Correspondingly, the embodiment of the application also provides a game control device, a graphical user interface is provided through a terminal device, the graphical user interface at least comprises a part of game scenes and a rocker control, and virtual objects controlled by the terminal device are located in the game scenes, and the device comprises:
the first control unit is used for responding to a first sliding operation aiming at the rocker control and controlling the virtual object to move in the game scene;
the generating unit is used for responding that the current position of the virtual object meets a preset roll condition and generating a roll response area at the associated position of the rocker control;
and the second control unit is used for responding to a second sliding operation aiming at the roll response area and controlling the virtual object to execute roll action.
In some embodiments, the generating unit comprises:
and the generating subunit is used for generating a roll response area at the initial position of the rocker.
In some embodiments, the second control unit comprises:
and the control subunit is used for responding to the dragging operation of the rocker in the roll response area and controlling the virtual object to execute the roll action.
In some embodiments, the control subunit is specifically configured to:
responding to the dragging operation of the rocker in the sideways response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute a roll motion towards the target direction.
In some embodiments, the apparatus further comprises:
and the third control unit is used for responding to the dragging operation for the rocker to leave from the roll response area, controlling the virtual object to return to the right, and moving in the game scene according to the dragging operation.
In some embodiments, the apparatus further comprises:
and the hiding unit is used for hiding the sideways response area in response to the fact that the current position of the virtual object does not meet the preset sideways condition.
Accordingly, embodiments of the present application also provide a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the method of game control provided in any of the embodiments of the present application.
Accordingly, embodiments of the present application also provide a storage medium storing a plurality of instructions adapted to be loaded by a processor to perform a method of game control as described above.
According to the embodiment of the application, the preset roll condition for triggering the roll operation of the virtual object in the game scene is designed, when the preset roll condition is detected to be met, the roll control function is added for the rocker control, namely, a roll response area is determined at the relevant position of the rocker control, the sliding operation of a game player in the roll response area is responded, the virtual object is controlled to roll relative to the target virtual shelter, roll control of the virtual object can be realized rapidly while the movement of the virtual object is controlled, the operation is consistent and convenient, a user does not need to memorize the roll key position deliberately, the user load is lightened, and the game experience of the player is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a game control system according to an embodiment of the present application.
Fig. 2 is a flow chart of a method for controlling a game according to an embodiment of the present application.
Fig. 3 is an application scenario schematic diagram of a game control method according to an embodiment of the present application.
Fig. 4 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 5 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 6 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 7 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 8 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 9 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 10 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 11 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 12 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 13 is a flowchart of another method for controlling a game according to an embodiment of the present application.
Fig. 14 is an application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 15 is an application scenario schematic diagram of another game control method according to an embodiment of the present application.
Fig. 16 is an application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 17 is a block diagram of a game control device according to an embodiment of the present application.
Fig. 18 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a game control method, a game control device, a storage medium and computer equipment. Specifically, the method for controlling the game according to the embodiment of the present application may be performed by a computer device, where the computer device may be a terminal or a server. The terminal may be a terminal device such as 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 (Personal Digital Assistant, PDA), and the like, and the terminal may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of 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, CDNs, basic cloud computing services such as big data and artificial intelligent platforms.
For example, when the method of game control is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, the terminal device downloads and installs a game application program and runs the game application program. The way in which the terminal device presents the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device, or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including game screens and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the game, generating the graphical user interface, responding to the operation instructions, and controlling the display of the graphical user interface on the touch display screen.
For example, when the method of game control is run on a server, it may be a cloud game. Cloud gaming refers to a game style based on cloud computing. In the cloud game operation mode, an operation subject of the game application program and a game picture presentation subject are separated, and the storage and operation of the game control method are completed on a cloud game server. The game image presentation is completed at a cloud game client, which is mainly used for receiving and sending game data and presenting game images, for example, the cloud game client may be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., near a user side, but the terminal device for processing game data is a cloud game server in the cloud. When playing the game, the user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the cloud game client through a network, and finally decodes the data through the cloud game client and outputs the game pictures.
Referring to fig. 1, fig. 1 is a schematic view of a game control system according to an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, the terminal has one or more multi-touch-sensitive screens for sensing and obtaining inputs of a user through touch or slide operations performed at a plurality of points of the one or more touch-sensitive display screens. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks, through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminals may be connected to other terminals or to a server or the like using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other through an appropriate network to support multiplayer games. In addition, the system may include multiple databases coupled to different servers and information related to the gaming environment may be continuously stored in the databases as different users play multiplayer games online.
The embodiment of the application provides a game control method which can be executed by a terminal or a server. The embodiments of the present application will be described with a method of game control executed by a terminal as an example. The terminal comprises a touch display screen and a processor, wherein the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instruction, and can also control the content of the opposite-end server by responding to the received operation instruction. For example, the user-generated operational instructions for the graphical user interface include instructions for launching the gaming application, and the processor is configured to launch the gaming application after receiving the user-provided instructions for launching the gaming application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch-sensitive display screen. A touch display screen is a multi-touch-sensitive screen capable of sensing touch or slide operations performed simultaneously by a plurality of points on the screen. The user performs touch operation on the graphical user interface by using a finger, and when the graphical user interface detects the touch operation, the graphical user interface controls different virtual objects in the game to execute actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role playing game, a strategy game, a sports game, a educational game, and the like. Wherein the game may include a virtual scene of the game. Further, one or more virtual objects, such as virtual characters, controlled by a user (or player) may be included in the virtual scene of the game. In addition, one or more obstacles, such as rails, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual object, e.g., to limit movement of the one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface may also present one or more indicators to provide indication information to the player. For example, a game may include a player controlled virtual object and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using an Artificial Intelligence (AI) algorithm, implementing a human-machine engagement mode. For example, virtual objects possess various skills or capabilities that a game player uses to achieve a goal. For example, the virtual object may possess one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by the player of the game using one of a plurality of preset touch operations with the touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of the user.
It should be noted that, the schematic view of the game control system shown in fig. 1 is only an example, and the image processing system and the scene described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the game control system and the appearance of the new service scenario, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
Based on the above problems, the embodiments of the present application provide a method, an apparatus, a computer device, and a storage medium for controlling a game, which can improve the game experience of a game player. The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the application provides a game control method, which can be executed by a terminal or a server, and the embodiment of the application is described by taking the game control method as an example to be executed by the terminal.
Referring to fig. 2, fig. 2 is a flowchart of a game control method according to an embodiment of the present application. The specific flow of the game control method can be as follows:
101. The virtual object is controlled to move in the game scene in response to a first sliding operation for the rocker control.
In the embodiment of the application, the graphical user interface is provided through the terminal equipment, the graphical user interface at least comprises a part of game scenes of the target game and a rocker control, the virtual object is in the game scenes and controlled by the terminal equipment, and the current player can control the virtual object through the operation of the terminal equipment.
The graphical user interface may also be provided with a rocker control that may be used to receive movement control operations for the virtual object by which the virtual object may be controlled to move in the game scene. Specifically, the first sliding operation may be a sliding operation on a rocker control.
For example, referring to fig. 3, fig. 3 is a schematic application scenario diagram of a game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 3, a portion of a game scene 14 is displayed, the game scene 14 including virtual objects 12 controlled by the current player and virtual shelter 11. The graphical user interface 10 is also provided with a rocker control 13, which rocker control 13 may comprise a rocker 131 and a base 132, the current player may control the virtual object 12 to move in the game scene 14 by sliding the rocker 131. The initial position of the rocker 131 is located at the center of the base 132 of the rocker control 13, and can slide to other positions of the base 132 through sliding operation.
102. Responding that the current position of the virtual object meets a preset roll condition, and generating a roll response area at the associated position of the rocker control.
In the embodiment of the application, the target game may include a playing method of a sideways operation, the sideways operation refers to a state that a game player makes a virtual object enter an upper body to incline through interactive control in a game bureau, after entering the state, the player can reduce the exposure volume of the player by means of a virtual shelter, avoid attack injury of enemy, and create a favorable combat environment for the player. In order to facilitate the player to control the virtual object to finish the sideways operation, the function of controlling the sideways operation is added to the rocker control, and other operation controls are not required to be additionally added to the graphical user interface.
However, since the initial default function of the rocker control is that the control object moves, in order to avoid the conflict of the control functions, a trigger condition (that is, the aforesaid sideways condition) for triggering the sideways operation function of the rocker control is set, and when the trigger condition is satisfied, the sideways operation function of the rocker control can be triggered, so that the game player can control the virtual object through the rocker control to complete the sideways operation.
In this embodiment of the present application, the game scene may further include a virtual shelter, where the virtual shelter refers to a virtual object in the game scene that may be used by a virtual object to avoid attack or injury by other objects, for example, the virtual shelter may be a building in the game scene, and so on.
The preset roll condition may include: the relative position relation between the current position of the virtual object and the virtual shelter is a preset position relation. The preset positional relationship may include: the vertical distance between the virtual object and the virtual shelter is within a preset distance; and/or the included angle between the current direction of the virtual object and the target straight line is within a preset angle, wherein the target straight line is a straight line passing through the virtual object and perpendicular to the virtual shelter.
In some embodiments, the method may further comprise the steps of:
acquiring the relative distance between a virtual object and each virtual shelter in a game scene;
acquiring relative angles between virtual objects and virtual shelters in a game scene;
and obtaining the relative position information of the virtual object and each virtual shelter based on the relative distance and the relative angle.
Wherein, the relative distance refers to the vertical distance between the virtual object and the virtual shelter in the game scene, and the relative angle refers to the included angle between the current direction of the virtual object and the target straight line. The direction of the virtual object may refer to the direction of the front direction of the current virtual object in the game scene, or the direction of the virtual object may be the current view direction of the virtual object in the game scene; the target straight line is a straight line passing through the virtual object and perpendicular to the virtual shelter.
For example, referring to fig. 4, fig. 4 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 4, the game scene 14 includes a virtual object 12, a virtual shelter a and a virtual shelter B, and first, a relative distance between the virtual object and the virtual shelter a is obtained, which may be: l1, and the relative distance between the virtual object 12 and the virtual shelter B, may be: l2.
In fig. 4, the virtual object 12 may be oriented as: the vertical direction of the virtual object 12 relative to the virtual shelter a in direction D3 may be: the vertical direction of the virtual object 12 relative to the virtual shelter B in direction D2 may be: direction D1. Acquiring a relative angle between the virtual object 12 and the virtual shelter a, namely an angle between the direction D2 and the direction D3, which may be an angle b; the relative angle between the acquired virtual object 12 and the virtual shelter B, i.e., the angle between the direction D1 and the direction D3, may be the angle a.
Obtaining relative position information between the virtual object 12 and the virtual shelter a includes: a relative distance L1, a relative angle b; and the relative position information between the virtual object 12 and the virtual shelter B includes: relative distance L2, relative angle a.
In some embodiments, the preset virtual object-by-object operation conditions may include: the relative distance is smaller than the preset distance, and the relative angle is smaller than the preset angle, the method may further include:
and determining a virtual shelter with the relative distance between the virtual shelter and the virtual object smaller than the preset distance and the relative angle between the virtual shelter and the virtual object smaller than the preset angle from at least one virtual shelter, and obtaining the target virtual shelter.
The preset distance and the preset angle can be used for selecting a target virtual shelter which is most suitable for the virtual object to perform the sideways operation from the game scene.
For example, it is determined whether the relative position information between the virtual object and the virtual shelter a satisfies a preset virtual object sideways operation condition: comparing the relative distance L1 with a preset distance and comparing the relative angle b with a preset angle to obtain the following result: if the relative distance L1 is smaller than the preset distance and the relative angle B is smaller than the preset angle, determining that the relative position information between the virtual object and the virtual shelter A meets the preset virtual object sideway operation condition; judging whether the relative position information between the virtual object and the virtual shelter B meets the preset virtual object sideways operation condition or not: comparing the relative distance L2 with a preset distance and comparing the relative angle a with a preset angle to obtain the following result: if the relative distance L2 is greater than the preset distance and the relative angle B is greater than the preset angle, it may be determined that the relative position information between the virtual object and the virtual shelter B does not satisfy the preset virtual object sideways operation condition. Therefore, the virtual shelter A can be determined to be the target virtual shelter from the virtual shelters in the game scene, and the control side operation function of the rocker control is triggered.
Or when the relative distance L1 is larger than the preset distance/the relative angle B is larger than the preset angle, determining that the relative position information between the virtual object and the virtual shelter A does not meet the preset virtual object sideways operation condition; when the relative distance L2 is greater than the preset distance/the relative angle B is greater than the preset angle, it may be determined that the relative position information between the virtual object and the virtual shelter B does not satisfy the preset virtual object sideways operation condition. That is, in the embodiment of the present application, the relative distance is required to be smaller than the preset distance and the relative angle is required to be smaller than the preset angle, so that it may be determined that the virtual shelter and the virtual object meet the sideways operation triggering condition.
Wherein the roll response area refers to an operation area that can be used to control a virtual object to perform a roll operation in a game scene.
In some embodiments, the rocker control may include a rocker and a base, and then the step of "generating a roll response area at an associated location of the rocker control" may include the following operations:
a roll response area is generated at an initial position of the rocker.
For example, referring to fig. 5, fig. 5 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 5, the rocker control 13 is composed of a rocker 131 and a base 132, the base 132 may be the entire area of the rocker control 13, and the rocker 131 may be located in the inner circular area of the rocker control 13. When there is a virtual shelter 11 (e.g., virtual shelter a) in the game scene 14, which satisfies the preset virtual object sideways operation condition with the relative position information of the virtual object 12, a sideways response area 15 is generated in the area corresponding to the rocker control 13.
In some embodiments, the location and size of the generated roll response area may be set in order to meet different needs of the game player. For example, the roll response area may at least partially overlap the chassis.
For example, referring to fig. 6, fig. 6 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 6, when there is a virtual shelter 11 (such as a virtual shelter a) in the game scene 14, where the relative position information of the virtual object 12 meets the preset virtual object sideways operation condition, a sideways response area 15 is generated in an area corresponding to the rocker control 13, that is, a sideways response area 15 is generated in an area corresponding to the rocker control 13, where the sideways response area 15 may be a rectangular area including a partial area of the base 132 of the rocker control 13, and generating a sideways response area 15 with a larger size may facilitate the player to control the sideways operation of the virtual object.
103. And controlling the virtual object to execute the roll action in response to the second sliding operation for the roll response area.
Wherein the second sliding operation refers to a sliding operation in the roll response area.
In some embodiments, after generating the roll response area, the step of "controlling the virtual object to perform the roll action in response to the second sliding operation for the roll response area" may include the following operations:
And responding to the dragging operation of the rocker in the roll response area, and controlling the virtual object to execute the roll action.
Specifically, when it is detected that the player drags the rocker in the roll response area, the virtual object may be controlled to perform a roll operation in the game scene.
In some embodiments, the virtual object may have multiple sideways states in the game scene, and in order to accurately control different sideways states of the virtual object, the step of "responding to a drag operation for a rocker in a sideways response area, controlling the virtual object to perform a sideways action" may include the following operations:
responding to the dragging operation of the rocker in the roll response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute the sideways motion towards the target direction.
In this embodiment of the present application, different sideways states refer to a sideways direction in which a virtual object performs a sideways operation, and the preset sideways operation direction may include: left-hand sideways, right-hand sideways, etc.
For example, referring to fig. 7, fig. 7 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 7, detecting the first sliding operation of the rocker 131 by the current player in the roll response area 15, that is, sliding the rocker 131 in the roll response area 15, the sliding direction of the first sliding operation may be obtained as follows: in the right direction, it may be determined that the sideways operation direction may be the right sideways direction from the right direction, and then the virtual object 12 is controlled to perform sideways operation with respect to the target virtual shelter 111 in accordance with the right sideways direction.
For another example, referring to fig. 8, fig. 8 is a schematic application scenario of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 8, detecting the first sliding operation of the rocker 131 by the current player in the roll response area 15, that is, sliding the rocker 131 in the roll response area 15, the sliding direction of the first sliding operation may be obtained as follows: in the left direction, it may be determined that the sideways operation direction may be the left sideways direction from the left direction, and then the virtual object 12 is controlled to perform sideways operation with respect to the target virtual shelter 111 in accordance with the left sideways direction.
In some embodiments, when the virtual object is in the rolled-over state, to release the rolled-over state of the virtual object, the method may further include the steps of:
and responding to the dragging operation for the rocker to leave from the body-turning response area, controlling the virtual object to return, and moving in the game scene according to the dragging operation.
Wherein controlling virtual object return in response to a drag operation for a rocker to leave from a roll response area may include: in response to sliding the rocker to an area other than the roll response area, the roll state of the virtual object relative to the target virtual shelter is released.
For example, referring to fig. 9, fig. 9 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 9, when the virtual object 12 is in a sideways state behind the target virtual shelter 111, when it is detected that the current player slides the rocker out of the sideways response area 15, the sideways state of the virtual object 12 may be triggered to be released, and the body part of the virtual object 12 is controlled to be straightened, i.e. a righted state. At the same time, the roll response area 15 may be eliminated.
Wherein, according to the drag operation, moving in the game scene, after canceling the roll response area 15, the virtual object 12 can be controlled to move in the game scene by sliding the rocker 131 in the rocker control 13 area.
In some embodiments, when the virtual object releases the sideways state, and at the same time, the function of the sideways response area of the rocker control is restored to control the movement operation of the virtual object, that is, in fig. 9, when the sideways state of the virtual object is released according to the operation of the rocker by the current player, the control sideways operation function of the sideways response area is closed, and the rocker control is restored to control the movement function of the virtual object. The method may further comprise the steps of:
In response to a sliding operation of the rocker, the virtual object is controlled to move in the game scene according to the sliding operation.
For example, referring to fig. 10, fig. 10 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 10, when the virtual object 12 is released from the sideways state and returns to the normal state, the sliding operation of the joystick 131 by the current player is detected, and the virtual object 12 is controlled to move in the game scene 14.
In some embodiments, when the roll response area of the rocker control is used for controlling the virtual object to perform a roll operation function, in order to ensure that the rocker control simultaneously performs a movement operation for controlling the virtual object, the method may further include the following steps:
in response to sliding the rocker to an area other than the roll response area, the virtual object is controlled to perform a movement operation in the game scene.
For example, referring to fig. 11, fig. 11 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 11, when there is a target virtual shelter 111 whose relative position with the virtual object 12 satisfies the preset virtual object sideways operation condition, if the current player wants to move the virtual object 12 without the virtual object 12 entering the sideways state, the rocker 131 may be slid out of the sideways response area 15 to control the virtual object 12 to move in the game scene 14. Thus, the multiple functions of the rocker control 13 are realized, and different requirements of game players are met.
In some embodiments, to facilitate player operation of the rocker control, the method may further include the steps of:
and hiding the sideways response area in response to the current position of the virtual object not meeting a preset sideways condition.
Specifically, after the test response area is generated, when the relative position relation between the current position of the virtual object in the game scene and the virtual shelter in the game scene is detected to not meet the preset sideways condition, the generated sideways response area is hidden. So that the player controls the movement of the virtual object in the game scene through the rocker control.
In some embodiments, to meet the game experience in the virtual object sideways state, after the step of "controlling the virtual object to perform a sideways action", the method may further include the steps of:
the control virtual object maintains a sideways state relative to the target virtual shelter.
Specifically, after the virtual object is controlled to perform the sideways operation with respect to the target virtual shelter according to the second sliding operation, in order to ensure the protection effect of the target virtual shelter on the virtual object, the virtual object may be controlled to maintain the sideways state after the sideways operation behind the target virtual shelter.
For example, referring still to fig. 8, after the virtual object 12 is controlled to lean in the left lean direction with respect to the target virtual shelter 111 according to the first operation, the virtual object 12 is controlled to maintain the left lean state behind the target virtual shelter 111.
In some embodiments, when the rocker control may be used to control a virtual object to perform a roll-over operation, the method may further include, for prompting the game player, the steps of:
when the relative position information of the virtual object and a target virtual shelter in the virtual shelter meets the preset virtual object sideways operation condition, displaying a sideways icon on the rocker control;
and stopping displaying the sideways icon on the rocker control when the sideways state of the virtual object relative to the target virtual shelter is released.
For example, referring to fig. 12, fig. 12 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the graphical user interface 10 shown in fig. 12, when it is detected that there is a virtual shelter 11 (e.g., virtual shelter a) in the game scene 14, where the relative position information between the virtual shelter and the virtual object 12 meets the preset virtual object sideways operation condition, in order to prompt the current player to implement the sideways operation on the virtual object 12 through the rocker control 13, a sideways icon may be displayed on the rocker control 13, which indicates that the virtual object 12 may be controlled to perform the sideways operation through the sliding rocker 131 at this time.
Specifically, when the virtual object releases the sideways state, or the relative position information between the virtual object and the virtual object does not exist in the game scene, and the preset virtual object sideways operation condition is met, the sideways icon displayed on the rocker control is closed. Therefore, the prompt to the game player is realized, and the game operation of the player is facilitated.
The embodiment of the application discloses a game control method, which comprises the following steps: when the relative position information of the virtual object and a target virtual shelter in the virtual shelter meets the preset virtual object sideways operation condition, responding to a first sliding operation of sliding a rocker of the rocker control in a sideways response area of the rocker control, and controlling the virtual object to sideways relative to the target virtual shelter according to the sliding direction of the first sliding operation.
Through designing a preset condition for triggering the sideways operation of the virtual object in the game scene, when the existence of the target virtual shelter is detected, a sideways control function is added for the rocker control, namely a sideways response area is determined in the rocker control, the sideways operation is controlled by responding to the sliding operation of a game player in the sideways response area, the sideways operation of the virtual object relative to the target virtual shelter is controlled, no additional control is needed to be added on a game interface, the utilization rate of the screen control is improved, the operation of the game player is facilitated, and the game experience of the player is improved.
In light of the foregoing, the method of game control of the present application will be further described below by way of example. Referring to fig. 13, fig. 13 is a flow chart of another game control method provided in the embodiment of the present application, and taking a specific application of the game control method to a terminal as an example, the specific flow may be as follows:
201. The terminal displays a game interface of the target game.
In the embodiment of the application, the game interface is provided through the terminal equipment, the game interface can comprise a part of game scenes of the target game and the current virtual object in the game scenes, the game scenes can also comprise virtual shelters, and the virtual shelters can be used for the virtual objects to perform sideways operation so as to avoid enemy attacks. The game interface may also be provided with a rocker control or the like. Wherein the current virtual object may be a virtual object controlled by the current game player.
For example, referring to fig. 14, fig. 14 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface 20 shown in fig. 14, there is displayed a part of the game scene 14 of the target game, a current virtual object 22 in the game scene 14, a first virtual shelter 21; the game interface 20 may also be provided with a rocker control 13, which rocker control 13 may include: first response area 25, first response area 25 may be a base 132 of rocker control 13, and a game player may control a current virtual object 22 to move through game scene 14 by sliding rocker 131 within first response area 25.
202. When the terminal detects that the relative position information of the current virtual object and a virtual shelter in the game scene meets the character sideways operation condition, a sideways icon and a sideways operation area are displayed in the rocker control.
Specifically, a first position of a current virtual object in a game scene is obtained, a second position of a first virtual shelter in the game scene is obtained, and a distance value between the current virtual object and the first virtual shelter is determined according to the first position and the second position. And then, the direction of the current virtual object and the vertical direction between the current virtual object and the first virtual shelter are obtained, and the angle value between the direction of the current virtual object and the vertical direction is determined.
Further, whether the current virtual object and the first virtual shelter meet the triggering condition of the sideways operation is judged according to the distance value and the angle value. Specifically, the distance value is compared with a preset distance value, and the angle value is compared with a preset angle value, and if the distance value is smaller than the preset distance value and the angle value is smaller than the preset angle value, it can be determined that the current virtual object and the first virtual shelter meet the triggering condition of the sideways operation.
And displaying a roll icon and a roll operation area in the rocker control when the relative position information of the current virtual object and the first virtual shelter meets the role roll operation condition.
For example, referring to fig. 15, fig. 15 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface 20 shown in fig. 15, when it is detected that the relative position information between the current virtual object 22 and the first virtual shelter 21 satisfies the character side operation condition, the side operation area 15 (rectangular area in the circular area) is divided in the first response area 15 (circular area corresponding to the rocker control 13) of the rocker control 13, and the side icon is displayed on the rocker control 13, so that the current game player can be prompted to control the current virtual object to perform the side operation through the rocker control.
203. And the terminal responds to the sliding operation of the current game player on the rocker in the roll operation area, and controls the current virtual object to perform roll operation relative to the virtual shelter.
For example, referring to fig. 16, fig. 16 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the game interface 20 shown in fig. 16, it is detected that the current game player slides the joystick 131 rightward in the roll operation area, and the current virtual object 22 is controlled to perform the roll operation with respect to the first virtual shelter 21, and is held in the upper right state behind the first virtual shelter 21.
The embodiment of the application discloses a game control method, which comprises the following steps: the terminal displays a game interface of the target game, when the relative position information of the current virtual object and a virtual shelter in the game scene is detected to meet the character side operation condition, a side icon and a side operation area are displayed in the rocker control, and the current virtual object is controlled to carry out side operation relative to the virtual shelter in response to the sliding operation of the current game player on the rocker in the side operation area, so that the game experience of the game player can be improved.
In order to facilitate better implementation of the game control method provided by the embodiment of the application, the embodiment of the application also provides a game control device based on the game control method. Where the meaning of a noun is the same as in the above-described method of game control, specific implementation details may be referred to in the description of the method embodiments.
Referring to fig. 17, fig. 17 is a block diagram of a game control device according to an embodiment of the present application, where the device includes:
a first control unit 301, configured to control the virtual object to move in the game scene in response to a first sliding operation for the rocker control;
The generating unit 302 is configured to generate a roll response area at the associated position of the rocker control in response to the current position of the virtual object meeting a preset roll condition;
and a second control unit 303 for controlling the virtual object to execute a roll action in response to a second sliding operation for the roll response area.
In some embodiments, the generating unit 302 may include:
and the generating subunit is used for generating a roll response area at the initial position of the rocker.
In some embodiments, the second control unit 303 may include:
and the control subunit is used for responding to the dragging operation of the rocker in the roll response area and controlling the virtual object to execute the roll action.
In some embodiments, the control subunit may be specifically configured to:
responding to the dragging operation of the rocker in the sideways response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute a roll motion towards the target direction.
In some embodiments, the apparatus may further comprise:
and the third control unit is used for responding to the dragging operation for the rocker to leave from the roll response area, controlling the virtual object to return to the right, and moving in the game scene according to the dragging operation.
In some embodiments, the apparatus may further comprise:
and the hiding unit is used for hiding the sideways response area in response to the fact that the current position of the virtual object does not meet the preset sideways condition.
The embodiment of the application discloses a game control device, wherein a first control unit 301 responds to a first sliding operation for a rocker control to control the virtual object to move in a game scene; the generating unit 302 responds that the current position of the virtual object meets a preset roll condition, and a roll response area is generated at the associated position of the rocker control; the second control unit 303 controls the virtual object to perform a roll action in response to a second sliding operation for the roll response area. Thus, the game experience of the game player can be improved.
Correspondingly, the embodiment of the application also provides computer equipment, which can be a terminal. Fig. 18 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 18. The computer device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 601 is a control center of the computer device 600, connects various parts of the entire computer device 600 using various interfaces and lines, and performs various functions of the computer device 600 and processes data by running or loading software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the computer device 600.
In the embodiment of the present application, the processor 601 in the computer device 600 loads the instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes the application programs stored in the memory 602, so as to implement various functions:
responding to a first sliding operation for the rocker control, and controlling the virtual object to move in the game scene;
responding that the current position of the virtual object meets a preset sideways condition, and generating a sideways response area at the associated position of the rocker control;
and controlling the virtual object to execute the roll action in response to the second sliding operation for the roll response area.
In some embodiments, the rocker control includes a rocker and a base;
generating a roll response area at an associated location of the rocker control, comprising:
A roll response area is generated at an initial position of the rocker.
In some embodiments, controlling the virtual object to perform a roll action in response to a second sliding operation for the roll response area includes:
and responding to the dragging operation of the rocker in the roll response area, and controlling the virtual object to execute the roll action.
In some embodiments, the roll response area at least partially overlaps the chassis.
In some embodiments, controlling the virtual object to perform a roll action in response to a drag operation for the rocker in the roll response area includes:
responding to the dragging operation of the rocker in the roll response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute the sideways motion towards the target direction.
In some embodiments, the game scene further includes a virtual shelter;
the preset roll conditions include: the relative position relation between the current position of the virtual object and the virtual shelter is a preset position relation.
In some embodiments, the preset positional relationship includes:
the vertical distance between the virtual object and the virtual shelter is within a preset distance; and/or that the number of the groups of groups,
the included angle between the current direction of the virtual object and the target straight line is within a preset angle, wherein the target straight line is a straight line passing through the virtual object and perpendicular to the virtual shelter.
In some embodiments, the method further comprises:
and responding to the dragging operation for the rocker to leave from the body-turning response area, controlling the virtual object to return, and moving in the game scene according to the dragging operation.
In some embodiments, the method further comprises:
and hiding the sideways response area in response to the current position of the virtual object not meeting a preset sideways condition.
According to the embodiment of the application, the preset roll condition for triggering the roll operation of the virtual object in the game scene is designed, when the preset roll condition is detected to be met, the roll control function is added for the rocker control, namely, a roll response area is determined at the relevant position of the rocker control, the sliding operation of a game player in the roll operation area is responded, the virtual object is controlled to roll relatively to the target virtual shelter, so that the co-workers controlling the movement of the virtual object can quickly realize the roll control of the virtual object, the operation is coherent and convenient, the user does not need to deliberately memorize the roll key position, the burden of the user is lightened, and the game experience of the player is improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 18, the computer device 600 further includes: a touch display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 18 is not limiting of the computer device and may include more or fewer components than shown, or may be a combination of certain components, or a different arrangement of components.
The touch display 603 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 603 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 601, and can receive and execute commands sent from the processor 601. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 601 to determine the type of touch event, and the processor 601 then provides a corresponding visual output on the display panel based on the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch display 603 may also implement an input function as part of the input unit 606.
The radio frequency circuit 604 may be configured to receive and transmit radio frequency signals to and from a network device or other computer device via wireless communication to and from the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 605 may transmit the received electrical signal converted from audio data to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 605 and converted into audio data, which are processed by the audio data output processor 601 for transmission to, for example, another computer device via the radio frequency circuit 604, or which are output to the memory 602 for further processing. The audio circuit 605 may also include an ear bud jack to provide communication of the peripheral headphones with the computer device.
The input unit 606 may be used to receive entered numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), as well as to generate keyboard, mouse, joystick, optical, or trackball signal inputs associated with user settings and function control.
The power supply 607 is used to power the various components of the computer device 600. Alternatively, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 18, the computer device 600 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein. In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the computer device provided in this embodiment may control the virtual object to move in the game scene in response to the first sliding operation for the rocker control; responding that the current position of the virtual object meets a preset sideways condition, and generating a sideways response area at the associated position of the rocker control; and controlling the virtual object to execute the roll action in response to the second sliding operation for the roll response area.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform steps in any of the methods of game control provided by embodiments of the present application. For example, the computer program may perform the steps of:
responding to a first sliding operation for the rocker control, and controlling the virtual object to move in the game scene;
responding that the current position of the virtual object meets a preset sideways condition, and generating a sideways response area at the associated position of the rocker control;
and controlling the virtual object to execute the roll action in response to the second sliding operation for the roll response area.
In some embodiments, the rocker control includes a rocker and a base;
generating a roll response area at an associated location of the rocker control, comprising:
a roll response area is generated at an initial position of the rocker.
In some embodiments, controlling the virtual object to perform a roll action in response to a second sliding operation for the roll response area includes:
and responding to the dragging operation of the rocker in the roll response area, and controlling the virtual object to execute the roll action.
In some embodiments, the roll response area at least partially overlaps the chassis.
In some embodiments, controlling the virtual object to perform a roll action in response to a drag operation for the rocker in the roll response area includes:
responding to the dragging operation of the rocker in the roll response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute the sideways motion towards the target direction.
In some embodiments, the game scene further includes a virtual shelter;
the preset roll conditions include: the relative position relation between the current position of the virtual object and the virtual shelter is a preset position relation.
In some embodiments, the preset positional relationship includes:
the vertical distance between the virtual object and the virtual shelter is within a preset distance; and/or that the number of the groups of groups,
the included angle between the current direction of the virtual object and the target straight line is within a preset angle, wherein the target straight line is a straight line passing through the virtual object and perpendicular to the virtual shelter.
In some embodiments, the method further comprises:
and responding to the dragging operation for the rocker to leave from the body-turning response area, controlling the virtual object to return, and moving in the game scene according to the dragging operation.
In some embodiments, the method further comprises:
and hiding the sideways response area in response to the current position of the virtual object not meeting a preset sideways condition.
According to the embodiment of the application, the preset roll condition for triggering the roll operation of the virtual object in the game scene is designed, when the preset roll condition is detected to be met, the roll control function is added for the rocker control, namely, a roll response area is determined at the relevant position of the rocker control, the sliding operation of a game player in the roll operation area is responded, the virtual object is controlled to roll relatively to the target virtual shelter, so that the co-workers controlling the movement of the virtual object can quickly realize the roll control of the virtual object, the operation is coherent and convenient, the user does not need to deliberately memorize the roll key position, the burden of the user is lightened, and the game experience of the player is improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the computer program stored in the storage medium may execute steps in any game control method provided in the embodiments of the present application, the beneficial effects that any game control method provided in the embodiments of the present application may be achieved are described in detail in the previous embodiments, which are not described herein.
The above describes in detail a game control method, apparatus, storage medium and computer device provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the above description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. A method of game control, characterized in that a graphical user interface is provided by a terminal device, said graphical user interface comprising at least a part of a game scene and a rocker control, virtual objects being in said game scene being controlled by said terminal device, said method comprising:
Controlling the virtual object to move in the game scene in response to a first sliding operation for the rocker control;
responding that the current position of the virtual object meets a preset roll condition, and generating a roll response area at the associated position of the rocker control;
and controlling the virtual object to execute a roll action in response to a second sliding operation for the roll response area.
2. The method of claim 1, wherein the rocker control comprises a rocker and a base;
generating a roll response area at the associated position of the rocker control comprises:
a roll response area is generated at an initial position of the rocker.
3. The method of claim 2, wherein the controlling the virtual object to perform a roll action in response to the second sliding operation for the roll response area comprises:
and responding to the dragging operation of the rocker in the roll response area, and controlling the virtual object to execute the roll action.
4. The method of claim 2, wherein the roll response area at least partially overlaps the chassis.
5. The method of claim 3, wherein the controlling the virtual object to perform a roll action in response to a drag operation of the rocker in the roll response area comprises:
Responding to the dragging operation of the rocker in the sideways response area, and determining the target direction of the dragging operation;
and controlling the virtual object to execute a roll motion towards the target direction.
6. The method of claim 1, wherein the game scene further comprises a virtual shelter;
the preset roll condition includes: the relative position relation between the current position of the virtual object and the virtual shelter is a preset position relation.
7. The method of claim 6, wherein the predetermined positional relationship comprises:
the vertical distance between the virtual object and the virtual shelter is within a preset distance; and/or that the number of the groups of groups,
and the included angle between the current direction of the virtual object and a target straight line is within a preset angle, wherein the target straight line is a straight line passing through the virtual object and perpendicular to the virtual shelter.
8. A method according to claim 3, characterized in that the method further comprises:
and responding to a dragging operation for the rocker to leave from the sideways response area, controlling the virtual object to return to the right, and moving in the game scene according to the dragging operation.
9. The method according to claim 1, wherein the method further comprises:
and hiding the roll response area in response to the current position of the virtual object not meeting a preset roll condition.
10. An apparatus for game control, wherein a graphical user interface is provided by a terminal device, the graphical user interface comprising at least a portion of a game scene and a rocker control, a virtual object in the game scene controlled by the terminal device, the apparatus comprising:
the first control unit is used for responding to a first sliding operation aiming at the rocker control and controlling the virtual object to move in the game scene;
the generating unit is used for responding that the current position of the virtual object meets a preset roll condition and generating a roll response area at the associated position of the rocker control;
and the second control unit is used for responding to a second sliding operation aiming at the roll response area and controlling the virtual object to execute roll action.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the method of game control as claimed in any one of claims 1 to 9 when the program is executed by the processor.
12. A storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the method of game control of any one of claims 1 to 9.
CN202211504786.1A 2022-11-28 2022-11-28 Game control method, game control device, computer equipment and storage medium Pending CN116271791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211504786.1A CN116271791A (en) 2022-11-28 2022-11-28 Game control method, game control device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211504786.1A CN116271791A (en) 2022-11-28 2022-11-28 Game control method, game control device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116271791A true CN116271791A (en) 2023-06-23

Family

ID=86813754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211504786.1A Pending CN116271791A (en) 2022-11-28 2022-11-28 Game control method, game control device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116271791A (en)

Similar Documents

Publication Publication Date Title
CN113101652A (en) Information display method and device, computer equipment and storage medium
CN113082712A (en) Control method and device of virtual role, computer equipment and storage medium
CN113082688B (en) Method and device for controlling virtual character in game, storage medium and equipment
CN113426124A (en) Display control method and device in game, storage medium and computer equipment
CN112870718A (en) Prop using method and device, storage medium and computer equipment
CN115040873A (en) Game grouping processing method and device, computer equipment and storage medium
CN115193049A (en) Virtual role control method, device, storage medium and computer equipment
CN113398566A (en) Game display control method and device, storage medium and computer equipment
CN115999153A (en) Virtual character control method and device, storage medium and terminal equipment
CN112245914B (en) Viewing angle adjusting method and device, storage medium and computer equipment
CN115382201A (en) Game control method and device, computer equipment and storage medium
CN115212572A (en) Control method and device of game props, computer equipment and storage medium
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
CN116271791A (en) Game control method, game control device, computer equipment and storage medium
CN113398590B (en) Sound processing method, device, computer equipment and storage medium
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN116999825A (en) Game control method, game control device, computer equipment and storage medium
CN116999835A (en) Game control method, game control device, computer equipment and storage medium
CN116328315A (en) Virtual model processing method, device, terminal and storage medium based on block chain
CN116351059A (en) Non-player character control method, device, computer equipment and storage medium
CN117771678A (en) Method and device for adjusting virtual component, computer equipment and storage medium
CN117482516A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116474367A (en) Virtual lens control method and device, storage medium and computer equipment
CN117160031A (en) Game skill processing method, game skill processing device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination