CN117643723A - Game interaction method, game interaction device, computer equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN117643723A
CN117643723A CN202311661517.0A CN202311661517A CN117643723A CN 117643723 A CN117643723 A CN 117643723A CN 202311661517 A CN202311661517 A CN 202311661517A CN 117643723 A CN117643723 A CN 117643723A
Authority
CN
China
Prior art keywords
game
virtual
attack
prop
user interface
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
CN202311661517.0A
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 CN202311661517.0A priority Critical patent/CN117643723A/en
Publication of CN117643723A publication Critical patent/CN117643723A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, wherein the method comprises the following steps: responding to a first touch operation for the game attack control, and controlling the first virtual character to enter a game state corresponding to the game attack control; and responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defense props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character. According to the embodiment of the application, when the player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebound to achieve the defense operation, so that the smoothness of the fight experience of the player in the game is ensured, and the game interaction efficiency is improved.

Description

Game interaction method, game interaction device, computer equipment and computer readable storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a game interaction method, a game interaction device, a computer device, and a computer readable storage medium.
Background
With the continuous development of computer communication technology, a large number of popular applications of terminals such as smart phones, tablet computers and notebook computers, the terminals develop towards diversification and individuation, and increasingly become indispensable terminals in life and work of people. In order to meet the pursuit of people for mental life, entertainment games capable of being operated on terminals have been developed, for example, multi-player online action games developed based on client or server architecture, role-playing game (RPG) tactical game games or shooting game games, and the like. In the game, the player can operate the virtual characters in the screen to play the game, and can execute the related operations of walking, running, jumping, picking up props, fighting and the like in the game scene based on the first view angle or the third view angle of the characters operated by the player, so that the player can experience the visual impact brought by the game in an immersive manner, and the initiative and the sense of reality of the game are greatly enhanced.
At present, when a player plays a game, the player can play the attack accumulation of the game attack through the game attack control displayed on the graphical user interface provided by the display screen of the long-press terminal equipment, and after the player releases hands of the game attack control, the player can control the virtual character to release the game skill to the target indication direction or the virtual bullet attacks the enemy virtual character. However, in the existing game mode, during the process of carrying out attack accumulation by a game attack, the opponent virtual character can push away the virtual character controlled by the player through a common attack or break through a game skill attack to break the attack accumulation operation of the game attack of the virtual character, so that the overall fluency of the player when releasing the game attack, the game recruitment or the game skill is influenced, the fluency of the player in fighting experience in the game is influenced, and the game interaction efficiency is low.
Disclosure of Invention
The embodiment of the application provides a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, which can enable a virtual character to keep the attack accumulation and use a virtual defense prop to perform a blocking or rebounding to realize a defending operation when a player clicks the game attack control to control the attack accumulation of a game attack, so that the situation that the player is interrupted when the player controls the virtual character to attack the accumulation of the game is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency is improved.
The embodiment of the application provides a game interaction method, a graphical user interface is provided through terminal equipment, content displayed by the graphical user interface comprises at least partial virtual scenes, the virtual scenes comprise a first virtual role controlled by the terminal equipment and game attack controls corresponding to the first virtual role, and the method comprises the following steps:
responding to a first touch operation for the game attack control, and controlling the first virtual character to enter a game state corresponding to the game attack control;
and responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defense props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character.
Correspondingly, the embodiment of the application also provides a game interaction device, which comprises:
the first response unit is used for responding to a first touch operation aiming at the game attack control and controlling the first virtual character to enter a game state corresponding to the game attack control;
And the first response unit is used for responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing a virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character so as to block attack operation on the first virtual character.
Accordingly, embodiments of the present application also provide a computer device including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program implementing the steps of any one of the game interaction methods when executed by the processor.
Accordingly, embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the game interaction methods.
The embodiment of the application provides a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, wherein the first virtual character is controlled to enter a game state corresponding to a game attack control by responding to a first touch operation for the game attack control; and then, responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defending props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character. According to the embodiment of the application, when a player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebounding to achieve the defending operation, so that the situation that the player is interrupted when the player controls the virtual character to conduct the attack accumulation is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency 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 interaction system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a game interaction method according to an embodiment of the present application.
Fig. 3 is a schematic view of a scenario of a game interaction method according to an embodiment of the present application.
Fig. 4 is another schematic view of a game interaction method according to an embodiment of the present application.
Fig. 5 is another schematic view of a game interaction method according to an embodiment of the present application.
Fig. 6 is another schematic view of a game interaction method according to an embodiment of the present application.
Fig. 7 is a schematic diagram of another scenario of a game interaction method provided in an embodiment of the present application.
Fig. 8 is another schematic view of a game interaction method according to an embodiment of the present application.
Fig. 9 is another schematic view of a game interaction method according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a game interaction device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments 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 interaction method, a game interaction device, computer equipment and a computer readable storage medium. Specifically, the game interaction method of the embodiment of the application may be executed 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 game interaction method is run on the 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, the game interaction method may be a cloud game when running on a server. Cloud gaming refers to a game style based on cloud computing. In the running mode of the cloud game, a running main body of the game application program and a game picture presentation main body are separated, and the storage and running of the game interaction 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 interaction 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, 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 interaction method which can be executed by a terminal or a server. The embodiment of the application is described by taking a game interaction method executed by a terminal as an example. The terminal may include a touch display screen and a processor (of course, the terminal may also use peripheral devices such as a mouse and a keyboard as input devices, which are only illustrated here by using the touch display screen as an example), where 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 graphical user interface of the game to perform 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 comprise a virtual scene of the game drawn on a graphical user interface. 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 interaction system shown in fig. 1 is only an example, and the game interaction 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 appearance of a 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, embodiments of the present application provide a game interaction method, apparatus, computer device, and computer readable storage medium, which can ensure smoothness of a combat experience of a player in a game, thereby improving game interaction efficiency. 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 interaction method, which can be executed by a terminal or a server, and the embodiment of the application is described by taking the game interaction method as an example executed by the terminal, and a graphical user interface can be provided through terminal equipment, wherein the content displayed by the graphical user interface comprises at least part of virtual scenes, and the virtual scenes comprise a first virtual role controlled by the terminal equipment and game attack controls corresponding to the first virtual role. The player can control the virtual character to enter a target game recruitment type accumulation state corresponding to the game attack control by triggering the game attack control. The virtual scene is determined according to the visual angle of the virtual character controlled by the terminal equipment, the graphic user interface can also display a part of virtual characters, the part of virtual characters are virtual characters displayed in the part of virtual scene, the part of virtual characters can be friend virtual characters which are same as the virtual characters in a battle, can be enemy virtual characters which are opposite to the virtual characters in a battle, and can also be other common virtual characters without battles.
In the embodiment of the application, the virtual scene is a virtual environment displayed (or provided) when the application program runs on the terminal. The virtual environment can be a simulation environment for the real world, a semi-simulation and semi-fictional three-dimensional environment, or a pure fictional three-dimensional environment. The virtual environment is used for virtual environment combat between at least two virtual characters, and virtual resources available for the at least two virtual characters are provided in the virtual environment. One or more virtual characters can be displayed in the virtual scene, wherein the virtual characters can be master virtual characters controlled by a player through a terminal, can be friend virtual characters which are in the same battle as the master virtual characters, can be enemy virtual characters which are in hostile battle with the master virtual characters, or can be common virtual characters which are in other battles which are in hostile relation with the master virtual characters. Master virtual characters, friend virtual characters, common virtual characters, and hostile virtual characters may coexist in a virtual scene, which is illustrated herein and not by way of limitation.
A virtual character (or hero) refers to a movable object in a virtual environment. A virtual character refers to a virtual object in a game that a user or player controls through a terminal. In the embodiment of the present application, the virtual character is a master virtual character, and the master virtual character refers to a virtual object in a game controlled by a current player through a terminal, that is, a virtual character controlled by a local player. The friend virtual character and the adversary virtual character refer to virtual objects in the game controlled by other players through terminals, namely virtual characters controlled by other players.
Referring to fig. 2, fig. 2 is a schematic flow chart of a game interaction method according to an embodiment of the present application, and the specific flow chart of the game interaction method may be as follows:
101, controlling the first virtual character to enter a game state corresponding to the game attack control in response to a first touch operation for the game attack control.
In the embodiment of the application, a part of virtual scene can be displayed on the graphical user interface, wherein the virtual scene comprises a first virtual role controlled by the terminal equipment and a game attack control corresponding to the first virtual role. The player can execute a first trigger operation on the game attack control displayed on the graphical user interface, the computer equipment responds to the first trigger operation on the game attack control to generate a trigger instruction of the game attack control, and then the computer equipment responds to the trigger instruction on the game attack control to control the virtual character to enter a target game recruitment state corresponding to the game attack control. Alternatively, the player may perform a triggering operation on a game attack control displayed on the graphical user interface, the computer device generates an aiming instruction for the first virtual character in response to the first triggering operation for the game attack control, and then the computer device controls the first virtual character to enter a shooting aiming state in response to the aiming instruction for the first virtual character.
Specifically, referring to fig. 3, in the embodiment of the present application, a graphical user interface 10 may be provided through a terminal device, where content displayed on the graphical user interface 10 includes at least a part of a virtual scene 11, a first virtual character 12 located in the virtual scene 11 and controlled by the terminal device, and a game attack control 13 corresponding to the first virtual character, a player may execute a first triggering operation on the game attack control 13 displayed on the graphical user interface, and a computer device may control the first virtual character 12 to enter a game state corresponding to the game attack control 13 in response to a first touch operation on the game attack control 13.
Optionally, the first triggering operation may be a long-press operation, a single-click operation or a double-click operation, and the first virtual character is controlled to enter and maintain the game state corresponding to the game attack control through the operations.
In an embodiment, in step "the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control", a method may include:
and responding to a first touch operation aiming at the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment.
In an embodiment, in step "the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control", a method may include:
responding to long-press operation of the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment;
and when the long press operation is detected to be finished, controlling the first virtual character to release the target game poster.
In order to enable the player to interrupt the power accumulation state by himself so as to avoid the attack operation sent by the enemy virtual character, the graphical user interface is displayed with a direction control, and the method further comprises:
when the first touch operation is detected to be finished, controlling the first virtual character to exit the game state corresponding to the game attack control;
and controlling the first virtual character to move in the virtual scene in response to a third touch operation for the direction control.
For example, the user may cancel the first touch operation for the game attack control, and when the computer device detects that the first touch operation for the game attack control is canceled, the first virtual character may be controlled to exit the power accumulating state of the target game corresponding to the game attack control. Then, the user can perform touch operation on the direction control through the graphic user interface, and the computer equipment responds to the touch operation on the direction control to control the first virtual character to move in the virtual scene so as to avoid attack operation sent by the enemy virtual character.
102, responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defending props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character.
In the embodiment of the application, the player can execute the clicking operation/sliding circle selection operation on the first virtual character on the graphical user interface, so that the virtual defense prop is placed on the graphical user interface based on the touch information of the clicking operation/sliding circle selection operation and the position information of the first virtual character to block the attack operation on the first virtual character. Alternatively, the player may perform a sliding operation on the graphical user interface, so that the virtual defensive prop is placed on the graphical user interface based on touch information of the sliding operation and position information of the first virtual character to block an attack operation on the first virtual character.
In an embodiment, in the step of "the responding to the second touch operation for the graphical user interface before the first touch operation is not finished, placing a virtual defending prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character to block the attack operation on the first virtual character", the method may include:
Determining a touch initial position of the sliding operation according to the sliding operation of the graphical user interface before the first touch operation is not finished;
when the sliding operation is detected to be finished, determining a touch control finishing position of the sliding operation;
determining a target defense direction of the virtual defense prop based on the touch initial position and the touch end position;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
Specifically, referring to fig. 4 and fig. 5 together, in this embodiment of the present application, a graphical user interface 10 may be provided through a terminal device, where content displayed on the graphical user interface 10 includes at least a part of a virtual scene 11, a first virtual character 12 located in the virtual scene 11 and controlled by the terminal device, and a game attack control 13 corresponding to the first virtual character, a player may execute a first triggering operation on the game attack control 13 displayed on the graphical user interface, and the computer device may control the first virtual character 12 to enter a game state corresponding to the game attack control 13 in response to a first touch operation on the game attack control 13. Further, the player may trigger a sliding operation on the graphical user interface before the first touch operation is not finished, and the computer device determines a touch initial position 15 of the sliding operation in response to the sliding operation on the graphical user interface before the first touch operation is not finished; when the end of the sliding operation is detected, a touch end position 16 of the sliding operation is determined. The computer equipment determines a target defense direction of the virtual defense prop based on the touch initial position and the touch end position (shown by a dotted arrow in fig. 4), and then determines a target placement position based on the display position of the first virtual character and a preset distance; finally, a computer device places the virtual defensive prop 14 on the graphical user interface 10 based on the target defensive direction and the target placement position, wherein the virtual defensive prop 14 is used for defending against attack operations from the target defensive direction.
In order to enable the player to preview the placement position of the virtual defensive prop, after determining the touch initial position of the sliding operation for the graphical user interface before responding to the sliding operation of the first touch operation without ending, the method may include:
determining a first defending direction of a virtual defending prop based on the touch initial position and the first staying position in response to the first staying position of the sliding operation;
determining a target placement position based on the display position of the first virtual character and a preset distance;
displaying a prop preview identifier of the virtual defense prop on the graphical user interface based on the first defending direction and the target placement position, wherein the prop preview identifier is used for indicating the placement position of the virtual defense prop and the direction of defensable attack operation.
Further, after displaying the prop preview identification of the virtual defensive prop on the graphical user interface based on the first defensive direction and the target placement position, the method may include:
determining a second defending direction of the virtual defending prop based on the touch initial position and the second staying position in response to the second staying position of the sliding operation;
And updating the prop preview identifier based on the second defending direction so as to display the updated prop preview identifier on the graphical user interface, wherein the updated prop preview identifier is used for defending attack operation from the second defending direction.
In another embodiment, the step of "in response to a second touch operation on the graphical user interface before the first touch operation is not finished, placing a virtual defensive prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character to block an attack operation on the first virtual character" may include:
and responding to a second touch operation of a second virtual character on the graphical user interface before the first touch operation is not finished, and placing the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation so as to block attack operation on the first virtual character.
Specifically, in the step of "the position information of the second virtual character and the position information of the first virtual character determined based on the second touch operation, the virtual defense prop is placed on the graphical user interface to block the attack operation on the first virtual character", the method may include:
Determining a target defending direction based on the position information of the second virtual character and the position information of the first virtual character;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
To enable rich gameplay, after placing virtual defensive prop "" on the graphical user interface based on touch information of the second touch operation and location information of the first virtual character, the method may include:
when the virtual defense prop receives the attack operation of the second virtual character, the game attack is bounced based on an initial attack path of the game attack corresponding to the attack operation, so that the game attack is bounced according to the initial attack path.
Specifically, referring to fig. 6 and fig. 7 together, in this embodiment of the present application, a graphical user interface 10 may be provided through a terminal device, where content displayed on the graphical user interface 10 includes at least a part of a virtual scene 11, a first virtual character 12 located in the virtual scene 11 and controlled by the terminal device, and a game attack control 13 corresponding to the first virtual character, a player may execute a first triggering operation on the game attack control 13 displayed on the graphical user interface, and the computer device may control the first virtual character 12 to enter a game state corresponding to the game attack control 13 in response to a first touch operation on the game attack control 13, and after the game state corresponding to the game attack control 13 is completed, may control the first virtual character 12 to release a game invitation corresponding to the game attack control 13 to the third virtual character 18. When the virtual defending prop 14 receives the attack operation of the second virtual character 17, the computer device can perform a rebound operation on the game attack based on an initial attack path (indicated by a dotted arrow in fig. 6) of the game attack corresponding to the attack operation, so that the game attack performs the rebound operation according to the initial attack path (indicated by the dotted arrow in fig. 7).
Optionally, after the placing of the virtual defense prop on the graphical user interface in the step of "touch information of the second touch operation and position information of the first virtual character", the method may include:
when the virtual defense prop receives the attack operation of the second virtual character, rebound operation is carried out on the attack operation based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop.
Specifically, the step of performing the rebound operation on the attack operation based on the contact point between the game attack and the virtual defense prop corresponding to the attack operation may include:
determining a target rebound angle of the game attack based on the contact point of the game attack and the virtual defense prop;
and performing rebound operation on the game attack based on the target rebound angle.
Specifically, referring to fig. 8 and fig. 9 together, in this embodiment of the present application, a graphical user interface 10 may be provided through a terminal device, where content displayed on the graphical user interface 10 includes at least a part of a virtual scene 11, a first virtual character 12 located in the virtual scene 11 and controlled by the terminal device, and a game attack control 13 corresponding to the first virtual character, a player may execute a first triggering operation on the game attack control 13 displayed on the graphical user interface, and the computer device may control the first virtual character 12 to enter a game state corresponding to the game attack control 13 in response to a first touch operation on the game attack control 13, and after the game state corresponding to the game attack control 13 is completed, may control the first virtual character 12 to release a game invitation corresponding to the game attack control 13 to the third virtual character 18. When the virtual defending prop 14 receives the attack operation of the second virtual character 17, a target bounce angle (indicated by a dotted arrow in fig. 9) of the game attack is determined based on the contact point of the game attack with the virtual defending prop 14, and the game attack is bounce-operated based on the target bounce angle.
Specifically, in order to ensure game balance, after the step of placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method may include:
and canceling the display of the virtual defense prop on the graphical user interface when the display time of the virtual defense prop on the graphical user interface exceeds a specified time.
Specifically, in the embodiment of the present application, a part of virtual scene may be displayed on the graphical user interface, where the virtual scene includes a first virtual role controlled by the terminal device, and a game attack control and a game direction control corresponding to the first virtual role. The player can execute long-press operation on the game attack control displayed on the graphical user interface, the computer equipment responds to the long-press operation on the game attack control to generate a trigger instruction of the game attack control, and then the computer equipment responds to the trigger instruction on the game attack control to control the virtual character to enter a target game recruitment state corresponding to the game attack control. Then, under the condition that the long-press operation is kept, the player can conduct sliding operation on the first virtual character, the computer equipment responds to the sliding operation on the first virtual character, a trigger instruction of the game attack control is generated, and when the sliding operation is detected to be ended, the touch end position of the sliding operation is determined. The computer equipment determines a target defense direction of the virtual defense prop based on the touch initial position and the touch end position, and then determines a target placement position based on the display position of the first virtual character and a preset distance; finally, the computer device virtually defends the prop based on the target defending direction and the target placement location. In the sliding operation maintaining process, the prop preview identifier can be placed based on the sliding direction of the sliding operation and the display position of the first virtual character, and the display position of the prop preview identifier can be updated according to the change of the sliding operation so as to prompt the player of the placement position of the virtual defense prop.
In light of the foregoing, the game interaction method of the present application will be further described below by way of example. For example, referring to fig. 4, 5, 6 and 7 together, an embodiment of the game interaction method is as follows:
(1) According to the embodiment of the application, a graphical user interface 10 can be provided through a terminal device, the content displayed by the graphical user interface 10 comprises at least part of a virtual scene 11, a first virtual role 12 which is located in the virtual scene 11 and controlled by the terminal device, a game attack control 13 corresponding to the first virtual role, a second virtual role 17 and a third virtual role 18 which are also displayed and controlled by other terminal devices, a player can execute a first triggering operation on the game attack control 13 displayed on the graphical user interface, a computer device can respond to a first touch operation on the game attack control 13, the first virtual role 12 is controlled to enter a game state corresponding to the game attack control 13, and after the game state corresponding to the game attack control 13 is completed, the first virtual role 12 can be controlled to release a game recruitment mode corresponding to the game attack control 13 to the third virtual role 18.
(2) Further, the player may trigger a sliding operation on the graphical user interface before the first touch operation is not finished, and the computer device determines a touch initial position 15 of the sliding operation in response to the sliding operation on the graphical user interface before the first touch operation is not finished; when the end of the sliding operation is detected, a touch end position 16 of the sliding operation is determined. The computer equipment determines a target defense direction of the virtual defense prop based on the touch initial position and the touch end position (shown by a dotted arrow in fig. 4), and then determines a target placement position based on the display position of the first virtual character and a preset distance; finally, a computer device places the virtual defensive prop 14 on the graphical user interface 10 based on the target defensive direction and the target placement position, wherein the virtual defensive prop 14 is used for defending against attack operations from the target defensive direction.
(3) When the virtual defending prop 14 receives the attack operation of the second virtual character 17, the computer device can perform a rebound operation on the game attack based on an initial attack path (indicated by a dotted arrow in fig. 6) of the game attack corresponding to the attack operation, so that the game attack performs the rebound operation according to the initial attack path (indicated by the dotted arrow in fig. 7).
In summary, the embodiment of the application provides a game interaction method, which controls the first virtual character to enter a game state corresponding to the game attack control by responding to a first touch operation for the game attack control; and then, responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defending props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character. According to the embodiment of the application, when a player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebounding to achieve the defending operation, so that the situation that the player is interrupted when the player controls the virtual character to conduct the attack accumulation is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency is improved.
In order to facilitate better implementation of the game interaction method provided by the embodiment of the application, the embodiment of the application also provides a game interaction device based on the game interaction method. Where the meaning of nouns is the same as in the game interaction method described above, specific implementation details may be referred to in the description of the method embodiments.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a game interaction device according to an embodiment of the present application, where the device includes:
a first response unit 201, configured to control, in response to a first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control;
and a second response unit 202, configured to, in response to a second touch operation on the graphical user interface before the first touch operation is not ended, place a virtual defense prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character, so as to block an attack operation on the first virtual character.
In some embodiments, the game interaction device comprises:
a first determining subunit, configured to determine, in response to a sliding operation on the graphical user interface before the first touch operation is not ended, a touch initial position of the sliding operation;
The first determining subunit is further configured to determine a touch end position of the sliding operation when the end of the sliding operation is detected;
the first determining subunit is further configured to determine a target defense direction of the virtual defense prop based on the touch initial position and the touch end position;
the first determining subunit is further configured to determine a target placement position based on the display position of the first virtual character and a preset distance;
and the first placement subunit is used for placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
In some embodiments, the game interaction device comprises:
the second determining subunit is used for responding to the first stay position of the sliding operation and determining a first defense direction of the virtual defense prop based on the touch initial position and the first stay position;
the second determining subunit is further configured to determine a target placement position based on the display position of the first virtual character and a preset distance;
and the first display subunit is used for displaying a prop preview identifier of the virtual defense prop on the graphical user interface based on the first defense direction and the target placement position, wherein the prop preview identifier is used for indicating the placement position of the virtual defense prop and the direction of defensable attack operation.
In some embodiments, the game interaction device comprises:
a third determining subunit, configured to determine, in response to a second stay position of the sliding operation, a second defending direction of a virtual defending prop based on the touch initial position and the second stay position;
and the second display subunit is used for updating the prop preview identifier based on the second defending direction so as to display the updated prop preview identifier on the graphical user interface, wherein the updated prop preview identifier is used for defending attack operation from the second defending direction.
In some embodiments, the game interaction device comprises:
and the fourth determining subunit is used for responding to the second touch operation of the second virtual character on the graphical user interface before the first touch operation is not finished, and placing the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation so as to block the attack operation on the first virtual character.
In some embodiments, the game interaction device comprises:
A fifth determining subunit configured to determine a target defending direction based on the position information of the second virtual character and the position information of the first virtual character;
a fifth determining subunit, configured to determine a target placement position based on the display position of the first virtual character and a preset distance;
and a second placement subunit, configured to place the virtual defense prop on the graphical user interface based on the target defense direction and the target placement location, where the virtual defense prop is used to defend against an attack operation from the target defense direction.
In some embodiments, the game interaction device comprises:
and the first processing subunit is used for performing rebound operation on the game attack based on an initial attack path of the game attack corresponding to the attack operation when the virtual defense prop receives the attack operation of the second virtual character, so that the game attack performs rebound operation according to the initial attack path.
In some embodiments, the game interaction device comprises:
and the second processing subunit is used for performing rebound operation on the attack operation based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop when the virtual defense prop receives the attack operation of the second virtual character.
In some embodiments, the game interaction device comprises:
a sixth determining subunit, configured to determine a target rebound angle of the game attack based on a contact point of the game attack with the virtual defense prop;
and the third processing subunit is used for conducting rebound operation on the game attack based on the target rebound angle.
In some embodiments, the game interaction device comprises:
and the fourth processing subunit is used for canceling the display of the virtual defense prop on the graphical user interface when the display duration of the virtual defense prop on the graphical user interface exceeds the designated duration.
In some embodiments, the game interaction device comprises:
and a seventh determining subunit, configured to determine a target game style corresponding to the game attack control in response to a first touch operation for the game attack control, and control the first virtual character to enter a power accumulating state of the target game style.
In some embodiments, the game interaction device comprises:
an eighth determining subunit, configured to determine a target game style corresponding to the game attack control in response to a long-press operation for the game attack control, and control the first virtual character to enter a power accumulating state of the target game style;
And the first control subunit is used for controlling the first virtual character to release the target game and the recruitment when the long-press operation is detected to be finished.
In some embodiments, the game interaction device comprises:
the second control subunit is used for controlling the first virtual character to exit the game state corresponding to the game attack control when the first touch operation is detected to be finished;
and the second control subunit is further used for controlling the first virtual character to move in the virtual scene in response to a third touch operation for the direction control.
The embodiment of the application discloses a game interaction device, wherein a first response unit 201 responds to a first touch operation for a game attack control, and controls a first virtual character to enter a game state corresponding to the game attack control; the second response unit 202 is configured to, in response to a second touch operation on the gui before the first touch operation is not finished, place a virtual defense prop on the gui based on touch information of the second touch operation and position information of the first virtual character, so as to block an attack operation on the first virtual character. According to the embodiment of the application, when a player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebounding to achieve the defending operation, so that the situation that the player is interrupted when the player controls the virtual character to conduct the attack accumulation is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency is improved.
Correspondingly, the embodiment of the application also provides a computer device, which can be a terminal or a server, wherein the terminal can 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. Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 11. The computer device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer readable storage media, and a computer program stored on the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. 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.
Processor 301 is a control center of computer device 300 and utilizes various interfaces and lines to connect various portions of the overall computer device 300, and to perform various functions of computer device 300 and process data by running or loading software programs and/or modules stored in memory 302 and invoking data stored in memory 302, thereby performing overall monitoring of computer device 300.
In the embodiment of the present application, the processor 301 in the computer device 300 loads the instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions:
responding to a first touch operation for the game attack control, and controlling the first virtual character to enter a game state corresponding to the game attack control;
and responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defense props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character.
In an embodiment, the responding to the second touch operation of the graphical user interface before the first touch operation is not finished, placing a virtual defending prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character to block attack operation of the first virtual character includes:
Determining a touch initial position of the sliding operation according to the sliding operation of the graphical user interface before the first touch operation is not finished;
when the sliding operation is detected to be finished, determining a touch control finishing position of the sliding operation;
determining a target defense direction of the virtual defense prop based on the touch initial position and the touch end position;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
In an embodiment, after determining the touch initial position of the sliding operation for the graphical user interface in response to the sliding operation of the graphical user interface before the first touch operation is not ended, the method further includes:
determining a first defending direction of a virtual defending prop based on the touch initial position and the first staying position in response to the first staying position of the sliding operation;
determining a target placement position based on the display position of the first virtual character and a preset distance;
Displaying a prop preview identifier of the virtual defense prop on the graphical user interface based on the first defending direction and the target placement position, wherein the prop preview identifier is used for indicating the placement position of the virtual defense prop and the direction of defensable attack operation.
In an embodiment, after displaying the prop preview identification of the virtual defensive prop on the graphical user interface based on the first defensive direction and the target placement position, further comprising:
determining a second defending direction of the virtual defending prop based on the touch initial position and the second staying position in response to the second staying position of the sliding operation;
and updating the prop preview identifier based on the second defending direction so as to display the updated prop preview identifier on the graphical user interface, wherein the updated prop preview identifier is used for defending attack operation from the second defending direction.
In an embodiment, the responding to the second touch operation of the graphical user interface before the first touch operation is not finished, placing a virtual defending prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character to block attack operation of the first virtual character includes:
And responding to a second touch operation of a second virtual character on the graphical user interface before the first touch operation is not finished, and placing the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation so as to block attack operation on the first virtual character.
In an embodiment, the positioning the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation to block the attack operation on the first virtual character includes:
determining a target defending direction based on the position information of the second virtual character and the position information of the first virtual character;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
when the virtual defense prop receives the attack operation of the second virtual character, the game attack is bounced based on an initial attack path of the game attack corresponding to the attack operation, so that the game attack is bounced according to the initial attack path.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
when the virtual defense prop receives the attack operation of the second virtual character, rebound operation is carried out on the attack operation based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop.
In an embodiment, the performing, based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop, the bounce operation on the attack operation includes:
determining a target rebound angle of the game attack based on the contact point of the game attack and the virtual defense prop;
And performing rebound operation on the game attack based on the target rebound angle.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
and canceling the display of the virtual defense prop on the graphical user interface when the display time of the virtual defense prop on the graphical user interface exceeds a specified time.
In an embodiment, the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control includes:
and responding to a first touch operation aiming at the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment.
In an embodiment, the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control includes:
responding to long-press operation of the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment;
And when the long press operation is detected to be finished, controlling the first virtual character to release the target game poster.
In an embodiment, the graphical user interface has a directional control displayed thereon, the method further comprising:
when the first touch operation is detected to be finished, controlling the first virtual character to exit the game state corresponding to the game attack control;
and controlling the first virtual character to move in the virtual scene in response to a third touch operation for the direction control.
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. 11, the computer device 300 further includes: a touch display 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 11 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 303 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 303 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 301, and can receive and execute commands sent from the processor 301. 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 301 to determine the type of touch event, and the processor 301 then provides a corresponding visual output on the display panel in accordance with 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 303 to implement the 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-sensitive display 303 may also implement an input function as part of the input unit 306.
In the present embodiment, a graphical user interface is generated on touch display 303 by processor 301 executing a gaming application. The touch display 303 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The radio frequency circuitry 304 may be used to transceive radio frequency signals to establish wireless communications with a network device or other computer device via wireless communications.
The audio circuit 305 may be used to provide an audio interface between a user and a computer device through a speaker, microphone. The audio circuit 305 may transmit the received electrical signal after audio data conversion 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 305 and converted into audio data, which are processed by the audio data output processor 301 for transmission to, for example, another computer device via the radio frequency circuit 304, or which are output to the memory 302 for further processing. The audio circuit 305 may also include an ear bud jack to provide communication of the peripheral ear bud with the computer device.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 307 is used to power the various components of the computer device 300. Alternatively, the power supply 307 may be logically connected to the processor 301 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 307 may also include one or more of any components, such as 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. 11, the computer device 300 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, in the computer device provided in this embodiment, the first virtual character is controlled to enter the game state corresponding to the game attack control by responding to the first touch operation for the game attack control; and then, responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defending props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character. According to the embodiment of the application, when a player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebounding to achieve the defending operation, so that the situation that the player is interrupted when the player controls the virtual character to conduct the attack accumulation is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency is improved.
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 game interaction methods provided by embodiments of the present application. For example, the computer program may perform the steps of:
responding to a first touch operation for the game attack control, and controlling the first virtual character to enter a game state corresponding to the game attack control;
and responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defense props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character.
In an embodiment, the responding to the second touch operation of the graphical user interface before the first touch operation is not finished, placing a virtual defending prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character to block attack operation of the first virtual character includes:
Determining a touch initial position of the sliding operation according to the sliding operation of the graphical user interface before the first touch operation is not finished;
when the sliding operation is detected to be finished, determining a touch control finishing position of the sliding operation;
determining a target defense direction of the virtual defense prop based on the touch initial position and the touch end position;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
In an embodiment, after determining the touch initial position of the sliding operation for the graphical user interface in response to the sliding operation of the graphical user interface before the first touch operation is not ended, the method further includes:
determining a first defending direction of a virtual defending prop based on the touch initial position and the first staying position in response to the first staying position of the sliding operation;
determining a target placement position based on the display position of the first virtual character and a preset distance;
Displaying a prop preview identifier of the virtual defense prop on the graphical user interface based on the first defending direction and the target placement position, wherein the prop preview identifier is used for indicating the placement position of the virtual defense prop and the direction of defensable attack operation.
In an embodiment, after displaying the prop preview identification of the virtual defensive prop on the graphical user interface based on the first defensive direction and the target placement position, further comprising:
determining a second defending direction of the virtual defending prop based on the touch initial position and the second staying position in response to the second staying position of the sliding operation;
and updating the prop preview identifier based on the second defending direction so as to display the updated prop preview identifier on the graphical user interface, wherein the updated prop preview identifier is used for defending attack operation from the second defending direction.
In an embodiment, the responding to the second touch operation of the graphical user interface before the first touch operation is not finished, placing a virtual defending prop on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character to block attack operation of the first virtual character includes:
And responding to a second touch operation of a second virtual character on the graphical user interface before the first touch operation is not finished, and placing the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation so as to block attack operation on the first virtual character.
In an embodiment, the positioning the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation to block the attack operation on the first virtual character includes:
determining a target defending direction based on the position information of the second virtual character and the position information of the first virtual character;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
when the virtual defense prop receives the attack operation of the second virtual character, the game attack is bounced based on an initial attack path of the game attack corresponding to the attack operation, so that the game attack is bounced according to the initial attack path.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
when the virtual defense prop receives the attack operation of the second virtual character, rebound operation is carried out on the attack operation based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop.
In an embodiment, the performing, based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop, the bounce operation on the attack operation includes:
determining a target rebound angle of the game attack based on the contact point of the game attack and the virtual defense prop;
And performing rebound operation on the game attack based on the target rebound angle.
In an embodiment, after placing the virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character, the method further includes:
and canceling the display of the virtual defense prop on the graphical user interface when the display time of the virtual defense prop on the graphical user interface exceeds a specified time.
In an embodiment, the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control includes:
and responding to a first touch operation aiming at the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment.
In an embodiment, the controlling, in response to the first touch operation for the game attack control, the first virtual character to enter a game state corresponding to the game attack control includes:
responding to long-press operation of the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment;
And when the long press operation is detected to be finished, controlling the first virtual character to release the target game poster.
In an embodiment, the graphical user interface has a directional control displayed thereon, the method further comprising:
when the first touch operation is detected to be finished, controlling the first virtual character to exit the game state corresponding to the game attack control;
and controlling the first virtual character to move in the virtual scene in response to a third touch operation for the direction control.
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 of the computer program stored in the storage medium, the first virtual character can be controlled to enter a game state corresponding to the game attack control by responding to a first touch operation for the game attack control; and then, responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defending props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character. According to the embodiment of the application, when a player clicks the game attack control to control the virtual character to conduct the attack accumulation of the game attack, the virtual character can keep the attack accumulation and use the virtual defense prop to conduct the blocking or rebounding to achieve the defending operation, so that the situation that the player is interrupted when the player controls the virtual character to conduct the attack accumulation is avoided, the influence of the interruption of the accumulation attack on the fight experience fluency of the player is reduced, the fight experience fluency of the player in the game is ensured, and the game interaction efficiency is improved.
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.
The foregoing describes in detail a game interaction method, apparatus, computer device and computer readable storage medium provided in the embodiments of the present application, and specific examples are applied to illustrate principles and implementations of the present application, where the foregoing description of the embodiments is only for helping to understand the technical solution and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (16)

1. A game interaction method, characterized in that a graphical user interface is provided through a terminal device, and content displayed by the graphical user interface includes at least a part of virtual scenes, wherein the virtual scenes include a first virtual role controlled by the terminal device and a game attack control corresponding to the first virtual role, and the method includes:
Responding to a first touch operation for the game attack control, and controlling the first virtual character to enter a game state corresponding to the game attack control;
and responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing virtual defense props on the graphical user interface based on touch information of the second touch operation and position information of a first virtual character so as to block attack operation on the first virtual character.
2. The method of claim 1, wherein the placing a virtual defensive prop on the graphical user interface based on touch information of the second touch operation and location information of a first virtual character to block an attack operation on the first virtual character in response to a second touch operation on the graphical user interface before the first touch operation is not ended comprises:
determining a touch initial position of the sliding operation according to the sliding operation of the graphical user interface before the first touch operation is not finished;
when the sliding operation is detected to be finished, determining a touch control finishing position of the sliding operation;
Determining a target defense direction of the virtual defense prop based on the touch initial position and the touch end position;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
3. The method of claim 2, wherein after determining a touch initial position of the sliding operation for the graphical user interface in response to the sliding operation for the graphical user interface before the first touch operation is not ended, further comprising:
determining a first defending direction of a virtual defending prop based on the touch initial position and the first staying position in response to the first staying position of the sliding operation;
determining a target placement position based on the display position of the first virtual character and a preset distance;
displaying a prop preview identifier of the virtual defense prop on the graphical user interface based on the first defending direction and the target placement position, wherein the prop preview identifier is used for indicating the placement position of the virtual defense prop and the direction of defensable attack operation.
4. The method of claim 3, further comprising, after displaying a prop preview identification of a virtual defensive prop on the graphical user interface based on the first defensive direction and the target placement position:
determining a second defending direction of the virtual defending prop based on the touch initial position and the second staying position in response to the second staying position of the sliding operation;
and updating the prop preview identifier based on the second defending direction so as to display the updated prop preview identifier on the graphical user interface, wherein the updated prop preview identifier is used for defending attack operation from the second defending direction.
5. The method of claim 1, wherein the placing a virtual defensive prop on the graphical user interface based on touch information of the second touch operation and location information of a first virtual character to block an attack operation on the first virtual character in response to a second touch operation on the graphical user interface before the first touch operation is not ended comprises:
and responding to a second touch operation of a second virtual character on the graphical user interface before the first touch operation is not finished, and placing the virtual defense prop on the graphical user interface based on the position information of the second virtual character and the position information of the first virtual character determined by the second touch operation so as to block attack operation on the first virtual character.
6. The method of claim 5, wherein the placing the virtual defensive prop on the graphical user interface based on the determined location information of the second virtual character and the determined location information of the first virtual character to block attack operations on the first virtual character comprises:
determining a target defending direction based on the position information of the second virtual character and the position information of the first virtual character;
determining a target placement position based on the display position of the first virtual character and a preset distance;
and placing the virtual defense prop on the graphical user interface based on the target defense direction and the target placement position, wherein the virtual defense prop is used for defending attack operation from the target defense direction.
7. The method of claim 1, further comprising, after placing a virtual defensive prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character:
when the virtual defense prop receives the attack operation of the second virtual character, the game attack is bounced based on an initial attack path of the game attack corresponding to the attack operation, so that the game attack is bounced according to the initial attack path.
8. The method of claim 1, further comprising, after placing a virtual defensive prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character:
when the virtual defense prop receives the attack operation of the second virtual character, rebound operation is carried out on the attack operation based on the contact point of the game attack corresponding to the attack operation and the virtual defense prop.
9. The method of claim 8, wherein the bouncing the attack operation based on the point of contact of the game attack corresponding to the attack operation with the virtual defensive prop comprises:
determining a target rebound angle of the game attack based on the contact point of the game attack and the virtual defense prop;
and performing rebound operation on the game attack based on the target rebound angle.
10. The method of any of claims 1 to 9, further comprising, after placing a virtual defensive prop on the graphical user interface based on touch information of the second touch operation and location information of a first virtual character:
And canceling the display of the virtual defense prop on the graphical user interface when the display time of the virtual defense prop on the graphical user interface exceeds a specified time.
11. The method of claim 1, wherein the controlling the first virtual character to enter the game state corresponding to the game attack control in response to the first touch operation for the game attack control comprises:
and responding to a first touch operation aiming at the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment.
12. The method of claim 11, wherein the controlling the first virtual character to enter the game state corresponding to the game attack control in response to the first touch operation for the game attack control comprises:
responding to long-press operation of the game attack control, determining a target game recruitment corresponding to the game attack control, and controlling the first virtual character to enter a power accumulating state of the target game recruitment;
and when the long press operation is detected to be finished, controlling the first virtual character to release the target game poster.
13. The method of claim 1, wherein the graphical user interface has a directional control displayed thereon, the method further comprising:
when the first touch operation is detected to be finished, controlling the first virtual character to exit the game state corresponding to the game attack control;
and controlling the first virtual character to move in the virtual scene in response to a third touch operation for the direction control.
14. A game interaction device, comprising:
the first response unit is used for responding to a first touch operation aiming at the game attack control and controlling the first virtual character to enter a game state corresponding to the game attack control;
and the first response unit is used for responding to a second touch operation aiming at the graphical user interface before the first touch operation is not finished, and placing a virtual defense prop on the graphical user interface based on the touch information of the second touch operation and the position information of the first virtual character so as to block attack operation on the first virtual character.
15. A computer device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps in the game interaction method of any of claims 1 to 13.
16. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the game interaction method of any of claims 1 to 13.
CN202311661517.0A 2023-12-05 2023-12-05 Game interaction method, game interaction device, computer equipment and computer readable storage medium Pending CN117643723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311661517.0A CN117643723A (en) 2023-12-05 2023-12-05 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311661517.0A CN117643723A (en) 2023-12-05 2023-12-05 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117643723A true CN117643723A (en) 2024-03-05

