CN113975807A - Method and device for generating information in game, electronic equipment and readable storage medium - Google Patents

Method and device for generating information in game, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113975807A
CN113975807A CN202111302233.3A CN202111302233A CN113975807A CN 113975807 A CN113975807 A CN 113975807A CN 202111302233 A CN202111302233 A CN 202111302233A CN 113975807 A CN113975807 A CN 113975807A
Authority
CN
China
Prior art keywords
game
information
target
user interface
graphical user
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
CN202111302233.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 CN202111302233.3A priority Critical patent/CN113975807A/en
Publication of CN113975807A publication Critical patent/CN113975807A/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/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Landscapes

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

Abstract

The application provides a method and a device for generating information in a game, an electronic device and a readable storage medium, and the method comprises the following steps: responding to the control instruction, and controlling the target game role to perform game behavior corresponding to the control instruction; responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation; determining a target function control from a plurality of function controls displayed in a graphical user interface according to the cursor position of the cursor after the movement is finished; and determining to send signal information corresponding to the target function control to other game characters. According to the method and the device, the information can be sent without inputting the information to be sent by the player and without shielding game elements in the graphical user interface, so that the information sending step in the game process is simplified, and the human-computer interaction efficiency is improved.

Description

Method and device for generating information in game, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a method and an apparatus for generating information in a game, an electronic device, and a readable storage medium.
Background
In a Massive Multiplayer Online (MMO) type game, teammates are required to cooperate with each other to complete game tasks by sharing information. However, when the player is controlling the target game character to fight, the player cannot be distracted to check the text information sent by the teammates, at this time, a sending function of the voice information occurs, and the current voice sending function requires the player to press the voice function control to perform voice input, so that the player is required to perform input under the condition that the operation is not urgent no matter the text information or the voice information, and when the target game character controlled by the player is in a tense game mission, the player is lack of time to perform the sending process of the information, and how to accurately send the information easy to check in the tense game mission becomes a problem to be solved.
At the present stage, in the game process, corresponding information can be conveniently sent according to the movement ending position of the communication function control by moving the communication function control, but game elements in a graphical user interface can be shielded in the moving process of the communication function control, so that the problem that a player fails to analyze the game real-time process and further the game is failed is caused, and the human-computer interaction efficiency is low.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for generating information in a game, in a process of a target game character performing a game behavior, a cursor is controlled to move in a graphical user interface by a touch operation on a function control, so as to determine a selected target function control, and signal information corresponding to the target function control is directly sent to other game characters, so that sending of information is completed without a player inputting information to be sent and without blocking game elements in the graphical user interface, steps of sending information in the game process are simplified, and human-computer interaction efficiency is improved.
In a first aspect, an embodiment of the present application provides a method for generating information in a game, where a terminal device provides a graphical user interface, where at least part of a game scene and a function control are displayed on the graphical user interface, and the game scene includes a target game role controlled by a user, and the method includes:
responding to a control instruction, and controlling the target game role to perform game behavior corresponding to the control instruction;
responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation;
determining a target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement is finished;
and determining to send signal information corresponding to the target function control to other game characters.
In one possible embodiment, the signal information includes at least one of:
voice information, text information, and graphic information.
In one possible embodiment, the step of controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation includes:
acquiring the position of the touch point in a control operation area, wherein the control operation area is an area determined in the graphical user interface according to the position of the function control in the graphical user interface and a preset rule;
determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relation, wherein the corresponding relation is the corresponding relation between the position in the control operation area and the position in the graphical user interface;
controlling movement of the cursor to a cursor position in the graphical user interface.
In a possible implementation manner, the step of determining, according to a position of the functionality control in the graphical user interface and according to a preset rule, an area in the graphical user interface includes:
and determining a geometric figure region with a preset size in the graphical user interface by taking the position of the functional control in the graphical user interface as a center.
In a possible implementation manner, the step of controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation further includes:
acquiring the position of the touch point in a control operation area, and determining the moving direction of the touch operation according to the position of the touch point;
and controlling the cursor to move along the moving direction in the graphical user interface according to a preset speed.
In one possible implementation, the determining to send signal information corresponding to the target function control to other game characters includes:
and determining signal information sent to other game characters according to the real-time state information about the target game character reflected by the target function control.
In one possible embodiment, the real-time status information of the target game character includes at least one of:
the item allocation information of the target game role, the life state information of the target game role and the distance information of the target game role.
In a possible implementation manner, the determining, according to the real-time status information about the target game character reflected by the target function control, signal information sent to other game characters includes:
if the item allocation information indicates that the target game role lacks the target item indicated by the target function control, determining to send signal information with target item demand information to other game roles;
and if the item allocation information indicates that the target game role is allocated with at least two target items, determining signal information with target item donation information and sent to other game roles.
In a possible implementation manner, the determining, according to the real-time status information about the target game character reflected by the target function control, signal information sent to other game characters includes:
and if the state parameter value of the target game role in the life state information indicated by the target function control is smaller than a preset danger value, determining to send signal information representing help seeking to other game roles.
In a possible implementation manner, the determining, according to the real-time status information about the target game character reflected by the target function control, signal information sent to other game characters includes:
determining distance information between the target game role and a preset dangerous area in a game scene according to the distance information indicated by the target function control;
and sending signal information with dangerous area early warning to other game roles according to the distance information and the preset name of the dangerous area.
In a possible embodiment, the preset size is determined based on the size of the graphical user interface reduced by a preset scale;
the preset proportion determining condition comprises at least one of the following conditions:
the terminal comprises model information of the terminal, an operation range of single touch operation and screen resolution of the terminal.
In a second aspect, an embodiment of the present application further provides an apparatus for generating information in a game, where a terminal device provides a graphical user interface, and at least part of a game scene and a function control are displayed on the graphical user interface, where the game scene includes a target game character controlled by a user, and the apparatus includes:
the behavior control module is used for responding to a control instruction and controlling the target game role to perform game behaviors corresponding to the control instruction;
the cursor control module is used for responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation;
the control determining module is used for determining a target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement of the cursor is finished;
and the information determining module is used for determining to send the signal information corresponding to the target function control to other game roles.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the step of generating in-game information according to any one of the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the in-game information generation method according to any one of the first aspect.
According to the method and the device for generating in-game information, the electronic equipment and the readable storage medium, when a target game role carries out a game behavior corresponding to a control instruction issued by a player, the touch operation aiming at the function control is responded, a cursor is displayed on the graphical user interface, the cursor is controlled to move along with the touch operation, the target function control is determined from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor when the touch operation is finished, and signal information sent to other game roles is determined according to the target function control. In the embodiment of the application, in the process of a game action of a target game role, a cursor is controlled to move in a graphical user interface through touch operation on a function control, so that a selected target function control is determined, signal information corresponding to the target function control is directly sent to other game roles, and the information is sent without the need of a player to input information to be sent and without shielding game elements in the graphical user interface, so that the information sending step in the game process is simplified, and the human-computer interaction efficiency is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart of a method for generating in-game information according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a graphical user interface provided by an embodiment of the present application;
FIG. 3 is a second schematic diagram of a graphical user interface provided by an embodiment of the present application;
FIG. 4 is a third schematic diagram of a graphical user interface provided by an embodiment of the present application;
FIG. 5 is a fourth schematic diagram of a graphical user interface provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of an in-game information generating apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. The application can be applied to the technical field of games.
In a Massive Multiplayer Online (MMO) type game, teammates are required to cooperate with each other to complete game tasks by sharing information. However, when the player is controlling the target game character to fight, the player cannot be distracted to check the text information sent by the teammates, at this time, a sending function of the voice information occurs, and the current voice sending function requires the player to press the voice function control to perform voice input, so that the player is required to perform input under the condition that the operation is not urgent no matter the text information or the voice information, and when the target game character controlled by the player is in a tense game mission, the player is lack of time to perform the sending process of the information, and how to accurately send the information easy to check in the tense game mission becomes a problem to be solved.
At the present stage, in the game process, corresponding information can be conveniently sent according to the movement ending position of the communication function control by moving the communication function control, however, game elements in a graphical user interface can be shielded in the moving process of the communication function control, the problem that a player fails to analyze the game in real time process, and further the game fails is caused, and the human-computer interaction efficiency is low.
Based on this, the embodiment of the application provides a method for generating information in a game, so that the man-machine interaction efficiency is improved by the step of sending the information in the game process.
For facilitating understanding of the present embodiment, a method, an apparatus, an electronic device, and a readable storage medium for generating in-game information provided in the embodiments of the present application are described in detail. The embodiment of the application can be applied to the field of games, for example, a game of a Frame Per Second (FPS) type or a game of a Massively Multiplayer Online (MMO) type; the present embodiment is not limited to the above-described type of game, and is also not limited to the field of games.
The information generation method in the embodiment of the application can be operated on a terminal device or a server. The terminal device may be a local terminal device (such as a local touch terminal). When the information generation method is operated on the server, the information generation method can be a cloud game.
In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the running mode of the cloud game, a running main body of a game program and a game picture presenting main body are separated, the storage and the running of an information generating method are completed on a cloud game server, and a cloud game client is used for receiving and sending data and presenting a game picture; however, the terminal device performing the information generation is a cloud game server in the cloud. When a game is played, a user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed and returned to the cloud game client through a network, and finally the cloud game client decodes the data and outputs the game pictures.
In another alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with a user through a graphical user interface, namely, a game program is downloaded and installed and operated through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the user may include a variety of ways, for example, it may be rendered for display on a display screen of the local terminal device or provided to the user by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
The method for generating information in a game provided by the embodiment of the present application may be executed in the aforementioned local terminal device, and may also be executed in the aforementioned cloud game client. The following description will be given taking as an example a case where the above-described method for generating information in a game is executed in a local terminal device (hereinafter, simply referred to as a terminal device).
Referring to fig. 1, fig. 1 is a flowchart of a method for generating in-game information according to an embodiment of the present disclosure. As shown in fig. 1, a method for generating in-game information provided in an embodiment of the present application includes:
and S101, responding to the control command, and controlling the target game role to perform game behaviors corresponding to the control command.
S102, responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation.
S103, determining a target function control from the plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement of the cursor is finished.
And S104, determining to send signal information corresponding to the target function control to other game characters.
The embodiment of the application provides a method for generating information in a game, a cursor is controlled to move in a graphical user interface through touch operation on a function control, a selected target function control is further determined, signal information corresponding to the target function control is directly sent to other game characters, sending of the information is completed under the condition that a player does not need to input information needing to be sent and game elements in the graphical user interface are not shielded, the steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
The following describes exemplary steps in an embodiment of the present application:
and S101, responding to the control command, and controlling the target game role to perform game behaviors corresponding to the control command.
In the embodiment of the application, the game behavior may be to control a target game character to perform virtual game interaction with an enemy game character in an enemy state, or information interaction between the target game character and a teammate character in the same battle, or to perform operations such as marking in a game scene by the target game character in a stand-alone mode, so as to prompt the target game character how to perform a game task.
In one possible embodiment, for a case where a control target game character makes a virtual game interaction with an enemy game character in an enemy state, the virtual game interaction includes at least one of:
the target game character attacks the enemy game character, the target game character blocks the enemy game character, and the target game character defends against attacks of the enemy game character.
Specifically, the virtual game interaction between the target game character and the enemy game character may be that the target game character actively attacks the enemy game character, or that the enemy game character is not attacked, but the progress of the enemy game character is hindered, or a defense operation is performed when the enemy game character attacks.
For example, taking a game as a gunfight game as an example, the virtual game interaction may be that the target game character attacks an enemy game character by using a shooting game prop, or that the enemy game character attacks the target game character, and the target game character avoids the target game character.
It should be noted that, no matter what kind of virtual game interaction the target game character and the enemy game character are in, the user needs to perform continuous operation output, in this case, the user has no time and does not experience to read the character information sent by teammates one by one, therefore, in this case, the interaction between teammates is generally performed through voice information.
S102, responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation.
In the embodiment of the application, the function control is displayed in the graphical user interface, and the player can enter an information input state through touch operation aiming at the function control, and send signal information to teammates in the same arrangement with the target game role for communication or marking in time.
In one possible embodiment, the information input state includes:
the player inputs information through the function control; or
And controlling the cursor to move in the graphical user interface to carry out the state of information input according to the change of the position of the touch point aiming at the touch operation of the functional control. In the embodiment of the present application, description is mainly made for a case where information is sent by controlling movement of a cursor through touch operation of a function control.
In one possible implementation, the touch operation for the function control includes a click operation, a slide operation, a long press operation, a drag operation, and the like.
In a possible embodiment, the touch operation for the player is not in all the graphical user interfaces, but in a preset control operation area, specifically, the step of "controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation" includes:
a 1: and acquiring the position of the touch point in a control operation area, wherein the control operation area is an area determined in the graphical user interface according to the position of the function control in the graphical user interface and a preset rule.
In the embodiment of the present application, after the triggering operation on the function control is performed, a stage of quickly signaling information may be entered, and at this time, a control operation area for controlling the movement of the function control by touch operation is determined on the graphical user interface.
It is to be noted that, in the embodiment of the present application, the control operation region may be displayed in the graphical user interface, or the control operation region may not be displayed, and the display mode of the control operation region may be determined according to the arrangement situation of the current elements of the graphical user interface.
In a possible embodiment, the step "the area determined in the graphical user interface according to the position of the function control in the graphical user interface according to the preset rule" includes:
b 1: and determining a geometric figure region with a preset size in the graphical user interface by taking the position of the functional control in the graphical user interface as a center.
Specifically, the preset size is determined based on the size of the graphical user interface reduced according to a preset scale;
the preset proportion determining condition comprises at least one of the following conditions:
the terminal comprises model information of the terminal, an operation range of single touch operation and screen resolution of the terminal.
It should be noted that the control operation area may be an area centered on the functionality control, or may be an area including the functionality control, and the specific position of the control operation area in the graphical user interface is not particularly limited in this application.
In this embodiment of the present application, the shape of the control operation area may be a rectangle consistent with the graphical user interface, or may also be a geometric figure with any preset size.
a 2: and determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relation, wherein the corresponding relation is the corresponding relation between the position in the control operation area and the position in the graphical user interface.
In the embodiment of the present application, for a scheme that a touch operation is only performed in a fixed operation range, a cursor mapped with a function control moves in a graphical user interface following the movement of the touch operation on the function control.
Specifically, the touch operation for the function control is a dragging operation, a cursor is displayed in the graphical user interface, and the cursor is controlled to move in the graphical user interface along with the touch operation.
In the embodiment of the present application, determining the corresponding relationship between the position in the control operation area and the position in the graphical user interface may be correspondingly determining a cursor position of a cursor according to a moving direction and a moving distance of a touch point of the touch operation, and further determining the moving direction and the moving distance of the cursor in the graphical user interface.
Specifically, in the embodiment of the present application, a moving distance of the cursor in the graphical user interface following the touch operation is determined according to a preset distance mapping relationship between the moving distance of the touch operation and the moving distance of the cursor, and a moving direction of the cursor and a moving direction of the touch operation.
For example, the preset distance mapping relationship between the movement distance of the touch operation and the movement distance of the cursor may be that the touch operation moves by one pixel within a preset operation range, then the cursor moves by ten pixels in the graphical user interface, and the like.
a 3: controlling movement of the cursor to a cursor position in the graphical user interface.
In the embodiment of the application, according to the determined cursor position, the cursor is controlled to move in the graphical user interface along with the moving distance and the moving direction of the touch operation in the control operation area.
In one possible embodiment, the step of "controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation" further comprises:
c 1: and acquiring the position of the touch point in a control operation area, and determining the moving direction of the touch operation according to the position of the touch point.
c 2: and controlling the cursor to move along the moving direction in the graphical user interface according to a preset speed.
In the embodiment of the present application, the cursor moves in the graphical user interface according to the movement direction determined by the touch operation according to the movement direction of the player touch operation, and the cursor stops moving after the player finishes the touch operation (the player lifts up the hand, etc.).
It should be noted that the moving speed of the cursor in the graphical user interface may be a constant speed, or may be adjusted according to the moving distance between the end position of the dragged control and the start position of the control, and generally, the greater the moving distance between the end position of the dragged control and the start position of the control, the faster the moving speed of the cursor.
It should be noted that, regarding the manner of controlling the cursor movement according to the moving direction, there may be a certain delay in the cursor movement relative to the movement of the touch operation, and therefore, in an implementation, it is preferable to control the cursor to move to the cursor position along with the touch operation according to the manner of determining the cursor position of the cursor in the gui according to the touch point position and the corresponding relationship.
S103, determining a target function control from the plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement of the cursor is finished.
In the embodiment of the application, a target function control selected by a user is determined according to the end position of the touch operation through the touch operation on the function control, so that signal information is sent according to the target function control.
In one possible embodiment, the signal information includes at least one of: voice information, text information, graphic information; in the application, the player can also select the information sending mode, and corresponding signal information is sent in a corresponding signal form after the target function control is determined according to the selection of the player.
In one possible implementation manner, a plurality of function controls may exist in the graphical user interface according to the setting of the game strategy, and the user may perform different operations by operating the function controls, where the types of the function controls include, but are not limited to, skill controls, prop controls, information prompt controls, and the like.
In a possible implementation manner, in a manner of determining a target function control by controlling a cursor moving in a graphical user interface, the target function control may be determined according to a movement end position of the cursor, and specifically, according to a cursor position at which the movement of the cursor ends, the target function control is determined from a plurality of function controls displayed in the graphical user interface.
In a possible implementation manner, the cursor position is determined by the end position of the touch operation, and may be that the touch operation moves within a preset operation range, the cursor is controlled to move in the graphical user interface, and the target function control is determined by a mapping relationship between a moving distance of the touch operation and a moving distance of the cursor, where the mapping relationship is specifically related to model information of the terminal, an operation range of a single touch operation of the user, and a screen resolution of the terminal.
In another possible implementation manner, the function control may be controlled to move in the graphical user interface directly through touch operation on the function control, at this time, the end position of the touch operation is the movement end position, and the target function control is determined directly according to the end position of the touch operation.
In another possible implementation, the start and the end of the touch operation may not be for the same control, and the state of quickly sending information is entered in response to the start of the touch operation for the function control, at this time, the target function control in the plurality of function controls in the graphical user interface directly performs the second touch operation, and after the touch operation is ended, the target function control is also directly determined according to the end position of the touch operation.
In one possible implementation manner, for a manner that a control cursor moves in a graphical user interface in a manner that a touch operation moves in a control operation area, a target function control is determined by the following steps:
d 1: and determining the functional control of which the distance between the functional control and the cursor position meets a preset distance condition as the target functional control.
In an embodiment of the present application, the preset distance condition includes at least one of: the cursor position is positioned on the function control, and the distance between the function control and the cursor position is smaller than the distance between other function controls except the function control and the cursor position.
And S104, determining to send signal information corresponding to the target function control to other game characters.
In this embodiment of the present application, the step "determining to send signal information corresponding to the target function control to another game character" includes:
e 1: and determining signal information sent to other game characters according to the real-time state information about the target game character reflected by the target function control.
In the embodiment of the present application, the signal information sent to the other game character is related to the determined function of the target function control, and specifically, the type of the signal information includes at least one of the following: the props share information, help seeking information and danger early warning information.
In one possible embodiment, the specific content of the signal information is determined according to the attribute information of the target function control and the real-time status of the target game character reflected by the target function control, so that the signal information sent for the same target function control is different for target game characters in different battle scenes.
In one possible embodiment, the real-time status information of the target game character includes at least one of:
the item allocation information of the target game role, the life state information of the target game role and the distance information of the target game role.
Specifically, the item allocation information of the target game role includes whether the target game role has an item corresponding to the target function control; the life state information of the target role can be displayed through a progress bar containing numerical values, and different life states of the target game role are reflected through different parameter values; the position information of the target game role can be displayed through different numerical values, the distance information of the target game role can reflect the distance between the target game role and different dangerous areas in real time, and different early warning information can be reflected according to different distance information.
In the embodiment of the present application, the generated signal information is also different for different real-time status information of the target game character, and the following description is separately provided:
the method comprises the following steps that (I) real-time state information of a target game role is allocated to props of the target game role, and the step of determining signal information sent to other game roles according to the real-time state information of the target game role reflected by a target function control comprises the following steps:
f 1: and if the item allocation information indicates that the target game role lacks the target item indicated by the target function control, determining to send signal information with target item demand information to other game roles.
In the application embodiment, if the item allocation information indicates that the target game character lacks the target item indicated by the target control, at this time, signal information with the target item demand information needs to be sent to other characters in the same battle as the target game character.
In a possible implementation manner, the request information to be sent includes the name of the target item indicated by the target function control, so as to indicate the target item required by the target game character.
In a possible implementation manner, the target function control may indicate whether the target game character owns the target property according to different display states, for example, the target function control may be indicated by rendering different display colors of the control, and in a case where the target game character owns the target property, the target function control is rendered in color, and in a case where the target game character does not own the target property, the target function control is rendered in gray.
It should be noted that whether the target game character has the target prop is indicated according to the display state of the target control, and whether the target game character has the target prop is determined by displaying and prompting the user, at the terminal side, or according to the storage condition of the object in the backpack associated with the target game character.
f 2: and if the item allocation information indicates that the target game role is allocated with at least two target items, determining signal information with target item donation information and sent to other game roles.
In this embodiment of the application, if the item offering information indicates that the target game character is provided with at least two target items, that is, for the target game character, the target item is abundant, and in order to reduce the weight of the backpack and to assist other game characters in the same group, the abundant target item may be shared, and at this time, request information with the target item offering information may be sent to other game characters.
It should be noted that, no matter whether the target game character sends the requirement information of the item or the donation information of the item, the current position information of the target and game characters can be also included in the request information to indicate that other game characters in the same group are accurately positioned at the position of the target game character, so as to obtain and donate the item.
(II) the real-time state information of the target game role is the life state information of the target game role, and the step of determining the signal information sent to other game roles according to the real-time state information of the target game role reflected by the target function control comprises the following steps:
g 1: and if the state parameter value of the target game role in the life state information indicated by the target function control is smaller than a preset danger value, determining to send signal information representing help seeking to other game roles.
In the embodiment of the application, the state parameter value of the life state information of the target game role indicated by the target function control is smaller than the preset danger value, at this time, it indicates that the target game role is already in a dangerous condition, and at this time, signal information indicating help seeking can be sent to other game roles in the same group.
In a possible implementation manner, the target function control may be a progress bar with a numerical value, the progress bar may be lengthened or shortened according to the life state of the target game character, and when the life state parameter value of the target game character indicated by the target function control is smaller than the preset danger numerical value, the display color of the progress bar may be adjusted to remind the user.
It should be noted that, consistent with the sending of the item sharing information of the target game character, in the request information with the help seeking information, the current position information of the target and the game character may also be provided, so as to instruct other game characters in the same group to come to the position where the target game character is located for help.
(III) the real-time state information of the target game role is the position information of the target game role, and the step of determining the signal information sent to other game roles according to the real-time state information of the target game role reflected by the target function control comprises the following steps:
i 1: and determining the distance information between the target game role and a preset dangerous area in a game scene according to the distance information indicated by the target function control.
In the embodiment of the application, the distance between the preset dangerous area and each game role is determined according to the distance information indicated by the target function control.
In a possible implementation manner, the target function control may be a progress bar with a numerical value, and the progress bar may be lengthened or shortened according to the movement of the target game character according to the life state of the target game character, and indicate the distance between the target game character and the preset dangerous area in real time.
i 2: and sending signal information with dangerous area early warning to other game roles according to the distance information and the preset name of the dangerous area.
In the embodiment of the application, signal information with danger area early warning can be sent to other game roles in real time according to the distance information indicated by the target function control and the name of the preset danger area.
In one possible implementation, the signal information may include only information for prompting other game characters to pay attention to the dangerous area, or may include indication information of position information of the dangerous area.
In a possible implementation manner, the control receiving the touch operation function in the present application is a control performing information communication in a game, and therefore, the function control in the embodiment of the present application may also directly perform information transmission.
Specifically, the input information received from the player is sent to other game characters in response to the touch operation directed to the function control.
In the embodiment of the application, when the player is in a state of conveniently sending information, at this time, the player can directly input information by pressing and holding the function control, and after the touch operation for the function control is finished, the received signal information input by the player is directly sent to other game characters.
In the following, a process of generating in-game information in the embodiment of the present application will be described by using a specific example, where a touch operation is taken as a drag operation as an example:
referring to fig. 2, fig. 2 is a schematic diagram of a graphical user interface provided in an embodiment of the present application, in a graphical user interface 200, a target game character 210 fights with an enemy game character 220, and a function control 230, a prop backpack control 240, a grenade control 250, and a signal receiving area attenuation display control 260 are displayed in an upper right corner of the graphical user interface 200.
Referring to fig. 3, fig. 3 is a second schematic diagram of the graphical user interface provided in the embodiment of the present application, in response to a drag operation for the function control 230, a cursor 270 is displayed in the graphical user interface 200, a preset control operation region 280 is displayed in an operation region of the function control 230, and a voice function region 290 is displayed at a preset position of the function control 230, the prop backpack control 240, the grenade control 250, and the signal receiving area attenuation display control 260.
Referring to fig. 4, fig. 4 is a third schematic view of the graphical user interface provided in the embodiment of the present application, a cursor 270 is controlled to move in the graphical user interface 200 according to a moving direction and a moving distance of a drag operation control function control 230 in a preset control operation area 280, when a drag operation is finished, the cursor 270 stops in a voice function area 290 corresponding to a grenade control 250, and it is known according to properties stored in a backpack of a target game character 210 that the target game character 210 does not possess a grenade property, but the target game character 210 needs a grenade in a battle process, at this time, grenade requirement information may be sent to other game characters in the same battle as the target game character 210.
An application scenario of the present embodiment is provided below. As shown in fig. 5, fig. 5 is a fourth schematic diagram of a graphical user interface provided in the embodiment of the present application. The interface includes a game scene and a virtual object located in the game scene, which are not shown in fig. 5. The player controls the movement of the virtual object in the game scene. The interface in FIG. 5 shows a variety of controls that are displayed over a game scene.
Wherein, 1000 are knapsack controls, through the touch-control operation that acts on this control, trigger and show the knapsack interface in graphical user interface for look over the article stage property of knapsack, the article stage property can include but not limited to: props such as medicines, weapons, accessories, guards, etc. In an alternative embodiment, the edge of the backpack control is provided with an edge line for indicating the amount of items in the backpack. The touch operation acting on the backpack control can be clicking, double-clicking, long-pressing, sliding and the like.
1002 is a move control and the shaded filled circle is a rocker in the move control. In an optional embodiment, the movement control is configured with a movement response area, where the movement response area may be the same as the size of the movement control, that is, an area in the graphical user interface corresponding to the movement control is the movement response area. In an optional embodiment, the size of the movement response area may be larger than that of the movement control, that is, the movement control is disposed in the movement response area, and in terms of distance, the graphical user interface is divided into left and right side areas from the middle, where the left side area is the movement response area of the movement control. And triggering a movement control instruction through touch operation of a movement response area acting on the movement control, and controlling the movement direction of the virtual object according to the movement control instruction. The touch operation acting on the movement response area of the movement control can be click, double click, long press, sliding and other operations.
When the touch operation triggering the movement control instruction is detected to meet the preset condition, a 'run' instruction is triggered, and the virtual object is controlled to automatically and continuously run in the game scene. As shown in fig. 5, in an alternative embodiment, when the touch operation triggering the movement control command satisfies the predetermined condition, the touch operation acting on the joystick area slides along the predetermined direction to a predetermined distance or a predetermined area (e.g., a position indicated by an arrow above the joystick). For example, when a touch operation drags the joystick upward, a sprint control 1006 appears, and when the sprint control is triggered, the virtual object enters a sprint mode. Meanwhile, control 1030 is also a sprint control, and when control 1030 is clicked, the virtual object enters a fast running mode. In an optional embodiment, when the touch operation triggering the movement control command satisfies the preset condition, the touch operation acting on the rocker area satisfies a preset duration, or satisfies a preset pressure, and the like.
1004 and 1014 are attack controls, an attack instruction is triggered through touch operation acting on an attack response area of the attack controls, and the virtual character is controlled to execute attack operation in a game scene according to the attack instruction. For example, when the virtual object is equipped with a long-distance weapon, the attack control triggers that the attack behavior is a shooting behavior, that is, the left hand can execute a shooting operation by triggering the 1004 control, and the right hand can execute a shooting operation by triggering the 1014 control; when the virtual character is equipped with a close-combat weapon, the attack control triggers the attack behavior to be a hacking behavior and the like. In an alternative embodiment, only one of attack control 1004 and attack control 1014 is displayed. The display position of the attack control can be adjusted according to a position setting instruction, wherein the position setting instruction can be triggered on a setting interface or can be triggered in the process of checking an office. The touch operation acting on the attack control can be clicking, double clicking, long pressing, sliding and the like.
1008 and 1010 are gesture controls, and a gesture adjusting instruction is triggered by touch operation of the gesture controls to adjust the posture of the virtual object in the game scene. Wherein, the trigger 1008 control can control the weapon to be located at the left arm position of the virtual object and control the virtual object to stand in a left head-turning posture; the trigger 1010 control may control the weapon to be in the right arm position of the virtual object and control the virtual object to stand in a right-handed head-twisted posture. 1008 and 1010 are often used for controlling the posture of a virtual object when the virtual object avoids an obstacle such as a wall or a tree. The touch operation acting on the gesture control can be clicking, double-clicking, long-pressing, sliding and the like.
1012 are weapon slots, which can be triggered to switch the weapon used by the player. The left side "burst" is used to indicate the current firing pattern in which multiple rounds are fired in succession. In addition to the "continuous fire" mode, it is also possible to switch to the "single fire" mode, in which a single bullet is fired. The lower shaded bar is used to show the amount of bullets in the weapon. When shooting, the bullet quantity is continuously reduced, and when the bullet quantity becomes zero, the bullet can be automatically changed, and the bullet quantity is the maximum quantity. In addition, the 1016 control is a bullet changing control, the bullet changing control can be triggered to add bullets to the currently used weapon, and after the bullets are changed, the bullet amount is the maximum value. The touch operation acting on the weapon slot can be clicking, double-clicking, long-pressing, sliding and the like.
The 1018 and 1020 controls are action controls, and control the virtual object to execute a corresponding action in the game scene through a touch operation acting on the action controls. For example, trigger 1018 may control the virtual object to squat, and trigger 1020 may control the virtual object to assume a voltage ground. 1022 the control may control the virtual object to perform a jump action. The touch operation acting on the action control can be clicking, double-clicking, long-pressing, sliding and the like.
The 1024 control is used for controlling a current game scene to enter a mirror opening mode, when a first touch operation acting on the 1024 control is detected, the current game scene is controlled to enter the mirror opening mode, the sighting lens is displayed in the game scene in the mirror opening mode, the game scene seen by the virtual object through the sighting lens is also displayed, and the shooting accuracy rate can be improved in the mirror opening mode. And when a second touch operation acting on the control 1024 is detected, controlling to exit the mirror opening mode. In an optional embodiment, the first touch operation and the second touch operation are independent touch operations, for example, clicking a 1024 control to control the current game scene to enter a mirror-opening mode, clicking the 1024 control again to exit the mirror-opening mode, and displaying the game scene shot by the virtual camera along with the virtual object again. In an optional embodiment, the first touch operation and the second touch operation may be a start operation and an end operation of one touch operation, for example, when a touch 1024 control is detected, the game scene is controlled to enter the open mirror mode, during the continuous pressing, the game scene is controlled to be continuously in the open mirror mode, and when a touch cutoff triggering the touch operation is detected to leave the touch detection area, the game scene is controlled to exit the open mirror mode.
The 1026 control is used to control the shooting parameters of the virtual camera presenting the game scene, thereby adjusting the view of the game scene displayed in the graphical user interface. In an optional embodiment, it is determined that a touch operation acting on the 1026 control is detected, and shooting parameters of the virtual camera are adjusted according to the touch operation, where the shooting parameters include, but are not limited to, a position, an orientation, an angle of view, and the like of the virtual camera. The touch operation acting on the 1026 control can be click, double click, long press, sliding and the like.
The 1028 control is a marking control, and marks a virtual object, a virtual object and the like in the game scene through touch control operation acting on the marking control. And the 1032 control is a setting control, clicking the 1032 control, and displaying a setting menu for setting the basic function of the current game. The touch operation on the 1028 control may be clicking, double clicking, long pressing, sliding, and the like.
The 1034 and 1036 controls are message controls, where 1034 can be used to view system notifications, and 1036 can be used to view or send messages to teammates. 1038 is a small map for displaying the position of the virtual object controlled by the player, and may also display the position of some other player's virtual object. In this embodiment, a message control is added as a specific example to describe the technical solution shown in the embodiment of the present application.
On the basis of the application scenario, the player can further execute the in-game information generation method in the embodiment by operating the function control.
According to the method for generating the information in the game, when the target game role carries out the game behavior corresponding to the control instruction issued by the player, the touch operation aiming at the function control is responded, the cursor is displayed on the graphical user interface, the cursor is controlled to move along with the touch operation, the target function control is determined from the plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor when the touch operation is finished, and the signal information sent to other game roles is determined according to the target function control. In the embodiment of the application, in the process of a game action of a target game role, a cursor is controlled to move in a graphical user interface through touch operation on a function control, so that a selected target function control is determined, signal information corresponding to the target function control is directly sent to other game roles, and the information is sent without the need of a player to input information to be sent and without shielding game elements in the graphical user interface, so that the information sending step in the game process is simplified, and the human-computer interaction efficiency is improved.
Based on the same inventive concept, the embodiment of the present application further provides a device for generating in-game information corresponding to the method for generating in-game information, and as the principle of solving the problem of the device in the embodiment of the present application is similar to the method for generating in-game information described above in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated details are omitted.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a device for generating in-game information according to an embodiment of the present application. As shown in fig. 6, the generating means 600 comprises:
a behavior control module 610, configured to respond to a control instruction, and control the target game character to perform a game behavior corresponding to the control instruction;
the cursor control module 620 is configured to display a cursor in the graphical user interface in response to a touch operation for the function control, and control the cursor to move in the graphical user interface along with movement of a touch point of the touch operation;
a control determining module 630, configured to determine, according to a cursor position where the movement of the cursor is finished, a target function control from the multiple function controls displayed in the graphical user interface;
and the information determining module 640 is configured to determine to send signal information corresponding to the target function control to other game characters.
In one possible embodiment, the signal information includes at least one of:
voice information, text information, and graphic information.
In one possible implementation, when the cursor control module 620 controls the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation, the cursor control module 620 is configured to:
acquiring the position of the touch point in a control operation area, wherein the control operation area is an area determined in the graphical user interface according to the position of the function control in the graphical user interface and a preset rule;
determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relation, wherein the corresponding relation is the corresponding relation between the position in the control operation area and the position in the graphical user interface;
controlling movement of the cursor to a cursor position in the graphical user interface.
In a possible implementation manner, when the cursor control module 620 is configured to determine, according to the position of the function control in the graphical user interface, an area in the graphical user interface according to a preset rule, the cursor control module 620 is configured to:
and determining a geometric figure region with a preset size in the graphical user interface by taking the position of the functional control in the graphical user interface as a center.
In one possible implementation, when the cursor control module 620 controls the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation, the cursor control module 620 is further configured to:
acquiring the position of the touch point in a control operation area, and determining the moving direction and the cursor position of the touch operation;
and controlling the cursor to move to the cursor position in the graphical user interface at a constant speed according to a preset speed.
In one possible implementation, when the information determining module 640 is configured to determine to send signal information corresponding to the target function control to other game characters, the information determining module 640 is configured to:
and determining signal information sent to other game characters according to the real-time state information about the target game character reflected by the target function control.
In one possible embodiment, the real-time status information of the target game character includes at least one of:
the item allocation information of the target game role, the life state information of the target game role and the distance information of the target game role.
In one possible implementation, when the information determining module 640 is configured to determine the signal information sent to the other game characters according to the real-time status information about the target game character reflected by the target function control, the information determining module 640 is configured to:
if the item allocation information indicates that the target game role lacks the target item indicated by the target function control, determining to send signal information with target item demand information to other game roles;
and if the item allocation information indicates that the target game role is allocated with at least two target items, determining signal information with target item donation information and sent to other game roles.
In one possible implementation, when the information determining module 640 is configured to determine the signal information sent to the other game characters according to the real-time status information about the target game character reflected by the target function control, the information determining module 640 is configured to:
and if the state parameter value of the target game role in the life state information indicated by the target function control is smaller than a preset danger value, determining to send signal information representing help seeking to other game roles.
In one possible implementation, when the information determining module 640 is configured to determine the signal information sent to the other game characters according to the real-time status information about the target game character reflected by the target function control, the information determining module 640 is configured to:
determining distance information between the target game role and a preset dangerous area in a game scene according to the distance information indicated by the target function control;
and sending signal information with dangerous area early warning to other game roles according to the distance information and the preset name of the dangerous area.
The device for generating in-game information, provided by the embodiment of the application, responds to touch operation for the function control when a target game character performs a game behavior corresponding to a control instruction issued by a player, displays a cursor on a graphical user interface, controls the cursor to move along with the touch operation, determines the target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor when the touch operation is finished, and determines signal information sent to other game characters according to the target function control. In the embodiment of the application, in the process of a game action of a target game role, a cursor is controlled to move in a graphical user interface through touch operation on a function control, so that a selected target function control is determined, signal information corresponding to the target function control is directly sent to other game roles, and the information is sent without the need of a player to input information to be sent and without shielding game elements in the graphical user interface, so that the information sending step in the game process is simplified, and the human-computer interaction efficiency is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 7, the electronic device 700 includes a processor 710, a memory 720, and a bus 730.
The memory 720 stores machine-readable instructions executable by the processor 710, when the electronic device 700 runs, the processor 710 communicates with the memory 720 through the bus 730, and when the machine-readable instructions are executed by the processor 710, the steps of the method for generating in-game information in the method embodiment shown in fig. 1 may be executed.
An embodiment of the present application 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 generating in-game information in the method embodiment shown in fig. 1 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
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. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. 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.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application 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 disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for generating information in a game is characterized in that a terminal device provides a graphical user interface, at least part of game scenes and function controls are displayed on the graphical user interface, the game scenes comprise target game characters controlled by the terminal device, and the method comprises the following steps:
responding to a control instruction, and controlling the target game role to perform game behavior corresponding to the control instruction;
responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation;
determining a target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement is finished;
and determining to send signal information corresponding to the target function control to other game characters.
2. The generation method of claim 1, wherein the signal information comprises at least one of:
voice information, text information, and graphic information.
3. The generation method according to claim 1, wherein the step of controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation comprises:
acquiring the position of the touch point in a control operation area, wherein the control operation area is an area determined in the graphical user interface according to the position of the function control in the graphical user interface and a preset rule;
determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relation, wherein the corresponding relation is the corresponding relation between the position in the control operation area and the position in the graphical user interface;
controlling movement of the cursor to a cursor position in the graphical user interface.
4. The generation method according to claim 3, wherein the step of determining the area in the graphical user interface according to the position of the function control in the graphical user interface according to the preset rule comprises:
and determining a geometric figure region with a preset size in the graphical user interface by taking the position of the functional control in the graphical user interface as a center.
5. The generation method according to claim 1, wherein the step of controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation further comprises:
acquiring the position of the touch point in a control operation area, and determining the moving direction of the touch operation according to the position of the touch point;
and controlling the cursor to move along the moving direction in the graphical user interface according to a preset speed.
6. The generation method according to claim 1, wherein the step of determining to transmit signal information corresponding to the target function control to another game character includes:
and determining signal information sent to other game characters according to the real-time state information about the target game character reflected by the target function control.
7. The generation method of claim 6, wherein the real-time status information of the target game character comprises at least one of:
the item allocation information of the target game role, the life state information of the target game role and the distance information of the target game role.
8. The generation method according to claim 7, wherein the determining, according to the real-time status information about the target game character reflected by the target function control, the signal information to be sent to other game characters comprises:
if the item allocation information indicates that the target game role lacks the target item indicated by the target function control, determining to send signal information with target item demand information to other game roles;
and if the item allocation information indicates that the target game role is allocated with at least two target items, determining signal information with target item donation information and sent to other game roles.
9. The generation method according to claim 7, wherein the determining, according to the real-time status information about the target game character reflected by the target function control, the signal information to be sent to other game characters comprises:
and if the state parameter value of the target game role in the life state information indicated by the target function control is smaller than a preset danger value, determining to send signal information representing help seeking to other game roles.
10. The generation method according to claim 7, wherein the determining, according to the real-time status information about the target game character reflected by the target function control, the signal information to be sent to other game characters comprises:
determining distance information between the target game role and a preset dangerous area in a game scene according to the distance information indicated by the target function control;
and sending signal information with dangerous area early warning to other game roles according to the distance information and the preset name of the dangerous area.
11. The generation method according to claim 4, wherein the preset size is determined based on a size of the graphical user interface reduced by a preset scale;
the preset proportion determining condition comprises at least one of the following conditions:
the terminal comprises model information of the terminal, an operation range of single touch operation and screen resolution of the terminal.
12. An apparatus for generating information in a game, wherein a terminal device provides a graphical user interface, at least a part of a game scene and a function control are displayed on the graphical user interface, the game scene includes a target game character controlled by the terminal device, and the apparatus comprises:
the behavior control module is used for responding to a control instruction and controlling the target game role to perform game behaviors corresponding to the control instruction;
the cursor control module is used for responding to the touch operation aiming at the function control, displaying a cursor in the graphical user interface and controlling the cursor to move in the graphical user interface along with the movement of the touch point of the touch operation;
the control determining module is used for determining a target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position of the cursor after the movement of the cursor is finished;
and the information determining module is used for determining to send the signal information corresponding to the target function control to other game roles.
13. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the in-game information generation method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for generating in-game information according to any one of claims 1 to 11.
CN202111302233.3A 2021-11-04 2021-11-04 Method and device for generating information in game, electronic equipment and readable storage medium Pending CN113975807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111302233.3A CN113975807A (en) 2021-11-04 2021-11-04 Method and device for generating information in game, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111302233.3A CN113975807A (en) 2021-11-04 2021-11-04 Method and device for generating information in game, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113975807A true CN113975807A (en) 2022-01-28

