CN110841291A - Method and device for interacting shortcut messages in game and electronic equipment - Google Patents

Method and device for interacting shortcut messages in game and electronic equipment Download PDF

Info

Publication number
CN110841291A
CN110841291A CN201911138262.3A CN201911138262A CN110841291A CN 110841291 A CN110841291 A CN 110841291A CN 201911138262 A CN201911138262 A CN 201911138262A CN 110841291 A CN110841291 A CN 110841291A
Authority
CN
China
Prior art keywords
shortcut
action
sliding operation
messages
game
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
CN201911138262.3A
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 CN201911138262.3A priority Critical patent/CN110841291A/en
Publication of CN110841291A publication Critical patent/CN110841291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an interaction method, a device and electronic equipment for shortcut messages in games, wherein the method comprises the following steps: responding to touch operation acting on an action control in a graphical user interface, and controlling the virtual role to execute an action corresponding to the action control; responding to sliding operation continuous with touch operation, and determining shortcut information corresponding to the action; and responding to the end of the sliding operation and sending shortcut information. The interaction method, the interaction device and the electronic equipment for the shortcut messages in the game can respond to the touch operation acting on the action control in the graphical user interface, control the virtual character to execute the action corresponding to the action control, further respond to the sliding operation continuous with the touch operation, determine and send the shortcut messages, enable the user to send the messages corresponding to the action while controlling the action of the virtual character, do not need to edit the message content, are simple to operate, improve the communication efficiency in a game scene, and are also beneficial to improving the experience degree of the user.

Description

