CN117547815A - Interaction control method and device in game and electronic equipment - Google Patents

Interaction control method and device in game and electronic equipment Download PDF

Info

Publication number
CN117547815A
CN117547815A CN202311305217.9A CN202311305217A CN117547815A CN 117547815 A CN117547815 A CN 117547815A CN 202311305217 A CN202311305217 A CN 202311305217A CN 117547815 A CN117547815 A CN 117547815A
Authority
CN
China
Prior art keywords
game
virtual character
control
controlling
controlled
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
CN202311305217.9A
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 CN202311305217.9A priority Critical patent/CN117547815A/en
Publication of CN117547815A publication Critical patent/CN117547815A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure provides an interactive control method, an interactive control device and electronic equipment in a game, wherein a first control is displayed on a game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area. In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.

Description

Interaction control method and device in game and electronic equipment
Technical Field
The disclosure relates to the technical field of games, and in particular relates to an interaction control method and device in a game and electronic equipment.
Background
In a game, the movement control method and skill release control method for a game character are often greatly different. For example, the game character movement may be controlled by a movement control such as a sliding virtual rocker; and controlling the game role to release skills by clicking or long-pressing the skill control. When the game interface is displayed by a vertical screen or other conditions requiring a player to control the movement and release skills of the game character by one hand, the control mode of the game character is complex, and the game experience of the player is affected.
Disclosure of Invention
Accordingly, an object of the present disclosure is to provide a method, an apparatus and an electronic device for controlling interaction in a game, so as to improve convenience of operation when a player needs to control movement and release skills of a virtual character of the game at the same time, and improve game experience of the player.
In a first aspect, an embodiment of the present disclosure provides an interactive control method in a game, where a game interface is provided through a terminal device; the game interface is used for displaying a game scene where the controlled virtual character is located; the method comprises the following steps: displaying a first control on a game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area.
In a second aspect, an embodiment of the present disclosure provides an interactive control device in a game, where a game interface is provided through a terminal device; the game interface is used for displaying a game scene where the controlled virtual character is located; the device comprises: the control display module is used for displaying the first control on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; the movement control module is used for responding to the first sliding operation acted on the virtual rocker and controlling the controlled virtual character to move in the game scene; and the skill control module is used for controlling the controlled virtual role to release the target skill in response to the designated touch operation acted on the moving area.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions executable by the processor, and the processor executes the machine executable instructions to implement the interactive control method in a game described above.
In a fourth aspect, embodiments of the present disclosure provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of interactive control in a game described above.
The embodiment of the disclosure brings the following beneficial effects:
according to the interactive control method and device in the game and the electronic equipment, the first control is displayed on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area. In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the disclosure will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure 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 below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an interactive control method in a game provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a horizontal screen mode game interface and a book assessment mode game interface provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a game interface with a first control displayed, provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an interactive control device in a game according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
During game play, the game interface may be displayed in portrait mode in order to concentrate the player on the conditions of the game in front. In the portrait mode, the player is more suitable for completing common operations with one hand. However, the movement and the attack itself generally have a large difference in operation modes, for example, the movement control operation on the virtual character may be to move the virtual rocker, and the control operation to release the skill may be to click the attack control. The switching difficulty of the two operation modes is high, and good one-hand operation connection is difficult to carry out, so that the game experience of a player is poor.
Based on the above, the method and the device for controlling interaction in the game and the electronic equipment provided by the embodiment of the disclosure can be applied to various game scenes.
The method of interactive control in a game in one embodiment of the present disclosure may be run on a local terminal device or a server. When the interaction control method in the game runs on the server, the mode 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, the running main body of the game program and the game picture presentation main body are separated, the storage and running of the interactive control method in the game are completed on the cloud game server, and the function of the client device is used for receiving and sending data and presenting the game picture, 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.
Referring to fig. 1, first, an interactive control method in a game provided by an embodiment of the present disclosure is described, and a game interface is provided through a terminal device; the game interface is used for displaying a game scene where the controlled virtual character is located. The method comprises the following steps:
step S102, displaying a first control on a game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a movement area corresponding to the virtual rocker.
The first control can be displayed on the game interface when the player opens the game interface through the terminal device, or can be displayed on the game interface when the player uses a certain virtual game prop or touches a certain area of the user interaction interface. Or the game interface is displayed in a vertical screen mode, namely, the first control is displayed on the game interface only when the length of the game interface is smaller than the width of the game interface. And in particular may be set based on requirements without limitation herein.
In order to realize the function of controlling the movement of the controlled virtual character, the virtual rocker can be arranged in the control by imitating the movement control of the virtual rocker class, and the corresponding movement area is arranged around the virtual rocker. The movement area is generally circular. The relative position between the virtual rocker and the central position of the movement region generally corresponds to the direction of movement of the virtual object, and the distance between the virtual rocker and the central position of the movement region may also be associated with the speed of movement of the controlled virtual object.
The target skill refers to the skill of the first control, and is not limited to a certain skill. The target skills may be common physical attack skills, which means attack by weapon or meat beat, and the like, causing injury. For example, shooting, or throwing darts, etc. The target skills may also be magic attack type skills. The magic attack skill means attack by magic spells or magic props, which causes injury. In some skill classifications, skills may be classified into common skills and French skills, and target skills may be common skills or French skills. And may be specifically set according to the needs, and is not limited herein.
Step S104, in response to the first sliding operation on the virtual rocker, the controlled virtual character is controlled to move in the game scene.
When the player performs a sliding operation on the virtual rocker, the display position of the virtual rocker can be moved along with the contact position of the sliding operation. In the process of controlling the movement of the controlled virtual character, the movement direction of the controlled virtual object can be controlled based on the relative position of the virtual rocker and the center of the movement area, and the movement speed of the controlled virtual object can be controlled based on the distance between the virtual rocker and the center of the movement area. The moving speed of the controlled virtual object can be fixed, and the moving direction of the controlled virtual object is only required to be controlled based on the relative position of the virtual rocker and the center of the moving area.
Generally, when a player releases a contact point of a sliding operation, the virtual stick returns to the center position of the movement area, and the controlled virtual character stops moving. However, when the player is in the process of needing to control the movement of the controlled avatar, it may be necessary to briefly release the sliding operation to implement other control operations, for example, clicking on the first control to control the controlled avatar release skills, etc. At this time, the controlled virtual character movement may be continuously controlled within a set time, e.g., 0.5s, after the player's release of the slide operation is monitored. If no continued sliding operation on the first control is detected after 0.5s, the controlled avatar movement is stopped.
Step S106, in response to the designated touch operation on the moving area, the controlled virtual character is controlled to release the target skills.
The above-described designated touch operation may be a click operation, a double click operation, or the like, or may be a slide operation of a designated trajectory, for example, from a certain edge position of a moving area to a center position thereof. The above-mentioned several operation modes may be combined, and may be specifically set according to requirements, and are not limited herein. When the target skills are released, the skills can be controlled to be automatically released to the virtual roles within the action scope of the skills, so that a better attack effect is achieved.
According to the interactive control method in the game, the first control is displayed on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area. In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.
The following embodiments provide an implementation of displaying a first control at a game interface.
The designated control may not be displayed in the game interface first, but the first control may be displayed in response to a pressing operation acting on a designated area in the game interface when the player presses a finger in the designated area of the game interface. The first control may be displayed in the game interface when the player has a need to move.
At this time, since the first control is not directly displayed in the game interface, the designated area capable of triggering the display of the first control can be used as the area capable of performing the skill releasing operation. When the player clicks the designated area, the controlled virtual character is controlled to release the target skill in response to the clicking operation applied to the designated area.
In a game, when a player needs to control a controlled virtual object to perform a game action in a fixed and small game scene, a game interface is usually displayed in a horizontal screen mode, that is, a length is greater than a width. When a player needs to control a controlled virtual object to move in a certain direction for a longer distance in a game scene, the game interface can be controlled to be displayed in a vertical screen mode, namely, the length is smaller than the width. When a designated trigger event occurs in the game and the game interface is required to be displayed in a vertical screen mode from a horizontal screen mode, responding to the designated trigger event and updating the game interface; the ratio of the display length to the display width of the updated game interface is smaller than the ratio of the display length to the display width of the game interface before updating; then, the first control is displayed on the updated game interface. A schematic diagram of the pre-update and post-update game interface is shown in fig. 2. The pre-update game interface may display the movement control and the skill release control separately, with the updated game interface displaying only the first control. Of course, the embodiment can also be applied to games in which the user interaction interface is presented in a vertical screen manner.
The following embodiments provide an implementation of controlling movement of a controlled virtual character in a game scene in response to a first sliding operation acting on the virtual rocker.
In order to facilitate the attack on the enemy character in the game scene while controlling the movement of the controlled virtual character, an automatic attack function may be set. A virtual character in a game scene that has a antagonistic relationship with a controlled virtual character may be referred to as a first virtual character. When the player presses a finger in the first control to generate a first sliding operation, a target attack range in the game scene can be determined based on the position of the controlled virtual character in the game scene and a preset attack range size, wherein the attack range can be the radius of the attack range, in response to a generation event of the first sliding operation acting on the virtual rocker. After determining the position of the controlled virtual character, a circular area can be determined based on the radius with the position of the controlled virtual character as the center, and the circular area can be used as the target attack range. And controlling the controlled virtual character to release the target skills to the first virtual character in response to the first virtual character appearing in the target attack range. And simultaneously controlling the controlled virtual character to move in the game scene based on the position of the contact point position of the first sliding operation in the movement area if the player slides the virtual stick.
As the controlled virtual character moves within the game scene, its corresponding target attack range will also change. In response to a location update event of the controlled virtual character in the game scene, updating the target attack range based on the updated location of the controlled virtual character; in response to the first virtual character appearing within the updated target attack range, the controlled virtual character may be continuously controlled to release the target skill to the first virtual character.
The following embodiments provide an implementation of controlling a controlled virtual character to release a target skill in response to a designated touch operation acting on a moving area.
The above-mentioned designated touch operation may be a click operation. And controlling the controlled virtual character to release the target skills in response to the clicking operation on the moving area when the player performs the clicking operation on the moving area.
The above-mentioned designated touch operation may also be the generation or release of a contact. For example, the controlled avatar may be controlled to release skills when the first sliding operation occurs. The controlled virtual character may also be controlled to release the target skills in response to an end event acting on the first sliding operation.
The embodiment of the disclosure also provides another interactive control method in the game, which is realized on the basis of the method shown in fig. 1. In the method, a mobile control and an attack control are combined into a whole, only a first control is set, a player controls a controlled virtual character to move when the player slides the first control, and the controlled virtual character releases skills when the player clicks the first control. .
As shown in fig. 3, when the game interface is in the portrait mode, a first control is displayed in the game interface, which can control the controlled virtual character to move and release skills. The first control shown in fig. 3 represents the virtual rocker in the shape of a sword, and the surrounding circular area represents the movement area of the virtual rocker.
The rocker in the first control can be either dragged or clicked. When the player drags the center button (i.e., virtual rocker) in the first control by a finger, it is a control drag event, i.e., a sliding operation that acts on the virtual rocker. Wherein, the finger presses the central button and moves a certain distance, which is the movement control operation.
When the player's finger presses any position in the display area of the first control, and quickly lifts the control click event. The center button follows the finger-pressed position and triggers an attack operation.
The first control may be non-fixed in the display position of the game interface, and the player may trigger actuation of the virtual rocker in a larger area. At this point, in the range where the rocker can be actuated, a quick click can trigger the controlled avatar to release skill.
It is also possible to monitor at any time whether there is an enemy in the attack range of the character controlled by the player. If so, the attack can be automatically carried out without repeated clicking, and the player can concentrate on walking, so that the operation pressure is further saved. The functions can be set by the player through the game system, can also be automatically effective after the player acquires a certain game prop, and can be specifically set according to the requirement without setting.
When a player drags the virtual rocker to start to control the virtual character to move, the player presses down the virtual rocker to instantly trigger an attack; after the dragging movement, the moment of loosening the hand can trigger an attack.
The method is applicable to not only vertical screen MOBA categories, but also any mobile phone games comprising vertical screen user interaction interfaces, RPG, SLG and the like, and can solve the problem of difficult single-hand operation in a vertical screen mode and reduce operation pressure.
For the above method embodiment, referring to fig. 4, an embodiment of the present disclosure provides an interactive control device in a game, and a game interface is provided through a terminal device; the game interface is used for displaying a game scene where the controlled virtual character is located; the device comprises:
a control display module 402, configured to display a first control on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker;
a movement control module 404 for controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker;
the skill control module 406 is configured to control the controlled virtual character to release the target skill in response to a specified touch operation applied to the moving area.
The interaction control device in the game displays the first control on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area. In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.
The skill control module is further configured to: in response to a click operation on the movement area, the controlled virtual character is controlled to release the target skill.
The skill control module is further configured to: in response to an end event acting on the first sliding operation, the controlled virtual character is controlled to release the target skill.
The control display module is also used for: the first control is displayed in response to a pressing operation acting on a designated area in the game interface.
The device further comprises: and the second skill control module is used for controlling the controlled virtual role to release the target skill in response to the clicking operation acted on the designated area.
The control display module is also used for: updating the display game interface in response to the specified trigger event; the ratio of the display length to the display width of the updated game interface is smaller than the ratio of the display length to the display width of the game interface before updating; and displaying the first control on the updated game interface.
The game scene also comprises at least one first virtual role; the first virtual character has a countermeasure relationship with the controlled virtual character; the movement control module is also for: responding to a generation event of a first sliding operation acting on the virtual rocker, and determining a target attack range in the game scene based on the position of the controlled virtual character in the game scene and the preset attack range size; in response to the first virtual character appearing within the target attack range, controlling the controlled virtual character to release target skills to the first virtual character; the controlled virtual character is controlled to move in the game scene based on the position of the contact point position of the first sliding operation in the movement area.
The device further comprises: the attack range updating module is used for responding to a position updating event of the controlled virtual character in the game scene and updating the target attack range based on the updated position of the controlled virtual character; and the third attack control module is used for controlling the controlled virtual character to release the target skills to the first virtual character in response to the first virtual character appearing in the updated target attack range.
The present embodiment also provides an electronic device including a processor and a memory storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the interactive control method in the game. The method comprises the following steps:
displaying a first control on a game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area.
In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.
Optionally, the step of controlling the controlled virtual character to release the target skill in response to the designated touch operation applied to the moving area includes: in response to a click operation on the movement area, the controlled virtual character is controlled to release the target skill.
Optionally, the step of controlling the controlled virtual character to release the target skill in response to the designated touch operation applied to the moving area includes: in response to an end event acting on the first sliding operation, the controlled virtual character is controlled to release the target skill.
Optionally, the step of displaying the first control on the game interface includes: the first control is displayed in response to a pressing operation acting on a designated area in the game interface.
Optionally, the method further comprises: and controlling the controlled virtual character to release the target skills in response to the clicking operation on the designated area.
Optionally, the step of displaying the first control on the game interface includes: updating the display game interface in response to the specified trigger event; the ratio of the display length to the display width of the updated game interface is smaller than the ratio of the display length to the display width of the game interface before updating; and displaying the first control on the updated game interface.
Optionally, the game scene further includes at least one first virtual character; the first virtual character has a countermeasure relationship with the controlled virtual character; a step of controlling movement of a controlled virtual character in a game scene in response to a first sliding operation acting on the virtual rocker, comprising: responding to a generation event of a first sliding operation acting on the virtual rocker, and determining a target attack range in the game scene based on the position of the controlled virtual character in the game scene and the preset attack range size; in response to the first virtual character appearing within the target attack range, controlling the controlled virtual character to release target skills to the first virtual character; the controlled virtual character is controlled to move in the game scene based on the position of the contact point position of the first sliding operation in the movement area.
Optionally, the method further comprises: in response to a location update event of the controlled virtual character in the game scene, updating the target attack range based on the updated location of the controlled virtual character; and controlling the controlled virtual role to release the target skills to the first virtual role in response to the first virtual role appearing in the updated target attack range.
Referring to fig. 5, the electronic device includes a processor 100 and a memory 101, the memory 101 storing machine executable instructions that can be executed by the processor 100, the processor 100 executing the machine executable instructions to implement the interactive control method in the game described above.
Further, the electronic device shown in fig. 5 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The memory 101 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. 5, but not only one bus or type of bus.
The processor 100 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 100 or by instructions in the form of software. The processor 100 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 also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the disclosure 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 a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded 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 101, and the processor 100 reads the information in the memory 101 and, in combination with its hardware, performs the steps of the method of the previous embodiment.
The present embodiment also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the interactive control method in a game described above.
An interactive control method, apparatus and electronic device in a game provided in the embodiments of the present disclosure include a computer readable storage medium storing program code including instructions for performing the method described in the foregoing method embodiments. The method comprises the following steps:
displaying a first control on a game interface; the first control is used for: controlling the controlled virtual character to move in the game scene and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a moving area corresponding to the virtual rocker; controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker; and controlling the controlled virtual character to release the target skills in response to the designated touch operation acting on the moving area.
In the mode, the control which can be used for controlling the movement of the controlled virtual character and triggering the skills is arranged on the game interface, and the player can control the movement of the controlled virtual character and the release of the skills through the control, so that the convenience of single-hand operation of the player is improved, and the game experience of the player is improved.
Optionally, the step of controlling the controlled virtual character to release the target skill in response to the designated touch operation applied to the moving area includes: in response to a click operation on the movement area, the controlled virtual character is controlled to release the target skill.
Optionally, the step of controlling the controlled virtual character to release the target skill in response to the designated touch operation applied to the moving area includes: in response to an end event acting on the first sliding operation, the controlled virtual character is controlled to release the target skill.
Optionally, the step of displaying the first control on the game interface includes: the first control is displayed in response to a pressing operation acting on a designated area in the game interface.
Optionally, the method further comprises: and controlling the controlled virtual character to release the target skills in response to the clicking operation on the designated area.
Optionally, the step of displaying the first control on the game interface includes: updating the display game interface in response to the specified trigger event; the ratio of the display length to the display width of the updated game interface is smaller than the ratio of the display length to the display width of the game interface before updating; and displaying the first control on the updated game interface.
Optionally, the game scene further includes at least one first virtual character; the first virtual character has a countermeasure relationship with the controlled virtual character; a step of controlling movement of a controlled virtual character in a game scene in response to a first sliding operation acting on the virtual rocker, comprising: responding to a generation event of a first sliding operation acting on the virtual rocker, and determining a target attack range in the game scene based on the position of the controlled virtual character in the game scene and the preset attack range size; in response to the first virtual character appearing within the target attack range, controlling the controlled virtual character to release target skills to the first virtual character; the controlled virtual character is controlled to move in the game scene based on the position of the contact point position of the first sliding operation in the movement area.
Optionally, the method further comprises: in response to a location update event of the controlled virtual character in the game scene, updating the target attack range based on the updated location of the controlled virtual character; and controlling the controlled virtual role to release the target skills to the first virtual role in response to the first virtual role appearing in the updated target attack range.
Referring to fig. 5, the electronic device includes a processor 100 and a memory 101, the memory 101 storing machine executable instructions that can be executed by the processor 100, the processor 100 executing the machine executable instructions to implement the interactive control method in the game described above.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of the embodiments of the present disclosure, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this disclosure will be understood by those skilled in the art in the specific case.
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 such understanding, the technical solutions of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solutions, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present disclosure. 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 disclosure, 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 disclosure 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 disclosure. 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 foregoing examples are merely illustrative of specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, although the disclosure has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (11)

1. An interactive control method in a game is characterized in that a game interface is provided through terminal equipment; the game interface is used for displaying a game scene where the controlled virtual character is located; the method comprises the following steps:
displaying a first control on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene, and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a movement area corresponding to the virtual rocker;
controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker;
and responding to the designated touch operation acted on the moving area, and controlling the controlled virtual character to release target skills.
2. The method of claim 1, wherein the step of controlling the controlled avatar to release target skills in response to a designated touch operation acting on the moving area comprises:
and controlling the controlled virtual character to release target skills in response to clicking operation on the moving area.
3. The method of claim 1, wherein the step of controlling the controlled avatar to release target skills in response to a designated touch operation acting on the moving area comprises:
and controlling the controlled virtual character to release target skills in response to an ending event acting on the first sliding operation.
4. The method of claim 1, wherein the step of displaying a first control at the game interface comprises:
and responding to the pressing operation acted on the designated area in the game interface, and displaying a first control.
5. The method according to claim 4, wherein the method further comprises:
and controlling the controlled virtual character to release target skills in response to clicking operation on the designated area.
6. The method of claim 1, wherein the step of displaying a first control at the game interface comprises:
in response to a specified trigger event, updating and displaying the game interface; the ratio of the display length to the display width of the game interface after updating is smaller than the ratio of the display length to the display width of the game interface before updating;
and displaying a first control on the updated game interface.
7. The method of claim 1, further comprising at least one first virtual character in the game scene; the first virtual character has an antagonistic relationship with the controlled virtual character;
a step of controlling movement of the controlled virtual character in the game scene in response to a first sliding operation acting on the virtual rocker, comprising:
responding to a generation event of a first sliding operation acting on the virtual rocker, and determining a target attack range in the game scene based on the position of the controlled virtual character in the game scene and a preset attack range size;
responsive to the first virtual character appearing within the target attack range, controlling the controlled virtual character to release target skills to the first virtual character;
the controlled virtual character is controlled to move in the game scene in response to a position of a contact point position acting on the first sliding operation in the movement area.
8. The method of claim 7, wherein the method further comprises:
updating the target attack range based on the updated position of the controlled virtual character in response to a position update event of the controlled virtual character in the game scene;
and controlling the controlled virtual role to release target skills to the first virtual role in response to the first virtual role appearing in the updated target attack range.
9. An interactive control device in a game is characterized in that a game interface is provided through terminal equipment; the game interface is used for displaying a game scene where the controlled virtual character is located; the device comprises:
the control display module is used for displaying a first control on the game interface; the first control is used for: controlling the controlled virtual character to move in the game scene, and controlling the controlled virtual character to release target skills; the first control comprises a virtual rocker and a movement area corresponding to the virtual rocker;
a movement control module for controlling the controlled virtual character to move in the game scene in response to a first sliding operation acting on the virtual rocker;
and the skill control module is used for responding to the appointed touch operation acted on the moving area and controlling the controlled virtual character to release target skills.
10. 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 interactive control in a game of any of claims 1-8.
11. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of interactive control in a game of any one of claims 1-8.
CN202311305217.9A 2023-10-09 2023-10-09 Interaction control method and device in game and electronic equipment Pending CN117547815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311305217.9A CN117547815A (en) 2023-10-09 2023-10-09 Interaction control method and device in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311305217.9A CN117547815A (en) 2023-10-09 2023-10-09 Interaction control method and device in game and electronic equipment

Publications (1)

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

Family

ID=89813661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311305217.9A Pending CN117547815A (en) 2023-10-09 2023-10-09 Interaction control method and device in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN117547815A (en)

Similar Documents

Publication Publication Date Title
CN108355354B (en) Information processing method, device, terminal and storage medium
CN107648847B (en) Information processing method and device, storage medium and electronic equipment
US10500484B2 (en) Information processing method and apparatus, storage medium, and electronic device
US10695674B2 (en) Information processing method and apparatus, storage medium and electronic device
CN107823882B (en) Information processing method, information processing device, electronic equipment and storage medium
CN108905212B (en) Game screen display control method and device, storage medium and electronic equipment
CN108854063B (en) Aiming method and device in shooting game, electronic equipment and storage medium
CN111888766B (en) Information processing method and device in game, electronic equipment and storage medium
CN113181651A (en) Method and device for controlling movement of virtual object in game, electronic equipment and storage medium
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
CN115920395A (en) Interactive control method and device in game and electronic equipment
CN117547815A (en) Interaction control method and device in game and electronic equipment
CN115708956A (en) Game picture updating method and device, computer equipment and medium
CN115624754A (en) Interaction control method and device for releasing skills and electronic equipment
CN113813604A (en) Information interaction method and device in game and electronic equipment
CN113680062A (en) Information viewing method and device in game
CN116020114A (en) Game operation control method and device and electronic equipment
CN113663326B (en) Aiming method and device for game skills
CN115738230A (en) Game operation control method and device and electronic equipment
CN116392806A (en) Information display method and device in game and electronic equipment
CN113663326A (en) Game skill aiming method and device
CN117717765A (en) Game control method and device and electronic equipment
CN117883785A (en) Operation control method and device in game and electronic equipment
CN117018612A (en) Information 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