Family

ID=79746562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111302233.3A Pending CN113975807A (en) 2021-11-04 2021-11-04 Method and device for generating information in game, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113975807A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546201A (en) * 2022-02-21 2022-05-27 Oppo广东移动通信有限公司 Multimedia resource sharing method, electronic equipment and computer storage medium
CN115212556A (en) * 2022-07-25 2022-10-21 北京字跳网络技术有限公司 Method, device, equipment and storage medium for interacting with virtual object
WO2023160585A1 (en) * 2022-02-23 2023-08-31 网易(杭州)网络有限公司 Information transfer method and apparatus, electronic device, and readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546201A (en) * 2022-02-21 2022-05-27 Oppo广东移动通信有限公司 Multimedia resource sharing method, electronic equipment and computer storage medium
WO2023160585A1 (en) * 2022-02-23 2023-08-31 网易(杭州)网络有限公司 Information transfer method and apparatus, electronic device, and readable medium
CN115212556A (en) * 2022-07-25 2022-10-21 北京字跳网络技术有限公司 Method, device, equipment and storage medium for interacting with virtual object

Similar Documents

Publication Publication Date Title
CN113975807A (en) Method and device for generating information in game, electronic equipment and readable storage medium
CN111124226B (en) Game screen display control method and device, electronic equipment and storage medium
CN110075522B (en) Control method, device and terminal of virtual weapon in shooting game
JP7386360B2 (en) Information processing method, apparatus and terminal device
CN112206512B (en) Information processing method, device, electronic equipment and storage medium
CN110548288B (en) Virtual object hit prompting method and device, terminal and storage medium
CN111589148B (en) User interface display method, device, terminal and storage medium
CN113440846B (en) Game display control method and device, storage medium and electronic equipment
EP3970819B1 (en) Interface display method and apparatus, and terminal and storage medium
CN110665228B (en) Method and device for controlling character cards in game
CN113398601B (en) Information transmission method, information transmission device, computer-readable medium, and apparatus
CN110597449B (en) Prop using method, device, terminal and storage medium based on virtual environment
KR20220083803A (en) Method, apparatus, medium and program product for state switching of virtual scene
CN111888766A (en) Information processing method and device in game, electronic equipment and storage medium
US20230072503A1 (en) Display method and apparatus for virtual vehicle, device, and storage medium
KR20220163452A (en) Interaction processing method of virtual props, device, electronic device and readable storage medium
CN112416196A (en) Virtual object control method, device, equipment and computer readable storage medium
KR20220098355A (en) Methods and apparatus, devices, media, and articles for selecting a virtual object interaction mode
CN113117332A (en) Method and device for adjusting visual angle of lens, electronic equipment and storage medium
CN113996051A (en) Method, device, equipment and storage medium for canceling and releasing game skills
CN115624753A (en) Virtual gun interaction method and device, storage medium and electronic equipment
CN115708956A (en) Game picture updating method and device, computer equipment and medium
CN113663334A (en) Game item using method, device, equipment and storage medium
CN111905380A (en) Virtual object control method, device, terminal and storage medium
CN112121432A (en) Control method, device and equipment of virtual prop and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination