Game interaction method and device, storage medium and electronic equipment
By combining attack operations and virtual camera adjustments into the same virtual control in a multiplayer online tactical competitive game, the problem of high operation complexity is solved, the game experience and fun is improved, and the integrity of the combo effect is ensured.
Patent Information
- Application Number
- CN202411281395.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-27
AI Technical Summary
In multiplayer online tactical competitive games, players need to control the virtual camera lens and input attack operations at the same time, resulting in high operation complexity, increasing the user's operation burden and game threshold, and the adjustment of virtual lenses can easily destroy continuous attack operations and affecting the game experience .
By combining attack operations and virtual camera adjustments into the same virtual control in the graphical user interface, different touch operations can achieve concurrent requirements for attack actions and camera adjustments, avoiding disrupting continuous attack operations.
It greatly reduces the operation complexity of players, simplifies the operation process, improves the game experience and fun, and ensures the integrity of the combo effect.
Smart Images

Figure CN119185926A_ABST
Abstract
Description
Background Art
[0002] In some mobile action games, such as Multiplayer Online Battle Arena (MOBA), players can use attack type controls provided on the graphical user interface to control virtual objects and adjust the camera lens to observe the surrounding environment. To ensure that each attack lands as accurately as possible on the target, players often need to adjust the virtual perspective while executing the attack.
[0003] However, the above-mentioned attack operation and the adjustment operation of the virtual perspective are both implemented using the same finger. Therefore, in actual operation, it is almost impossible to achieve simultaneous operation. Instead, the player's own hand speed is required to quickly switch between the two input operations of controlling the camera lens and inputting the attack, which leads to the high complexity of the operation of adjusting the attack direction according to the position of the object to be attacked, increasing the user's operating burden. Summary of the Invention
[0004] The present disclosure provides a game interaction method, a game interaction device, a computer storage medium, and an electronic device, thereby reducing the operational complexity of players who need to simultaneously meet the technical requirements of controlling the adjustment operation of the virtual camera lens and the parallel triggering of the input attack operation, thereby reducing the player's operational burden and improving the player's gaming experience.
[0005] In a first aspect, an embodiment of the present disclosure provides a game interaction method, which includes at least a portion of a game scene and an attack control captured by a virtual camera on a graphical user interface provided by a terminal device, and the game scene includes a controlled virtual character controlled by the terminal device, including: in response to a first touch operation on the attack control, controlling the controlled virtual character to perform an attack action; in response to a second touch operation on the attack control, controlling the controlled virtual character to perform an attack action; after controlling the controlled virtual character to perform the attack action or during the execution of the attack action, the contact point in response to the second touch operation moves from a first position to a second position in the graphical user interface, and adjusting the virtual camera to update the game scene displayed on the graphical user interface.
[0006] In a second aspect, an embodiment of the present disclosure provides a game interaction device, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes at least a portion of a game scene and an attack control captured by a virtual camera, and the game scene includes a controlled virtual character controlled by the terminal device, including: a first action control module, configured to execute a first touch operation on the attack control to control the controlled virtual character to execute an attack action; a second action control module, configured to execute a second touch operation on the attack control to control the controlled virtual character to execute an attack action; and a camera adjustment module, configured to move the contact point in response to the second touch operation from a first position to a second position in the graphical user interface after controlling the controlled virtual character to execute the attack action or during the execution of the attack action, and adjust the virtual camera to update the game scene displayed on the graphical user interface.
[0007] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned game interaction method when executed by a processor.
[0008] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned game interaction method by executing the executable instructions.
[0009] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which is executed by a processor to implement the above game interaction method.
[0010] The technical solution disclosed in this disclosure has the following beneficial effects:
[0011] The above-mentioned game interaction method controls a controlled virtual character to perform an attack action in response to a first touch operation on an attack control; controls the controlled virtual character to perform an attack action in response to a second touch operation on the attack control; and after or during the controlled virtual character's attack action, the touch point in response to the second touch operation moves from a first position to a second position in a graphical user interface, adjusting the virtual camera to update the game scene displayed on the graphical user interface. On the one hand, this method integrates the virtual camera perspective adjustment operation into the attack control. This allows not only controlling the controlled virtual character to perform an attack action independently through the first touch operation, but also controlling the controlled virtual character to perform an attack action while adjusting the virtual camera simultaneously through the second touch operation, thereby meeting the requirements of concurrent operation of the two aforementioned operations. This method solves the technical problem of related technical solutions that rely on the player to frequently switch between adjusting the virtual perspective and performing attack operations separately to achieve the effect of parallel triggering, resulting in high operational complexity and increased operational burden for the player. This method can significantly reduce the complexity of the player's operation and simplify the player's operation. On the other hand, this method does not interrupt the player's continuous attack operation during the process of adjusting the virtual camera through the second touch operation, thereby increasing the fun of the game and further improving the player's gaming experience.
[0012] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, serve to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and it is possible for a person skilled in the art to derive other drawings based on these drawings without inventive effort.
[0014] Figure 1 A schematic diagram schematically illustrates an application scenario of an existing game interaction method in this exemplary embodiment;
[0015] Figure 2 Schematically illustrates a system architecture diagram of a game interaction system in this exemplary embodiment;
[0016] Figure 3 A flowchart schematically illustrates a game interaction method in this exemplary embodiment;
[0017] Figure 4 A schematic diagram schematically illustrates a method of displaying a first area on a graphical user interface in this exemplary embodiment;
[0018] Figure 5A A schematic diagram of a user interface before adjusting the viewing angle of a virtual camera based on a displayed first area in this exemplary embodiment is schematically shown;
[0019] Figure 5B A schematic diagram of a user interface after adjusting the viewing angle of a virtual camera based on a displayed first area in this exemplary embodiment is schematically shown;
[0020] Figure 5C A user interface diagram schematically illustrates a method of executing an attack action based on a displayed first area in this exemplary embodiment;
[0021] Figure 6 A schematic diagram of a user interface displaying a second area in this exemplary embodiment is schematically shown;
[0022] Figure 7 Schematically illustrating a user interface diagram displaying a third area in this exemplary embodiment;
[0023] Figure 8A Schematically illustrating another schematic diagram of displaying a first area on a graphical user interface in this exemplary embodiment;
[0024] Figure 8B A schematic diagram of another user interface after adjusting the viewing angle of the virtual camera based on the displayed first area in this exemplary embodiment is schematically shown;
[0025] Figure 9 Schematically shows a structural diagram of a game interaction device in this exemplary embodiment;
[0026] Figure 10 The following schematically shows a structural diagram of an electronic device in this exemplary embodiment. DETAILED DESCRIPTION
[0027] The exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete and the concepts of the exemplary embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0028] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0029] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to actual circumstances.
[0030] Related technical background:
[0031] In some online games, such as Multiplayer Online Battle Arena (MOBA), players can use attack type controls provided on a touch-sensitive graphical user interface to control virtual objects to execute corresponding attack operations. They can also adjust the virtual camera lens so that the player can control the virtual character to adjust the direction of the surrounding environment. However, during the game, the position of the target to be attacked changes in real time. In order to ensure that the player's attack is as accurate as possible during each attack, it is often necessary to control the virtual camera lens to adjust the player's attack direction while executing the attack operation.
[0032] It should be understood that the above-mentioned virtual perspective is a virtual camera perspective, which captures the game scene image through the virtual camera and displays it in the graphical user interface. Players can update and change the game scene image captured by the virtual camera by adjusting the virtual camera lens.
[0033] In order to facilitate the understanding of the relevant technical solutions, the following Figure 1 The relevant technical solutions are exemplified.
[0034] Figure 1 A schematic diagram of an application scenario of an existing game interaction method in this exemplary embodiment is shown schematically; Figure 1 As shown, the left area of the game scene contains a virtual joystick for controlling the movement of the virtual character, while the right area contains multiple functional controls, including at least a visual adjustment control 101 and an attack control 102. The player can adjust the virtual perspective using the visual adjustment control 101 and fire bullets using the attack control 102. In addition to adjusting the virtual perspective using the visual adjustment control 101, the player can also adjust the virtual perspective by directly sliding the game scene, which is not limited in any way in the present embodiment.
[0035] Depend on Figure 1 It can be seen that the attack operation and the adjustment operation of controlling the virtual perspective are usually achieved using the same finger (i.e. Figure 1 The application scenarios shown require operation with the right hand fingers. Therefore, in practice, simultaneous operation is almost impossible to achieve. It mainly depends on the player's own hand speed to quickly switch between the two input operations of controlling the camera lens and inputting attacks to achieve a near-synchronous triggering effect of the above two operations, thereby achieving the technical effect of adjusting the attack direction.
[0036] In general, the above-mentioned related technical solutions have at least the following technical problems:
[0037] On the one hand, the aforementioned related technical solutions require players to frequently switch between two control modes, resulting in a high level of complexity in adjusting the attack direction based on the target's position, which in turn increases the user's operational burden and raises the entry level to the game. On the other hand, in one game scenario, multiple clicks on the attack type control can trigger combo effects, which in turn trigger advanced attack effects with higher damage. However, this method can easily cause the adjustment of the virtual camera to disrupt the player's continuous attack operations, resulting in reduced attack effectiveness, significantly reducing the player's chances of winning the game, and thus affecting the player's gaming experience.
[0038] Taking the aforementioned issues into consideration, the exemplary embodiments of the present disclosure propose a game interaction method that combines attack operations and virtual lens adjustment operations into the same virtual control. This method allows for the separate triggering of the attack operation and the parallel triggering of the two input operations through different operating methods for the same attack control. This solves the technical problem of high operational complexity caused by the need for players to rely on their hand speed to quickly switch between controlling the camera lens and inputting attacks in related technical solutions, thereby significantly reducing the player's operational burden and the game's operational threshold. Furthermore, when the virtual perspective needs to be adjusted during the execution of an attack operation, this method achieves the operational requirements of adjusting the virtual camera's perspective through touch operations on the attack control, while avoiding disruption to the player's continuous attack operations, thereby not affecting the combo effects triggered by the player, and thus improving the player's gaming experience.
[0039] System Architecture :
[0040] In order to solve the above problems, the present disclosure proposes a game interaction method and device, which can be applied to Figure 2 In the system architecture of the exemplary application environment shown.
[0041] like Figure 2 As shown, the system architecture 200 may include a terminal device 201, a server 202, and a network 203. The terminal device 201 may be, for example, a mobile phone, a tablet computer (PAD), a laptop computer, a desktop computer, a smart TV, a smart car device, a smart wearable device, a smart TV, or an aircraft, and any other touch-screen networked device that carries a game application. The terminal device 201 may be installed with a game application and provide a graphical user interface. The graphical user interface may display game scenes corresponding to some game applications, and players may update the game scenes by adjusting the virtual perspective by controlling the camera lens, and trigger attack operations through attack controls. The game application involved in the embodiments of the present application may be a software client, or a client such as a web page or a mini-program. Accordingly, the server 202 is a server corresponding to the software, web page, mini-program, etc., and does not limit the specific type of the client.
[0042] Server 202 may be a backend server for the aforementioned game application, configured to provide corresponding backend services therefor, such as allocating game resources, storing game data, matching game situations between multiple terminal devices, and other services. Server 202 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms, but is not limited thereto.
[0043] The network 203 is a medium for providing a communication link between the terminal device 201 and the server 202. The network 203 may include various connection types, such as wired or wireless communication links or fiber optic cables. The terminal device 201 may be, for example, a smartphone, a personal digital assistant (PDA), a laptop computer, a server, a desktop computer, or any other computing device with network capabilities, but is not limited thereto.
[0044] It should be understood that Figure 2 The number of terminal devices, networks, and servers in the embodiment is merely illustrative. Depending on the implementation requirements, any number of terminal devices, networks, and servers may be provided. In addition, the game interaction method provided in the embodiment of the present disclosure may be executed on the server 202, and accordingly, the game interaction device is generally provided in the server 202. The game interaction method provided in the embodiment of the present disclosure may also be executed in the terminal device 201, and accordingly, the game interaction device may also be provided in the terminal device 201. The game interaction method provided in the embodiment of the present disclosure may also be partially executed in the server 202 and partially executed in the terminal device 201, and accordingly, some modules of the game interaction device may be provided in the server 202, and some modules may be provided in the terminal device 201. The embodiment of the present disclosure does not impose any special restrictions on this.
[0045] The server 202 and the terminal device 201 may each include one or more processors, memories, and interactive I / O (input / output) interfaces, etc. The memories of the server 202 and the terminal device 201 may also store program instructions required for execution in the game interaction method provided in the embodiments of the present disclosure. When these program instructions are executed by the processors, the game interaction method provided in the embodiments of the present disclosure can be implemented.
[0046] For example, in an exemplary embodiment, a user may play a game through one or more terminal devices in the terminal devices 201, and the server 202 provides corresponding game resources and services for the game running in the terminal devices 201. In response to a first touch operation on an attack control, the terminal device 201 controls the controlled virtual character to perform an attack action; in response to a second touch operation on the attack control, the terminal device 201 controls the controlled virtual character to perform an attack action; and after controlling the controlled virtual character to perform the attack action or during the execution of the attack action, the touch point in response to the second touch operation moves from a first position to a second position in the graphical user interface, and the virtual camera is adjusted to update the game scene displayed on the graphical user interface.
[0047] In one embodiment of the present disclosure, the game interaction method can be run on a local terminal device or a server. When the game interaction method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0048] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game interaction method are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0049] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0050] In a possible implementation, an embodiment of the present invention provides a game interaction method, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above.
[0051] However, it is easy for those skilled in the art to understand that the above application scenarios are only for example and are not limited to this exemplary embodiment.
[0052] Exemplary Methods :
[0053] After understanding one of the system architecture diagrams of the embodiments of the present disclosure, the following uses the aforementioned terminal device as the execution subject and illustrates the application of the game interaction method to the aforementioned terminal device. The terminal device can be the local terminal device mentioned above, or it can be a client device in the aforementioned cloud interaction system. A graphical user interface is provided by the terminal device, and the graphical user interface includes at least a portion of the game scene and attack controls captured by a virtual camera, and the game scene includes a controlled virtual character controlled by the terminal device. Figure 3 A flowchart schematically illustrates a method for game interaction in this exemplary embodiment, see Figure 3 The game interaction method provided by the embodiment of the present disclosure includes the following steps 301 to 303:
[0054] Step 301: In response to a first touch operation on an attack control, control a controlled virtual character to perform an attack action.
[0055] Step 302: In response to a second touch operation on the attack control, control the controlled virtual character to perform an attack action.
[0056] Step 303: After the controlled virtual character performs an attack action or during the attack action, the touch point of the second touch operation moves from the first position to the second position in the graphical user interface, and the virtual camera is adjusted to update the game scene displayed on the graphical user interface.
[0057] exist Figure 3In the provided technical solution, on the one hand, the method combines the adjustment operation of the virtual camera angle of view into the attack control, which can not only control the controlled virtual character to perform the attack action alone through the first touch operation, but also control the controlled virtual character to perform the attack action through the second touch operation while adjusting the virtual camera to meet the concurrency requirements of the above two operations. This method solves the technical problem that the related technical solutions can only rely on the player to perform high-frequency switching between the adjustment of the virtual angle of view and the attack operation respectively to approximate the effect of parallel triggering, resulting in high operational complexity, thereby increasing the player's operating burden and raising the threshold of game operation. It can achieve the technical effect of significantly reducing the complexity of the player's operation, simplifying the player's operation and reducing the player's operating burden. On the other hand, in the process of adjusting the virtual camera through the second touch operation, the method does not interrupt the player's continuous attack operation, thereby increasing the fun of the game and further improving the player's gaming experience.
[0058] The following will be combined with specific embodiments to Figure 3 The specific implementation of each step in the embodiment shown is described in detail:
[0059] In step 301, in response to a first touch operation on an attack control, the controlled virtual character is controlled to perform an attack action.
[0060] Typically, an attack control is used to trigger an attack skill, causing the controlled virtual object to perform an attack action. In this embodiment, the terminal device controls the controlled virtual character to perform the corresponding attack action in response to a first touch operation on the attack control. The first touch operation can be an operation that does not move the controlled virtual character after the attack action is performed, and the first touch operation triggered on the attack control does not trigger any adjustment to the virtual camera. For example, the first touch operation is a click operation.
[0061] The attack control in the graphical user interface can be one or more based on the pre-configuration of the game application, and can be determined according to the specific game scene requirements. Figure 1 In the shooting game scene shown, the attack control is the bullet shooting control 102; in the hero competition game scene, a virtual character can be configured with multiple attack controls. For example, a virtual character of the mage profession is configured with multiple different function controls to trigger different game skills to cause different damage effects to the attack target, such as stun effects, cooling effects, killing effects, etc.
[0062] For example, when controlling the controlled virtual character to perform an attack operation in the above step 301, the attack skill can be released to the enemy virtual character when there is an enemy virtual character within the field of view of the controlled virtual character; or the attack skill can be released based on the direction of the controlled virtual character when there is no enemy virtual character within the field of view of the controlled virtual character. The embodiments of the present disclosure do not impose any special restrictions on this.
[0063] In this embodiment, the terminal device controls only the controlled virtual character to perform an attack action in response to the user's first touch operation on the attack control. For example, if the first touch operation is a click operation, the player controls the controlled virtual character to perform the corresponding attack action by clicking the attack control.
[0064] In addition, the terminal device may also control the controlled virtual character to perform an attack action in response to the second touch operation on the attack control in step 302. And in step 303, after the controlled virtual character performs the attack action or during the attack action, the virtual camera may be adjusted in response to the touch point of the second touch operation moving from the first position to the second position in the graphical user interface to update the game scene displayed on the graphical user interface.
[0065] Among them, in step 301, in response to the first touch operation on the attack control, the attack operation of controlling the controlled virtual character to perform the attack action can be the first attack action. In step 302, in response to the second touch operation on the attack control, the attack action performed by the controlled virtual character can be the second attack action. The first attack action and the second attack action can be the same attack action or different attack actions. The embodiments of the present disclosure do not impose any special restrictions on this.
[0066] The virtual camera is used by the terminal device to capture the game scene and display the captured game scene images in the terminal device's graphical user interface. By adjusting the virtual camera's viewing angle, the game scene images captured by the virtual camera can be updated and transformed to facilitate subsequent attack operations.
[0067] For example, during a game battle, the game scene image captured by the virtual camera is within the field of view of the controlled virtual character, and the game scene image contains an enemy virtual character. If the enemy virtual character moves to the back of the controlled virtual character, placing it outside the game scene image captured by the virtual camera, in order to continue attacking the enemy virtual character or prevent attacks from other enemy virtual characters, the virtual camera's perspective needs to be adjusted so that the enemy virtual character reappears within the field of view of the controlled virtual character.
[0068] When adjusting the virtual camera, the following embodiments may be used for illustration:
[0069] In an optional embodiment of the present disclosure, in order to conform to the player's operational cognition, when adjusting the virtual camera, the terminal device can move the contact point of the second touch operation from the first position to the second position in the graphical user interface in response to the second touch operation, and adjust the virtual camera based on the relative direction and relative distance between the second position and the first position, thereby updating the game scene it captures.
[0070] Exemplarily, the relative direction between the second position and the first position may be, for example, that the second position is on the right side relative to the first position, then the virtual camera is controlled to adjust to the right; the specific adjustment parameters may be determined based on the relative distance between the second position and the first position.
[0071] In another embodiment, the player can also adjust the virtual camera based on the real-time direction and real-time distance between the first position and the second position. For example, when the player moves from the first position to the left and then to the right, the player can first control the virtual camera to adjust to the left and then to the right.
[0072] Through the above embodiments, the adjustment operation process of the virtual camera can be in line with the player's operation cognition, thereby further reducing the player's operation pressure and operation burden.
[0073] After understanding the method for adjusting the virtual camera through the above embodiments, wherein the second touch operation is a slide operation, a long press operation, or any other type of operation, the second touch operation can trigger an attack operation, or trigger an attack operation and a virtual camera adjustment operation. The following will illustrate the second touch operation and the process of implementing the above steps 302 and 303 based on the second touch operation with reference to specific embodiments.
[0074] Example 1:
[0075] In an optional embodiment of the present disclosure, when executing step 302, in response to the second touch operation on the attack control, a first area is determined based on a response area of the attack control, and the first area is displayed in the graphical user interface.
[0076] The first position is any position within the first area. The first area can be any shape, such as any regular or irregular shape, and the area of the first area is determined based on the response area of the attack control. For example, if the attack control is a circular area with a radius of 10 mm, the generated first area is also a circular area, and the area of the first area can be the same as the circular area of the attack control, or the area of the first area can be larger than the circular area of the attack control. This disclosure does not impose any specific limitations on this.
[0077] For example, when the terminal device responds to the second touch operation triggered by the user on the attack control, the first area can be determined based on the response area of the attack control to be displayed in the graphical user interface. Figure 4 、 Figure 5A and Figure 5B The above-mentioned embodiment 1 is described as an example.
[0078] Figure 4 Schematically shows a schematic diagram of displaying a first area on a graphical user interface in this exemplary embodiment. Figure 4 As shown, a graphical user interface provides an attack control 401. A player can perform a first touch operation on attack control 401 to control a controlled virtual object to perform a shooting action (i.e., an attack action). The player can also perform a second touch operation on attack control 401 to perform a shooting action. Based on the response area of the attack control, a first area is determined and displayed in the graphical user interface. The first area can be the area occupied by attack control 401 or a first area 403, and the area of first area 403 is larger than the area occupied by attack control 401. The first position 402 where the touch point of the second touch operation is located can be either the first area occupied by attack control 401 or the first area 403.
[0079] Based on the above embodiment, after controlling the controlled virtual character to perform an attack action and displaying the first area in the graphical user interface, the player can achieve different control effects through the following different second touch operations.
[0080] For example, the first touch operation is a click operation, and the second touch operation includes a slide operation:
[0081] In an optional embodiment of the present disclosure, when the terminal device adjusts the virtual camera in response to the contact point of the second touch operation moving from the first position to the second position in the graphical user interface when executing step 302, the virtual camera is adjusted in response to the contact point of the second touch operation moving from the first position in the first area to the second position outside the first area.
[0082] Exemplarily, the adjustment operation of the virtual camera may be triggered when the contact point of the second touch operation is moved from a first position in the first area to a second position outside the first area.
[0083] The following will be combined Figure 5A 、 Figure 5B , to exemplarily illustrate the process of adjusting the virtual camera for the first area displayed on the graphical user interface.
[0084] Figure 5A 、 Figure 5BSchematically illustrates a user interface diagram for adjusting the perspective of a virtual camera before and after the first area displayed in this exemplary embodiment, with reference to Figure 5A As shown, the current game scene captured by the virtual camera corresponding to the initial virtual perspective includes, in addition to the controlled virtual character, a virtual character 501 and a virtual character 502. Assuming that the positions of the virtual character 501 and the virtual character 502 remain unchanged, taking the response area of the attack control as the first area 403 as an example, when the contact point of the terminal device moves from the first position 402 in the first area 403 to the second position 503 outside the first area 403 in response to the second touch operation, the virtual camera can be adjusted. When adjusting the virtual camera, the virtual camera can be adjusted according to the moving distance and moving direction from the first position 402 in the first area to the second position 503 outside the first area. For example Figure 5B As shown, the moving direction between the first position 402 and the second position 503 is rightward, and the corresponding virtual camera's viewing angle will also be adjusted to the right. Figure 5A The virtual character 501 is adjusted to outside the field of view of the controlled virtual character, and the position of the virtual character 502 also moves relative to the right direction of the virtual camera within the field of view, that is, the virtual character 502 moves to the left.
[0085] exist Figure 4 as well as Figure 5A 、 Figure 5B In the illustrated embodiment, players can trigger virtual camera adjustments after triggering an attack by sliding from within the attack control's response area to outside of it. This reduces the sensitivity of virtual camera adjustments and prevents player errors. Furthermore, this method integrates both virtual camera adjustments and attack control of the controlled virtual character within the attack control, triggering them based on different touch gestures. This not only saves graphical user interface space but also reduces operational complexity for players.
[0086] In another optional embodiment of the present disclosure, in response to the second touch operation sliding in the first area and ending in the first area, the controlled virtual character is controlled to perform an attack action.
[0087] The ending in the first area indicates that the terminal device receives an instruction to end the sliding operation within the first area. In this embodiment, when the player performs a second touch operation, the touch point of the second touch operation moves from the first position in the first area to the second position in the first area, and only the controlled virtual character is controlled to perform an attack action.
[0088] Figure 5C Schematically illustrates a user interface diagram of executing an attack action based on a displayed first area in this exemplary embodiment. Figure 5CAs shown, when the terminal device moves from the first position 402 in the first area to the second position 503 in the first area in response to the touch point of the second touch operation, and ends at the second position 503 in the first area, the controlled virtual character is controlled to perform an attack action, for example, the controlled virtual character is controlled to perform a shooting action at the virtual character 502.
[0089] For example, the first touch operation is a click operation and the second touch operation is a long press operation:
[0090] In an optional embodiment of the present disclosure, when executing the above-mentioned step 302 of controlling the controlled virtual character to perform an attack action in response to a second touch operation on the attack control, the controlled virtual character is controlled to perform an attack action in response to a long press operation on the attack control.
[0091] In this embodiment, the long press operation is equivalent to Figure 5C The first position 402 where the contact point of the second touch operation shown in FIG. 4 is located coincides with the second position. At this time, the second position is within the first area, thereby achieving control of the controlled virtual character to perform an attack action.
[0092] Through the above embodiment, without affecting the original execution of the corresponding attack action by triggering the attack control separately, taking into account the differences in triggering positions when different players trigger the attack operation, a response area of the attack control is established, so that the second touch operation performed within the response area of the attack control is regarded as the effect of separately controlling the controlled virtual character to perform the attack action. Only when the terminal device moves from within the response area to outside the response area in response to the second touch operation will the adjustment of the virtual camera be triggered, thereby reducing the player's misoperation.
[0093] For the above-mentioned embodiment 1, the response area of the virtual camera adjustment operation is all areas in the graphical user interface except the first area. In this regard, under the above-mentioned embodiment, when performing the adjustment of the virtual camera angle of view, the player can continuously perform the sliding operation to continuously adjust the virtual camera angle of view according to the sliding operation. For example, taking the game scene within the field of view of the controlled virtual object as the game scene under the virtual camera angle of view as an example, the process of adjusting the virtual camera angle of view is equivalent to controlling the controlled virtual object to rotate, and the continuous adjustment of the virtual camera angle of view is equivalent to controlling the controlled virtual object to rotate continuously. Figure 5B , the player can control the controlled virtual object to rotate right continuously by sliding right. In this embodiment, repeated virtual perspectives are inevitably generated.
[0094] In this regard, the present application also provides another embodiment, that is, displaying a second area in the graphical user interface to limit the response area of the adjustment operation of the virtual camera to the second area.
[0095] The second position is located in the second area.
[0096] For example, the virtual camera may be adjusted when the touch point of the terminal device moves from a first position in the first area to a second position in response to the second touch operation, wherein the second position is outside the first area and in the second area.
[0097] The following will be combined Figure 6 The second area displayed by the graphical user interface is exemplarily described. Figure 6 Schematically shows a user interface diagram showing the second area in this exemplary embodiment; Figure 6 As shown, a second area 601 is generated in the graphical user interface outside the first area 403, so that the terminal device moves the touch point in response to the second touch operation from the first position 402 in the first area 403 to the second position 503 in the second area, thereby triggering the adjustment operation of the virtual camera. It can be seen that in this embodiment, the response area for the adjustment operation of the virtual camera is in the second area.
[0098] Based on this embodiment, when adjusting the virtual camera, the virtual camera may be adjusted based on the moving distance and moving direction of the touch point of the second touch operation in the second area.
[0099] For example, a second area can be used to limit the amount of game scenes captured from different virtual perspectives during the adjustment process of the virtual camera. For example, the game scene within the field of view of the controlled virtual object is the game scene from the virtual camera's perspective. Adjusting the virtual camera's perspective is equivalent to controlling the controlled virtual object to rotate. The fact that the perspectives within the virtual camera's field of view are non-overlapping indicates that only the controlled virtual object can be controlled to rotate 360° to cover the game scene from all virtual camera perspectives. By displaying the second area, meaningless adjustment actions can be avoided, further improving the efficiency of virtual camera adjustment.
[0100] Furthermore, in order to avoid misoperation, in an optional embodiment of the present disclosure, a third area is displayed in the graphical user interface, wherein the third area is located between the first area and the second area.
[0101] exist Figure 6 Based on the first and second areas shown, Figure 7 Schematically shows a user interface diagram showing the third area in this exemplary embodiment. Figure 7 It can be seen that the third area 701 is located between the first area 403 and the second area 601 .
[0102] In response to the second touch operation on the attack control in step 302, when the controlled virtual character is controlled to perform an attack action, the controlled virtual character is controlled to perform the attack action in response to the second touch operation moving from the first area to the third area and ending in the third area. If the second area ends, the virtual camera is adjusted.
[0103] Example 2:
[0104] In an optional embodiment of the present disclosure, the terminal device generates a first area in response to a second touch operation on the attack control according to a contact area of the second touch operation on the graphical user interface, so as to display the first area in the graphical user interface.
[0105] In this embodiment, the first area is an area generated by a contact area with the graphical user interface and displayed on the graphical user interface when the second touch operation graphic is executed.
[0106] by Figure 8A For example, Figure 8A Another schematic diagram of displaying the first area on the graphical user interface in this exemplary embodiment is schematically shown. Figure 8A As shown, when the player performs the second touch operation on the attack control 401 with a finger, the contact area between the player's finger and the graphical user interface can be determined as the first area 403, wherein the area occupied by the attack control 401 can also be identified as the response area of the attack control 401, and the first area 403 is also the first position of the contact point of the second touch operation.
[0107] In the above Figure 8A Based on the embodiment shown, when the terminal device executes step 303 to adjust the virtual camera in response to the contact point of the second touch operation moving from the first position to the second position in the graphical user interface, in an optional embodiment of the present disclosure, the virtual camera is adjusted in response to the contact point of the second touch operation moving from the first area to the second position outside the first area.
[0108] Among them, the first position is Figure 8A The location of the first area 601 is shown in FIG.
[0109] Exemplarily, when the terminal device moves the touch point from the first area to the second position outside the first area in response to the second touch operation, an adjustment operation of the virtual camera may be triggered.
[0110] by Figure 8A The game scene captured by the virtual camera is taken as an example in which the touch point of the second touch operation is at the first position 403. In addition to the controlled virtual character, the game scene also includes virtual characters 501 and 502. Figure 8BAs shown, when the contact point in response to the second touch operation moves from the first area to the second position outside the first area on the right, the virtual camera is controlled to move to the right to capture the game scene on the right, and the corresponding virtual character 501 disappears in the adjusted game scene. The position of the virtual character 502 also undergoes relative movement, that is, the effect of moving to the left.
[0111] Apart from Figure 8B In addition to the second position 503 shown, it can also be outside the attack control response area 401. Therefore, it can be seen that in this embodiment, the adjustment operation of the virtual camera is triggered regardless of the response area of the attack control. The player can trigger the adjustment operation of the virtual camera by simply performing a sliding operation, thereby improving the player's sensitivity in adjusting the virtual camera.
[0112] In addition to the above embodiments, the first touch operation may be a click operation, and the second touch operation may include a first sliding operation and a second sliding operation.
[0113] When executing step 302 and responding to the second touch operation on the attack control to control the controlled virtual character to perform the attack action, the controlled virtual character is controlled to perform the attack action in response to the first sliding operation on the attack control; on this basis, executing step 303 and responding to the contact point of the second touch operation moving from the first position to the second position in the graphical user interface, when adjusting the virtual camera, the virtual camera can be adjusted in response to the second sliding operation continuous with the first sliding operation.
[0114] The end point of the first sliding operation and the starting point of the second sliding operation are the first position, and the end point of the second sliding operation is the second position.
[0115] In this embodiment, the player can determine the triggered operation through the first sliding operation and the second sliding operation included in the second touch operation, that is, when the player performs the first sliding operation on the attack control, controls the controlled virtual character to perform the attack action, and continuously performs the second sliding operation after the first sliding operation to implement the adjustment operation of the virtual camera, thereby realizing the simultaneous triggering effect of the attack action and the adjustment operation.
[0116] Furthermore, the second region and / or the third region can be generated based on the first region shown in Example 2. For details, please refer to the method based on Figure 8A The first area 403 shown generates a similar Figure 6 The second area, Figure 7 The third area shown in the figure then implements the corresponding action through corresponding operations, which will not be elaborated in the embodiment of the present disclosure.
[0117] In order to implement the above-mentioned game interaction method, a game interaction device is provided in one embodiment of the present disclosure. Figure 9The schematic diagram of the architecture of the game interaction device is schematically shown.
[0118] Among them, the game interaction device provides a graphical user interface through a terminal device, and the graphical user interface includes at least part of the game scene and attack controls captured by a virtual camera. The game scene includes a controlled virtual character controlled by the terminal device, including: a first action control module 901, a second action control module 902 and a camera adjustment module 903.
[0119] Among them, the first action control module 901 is configured to execute a first touch operation on the attack control to control the controlled virtual character to perform an attack action; the second action control module 902 is configured to execute a second touch operation on the attack control to control the controlled virtual character to perform an attack action; the camera adjustment module 903 is configured to execute after controlling the controlled virtual character to perform an attack action or during the execution of the attack action, and in response to the second touch operation, the contact point moves from the first position to the second position in the graphical user interface to adjust the virtual camera to update the game scene displayed on the graphical user interface.
[0120] In an optional embodiment of the present disclosure, the device may further include an area display module, which is configured to execute a second touch operation in response to the attack control, determine the first area based on the response area of the attack control, and display the first area in the graphical user interface; a camera adjustment module 903, which is configured to execute a contact point in response to the second touch operation moving from the first area to a second position outside the first area, and adjust the virtual camera, wherein the first position is any position in the first area.
[0121] In an optional embodiment of the present disclosure, the area display module is configured to execute a second touch operation in response to the attack control, and generate a first area based on the contact area of the second touch operation on the graphical user interface to display the first area in the graphical user interface; the camera adjustment module 903 is configured to execute a contact point in response to the second touch operation moving from the first area to a second position outside the first area, and adjust the virtual camera, wherein the first position is the position where the first area is located.
[0122] In an optional embodiment of the present disclosure, the area display module is configured to display a second area in the graphical user interface; wherein the second position is located in the second area.
[0123] In an optional embodiment of the present disclosure, the region display module is configured to display a third region in the graphical user interface, where the third region is located between the first region and the second region.
[0124] In an optional embodiment of the present disclosure, the second action control module 902 is configured to control the controlled virtual character to perform an attack action in response to the second touch operation moving from the first area to the third area and ending at the third area.
[0125] In an optional embodiment of the present disclosure, the second action control module 902 is configured to control the controlled virtual character to perform an attack action in response to the second touch operation sliding in the first area and ending in the first area.
[0126] In an optional embodiment of the present disclosure, the first touch operation is a click operation, and the second touch operation includes a long press operation and a sliding operation; the second action control module 902 is configured to execute a long press operation on the attack control to control the controlled virtual character to perform an attack action.
[0127] In an optional embodiment of the present disclosure, the first touch operation is a click operation, and the second touch operation includes a first sliding operation and a second sliding operation; the second action control module 902 is configured to execute in response to the first sliding operation on the attack control, controlling the controlled virtual character to perform an attack action; the camera adjustment module 903 is configured to execute in response to a second sliding operation continuous with the first sliding operation, adjusting the virtual camera, wherein the end point of the first sliding operation and the starting point of the second sliding operation are the first position, and the end point of the second sliding operation is the second position.
[0128] In an optional embodiment of the present disclosure, the camera adjustment module 903 is configured to execute a touch point movement from a first position to a second position in the graphical user interface in response to a second touch operation, and adjust the virtual camera based on the relative direction and relative distance between the second position and the first position.
[0129] In an optional embodiment of the present disclosure, the camera adjustment module 903 is configured to adjust the virtual camera based on the movement distance and movement direction of the touch point of the second touch operation in the second area.
[0130] The game interaction device 900 provided in the embodiment of the present disclosure can execute the technical solution of the game interaction method in any of the above embodiments. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the game interaction method. Please refer to the implementation principle and beneficial effects of the game interaction method, and no further details will be given here.
[0131] In exemplary embodiments of the present disclosure, a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the methods described above. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product comprising program code that, when executed on a terminal device, causes the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the "Exemplary Methods" section above.
[0132] According to an embodiment of the present invention, a program product for implementing the above-mentioned method can be a portable compact disc read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, and the program can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0133] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0134] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0135] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0136] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0137] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0138] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods, or program products. Therefore, various aspects of the present invention may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."
[0139] Refer to the following Figure 10 The electronic device 1000 according to this embodiment of the present invention will be described. Figure 10 The electronic device 1000 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0140] like Figure 10 As shown, electronic device 1000 is implemented as a general-purpose computing device. Components of electronic device 1000 may include, but are not limited to, the aforementioned at least one processing unit 1010, the aforementioned at least one storage unit 1020, a bus 1030 connecting various system components (including storage unit 1020 and processing unit 1010), and a display unit 1040.
[0141] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section above. For example, the processing unit 1010 can perform the following steps: Figure 3Steps 301 to 303 shown in FIG.
[0142] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 10201 and / or a cache memory unit 10202 , and may further include a read-only memory unit (ROM) 10203 .
[0143] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0144] Bus 1030 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0145] The electronic device 1000 can also communicate with one or more external devices 2000 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1000, and / or any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 1000, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.
[0146] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0147] Furthermore, the above-described figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention and are not intended to be limiting. It is readily understood that the processes illustrated in the above-described figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0148] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.
[0149] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow from the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0150] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A game interaction method, characterized in that: Providing a graphical user interface through a terminal device, the graphical user interface at least including a portion of a game scene and an attack control captured by a virtual camera, the game scene including a controlled virtual character controlled by the terminal device, the method comprising: In response to a first touch operation on the attack control, controlling the controlled virtual character to perform an attack action; In response to a second touch operation on the attack control, controlling the controlled virtual character to perform an attack action; After controlling the controlled virtual character to perform an attack action or during the execution of an attack action, in response to the contact point of the second touch operation moving from a first position to a second position in the graphical user interface, the virtual camera is adjusted to update the game scene displayed on the graphical user interface.
2. The method according to claim 1, characterized in that The method further comprises: In response to a second touch operation on the attack control, determining a first area based on a response area of the attack control, and displaying the first area in the graphical user interface; The step of adjusting the virtual camera in response to the touch point of the second touch operation moving from a first position to a second position in the graphical user interface comprises: In response to the touch point of the second touch operation moving from the first area to a second position outside the first area, adjusting the virtual camera, wherein the first position is any position in the first area.
3. The method according to claim 1, characterized in that The method further comprises: In response to a second touch operation on the attack control, generating a first area according to a contact area of the second touch operation on the graphical user interface, so as to display the first area in the graphical user interface; The step of adjusting the virtual camera in response to the touch point of the second touch operation moving from a first position to a second position in the graphical user interface includes: In response to the touch point of the second touch operation moving from the first area to a second position outside the first area, adjusting the virtual camera, wherein the first position is a position where the first area is located.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: A second area is displayed in the graphical user interface; wherein the second position is located in the second area.
5. The method according to claim 4, characterized in that The method further comprises: A third area is displayed in the graphical user interface, the third area being located between the first area and the second area.
6. The method according to claim 5, characterized in that In response to the second touch operation on the attack control, controlling the controlled virtual character to perform an attack action includes: In response to the second touch operation moving from the first area to the third area and ending at the third area, the controlled virtual character is controlled to perform an attack action.
7. The method according to claim 2, characterized in that In response to the second touch operation on the attack control, controlling the controlled virtual character to perform an attack action includes: In response to the second touch operation sliding in the first area and ending in the first area, the controlled virtual character is controlled to perform an attack action.
8. The method according to claim 1, characterized in that: The first touch operation is a click operation, and the second touch operation includes a long press operation and a slide operation; In response to the second touch operation on the attack control, controlling the controlled virtual character to perform an attack action includes: In response to a long-press operation on the attack control, the controlled virtual character is controlled to perform an attack action.
9. The method according to claim 1, characterized in that: The first touch operation is a click operation, and the second touch operation includes a first sliding operation and a second sliding operation; In response to the second touch operation on the attack control, controlling the controlled virtual character to perform an attack action includes: In response to a first sliding operation on the attack control, controlling the controlled virtual character to perform an attack action; The step of adjusting the virtual camera in response to the touch point of the second touch operation moving from a first position to a second position in the graphical user interface comprises: In response to a second sliding operation continuous with the first sliding operation, the virtual camera is adjusted, wherein an end point of the first sliding operation and a starting point of the second sliding operation are the first position, and an end point of the second sliding operation is the second position.
10. The method according to claim 1, characterized in that The step of adjusting the virtual camera in response to the touch point of the second touch operation moving from a first position to a second position in the graphical user interface comprises: In response to the touch point of the second touch operation moving from a first position to a second position in the graphical user interface, the virtual camera is adjusted based on a relative direction and a relative distance between the second position and the first position.
11. The method according to claim 4, characterized in that The adjusting the virtual camera comprises: The virtual camera is adjusted based on the moving distance and moving direction of the touch point of the second touch operation in the second area.
12. A game interaction device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface at least includes a portion of a game scene and an attack control captured by a virtual camera, and the game scene includes a controlled virtual character controlled by the terminal device, and the apparatus includes: A first action control module is configured to control the controlled virtual character to perform an attack action in response to a first touch operation on the attack control; A second action control module is configured to control the controlled virtual character to perform an attack action in response to a second touch operation on the attack control; The camera adjustment module is configured to control the controlled virtual character to perform an attack action or during the attack action, in response to the contact point of the second touch operation moving from a first position to a second position in the graphical user interface, adjust the virtual camera to update the game scene displayed on the graphical user interface.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the game interaction method according to any one of claims 1 to 11 is implemented.
14. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the game interaction method described in any one of claims 1 to 11 by executing the executable instructions.
Citation Information
Cited By
Method and device for displaying information in game and terminal equipment
CN120037655A
A method, apparatus, and terminal device for displaying information in a game
CN120037655B
