Method and device for generating information in game, electronic equipment and readable storage medium
By responding to touch operations of function controls in the game, controlling the cursor to select the target function control and sending signal information, the problem of players being unable to send information in time during stressful tasks is solved, and the efficiency of human-computer interaction and the accuracy of information transmission are improved.
Patent Information
- Application Number
- CN202111302233.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2041-11-04
AI Technical Summary
In massively multiplayer online games, players are unable to send easily viewable information in a timely manner during intense game tasks. The existing voice sending function requires players to manually input, resulting in low human-computer interaction efficiency. In addition, mobile communication function controls may block game elements, leading to analysis errors.
By responding to touch operations of functional controls in the graphical user interface, controlling cursor movement to select target functional controls, and directly sending signal information to other game characters, players are prevented from manually inputting and blocking game elements.
It simplifies the steps of information sending, improves the efficiency of human-computer interaction, and ensures the accuracy of information transmission and the continuity of the game process.
Smart Images

Figure CN113975807B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of games, in particular to a method and device for generating information in a game, an electronic device and a readable storage medium. BACKGROUND
[0002] In a large-scale multiplayer online (MMO) type game, mutual cooperation between teammates is required to complete a game task by sharing information. When a player is controlling a target game character to fight, he / she cannot be distracted to check the text information sent by the teammates. At this time, a voice information sending function appears. The current voice sending function requires the player to press the voice function control to input voice. Therefore, whether it is text information or voice information, the player needs to input in a non-urgent operation. When the target game character controlled by the player is in a tense game task, the player has no time to send information. How to accurately send information easy to view in a tense game task has become a problem to be solved.
[0003] At present, in the game process, the corresponding information can be sent conveniently by moving the communication function control according to the end position of the movement of the communication function control. However, the game elements in the graphical user interface may be blocked during the movement of the communication function control, causing the player to make mistakes in analyzing the real-time progress of the game and thus leading to game failure, resulting in low human-computer interaction efficiency. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a method and device for generating information in a game, an electronic device and a readable storage medium. In the process of the target game character performing a game behavior, the cursor is moved in the graphical user interface by touch operation of the function control, and then the selected target function control is determined. The signal information corresponding to the target function control is directly sent to other game characters. In the case that the player does not need to input the information to be sent and the game elements in the graphical user interface are not blocked, the information sending is completed, the steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
[0005] In a first aspect, the present application provides a method for generating information in a game. A graphical user interface is provided by a terminal device. At least 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 a user. The method comprises the following steps:
[0006] In response to a control instruction, the target game character performs a game behavior corresponding to the control instruction;
[0007] In response to the touch operation on the function control, a cursor is displayed in the graphical user interface, and the cursor is controlled to move in the graphical user interface following the movement of the touch point of the touch operation;
[0008] According to the position of the cursor at the end of the movement of the cursor, a target function control is determined from the plurality of function controls displayed in the graphical user interface;
[0009] It is determined to send signal information corresponding to the target function control to other game characters.
[0010] In a possible implementation, the signal information includes at least one of the following:
[0011] Voice information, text information, and graphical information.
[0012] In a possible implementation, 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:
[0013] Obtaining a touch point position of the touch point in a control operation region, the control operation region being a region determined in the graphical user interface according to the position of the function control in the graphical user interface according to a preset rule;
[0014] According to the touch point position and a corresponding relationship, a cursor position of the cursor in the graphical user interface is determined, wherein the corresponding relationship is a corresponding relationship between a position in the control operation region and a position in the graphical user interface;
[0015] The cursor is controlled to move to the cursor position in the graphical user interface.
[0016] In a possible implementation, the step of determining the region in the graphical user interface according to the position of the function control in the graphical user interface according to a preset rule includes:
[0017] A geometric figure region of a preset size is determined in the graphical user interface with the position of the function control in the graphical user interface as the center.
[0018] In a possible implementation, 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:
[0019] Obtaining a touch point position of the touch point in a control operation region, and determining a movement direction of the touch operation according to the touch point position;
[0020] The cursor is controlled to move in the graphical user interface along the movement direction at a preset speed.
[0021] In a possible implementation, the determining of the signal information corresponding to the target function control and sent to the other game character includes:
[0022] The signal information sent to the other game character is determined according to real-time state information about the target game character reflected by the target function control.
[0023] In a possible implementation, the real-time state information of the target game character includes at least one of the following:
[0024] The prop equipment information of the target game character, the life state information of the target game character, and the distance information of the target game character.
[0025] In a possible implementation, the determining of the signal information sent to the other game character according to the real-time state information about the target game character reflected by the target function control includes:
[0026] If the prop equipment information indicates that the target game character lacks a target prop indicated by the target function control, signal information with target prop demand information is determined to be sent to the other game character.
[0027] If the prop equipment information indicates that the target game character is equipped with at least two target props, signal information with target prop gift information is determined to be sent to the other game character.
[0028] In a possible implementation, the determining of the signal information sent to the other game character according to the real-time state information about the target game character reflected by the target function control includes:
[0029] If a target game character state parameter value in the life state information indicated by the target function control is less than a preset danger value, signal information indicating a request for help is determined to be sent to the other game character.
[0030] In a possible implementation, the determining of the signal information sent to the other game character according to the real-time state information about the target game character reflected by the target function control includes:
[0031] Distance information between the target game character and a preset danger area in a game scene is determined according to distance information indicated by the target function control.
[0032] Signal information with a danger area warning is determined to be sent to the other game character according to the distance information and a name of the preset danger area.
[0033] In a possible implementation, the preset size is determined according to a preset scale after the size of the graphical user interface is reduced.
[0034] The determination condition of the preset scale includes at least one of the following:
[0035] The model information of the terminal, the operation range of the single touch operation, and the screen resolution of the terminal.
[0036] In a second aspect, the embodiments of the present application further provide a game information generation apparatus. The apparatus provides a graphical user interface through a terminal device. The graphical user interface displays at least part of a game scene and a function control. The game scene includes a target game character controlled by a user. The apparatus includes:
[0037] A behavior control module, configured to control the target game character to perform a game behavior corresponding to a control instruction in response to the control instruction.
[0038] A cursor control module, configured to display a cursor in the graphical user interface in response to a touch operation on the function control, and control the cursor to move in the graphical user interface following the movement of a touch point of the touch operation.
[0039] A control determination module, configured to determine a target function control from a plurality of function controls displayed in the graphical user interface according to a cursor position at which the movement of the cursor ends.
[0040] An information determination module, configured to determine signal information corresponding to the target function control to be sent to other game characters.
[0041] In a third aspect, the embodiments of the present application further provide an electronic device. The electronic device includes a processor, a storage medium, and a bus. The storage medium stores machine readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium through the bus. The processor executes the machine readable instructions to perform the steps of the game information generation method according to any one of the first aspect.
[0042] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium. The computer readable storage medium stores a computer program. When the computer program is run by a processor, the computer program performs the steps of the game information generation method according to any one of the first aspect.
[0043] The method and device for generating information in a game provided by the embodiments of the present application, when a target game character performs a game behavior corresponding to a control instruction issued by a player, respond to a touch operation on a function control, and display a cursor on a graphical user interface, control the cursor to move following the touch operation, determine a target function control from a plurality of function controls displayed on the graphical user interface according to a cursor position of the cursor when the touch operation ends, and determine signal information sent to other game characters according to the target function control. In the embodiments of the present application, during the process in which the target game character performs the game behavior, the cursor is controlled to move in the graphical user interface through the touch operation on the function control, and then the selected target function control is determined, and the signal information corresponding to the target function control is directly sent to the other game characters. In the case that the player does not need to input the information to be sent and the game elements in the graphical user interface are not blocked, the information sending is completed, the steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
[0044] In order to make the above objectives, characteristics and advantages of the present application more apparent, the following will describe preferred embodiments in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.
[0046] Figure 1 A flowchart of a method for generating information in a game provided by the embodiments of the present application;
[0047] Figure 2 One of the schematic diagrams of a graphical user interface provided by the embodiments of the present application;
[0048] Figure 3 The second schematic diagram of a graphical user interface provided by the embodiments of the present application;
[0049] Figure 4 The third schematic diagram of a graphical user interface provided by the embodiments of the present application;
[0050] Figure 5 The fourth schematic diagram of a graphical user interface provided by the embodiments of the present application;
[0051] Figure 6 The structural schematic diagram of a device for generating information in a game provided by the embodiments of the present application;
[0052] Figure 7 Fig. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application and are not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without creative work falls within the scope of the present application.
[0054] Firstly, the application scenarios applicable to the present application are introduced. The present application can be applied to the field of game technology.
[0055] In a large-scale multiplayer online (MMO) type game, mutual cooperation between teammates is required to complete the game task by sharing information. When the player is controlling the target game character to fight, he cannot be distracted to check the text information sent by the teammates. At this time, the sending function of voice information appears, and the current voice sending function requires the player to hold the voice function control to input voice. Therefore, whether it is text information or voice information, the player needs to input in a non-urgent operation. When the target game character controlled by the player is in a tense game task, the player has no time to send information. How to accurately send information easy to view in a tense game task has become a problem to be solved.
[0056] At present, in the game process, the corresponding information can be sent conveniently by moving the communication function control according to the end position of the movement of the communication function control. However, the game elements in the graphical user interface may be blocked during the movement of the communication function control, causing the player to make mistakes in analyzing the real-time progress of the game and thus leading to game failure, resulting in low human-computer interaction efficiency.
[0057] Based on this, the embodiments of the present application provide a game information generation method to improve the human-computer interaction efficiency in the information sending step in the game process.
[0058] To facilitate the understanding of the embodiments, the method, apparatus, electronic device and readable storage medium provided by the embodiments of the present application for generating information in a game are described in detail. The embodiments of the present application can be applied in the field of games, for example, in the game of Frames Per Second (FPS) type or the game of Massive Multiplayer Online (MMO) type. It should be noted that the embodiments of the present application are not limited to the above-mentioned types of games, and are also not limited to the field of games.
[0059] The method for generating information in the embodiments of the present application can run on a terminal device or a server. The terminal device can be a local terminal device (such as a local touch terminal). When the method for generating information runs on a server, it can be cloud gaming.
[0060] In an optional embodiment, cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the method for generating information are completed on a cloud gaming server. The cloud gaming client is used for receiving and sending data and presenting the game picture. For example, the cloud gaming client can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the terminal device for generating information is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation instructions to the cloud gaming server, the cloud gaming server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns them to the cloud gaming client through the network, and finally decodes and outputs the game picture through the cloud gaming client.
[0061] In another optional embodiment, the terminal device can be a local terminal device. The local terminal device stores a game program and is used for presenting a game picture. The local terminal device is used for interacting with the user through a graphical user interface, that is, a conventional game program is downloaded and installed on an electronic device and then run. The way of providing the graphical user interface to the user by the local terminal device can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the local terminal device, or provided to the user through holographic projection. For example, the local terminal device can include a display screen for presenting a graphical user interface including a game picture, and a processor for running the game, generating the graphical user interface and controlling the display of the graphical user interface on the display screen.
[0062] The game information generation method provided in the embodiments of the present application can run in the local terminal device mentioned above or the cloud game client mentioned above. The following will take the game information generation method running in the local terminal device (hereinafter referred to as terminal device) as an example for description.
[0063] Please refer to Figure 1 , Figure 1 The flowchart of the game information generation method provided in the embodiments of the present application is shown in FIG. 1. As shown in FIG. 1, the game information generation method provided in the embodiments of the present application comprises the following steps. Figure 1
[0064] S101, in response to a control instruction, controlling the target game character to perform a game behavior corresponding to the control instruction.
[0065] S102, in response to a touch operation on the function control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface following the movement of the touch point of the touch operation.
[0066] S103, determining a target function control from the plurality of function controls displayed in the graphical user interface according to the cursor position at which the movement of the cursor ends.
[0067] S104, determining to send signal information corresponding to the target function control to other game characters.
[0068] The game information generation method provided in the embodiments of the present application controls the cursor to move in the graphical user interface through the touch operation on the function control, and then determines the selected target function control, and directly sends the signal information corresponding to the target function control to other game characters. In the case that the player does not need to input the information to be sent and the game elements in the graphical user interface are not blocked, the information sending is completed, the steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
[0069] The following will take the game information generation method running in the local terminal device (hereinafter referred to as terminal device) as an example for description.
[0070] S101, in response to a control instruction, controlling the target game character to perform a game behavior corresponding to the control instruction.
[0071] In the embodiments of the present application, the game behavior can be that the target game character performs virtual game interaction with the enemy game character in an enemy state, can be information interaction between the target game character and the teammate character in the same camp, and can also be that the target game character performs marking operation in the game scene in the single-player mode to prompt the target game character itself how to perform the game task.
[0072] In one possible implementation, for controlling a target game character to perform a virtual game interaction with an enemy game character in a hostile state, the virtual game interaction includes at least one of the following:
[0073] 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 the attack of the enemy game character.
[0074] Specifically, the virtual game interaction between the target game character and the enemy game character can be that the target game character actively attacks the enemy game character, or does not attack the enemy game character but hinders the enemy game character's progress, or performs a defensive operation when the enemy game character attacks.
[0075] For example, taking a shooting game as an example, the virtual game interaction can be that the target game character uses shooting game props to attack the enemy game character, or the enemy game character attacks the target game character, and the target game character dodges, etc.
[0076] It is worth noting 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 does not have the time or experience to read the text messages sent by teammates one by one. Therefore, in this case, the interaction between teammates is generally carried out through voice messages.
[0077] S102: In response to a touch operation on the functional control, display a cursor in the graphical user interface, and control the cursor to move in the graphical user interface following the movement of the touch point of the touch operation.
[0078] In an embodiment of the present application, function controls are displayed in the graphical user interface, and players can enter the information input state through touch operations on the function controls, and send signal information to teammates in the same camp as the target game character to communicate or mark.
[0079] In a possible implementation, the information input status includes:
[0080] The player is inputting information through the function control; or
[0081] According to the change in the position of the touch point of the touch operation on the functional control, the cursor is controlled to move in the graphical user interface to input information. In the embodiment of the present application, the case of controlling the movement of the cursor to send information by the touch operation on the functional control is mainly described.
[0082] In a possible implementation, the touch operation on the function control includes a click operation, a sliding operation, a long press operation, a drag operation, etc.
[0083] In a possible implementation, the touch operation on the player is not in the entire graphical user interface, but in a preset control operation area. Specifically, the step of "controlling the cursor to move in the graphical user interface according to the movement of the touch point of the touch operation" includes:
[0084] a1: obtaining the touch point position of the touch point in the control operation area, the control operation area being an area determined in the graphical user interface according to the position of the function control in the graphical user interface according to a preset rule.
[0085] In the embodiments of the present application, after the trigger operation on the function control, the stage of quickly sending a signal message can be entered, and a control operation area for controlling the movement of the function control can be determined on the graphical user interface.
[0086] It is worth noting that in the embodiments of the present application, the control operation area can be displayed on the graphical user interface, or the control operation area can not be displayed. The display mode of the control operation area can be determined according to the arrangement of the current elements of the graphical user interface.
[0087] In a possible implementation, the step of "determining an area in the graphical user interface according to the position of the function control in the graphical user interface according to a preset rule" includes:
[0088] b1: determining a geometric area of a preset size in the graphical user interface with the position of the function control in the graphical user interface as the center.
[0089] Specifically, the preset size is determined based on the size of the graphical user interface according to a preset scale;
[0090] The determination condition of the preset scale includes at least one of the following:
[0091] The model information of the terminal, the operation range of a single touch operation, and the screen resolution of the terminal.
[0092] It is worth noting that the control operation area can be a region centered on the function control, or a region including the function control. In the present application, the specific position of the control operation area in the graphical user interface is not specifically limited.
[0093] In the embodiments of the present application, the shape of the control operation region can be a rectangle consistent with the graphical user interface, or any preset size of geometric figure, and the shape of the control operation region is not specifically limited in the embodiments of the present application.
[0094] a2: determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relationship, wherein the corresponding relationship is the corresponding relationship between the position in the control operation region and the position in the graphical user interface.
[0095] In the embodiments of the present application, for the scheme that the touch operation is only operated in the fixed operation range, the embodiments of the present application provide that the cursor mapped with the function control moves in the graphical user interface following the movement of the touch operation on the function control.
[0096] Specifically, the touch operation on the function control is a drag operation, and a cursor is displayed in the graphical user interface, and the cursor follows the movement of the touch operation in the graphical user interface.
[0097] In the embodiments of the present application, the corresponding relationship between the position in the control operation region and the position in the graphical user interface can be that the cursor position of the cursor is determined according to the movement direction and the movement distance of the touch point of the touch operation, and then the movement direction and the movement distance of the cursor in the graphical user interface are determined.
[0098] Specifically, in the embodiments of the present application, the movement distance of the cursor in the graphical user interface following the touch operation is determined according to a preset distance mapping relationship between the movement distance of the touch operation and the movement distance of the cursor, and the movement direction of the cursor is the same as the movement direction of the touch operation.
[0099] For example, the preset distance mapping relationship between the movement distance of the touch operation and the movement distance of the cursor can be that the touch operation moves one pixel in the preset operation range, and then the cursor moves a distance of ten pixels in the graphical user interface.
[0100] a3: controlling the cursor to move to the cursor position in the graphical user interface.
[0101] In the embodiments of the present application, according to the determined cursor position, the cursor is controlled to move in the graphical user interface following the movement distance and the movement direction of the touch operation in the control operation region.
[0102] In a possible implementation, 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:
[0103] c1: acquiring a touch point position of the touch point in the control operation area, and determining a moving direction of the touch operation according to the touch point position.
[0104] c2: controlling the cursor to move in the moving direction in the graphical user interface according to a preset speed.
[0105] In the embodiments of the present application, the moving manner of the cursor following the moving direction of the touch operation is that the cursor moves in the graphical user interface according to the moving direction determined by the touch operation, and stops moving after the player ends the touch operation (e.g., the player lifts the hand).
[0106] It is worth noting that the moving speed of the cursor in the graphical user interface can be uniform, or can be adjusted according to the moving distance between the end position of the drag control and the start position of the control. Generally speaking, the greater the moving distance between the end position of the drag control and the start position of the control, the faster the moving speed of the cursor.
[0107] It is worth noting that, for the manner of controlling the cursor to move according to the moving direction, the movement of the cursor can be delayed relative to the movement of the touch operation. Therefore, in specific implementation, the manner of determining the cursor position of the cursor in the graphical user interface according to the touch point position and the corresponding relationship is preferred, so as to control the cursor to move to the cursor position following the touch operation.
[0108] S103, determining a target function control from a plurality of function controls displayed in the graphical user interface according to the cursor position where the cursor stops moving.
[0109] In the embodiments of the present application, the target function control selected by the user is determined according to the end position of the touch operation on the function control, so as to send the signal information according to the target function control.
[0110] In a possible implementation, the signal information includes at least one of the following: voice information, text information, and graphic information. In the present application, the player can also select the sending manner of the information. According to the selection of the player, the corresponding signal information is sent in the corresponding signal form after the target function control is determined.
[0111] In a possible implementation, there can be a plurality of function controls in the graphical user interface according to the setting of the game strategy. The user can perform different operations by operating the function controls. The types of function controls include but are not limited to skill controls, prop controls, information prompt controls, etc.
[0112] In a possible implementation, in the manner of determining the target function control by controlling the cursor moving in the graphical user interface, the target function control can be determined according to the end position of the cursor movement, specifically, the target function control is determined from the plurality of function controls displayed in the graphical user interface according to the cursor position where the cursor movement ends.
[0113] In a possible implementation, the cursor position is determined by the end position of the touch operation, the touch operation can move in a preset operation range, the cursor is controlled to move in the graphical user interface, the target function control is determined by a mapping relationship between the movement distance of the touch operation and the movement distance of the cursor, specifically, the mapping relationship is related to the model information of the terminal, the operation range of a single touch operation of the user, and the screen resolution of the terminal.
[0114] In another possible implementation, the function control can also be directly controlled to move in the graphical user interface by the touch operation on the function control, at this time, the end position of the touch operation is the end position of the movement, and the target function control is directly determined according to the end position of the touch operation.
[0115] In another possible implementation, the start and end of the touch operation can not be directed to the same control, in response to the start of the touch operation directed to the function control, the state of quickly sending information is entered, at this time, the second touch operation is directly performed on the target function control in the plurality of function controls in the graphical user interface, and when the touch operation ends, the target function control is also directly determined according to the end position of the touch operation.
[0116] In a possible implementation, in the manner of controlling the cursor to move in the graphical user interface by moving the touch operation in the control operation area, the target function control is determined by the following steps:
[0117] d1: the function control in the plurality of function controls, which satisfies a preset distance condition with the cursor position, is determined as the target function control.
[0118] In the embodiment of the application, the preset distance condition includes at least one of the following: the cursor position is located on the function control, and the distance between the function control and the cursor position is less than the distance between other function controls and the cursor position except the function control.
[0119] S104, determining to send signal information corresponding to the target function control to other game characters.
[0120] In the embodiment of the application, the step of "determining to send signal information corresponding to the target function control to other game characters" includes:
[0121] e1: determining the signal information sent to the other game character according to the real-time state information of the target game character reflected by the target function control.
[0122] In the embodiments of the present application, the signal information sent to the other game character is related to the function of the determined target function control, and specifically, the type of the signal information includes at least one of the following: prop sharing information, help information, and danger warning information.
[0123] In a possible implementation, the specific content of the signal information is determined according to the attribute information of the target function control and the real-time state of the target game character reflected by the target function control, so that the signal information sent for the target game character in different combat scenes is different even for the same target function control.
[0124] In a possible implementation, the real-time state information of the target game character includes at least one of the following:
[0125] The prop equipment information of the target game character, the life state information of the target game character, and the distance information of the target game character.
[0126] Specifically, the prop equipment information of the target game character includes whether the target game character has the prop corresponding to the target function control; the life state information of the target character can be displayed by a progress bar containing a numerical value, and different parameter values reflect different life states of the target game character; the position information of the target game character can also be displayed by different numerical values, and the distance information of the target game character can reflect the distance between the target game character and different dangerous areas in real time, and different distance information can reflect different warning information.
[0127] In the embodiments of the present application, the signal information generated for different real-time state information of the target game character is also different, which will be described below:
[0128] (I) The real-time state information of the target game character is the prop equipment information of the target game character, and the step of "determining the signal information sent to the other game character according to the real-time state information of the target game character reflected by the target function control" includes:
[0129] f1: If the prop equipment information indicates that the target game character lacks the target prop indicated by the target function control, determine to send the signal information with target prop demand information to the other game character.
[0130] In the application embodiment, if the prop equipment information indicates that the target game character lacks the target prop indicated by the target control, a signal information with target prop demand information needs to be sent to other characters in the same camp as the target game character.
[0131] In a possible implementation, the target prop indicated by the target function control is included in the request information to be sent, so as to indicate the target prop required by the target game character.
[0132] In a possible implementation, the target function control can indicate whether the target game character has the target prop according to different display states. For example, different control display colors can be used for indication. When the target game character has the target prop, the target function control is rendered in color, and when the target game character does not have the target prop, the target function control is rendered in gray.
[0133] It is worth noting that whether the target game character has the target prop is indicated according to the display state of the target control, that is, whether the user is prompted on the terminal side, or whether the target game character has the target prop is determined according to the storage of the items in the backpack associated with the target game character.
[0134] f2: If the prop equipment information indicates that the target game character is equipped with at least two target props, signal information with target prop gift information sent to the other game characters is determined.
[0135] In the application embodiment, if the prop equipment information indicates that the target game character is equipped with at least two target props, that is, the target prop is very sufficient for the target game character, in order to reduce the weight of the backpack and mutual assistance between other game characters in the same group, the sufficient target prop can be shared, and request information with target prop gift information can be sent to other game characters.
[0136] It is worth noting that whether the target game character sends the demand information or the gift information of the prop, the current position information of the target and the game character can also be included in the request information, so as to indicate other game characters in the same group to accurately locate the position of the target game character to obtain and give the prop.
[0137] (2) The real-time state information of the target game character is the life state information of the target game character, and the step of “determining the signal information sent to the other game characters according to the real-time state information of the target game character reflected by the target function control” includes:
[0138] g1: if the target game character state parameter value in the life state information indicated by the target function control is less than a preset dangerous value, it is determined to send signal information indicating help to the other game characters.
[0139] In the embodiments of the present application, according to the state parameter value of the life state information of the target game character indicated by the target function control being less than a preset dangerous value, it indicates that the target game character is in a very dangerous situation, and at this time, signal information indicating help can be sent to the other game characters in the same group.
[0140] In a possible implementation, the target function control can be a progress bar with a numerical value, and according to the life state of the target game character, the progress bar can be lengthened or shortened. When the life state parameter value of the target game character indicated by the target function control is less than a preset dangerous value, the display color of the progress bar can be adjusted to remind the user.
[0141] It is worth noting that, consistent with the sending of the target game character's prop sharing information, the request information with the help information can also have the current position information of the target game character, so as to instruct the other game characters in the same group to come to the position of the target game character for rescue.
[0142] (Three) The real-time state information of the target game character is the position information of the target game character, and the step of "determining the signal information sent to the other game characters according to the real-time state information of the target game character reflected by the target function control" includes:
[0143] i1: according to the distance information indicated by the target function control, determining the distance information between the target game character and a preset dangerous area in the game scene.
[0144] In the embodiments of the present application, according to the distance information indicated by the target function control, the distance between the preset dangerous area and each game character is determined.
[0145] In a possible implementation, the target function control can be a progress bar with a numerical value, and according to the life state of the target game character, the progress bar can be lengthened or shortened according to the movement of the target game character, to indicate the distance between the target game character and the preset dangerous area in real time.
[0146] i2: according to the distance information and the name of the preset dangerous area, sending signal information with a dangerous area warning to the other game characters.
[0147] In the embodiments of the present application, signal information with a dangerous area warning can be sent to the other game characters in real time according to the distance information indicated by the target function control and the name of the preset dangerous area.
[0148] In a possible implementation, the signal information may include only information prompting other game characters to pay attention to the dangerous area, or may include information indicating the location information of the dangerous area.
[0149] In a possible implementation, the control for receiving the touch operation function in the present application is a control for information exchange in the game. Therefore, the functional control in the embodiment of the present application can also directly send information.
[0150] Specifically, in response to the touch operation on the functional control, the input information received from the player is sent to other game characters.
[0151] In an embodiment of the present application, when the player is in a state where it is convenient to send information, the player can directly input information by pressing and holding the function control. After the touch operation on the function control is completed, the signal information input by the player is directly sent to other game characters.
[0152] The following is an example of how to generate information in the game according to the embodiment of the present application. In this example, the touch operation is a drag operation.
[0153] See also Figure 2 , Figure 2 This is one of the schematic diagrams of the graphical user interface provided in an embodiment of the present application. In the graphical user interface 200, the target game character 210 is fighting with the enemy game character 220. In the upper right corner of the graphical user interface 200, a function control 230, a prop backpack control 240, a grenade control control 250 and a signal receiving area attenuation display control 260 are displayed.
[0154] See also Figure 3 , Figure 3 This is the second schematic diagram of the graphical user interface provided in an embodiment of the present application. In response to a drag operation on the function control 230, a cursor 270 is displayed in the graphical user interface 200, a preset control operation area 280 is displayed in the operation area of the function control 230, and a voice function area 290 is displayed at the preset positions of the function control 230, the prop backpack control 240, the grenade control control 250, and the signal receiving area attenuation display control 260.
[0155] See also Figure 4 , Figure 4Fig. 3 is a schematic diagram of a graphical user interface provided by an embodiment of the present application. The interface includes a game scene and a virtual object in the game scene. The game scene and the virtual object are not shown in Fig. 3. A player controls the virtual object to move in the game scene.
[0156] An application scenario of the present embodiment is provided as follows. As shown in Fig. 4, a player controls a virtual object to move in a game scene. Figure 5 Figure 5 Fig. 4 is a schematic diagram of a graphical user interface provided by an embodiment of the present application. The interface includes a game scene and a virtual object in the game scene. The game scene and the virtual object are not shown in Fig. 4. A player controls the virtual object to move in the game scene. Figure 5 The interface in Fig. 4 shows a plurality of controls, which are displayed above the game scene. Figure 5
[0157] The backpack control 1000 is configured to trigger display of a backpack interface in the graphical user interface, so as to view the items in the backpack. The items in the backpack can include, but are not limited to, medicines, weapons, accessories, armors, etc. In an optional 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 on the backpack control can be clicking, double-clicking, long-pressing, swiping, etc.
[0158] The movement control 1002 is a joystick filled with a shadow. In an optional embodiment, the movement control is configured with a movement response area. The movement response area can have the same size as the movement control, i.e., the 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 can be larger than that of the movement control, i.e., the movement control is arranged in the movement response area. In terms of distance, the graphical user interface is divided into left and right areas from the middle, where the left area is the movement response area of the movement control. A movement control instruction is triggered by a touch operation on the movement response area of the movement control, and the movement direction of the virtual object is controlled according to the movement control instruction. The touch operation on the movement response area of the movement control can be clicking, double-clicking, long-pressing, swiping, etc.
[0159] When the touch operation triggering the movement control instruction meets the preset condition, a "sprint" instruction is triggered to control the virtual object to automatically and continuously run in the game scene. For example Figure 5 In an optional embodiment, when the touch operation triggering the movement control instruction meets the preset condition, the touch operation on the rocker area slides to a preset distance or a preset area (e.g., a position indicated by an upward arrow of the rocker) in a preset direction. For example, when the touch operation drags the rocker upward, the sprint control 1006 appears, and when the sprint control is triggered, the virtual object enters the fast running mode. Meanwhile, the control 1030 is also a sprint control, and when the control 1030 is clicked, the virtual object enters the fast running mode. In an optional embodiment, when the touch operation triggering the movement control instruction meets the preset condition, the touch operation on the rocker area meets a preset time length or a preset pressure, etc.
[0160] The controls 1004 and 1014 are attack controls, and an attack instruction is triggered by a touch operation on an attack response area of the attack control, and an attack operation of the virtual character in the game scene is controlled according to the attack instruction. The attack behavior triggered by the attack control corresponds to the current equipment state of the virtual object. For example, when the virtual object is equipped with a long-range weapon, the attack behavior triggered by the attack control is a shooting behavior, that is, the left hand can perform a shooting operation by triggering the control 1004, and the right hand can perform a shooting operation by triggering the control 1014; when the virtual character is equipped with a close-range weapon, the attack behavior triggered by the attack control is a swinging behavior, etc. In an optional embodiment, only one of the attack controls 1004 and 1014 is displayed. The display position of the attack control can be adjusted according to a position setting instruction, and the position setting instruction can be triggered in a setting interface or in the process of a match. The touch operation on the attack control can be a click, double-click, long press, or sliding operation.
[0161] The controls 1008 and 1010 are posture controls, and a posture adjustment instruction is triggered by a touch operation on the posture control to adjust the posture of the virtual object in the game scene. Triggering the control 1008 can control the weapon to be located at the left arm position of the virtual object and control the virtual object to stand with the left side of the head twisted; triggering the control 1010 can control the weapon to be located at the right arm position of the virtual object and control the virtual object to stand with the right side of the head twisted. The controls 1008 and 1010 are mainly used for posture control of the virtual object when the virtual object hides behind an obstacle such as a wall or a tree. The touch operation on the posture control can be a click, double-click, long press, or sliding operation.
[0162] 1012 is a weapon slot, triggering the weapon slot can switch the weapon used by the player. The left "burst" is used to indicate the current shooting mode, in the "burst" mode, multiple bullets are fired in succession. In addition to the "burst" mode, it can also be switched to the "single shot" mode, in the "single shot" mode, a single bullet is fired. The lower shadow bar is used to display the amount of bullets in the weapon. When shooting, the amount of bullets is constantly decreasing, when the amount of bullets becomes zero, the bullets can be automatically replaced, at this time the amount of bullets is the maximum amount. In addition, the 1016 control is a bullet replacement control, triggering the bullet replacement control can add bullets to the currently used weapon, after replacing the bullets, the amount of bullets is the maximum value. Among them, the touch control operation acting on the weapon slot can be click, double-click, long press, slide and other operations.
[0163] 1018 and 1020 controls are action controls, through the touch control operation acting on the action control to control the virtual object to perform the corresponding action in the game scene. For example, triggering 1018 can control the virtual object to crouch, triggering 1020 can control the virtual object to adopt the ground. The 1022 control can control the virtual object to perform a jumping action. Among them, the touch control operation acting on the action control can be click, double-click, long press, slide and other operations.
[0164] 1024 control is used to control the current game scene to enter the scope mode, when detecting the first touch control operation acting on the control 1024, control enters the scope mode, in the scope mode, the game scene displays a scope lens, also displays the game scene seen by the virtual object through the scope lens, in the scope mode, the shooting accuracy can be improved. When detecting the second touch control operation acting on the control 1024, control exits the scope mode. In an optional embodiment, the first touch control operation and the second touch control operation are independent touch control operations, for example, clicking the 1024 control, controlling the current game scene to enter the scope mode, clicking the 1024 control again, exiting the scope mode, and displaying the game scene again. The virtual camera follows the virtual object to shoot. In an optional embodiment, the first touch control operation and the second touch control operation can be the start operation and the end operation of a touch control operation, for example, detecting the touch control 1024 control, controlling the game scene to enter the scope mode, in the process of continuous pressing, controlling the game scene to continuously be in the scope mode, when detecting the touch control operation triggering the touch control cutoff leaving the touch control detection area, control exits the scope mode.
[0165] The 1026 control is used to control the shooting parameters of the virtual camera presenting the game picture, so as to adjust the field of view picture 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 the shooting parameters of the virtual camera are adjusted according to the touch operation, wherein the shooting parameters include but are not limited to the position, orientation, angle of view, etc. of the virtual camera. The touch operation acting on the 1026 control can be a click, double-click, long press, swipe, etc.
[0166] The 1028 control is a marking control, and the virtual objects, virtual objects, etc. in the game scene are marked through a touch operation acting on the marking control. The 1032 control is a setting control, and the setting menu is displayed by clicking the 1032 control, which is used to set the basic functions of the current game. The touch operation acting on the 1028 control can be a click, double-click, long press, swipe, etc.
[0167] The 1034 and 1036 controls are message controls, wherein the 1034 can be used to view system notifications, and the 1036 can be used to view messages sent by teammates or send messages to teammates. The 1038 is a mini-map, which is used to display the position of the virtual object controlled by the player, and can also display the positions of some virtual objects of other players. In this embodiment, the message control is taken as a specific example to describe the technical solutions shown in the embodiments of the present application.
[0168] On the basis of the above application scenarios, the player can operate the function control to execute the game information generation method in the embodiment.
[0169] The game information generation method provided in the embodiments of the present application responds to the touch operation on the function control when the target game character performs the game behavior corresponding to the control instruction issued by the player, and displays a cursor on the graphical user interface. The cursor moves following the touch operation, and the target function control is determined from the plurality of function controls displayed on the graphical user interface according to the cursor position of the cursor when the touch operation ends. The signal information sent to the other game characters is determined according to the target function control. In the embodiments of the present application, the cursor moves in the graphical user interface by the touch operation on the function control during the game behavior of the target game character, and the selected target function control is determined, and the signal information corresponding to the target function control is directly sent to the other game characters. In the case that the player does not need to input the information to be sent and does not block the game elements in the graphical user interface, the information sending is completed, the steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
[0170] Based on the same inventive concept, the embodiment of the present application also provides a game information generation device corresponding to the game information generation method. Since the device solves the problem in the same principle as the game information generation method of the embodiment of the present application, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.
[0171] Please refer to Figure 6 , Figure 6 The structure diagram of a game information generation device provided by the embodiment of the present application is shown in FIG. 6. As shown in FIG. 6, the generation device 600 comprises: Figure 6
[0172] A behavior control module 610, configured to control the target game character to perform a game behavior corresponding to the control instruction in response to the control instruction;
[0173] A cursor control module 620, configured to display a cursor in the graphical user interface in response to a touch operation on the function control, and control the cursor to move in the graphical user interface following the movement of a touch point of the touch operation;
[0174] A control determination module 630, configured to determine a target function control from a plurality of function controls displayed in the graphical user interface according to a cursor position at which the movement of the cursor ends;
[0175] An information determination module 640, configured to determine to send signal information corresponding to the target function control to other game characters.
[0176] In a possible implementation, the signal information comprises at least one of the following:
[0177] Voice information, text information, and graphical information.
[0178] In a possible implementation, when the cursor control module 620 is used to control the cursor to move in the graphical user interface following the movement of the touch point of the touch operation, the cursor control module 620 is used to:
[0179] Obtain a touch point position of the touch point in a control operation region, the control operation region being a region determined in the graphical user interface according to the position of the function control in the graphical user interface according to a preset rule;
[0180] Determine a cursor position of the cursor in the graphical user interface according to the touch point position and a corresponding relationship, wherein the corresponding relationship is a corresponding relationship between a position in the control operation region and a position in the graphical user interface;
[0181] controlling the cursor to move to the cursor position in the graphical user interface.
[0182] In a possible implementation, the cursor control module 620 is configured to:
[0183] determine a preset size of a geometric figure region in the graphical user interface, with the position of the function control in the graphical user interface as the center.
[0184] In a possible implementation, the cursor control module 620 is further configured to:
[0185] obtain the touch point position of the touch point in the control operation region, determine the moving direction of the touch operation and the cursor position, and
[0186] control the cursor to move to the cursor position in the graphical user interface at a preset speed.
[0187] In a possible implementation, the information determination module 640 is configured to:
[0188] determine the signal information to be sent to the other game character according to the real-time state information about the target game character reflected by the target function control.
[0189] In a possible implementation, the real-time state information about the target game character includes at least one of the following:
[0190] the prop equipment information of the target game character, the life state information of the target game character, and the distance information of the target game character.
[0191] In a possible implementation, the information determination module 640 is configured to:
[0192] if the prop equipment information indicates that the target game character lacks a target prop indicated by the target function control, determine to send signal information with target prop demand information to the other game character.
[0193] If the prop equipment information indicates that the target game character is equipped with at least two target props, the signal information with target prop gifting information sent to the other game character is determined.
[0194] In a possible implementation, the information determination module 640 is configured to determine the signal information sent to the other game character according to the real-time state information of the target game character reflected by the target function control, when the information determination module 640 is configured to:
[0195] If the state parameter value of the target game character in the life state information indicated by the target function control is less than a preset danger value, the signal information indicating help is determined to be sent to the other game character.
[0196] In a possible implementation, the information determination module 640 is configured to determine the signal information sent to the other game character according to the real-time state information of the target game character reflected by the target function control, when the information determination module 640 is configured to:
[0197] According to the distance information indicated by the target function control, distance information between the target game character and a preset danger area in the game scene is determined.
[0198] According to the distance information and the name of the preset danger area, the signal information with danger area warning is sent to the other game character.
[0199] The game information generation apparatus provided in the embodiments of the present application responds to the touch operation on the function control when the target game character performs the game behavior corresponding to the control instruction issued by the player, and displays a cursor on the graphical user interface. The cursor is controlled to move following the touch operation. The target function control is determined from the plurality of function controls displayed on the graphical user interface according to the cursor position of the cursor when the touch operation ends. The signal information sent to the other game character is determined according to the target function control. In the embodiments of the present application, the cursor is controlled to move in the graphical user interface through the touch operation on the function control when the target game character performs the game behavior, and the selected target function control is determined, and the signal information corresponding to the target function control is directly sent to the other game character. The information sending is completed without the need of the player to input the information to be sent and without the game elements in the graphical user interface being blocked. The steps of information sending in the game process are simplified, and the human-computer interaction efficiency is improved.
[0200] Please refer to Figure 7 , Figure 7 A structural schematic diagram of an electronic device provided in the embodiments of the present application is shown in FIG. 1. As shown in FIG. 1, the electronic device includes a processor 100, a memory 200, a display 300, and a touch screen 400. Figure 7As shown in the figure, the electronic device 700 includes a processor 710, a memory 720 and a bus 730.
[0201] The memory 720 stores machine readable instructions executable by the processor 710, when the electronic device 700 is running, the processor 710 and the memory 720 communicate through the bus 730, the machine readable instructions are executed by the processor 710, can execute the above Figure 1 The steps of the method for generating in-game information in the method embodiment shown are described above, and the specific implementation manner can be referred to the method embodiment, which will not be described here.
[0202] The embodiment of the application further provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is run by the processor, and the computer program can execute the steps of the method for generating in-game information in the method embodiment shown. Figure 1 The steps of the method for generating in-game information in the method embodiment shown are described above, and the specific implementation manner can be referred to the method embodiment, which will not be described here.
[0203] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be described here.
[0204] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other ways. The device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some communication interfaces, devices or units, and can be electrical, mechanical or other forms.
[0205] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0206] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.
[0207] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a nonvolatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the parts of the prior art that make contributions or parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0208] Finally, it should be noted that: the above-described embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, but not to limit them. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can make modifications or easily think of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present application, or make equivalent replacements to some of the technical features. The modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for generating information in a game, characterized in that: A graphical user interface is provided by a terminal device, wherein the graphical user interface displays at least a portion of a game scene and function controls, wherein the game scene includes a target game character controlled by the terminal device, and the generating method includes: In response to the control instruction, controlling the target game character to perform a game behavior corresponding to the control instruction; In response to a touch operation on the functional control, displaying a cursor in the graphical user interface, and controlling the cursor to move in the graphical user interface following movement of a touch point of the touch operation within a preset control operation area; determining a target function control from a plurality of function controls displayed in the graphical user interface according to a cursor position at the end of the movement of the cursor; According to the attribute information of the target function control and the real-time state of the target game character reflected by the target function control, it is determined to send signal information corresponding to the target function control to other game characters.
2. The generation method according to claim 1, characterized in that The signal information includes at least one of the following: Voice information, text information, graphic information.
3. The generation method according to claim 1, characterized in that 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 a touch point position of the touch point within a control operation area, where the control operation area is an area determined in the graphical user interface according to a preset rule based on the position of the function control in the graphical user interface; determining a cursor position of the cursor in the graphical user interface according to the touch point position and a corresponding relationship, wherein the corresponding relationship is a corresponding relationship between a position in the control operation area and a 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, characterized in that The step of determining an area in the graphical user interface according to a preset rule based on the position of the functional control in the graphical user interface comprises: A geometric area of a preset size is determined in the graphical user interface with the position of the functional control in the graphical user interface as the center.
5. The generation method according to claim 1, characterized in that 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 a touch point position of the touch point within a control operation area, and determining a moving direction of the touch operation according to the touch point position; The cursor is controlled to move along the moving direction in the graphical user interface at a preset speed.
6. The generation method according to claim 1, characterized in that The step of determining to send signal information corresponding to the target function control to other game characters includes: The signal information to be sent to other game characters is determined according to the real-time status information about the target game character reflected by the target function control.
7. The generation method according to claim 6, characterized in that The real-time status information of the target game character includes at least one of the following: The target game character's item equipment information, the target game character's life status information, and the target game character's distance information.
8. The generation method according to claim 7, characterized in that The step of determining signal information to be sent to other game characters based on the real-time status information of the target game character reflected by the target function control includes: If the item configuration information indicates that the target game character lacks the target item indicated by the target function control, determining to send a signal message containing target item requirement information to the other game characters; If the item equipping information indicates that the target game character is equipped with at least two of the target items, signal information carrying target item gifting information is determined to be sent to the other game characters.
9. The generation method according to claim 7, characterized in that The step of determining signal information to be sent to other game characters based on the real-time status information of the target game character reflected by the target function control includes: If the target game character state parameter value in the life state information indicated by the target function control is less than a preset danger value, it is determined to send a signal information indicating help to the other game characters.
10. The generation method according to claim 7, characterized in that: The step of determining signal information to be sent to other game characters based on the real-time status information of the target game character reflected by the target function control includes: Determining the distance information between the target game character and a preset dangerous area in the game scene according to the distance information indicated by the target function control; According to the distance information and the name of the preset dangerous area, signal information with a dangerous area warning is sent to the other game characters.
11. The generation method according to claim 4, characterized in that The preset size is determined based on the size of the graphical user interface reduced according to a preset ratio; The conditions for determining the preset ratio include at least one of the following: Model information of the terminal, operating range of a single touch operation, and screen resolution of the terminal.
12. A device for generating information in a game, characterized in that: A graphical user interface is provided by a terminal device, wherein the graphical user interface displays at least a portion of a game scene and function controls, wherein the game scene includes a target game character controlled by the terminal device, and the generating device includes: A behavior control module, configured to control the target game character to perform a game behavior corresponding to the control instruction in response to the control instruction; a cursor control module, configured to display a cursor in the graphical user interface in response to a touch operation on the functional control, and control the cursor to move in the graphical user interface following movement of a touch point of the touch operation within a preset control operation area; a control determination module, configured to determine a target function control from a plurality of function controls displayed in the graphical user interface according to a cursor position at the end of the movement of the cursor; The information determination module is used to determine, based on the attribute information of the target function control and the real-time status of the target game character reflected by the target function control, whether to send signal information corresponding to the target function control to other game characters.
13. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for generating in-game information as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating game information according to any one of claims 1 to 11 are executed.
Citation Information
Patent Citations
Information sending method and device, equipment, storage medium and program product
CN113244631A