CN117547812A - Interaction method and device in game and electronic equipment - Google Patents

Interaction method and device in game and electronic equipment Download PDF

Info

Publication number
CN117547812A
CN117547812A CN202311298863.7A CN202311298863A CN117547812A CN 117547812 A CN117547812 A CN 117547812A CN 202311298863 A CN202311298863 A CN 202311298863A CN 117547812 A CN117547812 A CN 117547812A
Authority
CN
China
Prior art keywords
virtual object
controlled
locking
game
controlling
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
CN202311298863.7A
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 CN202311298863.7A priority Critical patent/CN117547812A/en
Publication of CN117547812A publication Critical patent/CN117547812A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an interaction method, an interaction device and electronic equipment in a game, wherein the interaction method, the interaction device and the electronic equipment are used for firstly responding to a locking operation aiming at a first virtual object, locking the first virtual object and controlling a controlled virtual object to move along with the first virtual object; and then, responding to the appointed attack operation, and controlling the controlled virtual object to attack the first virtual object based on the appointed attack operation in the process that the controlled virtual object moves along with the first virtual object. In the mode, the player can lock the first virtual object to be attacked through locking operation so that the controlled virtual object moves along with the first virtual object, and therefore the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can pay attention to attack aiming or other operations through one hand, operation pressure of the player is reduced, and game experience of the player is improved.

Description