Method and device for interacting shortcut messages in game and electronic equipment
Technical Field
The invention relates to the technical field of information interaction, in particular to a method and a device for interaction of shortcut messages in a game and electronic equipment.
Background
Generally, in a game scene, users in the same team need to communicate with each other during the game process to realize the cooperation of members in the team and complete the game task. However, in the communication process, the user is often required to edit the content to be interacted, so that a certain reaction and preparation time is required for the user, and the communication efficiency in the game scene and the experience of the user are reduced.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for interacting a shortcut message in a game, and an electronic device, so as to alleviate the technical problem of low communication efficiency in the existing game scene and improve the experience of a user.
In a first aspect, an embodiment of the present invention provides a method for interacting a shortcut message in a game, where the game includes a virtual character, a graphical user interface is obtained by executing a software application and rendering on a display of a terminal, content displayed by the graphical user interface includes an action control, and the action control is configured with the shortcut message, and the method includes: responding to touch operation acting on an action control in a graphical user interface, and controlling the virtual role to execute an action corresponding to the action control; responding to sliding operation continuous with touch operation, and determining shortcut information corresponding to the action; and responding to the end of the sliding operation and sending shortcut information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the step of sending shortcut information in response to the end of the sliding operation includes: and the touch point responding to the sliding operation moves to a preset position, and the shortcut information is sent.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the step of sending shortcut information when the touch point responding to the sliding operation moves to a preset position includes: displaying a corresponding threshold identification at a preset position; and when the touch point of the sliding operation moves to the threshold identification, sending shortcut information.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the determining, in response to a sliding operation that is continuous with a touch operation, shortcut information corresponding to an action includes: acquiring the movement information of a touch point of sliding operation; and if the mobile information meets the preset condition, determining shortcut information corresponding to the action.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the preset condition that the mobile information satisfies includes: the touch point of the sliding operation moves to a preset area, or the touch point of the sliding operation meets a preset distance when moving towards a preset direction.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after the shortcut information corresponding to the action is determined, the method further includes: and displaying the shortcut message at a preset position corresponding to the action control.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the action control is configured with a plurality of shortcut messages; the step of displaying the shortcut message at the preset position corresponding to the action control comprises the following steps: and displaying each shortcut message at a preset position corresponding to each preset direction of the action control.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the sending the shortcut information includes: and sending a message signal corresponding to the shortcut message to a second terminal corresponding to a target virtual role of the team in which the virtual role is positioned, so that the second terminal displays the shortcut message according to the message signal.
With reference to the seventh possible implementation manner of the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the target virtual role includes: a target virtual character within a certain distance threshold range from the virtual character.
With reference to the first aspect, an embodiment of the present invention provides a ninth possible implementation manner of the first aspect, where the action control includes one or more of the following action controls: a lie control, a crouch control, and a jump control.
With reference to the first aspect, an embodiment of the present invention provides a tenth possible implementation manner of the first aspect, where the shortcut message includes at least one of: attack type shortcut messages, retreat type shortcut messages and buried type shortcut messages.
With reference to the first aspect, an embodiment of the present invention provides an eleventh possible implementation manner of the first aspect, where the ending of the sliding operation includes: the touch point of the sliding operation is static, or the touch point of the sliding operation leaves the graphical user interface.
In a second aspect, an embodiment of the present invention further provides an apparatus for interacting a shortcut message in a game, where the game includes a virtual character, and a graphical user interface is obtained by executing a software application and rendering the software application on a display of a first terminal, where content displayed on the graphical user interface includes an action control, and the action control is configured with the shortcut message, and the apparatus includes: the execution module is used for responding to touch operation acting on the action control in the graphical user interface and controlling the virtual role to execute the action corresponding to the action control; the determining module is used for responding to the sliding operation continuous with the touch operation and determining shortcut information corresponding to the action; and the sending module is used for responding to the end of the sliding operation and sending the shortcut information.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the processor implements the steps of the method for interacting a shortcut message in a game according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for interacting a shortcut message in a game according to the first aspect are executed.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method and a device for interacting shortcut messages in a game and electronic equipment, which can respond to touch operation acting on an action control in a graphical user interface to control a virtual character to execute the action corresponding to the action control, further respond to sliding operation continuous with the touch operation, determine the shortcut message corresponding to the action, respond to the end of the sliding operation, and send the shortcut message, so that a user can send the message corresponding to the action while controlling the action of the virtual character, and the message content does not need to be edited.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention 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 used 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 invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating a method for interaction of shortcut messages in a game according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for interaction of shortcut messages in a game according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for interaction of shortcut messages in a game according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a preview of a shortcut message according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interaction apparatus for providing a shortcut message in a game according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another interactive apparatus for quick messages in a game according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Generally, in a game scene, communication modes that can be realized mainly include a voice interaction mode and a text input interaction mode, but both the voice input mode and the text input mode require a certain time and response, and in some game scenes requiring quick response or quick communication, the communication mode in the prior art reduces communication efficiency to a certain extent. Based on this, the embodiment of the invention provides a method and a device for interaction of shortcut messages in a game and an electronic device, so that the technical problem of reducing communication efficiency is solved, and the experience degree of a user is improved.
To facilitate understanding of the embodiment, first, a detailed description is given below of an interaction method for a shortcut message in a game according to an embodiment of the present invention.
Fig. 1 is a flowchart illustrating an interaction method of a shortcut message in a game, where the game includes a virtual character, a graphical user interface is obtained by executing a software application and rendering the software application on a display of a first terminal, and a content displayed on the graphical user interface includes at least a part of a game scene and the virtual character, and an action control for controlling an action of the virtual character, and specifically, in an embodiment of the present invention, the action control presented in the game scene is usually configured with the shortcut message, so that the terminal can execute the method provided in the embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, responding to touch operation of an action control acting on a graphical user interface, and controlling a virtual character to execute an action corresponding to the action control;
generally, for the touch operation of the action control, including but not limited to a heavy press operation, a long press operation, or a click operation on the action control, to activate the action control, a specific operation manner may be set according to an actual use situation, which is not limited in this embodiment of the present invention, so that the virtual character may be controlled to execute the action corresponding to the action control.
Step S104, responding to the sliding operation continuous with the touch operation, and determining shortcut information corresponding to the action;
in practical application, a user can perform a sliding operation continuous with a touch operation in addition to controlling a virtual character to execute a corresponding action through the touch operation, so that the terminal can respond to the sliding operation to determine shortcut information corresponding to the action.
And step S106, responding to the end of the sliding operation and sending shortcut information.
Specifically, the sliding operation ending includes: the touch point of the sliding operation is static, or the touch point of the sliding operation leaves the graphical user interface. Responding to the sliding operation end means that the terminal responds to a signal indicating that the sliding operation is ended, and then sends the determined shortcut message, for example, the shortcut message is sent to a second terminal corresponding to a target virtual character of a team in which the virtual character is located.
Specifically, the target virtual character is usually a virtual character belonging to the same team as the virtual character, and by the above manner, the virtual characters of the same team can be quickly communicated with each other.
The embodiment of the invention provides a method for interacting shortcut messages in a game, which can respond to touch operation acting on an action control in a graphical user interface to control a virtual character to execute an action corresponding to the action control, further respond to sliding operation continuous with the touch operation, determine the shortcut message corresponding to the action, respond to the end of the sliding operation, and send the shortcut message, so that a user sends a message corresponding to the action while controlling the action of the virtual character, and does not need to edit message content.
In practical applications, the first terminal may be a terminal capable of performing touch control, such as a smart phone, a tablet computer, a handheld computer, and the like, and the graphical user interface rendered on the display of the terminal is generally a game interaction interface, such as an interaction interface of a hand game, an online game, a cloud game, and the like, and the game interaction interface may display a game scene, a virtual character included in the game scene, an action control for controlling an action of the virtual character, a setting space of a game, and the like. Therefore, after the first terminal is provided with the corresponding game client, the game scene and the virtual character can be displayed through the touch screen, and meanwhile, the first terminal responds to the touch operation acting on the action control in the graphical user interface, so that a user can control the game through the graphical user interface, and quick communication of the users in the same team is realized.
In the embodiment of the present invention, the action control usually includes one or more of a lying control, a squatting control, and a jumping control, and therefore, the interaction process of the shortcut message provided in the embodiment of the present invention includes: and adding shortcut messages and sending the shortcut messages by action controls such as lying down, squatting down, jumping and the like.
Because in the instinctive response of the human body: lying down, crouching down, jumping and the like all include certain meanings, such as lying down, is a reaction made when a character in a game scene meets danger or needs to advance carefully; jumping and forward and backward sprint running are actually a reaction of the character in the game scene to the environment and the situation at that time, such as clicking crouch, and the purpose may be: squatting forward and squatting hide the position of oneself (also with jumping), and every kind of operation can correspond two operation purpose broad categories again simultaneously: attack signal and retreat signal. Therefore, in a normal operation without changing the above-described action control, different types of shortcut messages can be transmitted through different movement operations.
Specifically, the shortcut message includes at least one of: attack type shortcut messages, retreat type shortcut messages and buried type shortcut messages. The attack shortcut message is equivalent to a signal for prompting an attack type to the target virtual character, such as: when initiating an attack or the like with me, the action control may send the action control in an up-sliding manner, for example, the sliding operation that is continuous with the touch operation is an up-sliding operation.
The quit type shortcut message is equivalent to prompt a quit type signal to the target virtual role, for example: an enemy in front pays attention to the signals such as concealment and the like to achieve the effect of rapid communication and can generally send the signals in the action control in a gliding mode, and at the moment, the sliding operation continuous with the touch operation is the gliding operation.
The buried shortcut message may be a signal for prompting a target virtual character to be buried nearby, or a signal for prompting the target virtual character to be buried; in addition, the sending process of each type of shortcut message can be customized in a game setting menu by the user, and the embodiment of the invention does not set the process specifically based on the actual game situation.
Therefore, when the action control is activated, the user may continue to issue a sliding operation continuous with the touch operation to move the touch point of the touch operation, for example, to slide up or slide down, so as to determine the shortcut message corresponding to the action, and therefore, on the basis of fig. 1, the embodiment of the present invention further provides another method for interacting the shortcut message in the game, which illustrates the process of determining and sending the shortcut message, as shown in fig. 2, which is a flowchart of another method for interacting the shortcut message in the game, and includes the following steps:
step S202, responding to touch operation of an action control acting on a graphical user interface, and controlling a virtual role to execute an action corresponding to the action control;
step S204, responding to the sliding operation continuous with the touch operation, and acquiring the movement information of the touch point of the sliding operation;
step S206, if the mobile information meets the preset condition, shortcut information corresponding to the action is determined;
specifically, in the embodiment of the present invention, the preset condition that the mobile information satisfies includes: the touch point of the sliding operation moves to a preset area, or the touch point of the sliding operation meets a preset distance when moving towards a preset direction.
When a user clicks a corresponding action control, a clicked position on the graphical user interface is a touch point, the preset region may be a region in a certain direction of the action control, such as above or below, for example, when a sliding operation continuous with the touch operation is responded, the touch point capable of being operated in a sliding manner moves to the region above the action control to determine shortcut information corresponding to the action, or the shortcut information may be determined after the user slides a preset distance above the action control, which is the second case: the touch point of the sliding operation meets the preset distance when moving towards the preset direction.
And S208, responding to the movement of the touch point of the sliding operation to a preset position, and sending shortcut information.
In practical use, in step S206, the preset condition that the movement information satisfies includes a condition of a movement direction and a condition of a distance in the direction, specifically, taking the squat control to slide down to send a shortcut message indicating "hidden", when the user presses the squat control, the virtual character performs the squat operation, if the user continuously presses the squat control and performs the slide-down operation, and controls the touch point to move at this time, if the movement direction satisfies the slide-down, and when the movement distance of the slide-down operation satisfies a preset distance threshold, the terminal determines that the touch point of the slide-down operation has moved. If the sliding directions are not right, or the sliding distance is smaller than the preset distance threshold, at this time, the terminal determines that the touch point of the sliding operation does not move, and the virtual character only executes the action corresponding to the action control at this time, that is, squats, and does not execute the subsequent steps.
During specific implementation, the preset conditions met by the movement information of the horizontal control, the squatting control and the jumping control in the action controls can be set according to actual use conditions.
The shortcut messages configured for different action controls may be the same. It may also be different, for example, for squatting, lying down, both of which may indicate a cautious advance or conceal the position of the character in the game scene, etc., so that a quick message indicating "conceal" may be sent when performing the squatting or lying down, for example, when sliding down the squatting control, a quick message of "conceal" may be sent, and when sliding down the lying down control, a quick message of "conceal" may also be sent. The shortcut message configured for each action control may be specifically set according to the game situation or the meaning represented by the actual action, which is not limited in the embodiment of the present invention.
In the step S208, the process of sending the shortcut message is a process of sending the shortcut message to a target virtual character of a team in which the virtual character is located, and when the shortcut message is actually used, a message signal corresponding to the shortcut message may be sent to a second terminal corresponding to the target virtual character of the team in which the virtual character is located, so that the second terminal displays the shortcut message according to the message signal, for example, the shortcut message is sent to a dialog area of a current game scene, so that the target virtual character of the team in which the virtual character is located receives the shortcut message; at this time, all the virtual roles in the team of the virtual role can receive the shortcut message. Further, since different tasks may be executed for members of the same team during the actual game progress, when transmitting the shortcut message, only the shortcut message may be transmitted to virtual characters that execute the same task, and the virtual characters that execute the same task may be generally concentrated in a game scene that is close to each other, and thus the target virtual characters include: the target virtual roles within a certain distance threshold range from the virtual roles are sent to the target virtual roles within a certain distance threshold range from the virtual roles in the team where the virtual roles are located, timely communication between the virtual roles and other virtual roles in the same team can be realized, user voice input is avoided, or reaction time spent during typing input is avoided, communication efficiency is improved, meanwhile, the user can communicate with members in the same team quickly in certain inconvenient voice environments conveniently, the requirement of quick communication of the user is met, and user experience is improved.
In the step S208, when the shortcut information is sent, in order to facilitate user operation, a corresponding threshold identifier may be displayed at a preset position; and when the touch point of the sliding operation moves to the position corresponding to the threshold identification, sending shortcut information.
Similarly, for example, when the user presses the squatting control, a circular mark may be set at a position in the sliding direction and at a position sliding a certain distance, so as to prompt the user to press the squatting control, and then the squatting control is slid down to the position of the circular mark, so as to send a quick message indicating "hiding".
Considering that the action control may be configured with a plurality of shortcut messages in actual use, for the case that there are a plurality of shortcut messages, the preset directions of the action control corresponding to different shortcut messages may be set to different directions; each preset direction corresponds to a preset position;
similarly, the squatting control is taken as an example, the virtual character is controlled to squat, and the virtual character can also be in the meaning of concealing advancing except concealing the position of the virtual character, so that the shortcut message configured for the squatting control can include the shortcut message of initiating attack such as 'following me' and the like besides concealing, therefore, the following squatting control can be set to send the concealed shortcut message, and the upper-sliding squatting control can send the shortcut message of 'following me'. Therefore, for the mode that the action control is configured with a plurality of shortcut messages, different preset directions and preset positions corresponding to each preset direction can be set so as to send different shortcut messages.
For an action control configured with only one shortcut message, multiple preset directions and a preset distance in each preset direction may also be set, for example, the four directions of the action control, i.e., up, down, left, and right, are set, so that when a user performs sliding in the four directions of up, down, left, and right, the shortcut message corresponding to the action control may be sent, which may be specifically set according to an actual use condition, which is not limited in this embodiment of the present invention.
In practical applications, in order to facilitate a user to know a shortcut message configured by a current action control, after determining the shortcut message corresponding to an action, the shortcut message may be previewed, so that on the basis of fig. 1 and fig. 2, an embodiment of the present invention further provides another method for interacting a shortcut message in a game, where as shown in fig. 3, a flowchart of another method for interacting a shortcut message in a game includes the following steps:
step S302, responding to touch operation of an action control acting on a graphical user interface, and controlling a virtual role to execute an action corresponding to the action control;
step S304, responding to the sliding operation continuous with the touch operation, and determining shortcut information corresponding to the action;
step S306, displaying a shortcut message at a preset position corresponding to the action control;
specifically, the shortcut message corresponding to the action control may be displayed around the action control, such as displayed above the action control, so that the user may preview the shortcut message.
For the situation that the action control is configured with a plurality of shortcut messages, the preset directions of the action controls corresponding to different shortcut messages are different; and each preset direction corresponds to one preset position, so that when the shortcut messages are displayed, the shortcut messages corresponding to the preset directions can be displayed at the preset positions corresponding to the preset directions of the action control.
And step S308, responding to the end of the sliding operation and sending shortcut information.
Specifically, when the shortcut message is sent, for the case that the action control is configured with a plurality of shortcut messages, the shortcut message corresponding to the position movement can be determined from the acquired shortcut messages; and then sending the determined shortcut message to a target virtual role of a team where the virtual role is located.
For convenience of understanding, fig. 4 shows a preview schematic diagram of a shortcut message, taking a graphical user interface displayed on a touch terminal as an example, as shown in fig. 4, a game scene is displayed on the graphical user interface of the touch terminal, where the game scene includes a virtual character, and a game control area of a current game and an action control of the virtual character, where the action control shown in fig. 4 includes a lying control, a squatting control, and a jumping control. Based on the schematic diagram shown in fig. 4, if a user, or game player, needs to control a virtual character to "jump" and send a message at the same time, a shortcut message transmission can be performed by sliding the jump control up or down. And if the user only inputs a click or touches the touch operation of the jump control without continuous sliding operation, only displaying the text information of the corresponding shortcut message around the jump control for prompting. Similarly, the shortcut messages configured by the other squatting and lying controls can be previewed and sent.
Usually, the shortcut messages corresponding to each preset direction are usually one, and the user does not need to select, because the selection process can also increase the operation time and needs certain reaction time, therefore, the shortcut messages in each preset direction are usually set to be one, when the user slides to the position with the preset distance continuously, the user can send the shortcut messages by releasing his hands, so that the user can express his intention with teammates conveniently and quickly, the cost of typing or voice is reduced, and the experience of the user on games is improved.
On the basis of the foregoing embodiment, an embodiment of the present invention further provides an interaction apparatus for a shortcut message in a game, specifically, the game includes a virtual character, a graphical user interface is obtained by executing a software application and rendering on a display of a first terminal, and content displayed on the graphical user interface includes at least a part of a game scene and the virtual character, and an action control for controlling an action of the virtual character, specifically, in the embodiment of the present invention, the action control presented in the game scene is configured with the shortcut message, fig. 5 shows a schematic diagram of an interaction apparatus for a shortcut message in a game, and as shown in fig. 5, the apparatus includes:
the execution module 50 is configured to respond to a touch operation applied to an action control in the graphical user interface, and control the virtual character to execute an action corresponding to the action control;
a determining module 52, configured to determine shortcut information corresponding to the action in response to a sliding operation that is continuous with the touch operation;
and a sending module 54, configured to send the shortcut information in response to the end of the sliding operation.
In a possible implementation manner, the sending module is configured to: and the touch point responding to the sliding operation moves to a preset position, and the shortcut information is sent.
In a possible implementation manner, the sending module is further configured to: displaying a corresponding threshold identification at a preset position; and when the touch point of the sliding operation moves to the threshold identification, sending shortcut information.
In a possible implementation manner, the determining module is configured to obtain movement information of a touch point of a sliding operation; if the mobile information meets the preset conditions, determining shortcut information corresponding to the action, wherein the preset conditions met by the mobile information comprise: the touch point of the sliding operation moves to a preset area, or the touch point of the sliding operation meets a preset distance when moving towards a preset direction.
Further, fig. 6 is a schematic diagram of another interaction apparatus for shortcut messages in a game, which includes, in addition to the structure shown in fig. 5: and the display module 56 is configured to display the shortcut message at the preset position corresponding to the action control after determining the shortcut information corresponding to the action.
Specifically, the action control may be configured with a plurality of shortcut messages, and different shortcut messages correspond to different preset directions of the action control; each preset direction corresponds to one preset position, and therefore, the display module is further used for displaying the shortcut messages corresponding to each preset direction at the preset position corresponding to each preset direction of the action control.
In a possible implementation manner, the sending module is further configured to: and sending a message signal corresponding to the shortcut message to a second terminal corresponding to a target virtual role of the team in which the virtual role is positioned, so that the second terminal displays the shortcut message according to the message signal.
Specifically, the target virtual character includes: a target virtual character within a certain distance threshold range from the virtual character.
The action controls include one or more of the following action controls: a horizontal control, a crouch control and a jump control; the shortcut message includes one of: attack type shortcut messages, retreat type shortcut messages and buried type shortcut messages.
The sliding operation ending includes: the touch point of the sliding operation is static, or the touch point of the sliding operation leaves the graphical user interface.
The implementation principle and the generated technical effect of the interaction device for the shortcut messages in the game provided by the embodiment of the present invention are the same as those of the aforementioned interaction method for the shortcut messages in the game, and for the sake of brief description, corresponding contents in the aforementioned method embodiment may be referred to where the embodiment of the device is not mentioned, and are not repeated herein.
The embodiment of the invention also provides electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of the interaction method of the shortcut messages in the game provided by the embodiment when executing the computer program.
An embodiment of the present invention further provides a schematic structural diagram of an electronic device, as shown in fig. 7, which is the schematic structural diagram of the electronic device, where the electronic device includes a processor 71 and a memory 70, the memory 70 stores computer-executable instructions that can be executed by the processor 71, and the processor 71 executes the computer-executable instructions to implement the method for interacting the shortcut messages in the game.
In the embodiment shown in fig. 7, the electronic device further comprises a bus 72 and a communication interface 73, wherein the processor 71, the communication interface 73 and the memory 70 are connected by the bus 72.
The Memory 70 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 73 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 72 may be an ISA (Industry standard Architecture) bus, a PCI (Peripheral component interconnect) bus, an EISA (Extended Industry standard Architecture) bus, or the like. The bus 72 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The processor 71 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 71. The Processor 71 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. 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 application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory, and the processor 71 reads the information in the memory, and completes the steps of the interaction method of the shortcut message in game in the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for interacting shortcut messages in a game provided in the above-mentioned embodiment are executed.
The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
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 non-volatile computer-readable storage medium executable by a processor. The computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) 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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular 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-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A method for interacting shortcut messages in a game is characterized in that the game comprises virtual characters, a graphical user interface is obtained by executing a software application and rendering on a display of a first terminal, content displayed by the graphical user interface comprises an action control, and the action control is configured with the shortcut messages, and the method comprises the following steps:
responding to touch operation acting on an action control in the graphical user interface, and controlling the virtual role to execute an action corresponding to the action control;
responding to sliding operation continuous with the touch operation, and determining shortcut information corresponding to the action;
and responding to the end of the sliding operation and sending the shortcut information.
2. The method of claim 1, wherein the step of sending the shortcut information in response to the sliding operation ending comprises:
and responding to the movement of the touch point of the sliding operation to a preset position, and sending the shortcut information.
3. The method according to claim 2, wherein the step of sending the shortcut information in response to the touch point of the sliding operation moving to a preset position comprises:
displaying a corresponding threshold identification at the preset position;
and when the touch point of the sliding operation moves to the threshold identification, sending the shortcut information.
4. The method of claim 1, wherein determining shortcut information corresponding to the action comprises:
acquiring the movement information of the touch point of the sliding operation;
and if the mobile information meets a preset condition, determining the shortcut information corresponding to the action.
5. The method according to claim 4, wherein the preset condition that the movement information satisfies includes: and the touch point of the sliding operation moves to a preset area, or the touch point of the sliding operation meets a preset distance when moving towards a preset direction.
6. The method of claim 1, wherein after determining shortcut information corresponding to the action, the method further comprises:
and displaying the shortcut message at a preset position corresponding to the action control.
7. The method of claim 6, wherein the action control is configured with a plurality of shortcut messages;
the step of displaying the shortcut message at the preset position corresponding to the action control comprises the following steps:
and displaying each shortcut message at a preset position corresponding to each preset direction of the action control.
8. The method of claim 1, wherein sending the shortcut information comprises:
and sending a message signal corresponding to the shortcut message to a second terminal corresponding to a target virtual role of the team in which the virtual role is positioned, so that the second terminal displays the shortcut message according to the message signal.
9. The method of claim 8, wherein the target avatar comprises: the target virtual character within a certain distance threshold range from the virtual character.
10. The method of claim 1, wherein the action controls comprise one or more of the following action controls: a lie control, a crouch control, and a jump control.
11. The method of claim 1, wherein the shortcut message comprises at least one of: attack type shortcut messages, retreat type shortcut messages and buried type shortcut messages.
12. The method of claim 1, wherein the sliding operation ending comprises:
the touch point of the sliding operation is static, or the touch point of the sliding operation leaves the graphical user interface.
13. An interaction device for shortcut messages in a game, wherein the game includes a virtual character, a graphical user interface is obtained by executing a software application and rendering on a display of a first terminal, content displayed by the graphical user interface includes an action control, and the action control is configured with the shortcut messages, the device comprising:
the execution module is used for responding to touch operation acting on an action control in the graphical user interface and controlling the virtual role to execute the action corresponding to the action control;
the determining module is used for responding to the sliding operation continuous with the touch operation and determining shortcut information corresponding to the action;
and the sending module is used for responding to the end of the sliding operation and sending the shortcut information.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for interacting in-game shortcut messages according to any of claims 1-12 when executing the computer program.
15. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method for interaction of shortcut messages in a game according to any of claims 1-12.
CN201911138262.3A 2019-11-19 2019-11-19 Method and device for interacting shortcut messages in game and electronic equipment Pending CN110841291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911138262.3A CN110841291A (en) 2019-11-19 2019-11-19 Method and device for interacting shortcut messages in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911138262.3A CN110841291A (en) 2019-11-19 2019-11-19 Method and device for interacting shortcut messages in game and electronic equipment