Family

ID=90046074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311661517.0A Pending CN117643723A (en) 2023-12-05 2023-12-05 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117643723A (en)

Similar Documents

Publication Publication Date Title
CN113101652A (en) Information display method and device, computer equipment and storage medium
CN113082688B (en) Method and device for controlling virtual character in game, storage medium and equipment
TWI793838B (en) Method, device, apparatus, medium and product for selecting interactive mode for virtual object
CN113426124B (en) Display control method and device in game, storage medium and computer equipment
WO2023005234A1 (en) Virtual resource delivery control method and apparatus, computer device, and storage medium
CN112402971B (en) Virtual object control method, device, computer equipment and storage medium
WO2024011894A1 (en) Virtual-object control method and apparatus, and storage medium and computer device
CN115068947A (en) Game interaction method and device, computer equipment and computer-readable storage medium
CN115212572A (en) Control method and device of game props, computer equipment and storage medium
CN115999153A (en) Virtual character control method and device, storage medium and terminal equipment
CN114159789A (en) Game interaction method and device, computer equipment and storage medium
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
TW202231324A (en) Virtual object control method, device, apparatus, storage medium and program product
CN116139483A (en) Game function control method, game function control device, storage medium and computer equipment
CN117643723A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116850594A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN117861213A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN116943200A (en) Virtual character control method, device, computer equipment and storage medium
CN116099199A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN117482523A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN117018617A (en) Game control method, game control device, computer equipment and storage medium
US20240131434A1 (en) Method and apparatus for controlling put of virtual resource, computer device, and storage medium
CN117462949A (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