Interaction method and device in game and electronic equipment
Technical Field
The present invention relates to the field of game interaction design technologies, and in particular, to an interaction method and apparatus in a game, and an electronic device.
Background
With the development of smartphones, vertical screen hand game has become a very important game type, but because vertical screen hand game is usually operated by one hand, operations requiring two hands to be matched for completion in horizontal screen games cannot be completed, for example, vertical screen games cannot use skills to aim at enemy characters while moving player characters, thus resulting in poor game experience of players.
Disclosure of Invention
The invention aims to provide an interaction method, an interaction device and electronic equipment in a game, so that a mobile object is accurately aimed and attacked under the condition that a player performs one-hand operation, and the game experience of the player is improved.
In a first aspect, the present invention provides an interaction method in a game, providing a graphical user interface through terminal equipment; at least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; the method comprises the following steps: responding to the locking operation aiming at the first virtual object, locking the first virtual object, and controlling the controlled virtual object to move along with the first virtual object; in response to the specified attack operation, the controlled virtual object is controlled to attack the first virtual object based on the specified attack operation in the process that the controlled virtual object moves along with the first virtual object.
In a second aspect, the present invention provides an interactive apparatus in a game, providing a graphical user interface through terminal equipment; at least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; the device comprises: the object locking module is used for responding to the locking operation for the first virtual object, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and the object attack module is used for responding to the attack operation aiming at the first virtual object, and controlling the controlled virtual object to attack the first virtual object based on the attack operation in the process that the controlled virtual object moves along with the first virtual object.
In a third aspect, the present invention provides an electronic device comprising a processor and a memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of interaction in a game as described above.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of interaction in a game as described above.
The embodiment of the invention has the following beneficial effects:
the invention provides an interaction method, an interaction device and electronic equipment in a game, which are characterized in that firstly, a first virtual object is locked in response to locking operation aiming at the first virtual object, and a controlled virtual object is controlled to move along with the first virtual object; and then, responding to the appointed attack operation, and controlling the controlled virtual object to attack the first virtual object based on the appointed attack operation in the process that the controlled virtual object moves along with the first virtual object. In the mode, the player can lock the first virtual object to be attacked through locking operation so that the controlled virtual object moves along with the first virtual object, and therefore the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can pay attention to attack aiming or other operations through one hand, operation pressure of the player is reduced, and game experience of the player is improved.
Additional features and advantages of the invention will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the invention.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an interactive method in a game provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of locking a first virtual object according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an interactive device in a game according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the development of smartphones, vertical screen hand tour has become a very important game type, but since vertical screen hand tour is usually operated by one hand, the operation of horizontal screen games, which is completed by two hands, cannot be completed. For example, current horizontal screen MOBA (Multiplayer Online Battle Arena Games, multiplayer online competition) games require left-right hand coordination, left hand slide control character movement, right hand slide skill control skills aim at targets, but vertical screen games cannot aim at enemy characters with skills while moving player characters, resulting in poor player game experience.
Based on the above problems, the embodiment of the invention provides an interaction method, an interaction device and electronic equipment in a game, and the technology can be applied to a scene of character attack in a horizontal screen game or a vertical screen game in a mobile control process.
The interaction method in the game in one embodiment of the present disclosure may be run on a local terminal device or a server. When the interaction method in the game runs on the server, the method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, a running main body of the game program and a game picture presentation main body are separated, the storage and running of an interaction method in the game are completed on a cloud game server, and the function of a client device is used for receiving and sending data and presenting game pictures, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When playing the game, the player operates the client device 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 client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In a possible implementation manner, the embodiment of the invention provides an interaction method in a game, and a graphical user interface is provided through terminal equipment, wherein the terminal equipment can be the aforementioned local terminal equipment or the aforementioned client equipment in the cloud interaction system. At least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; as shown in fig. 1, the method comprises the following specific steps:
Step S102, in response to the locking operation for the first virtual object, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object.
In specific implementation, the player can operate the controlled virtual object in the game scene through the terminal equipment, and the controlled virtual object can be any game character selected by the player, or can be a virtual carrier or a virtual weapon controlled by the player. The game scene not only can contain the controlled virtual object, but also can contain at least one first virtual object, wherein the first virtual object can be a monster or a non-player character NPC in the game scene, and can also be a game character belonging to different game camps with the controlled virtual object, and the game character can be controlled by other players through other terminal equipment.
The specific operation of the locking operation for the first virtual object may be determined according to the development requirement, for example, the locking operation may be a click operation, a long press operation, or a sliding operation of the first virtual object, or may be a click operation or a double click operation of the first virtual object when the distance between the controlled virtual object and the first virtual object satisfies a specified condition, where the specified condition may be determined according to the development requirement.
When the player performs a locking operation on the first virtual object, the first virtual object is locked, and the controlled virtual object is controlled to move along with the first virtual object. The first virtual object is locked, that is, the controlled virtual object moves along with the movement of the first virtual object under the condition that the player does not control the movement of the controlled virtual object, and the controlled virtual object moves at a certain distance from the first virtual object, wherein the distance is a distance value between the controlled virtual object and the first virtual object when the first virtual object is locked; the distance may also be a fixed distance value set by the player or carried by the system itself.
Step S104, responding to the appointed attack operation, and controlling the controlled virtual object to attack the first virtual object based on the appointed attack operation in the process that the controlled virtual object moves along with the first virtual object.
In a specific implementation, the specific operation of the specific attack operation may be determined according to the research and development requirement or determined by the player operation, for example, the specific attack operation may be an operation that the player triggers a skill control, aims at a first virtual object and releases the skill; it is also possible to use virtual appliances including virtual guns, virtual missiles, etc. to attack the first virtual object. In the process that the controlled virtual object moves along with the first virtual object, namely when the first virtual object is locked, the player performs specified attack operation, and the controlled virtual object in the game scene attacks the first virtual object based on the specified attack operation so as to cause certain damage to the first virtual object. In the mode, a player only needs to carry out appointed attack operation by one hand, and the distance between the controlled virtual object and the first virtual object is automatically controlled to be always kept within the distance range from the controlled virtual object to the first virtual object in the moving process of the first virtual object, so that aiming and attacking of the first virtual object in the moving process of the first virtual object are realized, and the operation pressure of the player is reduced.
The interaction method in the game provided by the embodiment of the invention comprises the steps of firstly responding to the locking operation aiming at a first virtual object, locking the first virtual object, and controlling the controlled virtual object to move along with the first virtual object; and then, responding to the appointed attack operation, and controlling the controlled virtual object to attack the first virtual object based on the appointed attack operation in the process that the controlled virtual object moves along with the first virtual object. In the mode, the player can lock the first virtual object to be attacked through locking operation so that the controlled virtual object moves along with the first virtual object, and therefore the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can pay attention to attack aiming or other operations through one hand, operation pressure of the player is reduced, and game experience of the player is improved.
The following preferred embodiments describe the manner in which the first virtual object is locked.
Specifically, the specific process of locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object in response to the locking operation for the first virtual object may include: in response to a trigger operation for the first virtual object when the controlled virtual object and the first virtual object meet a specified condition, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object. According to the method, when the controlled virtual object and the first virtual object meet the specified conditions, the locking operation for the first virtual object can be triggered, and abuse of the locking method is avoided.
In a specific implementation, the triggering operation for the first virtual object may be a click operation, a long press operation, or a drag operation for the first virtual object, which may be specifically determined according to the research and development requirements. The above specified conditions may be determined according to development requirements or player settings. In one embodiment, the specified conditions include: the distance between the controlled virtual object and the first virtual object is smaller than a preset maximum locking distance. Specifically, when the distance between the controlled virtual object and the first virtual object is smaller than the preset maximum locking distance, the player triggers the first virtual object to lock the first virtual object, and controls the controlled virtual object to move along with the first virtual object. The specific distance value of the preset maximum locking distance may be determined according to the development requirement or the player setting, and is not specifically limited herein. The preset maximum locking distance may actually be the maximum distance that the controlled virtual object can cause damage to the attacking object when it attacks the object, for example, the preset maximum locking distance may be the skill maximum acting distance.
And in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object. The preset distance can be a fixed distance value set by a player according to research and development requirements, or can be a distance value between the controlled virtual object and the first virtual object when the first virtual object is locked. Fig. 2 is a schematic diagram of locking a first virtual object according to an embodiment of the present invention, where two virtual objects are shown in fig. 2, where a finger position corresponds to the first virtual object, and another is a controlled virtual object, and a player clicks the first virtual object by a finger, where the controlled virtual object can keep a current distance and move along with the first virtual object.
In practical applications, in order to make the distance between the controlled virtual object and the first virtual object smaller than the preset maximum locking distance, the player also needs to control the controlled virtual object to move towards the direction approaching the first virtual object. Specifically, in response to a first movement control operation for the controlled virtual object, the controlled virtual object is controlled to move to a position where the first virtual object is located. The first movement control operation may be a sliding operation of the player on the movement rocker, or may be an operation of the player dragging the controlled virtual object to move, and may be specifically determined according to a game rule and a player operation.
In another alternative embodiment, the player may also perform a triggering operation on the first virtual object displayed in the graphical user interface at any time, lock the first virtual object, and control the controlled virtual object to keep moving a relative distance along with the first virtual object. Specifically, when the player triggers the first virtual object, the distance between the controlled virtual object and the first virtual object is smaller than the maximum locking distance, when the first virtual object is locked, the controlled virtual object is controlled to keep the current distance from the first virtual object, and the controlled virtual object moves along with the movement of the first virtual object; when the player triggers the first virtual object, if the distance between the controlled virtual object and the first virtual object is not smaller than the maximum locking distance, when the first virtual object is locked, the controlled virtual object is controlled to move to the position with the maximum locking distance from the first virtual object, and the controlled virtual object is controlled to move along with the first virtual object with the maximum locking distance. The first virtual object can be locked at any time in the mode, and the operation is convenient.
According to the method, the device and the system, the player can vacate the fingers to perform skill aiming operation through triggering locking and automatic relative movement of the first virtual object, so that the player operation is simplified, and the game experience of the player is improved.
The following preferred embodiments describe the manner in which a controlled virtual object attacks a first virtual object, and the manner in which the first virtual object is unlocked.
Specifically, the specific process of controlling the controlled virtual object to attack the first virtual object based on the specified attack operation in the process that the controlled virtual object follows the first virtual object in response to the specified attack operation may include the following steps 10-11:
and step 10, responding to the sliding operation of the skill control in the graphical user interface, and adjusting the skill release direction of the skill corresponding to the skill control in the process that the controlled virtual object moves along with the first virtual object so as to aim the skill release direction at the first virtual object.
In a specific implementation, at least one skill control can be displayed in the graphical user interface, the skills corresponding to each skill control are different, and the skills corresponding to each skill control can cause different degrees of injury to the attack object. In the process that the controlled virtual object moves along with the first virtual object, the player slides a skill control, and the skill release direction of the skill corresponding to the skill control can be adjusted, so that the player can aim the skill release direction at the first virtual object.
And step 11, responding to the end of the sliding operation, and releasing the skill corresponding to the skill control in the skill releasing direction.
The end of the above-described swipe operation is typically the player stopping the swipe, or the finger is off the graphical user interface. When the player finishes the sliding operation, the skill corresponding to the skill control is released in the skill release direction adjusted by the player, so that the skill acts on the first virtual object and damages the first virtual object.
In a specific implementation, after locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move following the first virtual object, the first virtual object may also be unlocked. The manner of unlocking the first virtual object may include the following two ways:
first, in response to a second movement control operation for a controlled virtual object, the first virtual object is unlocked, and the controlled virtual object is controlled to move in a game scene according to the second movement control operation.
The second movement control operation may be a sliding operation of the player on the movement rocker, or an operation of dragging the controlled virtual object to move by the player, and may be specifically determined according to a game rule and a player operation. After unlocking the first virtual object, the controlled virtual object no longer follows the first virtual object, but moves in the game scene according to the second movement control operation.
Secondly, unlocking the first virtual object in response to abrupt change of displacement of the first virtual object in the game scene, the controlled virtual object or the first virtual object being defeated, or a virtual object existing between the controlled virtual object and the first virtual object; after the first virtual object is unlocked, the controlled virtual object does not move with the first virtual object.
The abrupt change of the position of the first virtual object usually means that the first virtual object suddenly releases a displacement skill, so that the distance between the first virtual object and the controlled virtual object is abrupt, and the controlled virtual object cannot keep up with the displacement of the first virtual object, so as to unlock the first virtual object; when the controlled virtual object is defeated by other virtual objects or the first virtual object is defeated, the first virtual object can be automatically unlocked; when a virtual object exists between the controlled virtual object and the first virtual object, the virtual object prevents the controlled virtual object from moving along with the first virtual object, so that the first virtual object can be automatically unlocked, and the virtual object can be a virtual barrier, a virtual wall, a virtual plant or a virtual trap.
In the above manner, when the distance between the controlled virtual object and the first virtual object is smaller than the maximum locking distance, the player can click to lock the first virtual object, and after the first virtual object is locked, the player does not perform the moving operation again, so that the controlled virtual object and the locked first virtual object can keep the relative distance automatic movement; while locking the automatic movement, the player may focus on skill aiming or other operations, reducing player operating pressure.
In addition, the mode is suitable for any mobile phone game with a horizontal screen or a vertical screen, and particularly has better effect on a single-hand operation mode in the vertical screen game.
For the embodiment of the method, the embodiment of the invention also provides an interaction device in the game, and a graphical user interface is provided through terminal equipment; at least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; as shown in fig. 3, the method and apparatus include:
the object locking module 30 is configured to lock the first virtual object in response to a locking operation for the first virtual object, and control the controlled virtual object to move along with the first virtual object.
The object attack module 31 is configured to respond to an attack operation for the first virtual object, and control the controlled virtual object to attack the first virtual object based on the attack operation in a process that the controlled virtual object follows the first virtual object.
The interaction device in the game firstly responds to the locking operation aiming at the first virtual object, locks the first virtual object and controls the controlled virtual object to move along with the first virtual object; and then, responding to the appointed attack operation, and controlling the controlled virtual object to attack the first virtual object based on the appointed attack operation in the process that the controlled virtual object moves along with the first virtual object. In the mode, the player can lock the first virtual object to be attacked through locking operation so that the controlled virtual object moves along with the first virtual object, and therefore the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can pay attention to attack aiming or other operations through one hand, operation pressure of the player is reduced, and game experience of the player is improved.
Specifically, the object locking module 30 is configured to: in response to a trigger operation for the first virtual object when the controlled virtual object and the first virtual object meet a specified condition, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object.
In specific implementation, the above specified conditions include: the distance between the controlled virtual object and the first virtual object is smaller than a preset maximum locking distance.
Further, the apparatus further includes an object moving module configured to: and before locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move along with the first virtual object, controlling the controlled virtual object to move to the position where the first virtual object is located in response to the first movement control operation for the controlled virtual object.
In a specific implementation, the object attack module 31 is configured to: responding to the sliding operation of the skill control in the graphical user interface, and adjusting the skill release direction of the skill corresponding to the skill control in the process that the controlled virtual object moves along with the first virtual object so as to aim the skill release direction at the first virtual object; and releasing the skill corresponding to the skill control in a skill release direction in response to the end of the sliding operation.
Further, the device further comprises an object unlocking module, configured to: after locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move following the first virtual object, unlocking the first virtual object in response to the second movement control operation for the controlled virtual object and controlling the controlled virtual object to move in the game scene according to the second movement control operation.
Further, the object unlocking module is configured to: after locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move along with the first virtual object, the first virtual object is unlocked in response to abrupt change of displacement of the first virtual object in the game scene, the controlled virtual object or the first virtual object is defeated, or a virtual object exists between the controlled virtual object and the first virtual object; after the first virtual object is unlocked, the controlled virtual object does not move with the first virtual object.
The interaction device in the game provided by the embodiment of the invention has the same implementation principle and technical effects as those of the embodiment of the method, and for the sake of brevity, reference may be made to the corresponding content in the embodiment of the method.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, where the electronic device includes a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interaction method in the game.
Specifically, a graphical user interface is provided through the terminal equipment, at least part of game scenes are displayed in the graphical user interface, and the game scenes comprise first virtual objects and controlled virtual objects controlled through the terminal equipment; the interaction method in the game comprises the following steps: responding to the locking operation aiming at the first virtual object, locking the first virtual object, and controlling the controlled virtual object to move along with the first virtual object; in response to the specified attack operation, the controlled virtual object is controlled to attack the first virtual object based on the specified attack operation in the process that the controlled virtual object moves along with the first virtual object.
In the interaction method in the game, the player can lock the first virtual object to be attacked through the locking operation so as to enable the controlled virtual object to move along with the first virtual object, so that the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can concentrate on attack aiming or other operations through one hand, the operation pressure of the player is reduced, and the game experience of the player is improved.
In an alternative embodiment, the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move along with the first virtual object includes: in response to a trigger operation for the first virtual object when the controlled virtual object and the first virtual object meet a specified condition, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object.
In an alternative embodiment, the specified conditions include: the distance between the controlled virtual object and the first virtual object is smaller than a preset maximum locking distance.
In an alternative embodiment, before the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: and controlling the controlled virtual object to move to the position where the first virtual object is located in response to the first movement control operation aiming at the controlled virtual object.
In an optional embodiment, in response to the specified attack operation, in a process that the controlled virtual object moves along with the first virtual object, the step of controlling the controlled virtual object to attack the first virtual object based on the specified attack operation includes: responding to the sliding operation of the skill control in the graphical user interface, and adjusting the skill release direction of the skill corresponding to the skill control in the process that the controlled virtual object moves along with the first virtual object so as to aim the skill release direction at the first virtual object; and releasing the skill corresponding to the skill control in a skill release direction in response to the end of the sliding operation.
In an alternative embodiment, after the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: in response to a second movement control operation for the controlled virtual object, unlocking the first virtual object, and controlling the controlled virtual object to move in the game scene according to the second movement control operation.
In an alternative embodiment, after the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: unlocking the first virtual object in response to a sudden change in displacement of the first virtual object in the game scene, the controlled virtual object or the first virtual object being defeated, or a virtual object existing between the controlled virtual object and the first virtual object; after the first virtual object is unlocked, the controlled virtual object does not move with the first virtual object.
Further, the electronic device shown in fig. 4 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The memory 100 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
The processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 101 or instructions in the form of software. The processor 101 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 100 and the processor 101 reads information in the memory 100 and in combination with its hardware performs the steps of the method of the previous embodiments.
The embodiment of the invention also provides a computer readable storage medium, which stores computer executable instructions that, when being called and executed by a processor, cause the processor to implement the interaction method in the game, and the specific implementation can be seen in the method embodiment and will not be described herein.
Specifically, a graphical user interface is provided through the terminal equipment, at least part of game scenes are displayed in the graphical user interface, and the game scenes comprise first virtual objects and controlled virtual objects controlled through the terminal equipment; the interaction method in the game comprises the following steps: responding to the locking operation aiming at the first virtual object, locking the first virtual object, and controlling the controlled virtual object to move along with the first virtual object; in response to the specified attack operation, the controlled virtual object is controlled to attack the first virtual object based on the specified attack operation in the process that the controlled virtual object moves along with the first virtual object.
In the interaction method in the game, the player can lock the first virtual object to be attacked through the locking operation so as to enable the controlled virtual object to move along with the first virtual object, so that the player can keep the first virtual object within the attack range of the controlled virtual object without controlling the controlled virtual object to move, and therefore the player can concentrate on attack aiming or other operations through one hand, the operation pressure of the player is reduced, and the game experience of the player is improved.
In an alternative embodiment, the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to move along with the first virtual object includes: in response to a trigger operation for the first virtual object when the controlled virtual object and the first virtual object meet a specified condition, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object.
In an alternative embodiment, the specified conditions include: the distance between the controlled virtual object and the first virtual object is smaller than a preset maximum locking distance.
In an alternative embodiment, before the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: and controlling the controlled virtual object to move to the position where the first virtual object is located in response to the first movement control operation aiming at the controlled virtual object.
In an optional embodiment, in response to the specified attack operation, in a process that the controlled virtual object moves along with the first virtual object, the step of controlling the controlled virtual object to attack the first virtual object based on the specified attack operation includes: responding to the sliding operation of the skill control in the graphical user interface, and adjusting the skill release direction of the skill corresponding to the skill control in the process that the controlled virtual object moves along with the first virtual object so as to aim the skill release direction at the first virtual object; and releasing the skill corresponding to the skill control in a skill release direction in response to the end of the sliding operation.
In an alternative embodiment, after the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: in response to a second movement control operation for the controlled virtual object, unlocking the first virtual object, and controlling the controlled virtual object to move in the game scene according to the second movement control operation.
In an alternative embodiment, after the step of locking the first virtual object in response to the locking operation for the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises: unlocking the first virtual object in response to a sudden change in displacement of the first virtual object in the game scene, the controlled virtual object or the first virtual object being defeated, or a virtual object existing between the controlled virtual object and the first virtual object; after the first virtual object is unlocked, the controlled virtual object does not move with the first virtual object.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal device, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An interaction method in a game is characterized in that a graphical user interface is provided through terminal equipment; at least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; the method comprises the following steps:
locking the first virtual object in response to a locking operation for the first virtual object, and controlling the controlled virtual object to move along with the first virtual object;
and responding to a specified attack operation, and controlling the controlled virtual object to attack the first virtual object based on the specified attack operation in the process that the controlled virtual object moves along with the first virtual object.
2. The method of claim 1, wherein the steps of locking the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object in response to the locking operation for the first virtual object comprise:
in response to a trigger operation for the first virtual object when the controlled virtual object and the first virtual object meet a specified condition, locking the first virtual object and controlling the controlled virtual object to move along with the first virtual object; and in the process that the controlled virtual object moves along with the first virtual object, the controlled virtual object keeps a preset distance from the first virtual object.
3. The method of claim 2, wherein the specified conditions include: the distance between the controlled virtual object and the first virtual object is smaller than a preset maximum locking distance.
4. The method of claim 1, wherein the step of locking the first virtual object and controlling the controlled virtual object to follow the movement of the first virtual object is preceded by the step of responding to a locking operation for the first virtual object, the method further comprising:
and responding to a first movement control operation aiming at the controlled virtual object, and controlling the controlled virtual object to move to the position where the first virtual object is located.
5. The method of claim 1, wherein the step of controlling the controlled virtual object to attack the first virtual object based on the specified attack operation in the course of the controlled virtual object following the first virtual object in response to the specified attack operation comprises:
responding to the sliding operation of a skill control in the graphical user interface, and adjusting the skill release direction of the skill corresponding to the skill control in the process that the controlled virtual object moves along with the first virtual object so as to aim the skill release direction at the first virtual object;
And responding to the end of the sliding operation, and releasing the skill corresponding to the skill control in the skill releasing direction.
6. The method of claim 1, wherein after the steps of locking the first virtual object in response to the locking operation for the first virtual object, and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises:
and unlocking the first virtual object in response to a second movement control operation for the controlled virtual object, and controlling the controlled virtual object to move in the game scene according to the second movement control operation.
7. The method of claim 1, wherein after the steps of locking the first virtual object in response to the locking operation for the first virtual object, and controlling the controlled virtual object to follow the movement of the first virtual object, the method further comprises:
unlocking the first virtual object in response to a sudden change in displacement of the first virtual object in the game scene, the controlled virtual object or the first virtual object being defeated, or a virtual object being present between the controlled virtual object and the first virtual object; after the first virtual object is unlocked, the controlled virtual object does not move with the first virtual object.
8. An interactive device in a game is characterized in that a graphical user interface is provided through terminal equipment; at least part of game scenes are displayed in the graphical user interface, wherein the game scenes comprise first virtual objects and controlled virtual objects controlled by the terminal equipment; the device comprises:
an object locking module for locking the first virtual object in response to a locking operation for the first virtual object and controlling the controlled virtual object to move along with the first virtual object;
and the object attack module is used for responding to the attack operation aiming at the first virtual object, and controlling the controlled virtual object to attack the first virtual object based on the attack operation in the process that the controlled virtual object moves along with the first virtual object.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of interaction in a game of any of claims 1 to 7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of interaction in a game of any one of claims 1 to 7.
CN202311298863.7A 2023-10-09 2023-10-09 Interaction method and device in game and electronic equipment Pending CN117547812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311298863.7A CN117547812A (en) 2023-10-09 2023-10-09 Interaction method and device in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311298863.7A CN117547812A (en) 2023-10-09 2023-10-09 Interaction method and device in game and electronic equipment