Publications (1)

Publication Number Publication Date
CN110841291A true CN110841291A (en) 2020-02-28

Family

ID=69602553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911138262.3A Pending CN110841291A (en) 2019-11-19 2019-11-19 Method and device for interacting shortcut messages in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN110841291A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111389003A (en) * 2020-03-16 2020-07-10 网易(杭州)网络有限公司 Game role control method, device, equipment and computer readable storage medium
CN111701239A (en) * 2020-06-17 2020-09-25 网易(杭州)网络有限公司 Message display control method and device in game
CN111841003A (en) * 2020-08-04 2020-10-30 网易(杭州)网络有限公司 Information processing method and device in game and electronic equipment
CN112386913A (en) * 2020-12-03 2021-02-23 网易(杭州)网络有限公司 Method and device for reminding shortcut operation in game
CN112957735A (en) * 2021-03-01 2021-06-15 网易(杭州)网络有限公司 Game control method and device
CN113244631A (en) * 2021-05-28 2021-08-13 网易(杭州)网络有限公司 Information transmission method, device, equipment, storage medium and program product
CN113262498A (en) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 Message processing method and device in game and electronic equipment
CN113521755A (en) * 2021-07-26 2021-10-22 网易(杭州)网络有限公司 Team forming method and device, computer equipment and storage medium
CN114780190A (en) * 2022-04-13 2022-07-22 脸萌有限公司 Message processing method and device, electronic equipment and storage medium
CN117717780A (en) * 2023-04-21 2024-03-19 网易(杭州)网络有限公司 Virtual character control method, device, electronic equipment and storage medium
CN113521755B (en) * 2021-07-26 2024-06-11 网易(杭州)网络有限公司 Team forming method, team forming device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094345A (en) * 2015-09-29 2015-11-25 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN108211349A (en) * 2018-02-12 2018-06-29 网易(杭州)网络有限公司 Information processing method, electronic equipment and storage medium in game

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094345A (en) * 2015-09-29 2015-11-25 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN108211349A (en) * 2018-02-12 2018-06-29 网易(杭州)网络有限公司 Information processing method, electronic equipment and storage medium in game

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111389003A (en) * 2020-03-16 2020-07-10 网易(杭州)网络有限公司 Game role control method, device, equipment and computer readable storage medium
CN111389003B (en) * 2020-03-16 2023-04-18 网易(杭州)网络有限公司 Game role control method, device, equipment and computer readable storage medium
CN111701239A (en) * 2020-06-17 2020-09-25 网易(杭州)网络有限公司 Message display control method and device in game
CN111701239B (en) * 2020-06-17 2024-03-22 网易(杭州)网络有限公司 Message display control method and device in game
CN111841003A (en) * 2020-08-04 2020-10-30 网易(杭州)网络有限公司 Information processing method and device in game and electronic equipment
CN111841003B (en) * 2020-08-04 2023-10-27 网易(杭州)网络有限公司 Information processing method and device in game and electronic equipment
CN112386913A (en) * 2020-12-03 2021-02-23 网易(杭州)网络有限公司 Method and device for reminding shortcut operation in game
CN112386913B (en) * 2020-12-03 2024-04-12 网易(杭州)网络有限公司 Prompt method and device for shortcut operation in game
CN112957735A (en) * 2021-03-01 2021-06-15 网易(杭州)网络有限公司 Game control method and device
CN113244631A (en) * 2021-05-28 2021-08-13 网易(杭州)网络有限公司 Information transmission method, device, equipment, storage medium and program product
CN113262498A (en) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 Message processing method and device in game and electronic equipment
CN113521755A (en) * 2021-07-26 2021-10-22 网易(杭州)网络有限公司 Team forming method and device, computer equipment and storage medium
CN113521755B (en) * 2021-07-26 2024-06-11 网易(杭州)网络有限公司 Team forming method, team forming device, computer equipment and storage medium
CN114780190A (en) * 2022-04-13 2022-07-22 脸萌有限公司 Message processing method and device, electronic equipment and storage medium
CN114780190B (en) * 2022-04-13 2023-12-22 脸萌有限公司 Message processing method, device, electronic equipment and storage medium
CN117717780A (en) * 2023-04-21 2024-03-19 网易(杭州)网络有限公司 Virtual character control method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110841291A (en) Method and device for interacting shortcut messages in game and electronic equipment
CN107648847B (en) Information processing method and device, storage medium and electronic equipment
CN107930122B (en) Information processing method, device and storage medium
CN110772800B (en) Method and device for sending skill information in game and electronic equipment
CN108804013B (en) Information prompting method and device, electronic equipment and storage medium
US11064048B2 (en) Method, device and system for information interaction in application service
CN110548286A (en) Method and device for locking virtual object in game and electronic equipment
JP5469276B1 (en) GAME SYSTEM, GAME PROGRAM, AND GAME PROVIDING METHOD FOR PROVIDING GAME SWITCHABLE BETWEEN MANUAL MODE AND AUTO MODE
KR20180004783A (en) Information processing method, terminal, and computer storage medium
CN112807686A (en) Game fighting method and device and electronic equipment
CN111494935A (en) Method and device for controlling virtual object in game
CN112426718A (en) Information sending method and device and electronic equipment
CN111870942A (en) Attack control method and device for virtual unit and electronic equipment
CN108815843B (en) Control method and device of virtual rocker
CN113952740A (en) Method and device for sharing virtual props in game, storage medium and electronic equipment
CN111298436B (en) Message sending method and device in game
WO2023160585A1 (en) Information transfer method and apparatus, electronic device, and readable medium
CN109002293B (en) UI element display method and device, electronic equipment and storage medium
KR20240026256A (en) Methods for displaying prompt information, devices and storage media, and electronic devices
JP6465550B2 (en) GAME SYSTEM, GAME PROGRAM, AND GAME PROVIDING METHOD FOR PROVIDING A GAME SWITCHABLE BETWEEN MANUAL MODE AND AUTO MODE
CN115738230A (en) Game operation control method and device and electronic equipment
CN115105831A (en) Virtual object switching method and device, storage medium and electronic device
CN115920395A (en) Interactive control method and device in game and electronic equipment
CN111841003B (en) Information processing method and device in game and electronic equipment
CN113797527A (en) Game processing method, device, equipment, medium and program product

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