Publications (1)

Publication Number Publication Date
CN117547812A true CN117547812A (en) 2024-02-13

Family

ID=89817433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311298863.7A Pending CN117547812A (en) 2023-10-09 2023-10-09 Interaction method and device in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN117547812A (en)

Similar Documents

Publication Publication Date Title
CN112791406B (en) Target locking method, device and terminal equipment
US11020663B2 (en) Video game with automated screen shots
CN113082697B (en) Game interaction method and device and electronic equipment
CN113069771B (en) Virtual object control method and device and electronic equipment
CN111905369A (en) Display control method and device in game and electronic equipment
CN114225416A (en) Game control method and device
CN111870942A (en) Attack control method and device for virtual unit and electronic equipment
CN116966561A (en) Tactical command method and device in game and electronic equipment
CN117547812A (en) Interaction method and device in game and electronic equipment
CN115708956A (en) Game picture updating method and device, computer equipment and medium
CN115920395A (en) Interactive control method and device in game and electronic equipment
CN111841003B (en) Information processing method and device in game and electronic equipment
CN113813604A (en) Information interaction method and device in game and electronic equipment
CN113546406B (en) Virtual object control method and device in game and electronic equipment
CN116392806A (en) Information display method and device in game and electronic equipment
CN116966542A (en) Information processing method and device in game and electronic equipment
CN115634454A (en) Information processing method and device and electronic equipment
CN115888112A (en) Control method, control device, equipment and medium for virtual role
CN116262175A (en) Information processing method in game, electronic device, and computer-readable storage medium
CN116920399A (en) Event processing method and device in game and terminal equipment
CN117462944A (en) Scene picture display control method and device and electronic equipment
CN117224932A (en) Interactive control method and device for skill release and electronic equipment
CN117582656A (en) Interactive control method and device for game and electronic equipment
CN116262173A (en) Information processing method in game, electronic device, and computer-readable storage medium
CN117018593A (en) Marking method and device in game and electronic equipment

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