CN118001749A - Method, device, equipment and storage medium for adding friends in game - Google Patents

Method, device, equipment and storage medium for adding friends in game Download PDF

Info

Publication number
CN118001749A
CN118001749A CN202410194228.2A CN202410194228A CN118001749A CN 118001749 A CN118001749 A CN 118001749A CN 202410194228 A CN202410194228 A CN 202410194228A CN 118001749 A CN118001749 A CN 118001749A
Authority
CN
China
Prior art keywords
game
friend
display area
dynamic effect
theme
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
CN202410194228.2A
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 CN202410194228.2A priority Critical patent/CN118001749A/en
Publication of CN118001749A publication Critical patent/CN118001749A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for adding friends in a game, wherein the method comprises the following steps: in response to receiving a first friend-making request sent by the second terminal device, displaying a first identifier for representing successful reception of the first friend-making request in a first display area associated with the first game role; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.

Description

Method, device, equipment and storage medium for adding friends in game
Technical Field
The application relates to the technical field of games, in particular to a method, a device, equipment and a storage medium for adding friends in a game.
Background
In the existing game, friends are added among players, usually, the game account information (such as account name) of the opponent player is required to be searched at a friend adding list, after the game account information of the opponent player is searched, a friend making request is sent to the opponent player, and after the opponent player confirms the consent, the opponent player completes the addition of the friends. However, the existing friend adding method cannot realize quick adding of the currently encountered stranger in the game process, and in the friend adding method, when a player sends a friend making request to a counterpart player, whether the counterpart player belongs to unknown information online or not, so that time delay exists between the counterpart players, and the friend adding efficiency is low.
Disclosure of Invention
Accordingly, the present application is directed to a method, an apparatus, a device, and a storage medium for adding friends in a game, which ensure that both players are online during the addition of friends by supporting a manner that a player sends a friend-making request to a currently encountered stranger in real time in the game, thereby eliminating possible time delay between both players, and being beneficial to both parties of friends to determine the friend-making result in time and improving the efficiency of friend addition.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
In a first aspect, an embodiment of the present application provides a method for adding friends in a game, where a first graphical user interface is provided by a first terminal device corresponding to a first game role, where at least part of a game scene is displayed on the first graphical user interface, and the method includes:
In response to receiving a first friend-making request sent by second terminal equipment, displaying a first identifier for representing that the first friend-making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
Responding to a first operation aiming at the first identifier, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
In a second aspect, an embodiment of the present application provides a device for adding friends in a game, where a first graphical user interface is provided by a first terminal device corresponding to a first game role, where at least part of a game scene is displayed on the first graphical user interface, and the device includes:
the first response module is used for responding to the first friend making request sent by the second terminal equipment, and displaying a first identifier for representing that the first friend making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
The second response module is used for responding to a first operation aiming at the first identification, playing a first theme dynamic effect on the first graphical user interface and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the steps of the method for adding friends in a game described above are implemented when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the method for adding friends in a game described above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
In the method, the device, the equipment and the storage medium for adding friends in the game provided by the embodiment of the application, a first identification for representing that the first friend-making request is successfully received is displayed in a first display area associated with a first game role in response to receiving the first friend-making request sent by the second terminal equipment; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flowchart of a method for adding friends in a game according to an embodiment of the present application;
FIG. 2a is a schematic diagram of a first interface for displaying a first identifier on a first graphical user interface according to an embodiment of the present application;
FIG. 2b is a schematic diagram of a second interface for displaying a first identifier on a first graphical user interface according to an embodiment of the present application;
FIG. 3 is a schematic diagram of interface interaction for playing a first theme dynamic effect on a first graphical user interface according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for sending a request for making friends in a game according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a device for adding friends in a game according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device 600 according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
In the existing game, friends are added among players, usually, the game account information (such as account name) of the opponent player is required to be searched at a friend adding list, after the game account information of the opponent player is searched, a friend making request is sent to the opponent player, and after the opponent player confirms the consent, the opponent player completes the addition of the friends. However, the existing friend adding method cannot realize quick adding of the currently encountered stranger in the game process, and in the friend adding method, when a player sends a friend making request to a counterpart player, whether the counterpart player belongs to unknown information online or not, so that time delay exists between the counterpart players, and the friend adding efficiency is low.
Based on the above, the embodiments of the present application provide a method, an apparatus, a device, and a storage medium for adding friends in a game, which ensure that both players are in online state during the addition of friends by supporting a manner that a player sends a friend-making request to a currently encountered stranger in real time in the game, so as to eliminate possible time delay between both players, and facilitate both friends to determine the friend-making result in time by synchronously playing the theme dynamic effect corresponding to the friend-making result to both friends, thereby improving the efficiency of friend addition.
The method for adding friends in the game in one embodiment of the application can be operated on the terminal equipment or the server. The terminal device may be a local terminal device. When the method for adding friends in the game runs on the server, the method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and client equipment (namely terminal equipment).
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, a running main body of the game program and a game picture presentation main body are separated, the storage and running of a method for adding friends in the game are completed on a cloud game server, and a client device is used for receiving and sending data and presenting game pictures, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the terminal device for information processing is cloud game server of cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In order to facilitate understanding of the embodiments of the present application, a method, an apparatus, a device, and a storage medium for adding friends in a game provided by the embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for adding friends in a game according to an embodiment of the present application, where a first graphical user interface is provided by a first terminal device corresponding to a first game role, where at least part of a game scene is displayed on the first graphical user interface, and the method includes steps S101-S102; specific:
and S101, responding to the received first friend-making request sent by the second terminal equipment, and displaying a first identification used for representing that the first friend-making request is successfully received in a first display area associated with the first game role.
S102, responding to a first operation aiming at the first identification, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment.
In the method for adding friends in the game provided by the embodiment of the application, in response to receiving the first friend-making request sent by the second terminal equipment, a first identifier for representing that the first friend-making request is successfully received is displayed in a first display area associated with the first game role; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
The following exemplary descriptions are respectively given to each step in the method for adding friends in the game provided by the embodiment of the present application:
and S101, responding to the received first friend-making request sent by the second terminal equipment, and displaying a first identification used for representing that the first friend-making request is successfully received in a first display area associated with the first game role.
Here, each player can log in the game through the terminal device held by itself; in the game process, terminal devices held by different players can be in communication connection with the game server, so that indirect communication between different terminal devices corresponding to different players can be realized based on the game server as transit equipment.
Taking a first terminal device held by a first player as an example, the first game role characterizes a game role controlled by the first player in a game, and at least part of a game scene is displayed on a first graphical user interface provided by the first terminal device; wherein, during the process of the first player controlling the movement of the first game character, the game scene displayed on the first graphical user interface is changed along with the movement of the first game character.
During the process that the first player plays the first game role, the first game role may encounter a player game role controlled by other players (the player game role in the same game scene as the first game role does not contain non-player roles), and the first player can send a friend making request to any one of the player game roles through the first terminal device so as to request to add a player corresponding to the player game role as a game friend; similarly, based on the relativity of the dating, the first terminal device corresponding to the first player may also receive the dating request sent by other players, that is, the first terminal device corresponding to the first player may belong to the sender of the dating request or may belong to the receiver of the dating request.
Specifically, when the first terminal device belongs to the receiver of the friend-making request, any player game role in the same game scene as the first game role may be used as the second game role corresponding to the second terminal device, that is, in step S101, the second terminal device corresponding to the second game role belongs to the sender of the friend-making request, and may send the friend-making request (i.e. the first friend-making request) to the first terminal device through the game server, where the first terminal device may display, in response to receiving the first friend-making request sent by the second terminal device, a first identifier indicating that the first friend-making request is successfully received in the periphery of the first game role (i.e. in the first display area associated with the first game role) according to the current role position of the first game role in the game scene, so as to prompt the first player that the first friend-making request sent by the second terminal device is currently received through the displayed first identifier.
The first display area represents a display area in the game scene, where a distance between the first display area and the first game character is less than or equal to a first preset distance threshold (for example, a circular area with a radius being the first preset distance threshold and taking a position of the first game character in the game scene as a center) and the first mark can be displayed at any position in the first display area (for example, can be displayed above, below, left side, right side and the like of the first game character); the embodiment of the present application is not limited in any way, and the specific display position of the first identifier in the first display area, the relative orientation between the first identifier and the first game character, and the specific value of the first preset distance threshold are all described above.
It should be noted that, when executing the step S101, the first terminal device may further send a target display instruction for the first identifier to the second terminal device, so as to instruct, through the sent target display instruction, the second terminal device to synchronously display the first identifier on a second graphical user interface provided by the second terminal device after receiving the target display instruction (i.e., on the second graphical user interface, the first identifier is also displayed in a first display area associated with the first game role), so that, by using the first identifier displayed on the second graphical user interface, a second player corresponding to the second terminal device can also intuitively determine that the first terminal device has successfully received the first friend-making request sent before; the embodiment of the present application is not limited in any way, as to whether the first identifier is displayed synchronously on the sender side of the friend-making request (e.g., the second terminal device).
S102, responding to a first operation aiming at the first identification, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment.
Here, the first operation characterizes a control operation for confirming approval of the received first friend-making request, and the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request, that is, in step S102, the friend-making result is equivalent to that the first player corresponding to the first terminal device agrees to add the second player corresponding to the second terminal device as a game friend.
Specifically, the first terminal device responds to the first operation aiming at the first identifier, plays the first theme moving effect on the first graphical user interface, and sends a first moving effect playing instruction to the second terminal device through the game server, so that the second terminal device can synchronously play the first theme moving effect (namely, the first moving effect playing instruction is used for indicating the second terminal device to play the first theme moving effect) on the second graphical user interface provided by the second terminal device according to the received first moving effect playing instruction, and the mode of synchronously playing the theme moving effect (namely, the first theme moving effect) corresponding to the friend-making result to both sides (namely, players corresponding to the first terminal device and the second terminal device) is beneficial to determining the friend-making result more timely and improving the friend adding efficiency.
It should be noted that, the first operation may be a clicking operation (e.g., a clicking operation touched by a finger, a clicking operation triggered by a mouse, etc.), a long-press operation (i.e., a clicking time exceeds a preset time threshold), a sliding operation (e.g., a left sliding operation, a right sliding operation, an up sliding operation, a down sliding operation, etc., and the specific operation type of the first operation is not limited in any way.
The following details are respectively given for the specific implementation process of each step in the embodiment of the present application:
For the specific implementation procedure of the step S101, when the first terminal device belongs to the receiver of the friend-making request, on the side of the first terminal device, in response to receiving the first friend-making request sent by the second terminal device (i.e., the sender of the friend-making request), it may be determined how to display the first identifier in the first display area by any one of the following optional embodiments:
in a first alternative embodiment, the first identifier may be a static identifier directly displayed in the first display area, where the first terminal device may perform the step S101 according to the method of the following step a 1:
And a1, responding to the received first friend-making request sent by the second terminal equipment, and displaying a first identifier at a first position in a first display area.
Here, the first position represents a preset fixed position in the first display area, or a display position randomly determined from the first display area; the embodiment of the present application is not limited in any way with respect to the specific determination manner of the first position.
Specifically, when the first position represents a preset fixed position in the first display area, on one side of the first terminal device, the first identifier is displayed at the preset fixed position (i.e. the display position of the first identifier is fixed) in each time when the first terminal device responds to and receives a friend-making request sent by other terminal devices; when the first position represents the randomly determined display position in the first display area, on the first terminal device side, corresponding to each time the response receives the friend making request sent by other terminal devices, a position is randomly selected in the first display area as the display position of the first identifier (i.e. the display position of the first identifier is randomly indefinite).
It should be noted that, when the step S101 is performed in the manner of the step a1, based on the static identifier of the first identifier, the static identifier is directly displayed at the first location, as a preferred embodiment, the specific display form of the first identifier may be a form of graphic combination, where text information on the first identifier is used to indicate that the first friend-making request currently received comes from the second game role (also equivalent to coming from the second terminal device), so that the first player can determine, through the first identifier, the sender corresponding to the first friend-making request currently received more intuitively.
For example, when a first terminal device belongs to a receiver of a friend-making request, fig. 2a shows a first interface schematic diagram of displaying a first identifier on a first graphical user interface provided by an embodiment of the present application, as shown in fig. 2a, where a first game character 110 and a second game character 210 are located in the same game scene, the first game character 110 corresponds to the first terminal device, the second game character 210 corresponds to the second terminal device, and the first terminal device displays, at a first position in a first display area 120 associated with the first game character 110, a first identifier 130 in a graphic-text combination form in response to receiving the friend-making request sent by the second terminal device (i.e. the first friend-making request described above); based on the text information carried on the first identifier 130 (the second game character 210 requests to add friends), the first player (i.e. the player corresponding to the first game character 110) can intuitively determine that the friend-making request sent by the player corresponding to the second game character 210 is successfully received.
In a second alternative embodiment, the first identifier may also be a dynamic identifier (also equivalent to a dynamic effect) capable of indicating a specific sender corresponding to the first friend-making request currently received, where the first terminal device may execute the above step S101 according to the following method of step a 2:
and a2, responding to the first friend making request sent by the second terminal equipment, and playing the dynamic effect of the target theme in the first graphical user interface.
Here, the target theme dynamic effect is a dynamic first identifier capable of indicating that the first friend-making request received currently comes from the second game character (corresponding to the specific sender corresponding to the first friend-making request); the target theme dynamic effect may specifically characterize a dynamic effect of the first identifier moving from the second display area associated with the second game character to the first display area, where the first request for making friends is sent by the second terminal device corresponding to the second game character.
Specifically, similar to the first display area associated with the first game character, the second display area represents a display area in the game scene, where the distance between the second display area and the second game character is less than or equal to a second preset distance threshold; the embodiment of the present application is not limited in any way for the specific area range of the second display area (which is also equivalent to the specific value of the second preset distance threshold and the specific position of the second game character in the game scene).
It should be noted that, in the process of playing the target theme active effect, the first player can intuitively determine that the first friend-making request currently received is sent by the second terminal device corresponding to the second game role based on the moving route of the first identifier (that is, the first identifier moves from the second display area associated with the second game role to the first display area), so when the step S101 is executed in the manner of the step a2, as a preferred embodiment, the first identifier may belong to a simple graphic identifier, that is, even if the first identifier does not carry any text information related to the sender of the friend-making request (that is, the second game role), the same prompting effect as the step a1 can be achieved.
For example, when the first terminal device belongs to the receiver of the friend-making request, fig. 2b shows a second interface schematic diagram of displaying the first identifier on the first graphical user interface, as shown in fig. 2b, where the first game character 110 and the second game character 210 are located in the same game scene, the first game character 110 corresponds to the first terminal device, the second game character 210 corresponds to the second terminal device, and the first terminal device plays the target theme dynamic effect in the first graphical user interface 100 in response to receiving the friend-making request sent by the second terminal device (i.e. the first friend-making request); based on the dynamic effect that the first identifier 130 moves from the second display area 220 associated with the sender of the friend-making request (the second game role 210) to the location of the receiver of the friend-making request (the first display area 120 associated with the first game role 110), the first player (i.e., the player corresponding to the first game role 110) can already intuitively determine that the friend-making request sent by the player corresponding to the second game role 210 is successfully received according to the currently played target theme effect (equivalent to implementing the same prompt effect as step a 1), where, unlike fig. 2a, the first identifier 130 shown in fig. 2b may not need to carry any related text information for indicating the sender of the friend-making request (i.e., in the target theme effect shown in fig. 2b, the first identifier 130 may be a simple graphic identifier).
For the specific implementation process of step S102, when the first terminal device belongs to the receiver of the friend-making request, on the side of the first terminal device, the playing of the dynamic effect of the first theme is only used for prompting that the final friend-making result of the time is successfully added as a friend by both parties (i.e., the players corresponding to the first terminal device and the second terminal device respectively), so that the embodiment of the application is not limited in any way for the specific dynamic effect of the dynamic effect representation of the first theme.
Here, in executing the above step S102, although the specific dynamic effect of the dynamic effect characterization of the first theme may not be limited in any way, for the specific determination manner of the dynamic effect of the first theme, the embodiment of the present application at least provides the following two optional implementations, specific:
In the first alternative embodiment, when a purchase function regarding different theme effects is not provided for the player in the game (equivalent to that a plurality of different theme effects that can be selected for purchase by the player are not provided for the player in the game), or when a plurality of different theme effects that can be purchased are provided for the player in the game, but the first player does not purchase any game resource related to the theme effects, at this time, the first terminal device may directly obtain a general dynamic effect configured for the friend-making function in the game as the first theme effect when executing the step S102; the universal dynamic effect is equivalent to free dynamic effect which can be obtained without purchasing by a player in the game.
In a second alternative embodiment, for personalized customization, a plurality of different theme effects that can be purchased are provided for the player in the game, on the side of the first terminal device, after the first player purchases a plurality of theme effects, similar to the game skin corresponding to the game character, the first player may preset a default theme effect that indicates the corresponding use when agreeing to the friend-making request from among the plurality of theme effects held by the first player (also corresponding to the plurality of theme effects held by the first game character), and at this time, when executing the step S102, the first terminal device may acquire the default theme effect preset by the player (i.e., the first player) from among the plurality of theme effects held by the first game character as the first theme effect.
Specifically, regardless of the optional implementation manner, the first theme dynamic effect is obtained, and the obtained specific dynamic effect of the first theme dynamic effect is that "an love mark flies out from a first display area associated with a first game character in a second display area associated with a second game character, and the two types of love marks fly out can collide with the love effect between the second game character and the first game character", and fig. 3 shows an interface interaction schematic diagram of playing the first theme dynamic effect on a first graphical user interface, where, as shown in fig. 3, the first game character 110 and the second game character 210 are located in the same game scene, the first game character 110 corresponds to a first terminal device, the second game character 210 corresponds to a second terminal device, and the first terminal device displays the first mark 130 in the first display area 120 associated with the first game character 110 in response to receiving a friend making request sent by the second terminal device (i.e. the first friend making request), so as to send a first request to the first player character 130 through the displayed first mark 130; the first terminal device responds to the first operation of the first player aiming at the first identifier 130, plays the first theme dynamic effect (one love identifier flies out from the first display area 120 associated with the first game character 110 in the second display area 220 associated with the second game character 210, and two love identifiers fly out from the love identifiers and collide with each other between the second game character 210 and the first game character 110) on the first graphical user interface 100, and sends a first dynamic effect playing instruction to the second terminal device, at this time, the second terminal device can play the first theme dynamic effect (the playing effect is the same as the playing effect on the first graphical user interface 110) to the second player (the second game character 210) on the second graphical user interface, and by means of synchronously playing the first theme dynamic effect to the friend-making parties (i.e. the first player and the second player), the friend-making parties can determine the friend-making result more timely, so that the efficiency of friend-making is improved.
For the specific implementation procedure of the steps S101 to S102, similar to the step S102, the first terminal device may reject the first friend-making request sent by the second terminal device in the following manner in step b1, specifically:
and b1, responding to a second operation aiming at the first identification, playing a second theme dynamic effect on the first graphical user interface, and sending a second dynamic effect playing instruction to the second terminal equipment.
Here, the second operation characterizes a control operation of rejecting the received first friend-making request, the playing of the second theme dynamic effect is used for characterizing the first game role to confirm rejecting the first friend-making request, and the second dynamic effect playing instruction is used for instructing the second terminal device to play the second theme dynamic effect; that is, in step b1, the first player corresponding to the first terminal device refuses to add the second player corresponding to the second terminal device as the game friend, and at this time, the present friend-making result is a friend-making failure (equivalent to the first player refusing the first friend-making request sent by the second terminal device) is communicated to the friend-making parties by synchronously playing the second theme on the first terminal device and the second terminal device.
Specifically, the determining manner of the second theme moving effect is the same as that of the first theme moving effect, and the two foregoing alternative embodiments for obtaining the first theme moving effect may be adopted, which are not repeated herein.
It should be noted that the second operation is only used to characterize an operation different from the first operation in the step S102 (e.g., if the first operation is a click operation, the second operation may be a slide operation, if the first operation is a slide operation, the second operation may be a long press operation, etc.); the embodiment of the present application is not limited in any way with respect to the specific operation type of the above-described second operation.
It should be noted that, the specific dynamic effect of the second theme dynamic effect only needs to be different from the specific dynamic effect of the first theme dynamic effect, so that the player can definitely make friends each time according to the specific dynamic effect, for example, the second theme dynamic effect may be a dynamic effect of loving-type breaking, and the embodiment of the present application is not limited in any way.
In the embodiment of the present application, based on the interactivity of making friends, the first terminal device may also be used as a sender of a request for making friends like the second terminal device, where in this case, taking the first terminal device is an example of sending a request for making friends to a third terminal device corresponding to a third game role in a game scene, fig. 4 shows a flowchart of a method for sending a request for making friends in a game provided by the embodiment of the present application, as shown in fig. 4, the method includes steps S401 to S402, specifically:
S401, responding to triggering a target interaction event aiming at a third game role in the game scene, and sending a second friend-making request to third terminal equipment corresponding to the third game role.
Here, when the first terminal device belongs to the sender of the friend-making request, on the first terminal device side, the first player may trigger a target interaction event for the third game role through different operation modes, so as to instruct the first terminal device to send the friend-making request (i.e., the second friend-making request) to the third terminal device by triggering the target interaction event; the target interaction event is used for characterizing various optional operation modes capable of indicating the first terminal equipment to send the second friend-making request to the third terminal equipment.
Specifically, in the first optional operation manner, the first terminal device may directly respond to a specific operation (such as a clicking operation, a long-press operation, a sliding operation, etc.) for the third game role, determine to trigger a target interaction event for the third game role, and send a second friend-making request to a third terminal device corresponding to the third game role, where the specific operation type of the specific operation is not limited in any way.
Specifically, in the second optional operation manner, the first terminal device may trigger the target interaction event according to a method shown in the following steps c1-c 2:
and c1, responding to a third operation aiming at the first game character, and controlling the first game character to perform vibration reminding for a preset time length.
It should be noted that, the third operation may be a clicking operation (such as a clicking operation touched by a finger, a clicking operation triggered by a mouse, etc.), a long-press operation (i.e., a clicking time exceeds a preset time threshold), a sliding operation (such as a left sliding operation, a right sliding operation, an up sliding operation, a down sliding operation, etc.), and the specific operation type of the third operation is not limited in any way.
Specifically, the specific value of the preset time length may be determined according to an actual game configuration requirement, for example, may be 2 seconds, or may be 4 seconds, etc.; the specific value of the preset time length is not limited in the embodiment of the present application.
And c2, responding to the first movement control instruction for the first game role after the vibration reminding is finished, and determining to trigger a target interaction event for the third game role.
Here, the first movement control instruction characterizes an instruction for controlling the first game character to move into the third display area associated with the third game character, that is, the vibration alert is used for prompting the first player (that is, the player corresponding to the first game character) to trigger the first movement control instruction for the first game character.
Specifically, after the vibration alert is finished, the first player may drag the first game character into the third display area associated with the third game character (corresponding to triggering the first movement control instruction) in the game scene by performing a sliding operation (corresponding to a drag operation) on the first game character, and at this time, the first terminal device responds to the dragging of the first game character into the third display area associated with the third game character (i.e., receives the first movement control instruction), and sends a second friend-making request (i.e., triggers a target interaction event for the third game character) to the third terminal device corresponding to the third game character.
It should be noted that, based on the first movement control instruction only for instructing the first terminal device to send the second friend-making request to the third terminal device, as an optional embodiment, the first terminal device may further automatically restore the first game role to the original position (i.e., the position of the first game role before the first movement control instruction is triggered) in response to the end of sending the second friend-making request; in addition, the first terminal device may also place the first game character at the current position, and the embodiment of the present application does not impose a limitation on whether the position of the first game character needs to be restored after the second friend-making request is sent.
Specifically, in a third optional operation manner, the first terminal device may trigger the target interaction event according to a method shown in the following steps d1-d 2:
and d1, responding to a fourth operation aiming at the first game role, and displaying the virtual role identifier corresponding to the first game role in a first display area related to the first game role.
It should be noted that, the fourth operation is only used to characterize operations different from the third operation in the step c1 (e.g., if the third operation is a click operation, the fourth operation may be a slide operation, if the third operation is a slide operation, the fourth operation may be a long press operation, etc.); the embodiment of the present application is not limited in any way as to the specific operation type of the fourth operation described above.
The virtual character identifier may be a graphic identifier of any display style (for example, may be a simple geometric icon or a character icon completely consistent with the character image of the first game character); for the specific display style of the virtual character identifier, the embodiment of the application is not limited in any way.
And d2, responding to the received second movement control instruction aiming at the virtual character identification, and determining to trigger a target interaction event aiming at the third game character.
Here, the second movement control instruction characterizes an instruction for controlling the virtual character identifier to move into a third display area associated with a third game character; unlike the steps c1-c2, the target interaction event is triggered by moving the virtual character identifier in the steps d1-d2, without any movement of the first game character itself, so that in the implementation process of the steps d1-d2, the first player (the player corresponding to the first game character) may not need to be prompted by any prompting mode such as vibration prompting.
And S402, responding to the successful transmission of the second friend-making request, and displaying a second identification used for representing the successful transmission of the second friend-making request in a third display area associated with the third game role.
Here, the specific embodiment of step S402 is the same as the specific embodiment of step S101, and the display manner of the second identifier is the same as the display manner of the first identifier in step S101, and the repetition is omitted here.
Specifically, similar to the first display area and the second display area, the third display area represents a display area in the game scene, where the distance between the third display area and the third game character is smaller than or equal to a third preset distance threshold; the embodiment of the present application is not limited in any way for the specific area range of the third display area (which is also equivalent to the specific value of the third preset distance threshold and the specific position of the third game character in the game scene).
It should be noted that, in connection with the implementation of the foregoing step S101, it is not limited that the sender side of the friend-making request is also required to synchronously display the first identifier in the execution of the step S101, so in step S402, the second identifier may be the same as or different from the first identifier displayed on the receiver side of the friend-making request.
Based on the method for adding friends in the game provided by the embodiment of the application, a first identification for representing that the first friend making request is successfully received is displayed in a first display area associated with a first game role in response to receiving the first friend making request sent by the second terminal equipment; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
Based on the same inventive concept, the application also provides a device corresponding to the method for adding friends in the game, and because the principle of the device for adding friends in the game in the embodiment of the application for solving the problem is similar to that of the method for adding friends in the game in the embodiment of the application, the implementation of the device can refer to the implementation of the method for adding friends in the game, and the repetition is omitted.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus for adding friends in a game according to an embodiment of the present application, where a first graphical user interface is provided by a first terminal device corresponding to a first game role, and at least part of a game scene is displayed on the first graphical user interface, and the apparatus includes:
A first response module 501, configured to respond to receiving a first friend-making request sent by a second terminal device, and display, in a first display area associated with the first game role, a first identifier for characterizing that the first friend-making request is successfully received; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
A second response module 502, configured to respond to a first operation for the first identifier, play a first theme dynamic effect on the first graphical user interface, and send a first dynamic effect play instruction to the second terminal device; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
In an alternative embodiment, the first response module 501 is configured to display the first identifier in the first display area by:
In response to receiving a first friend-making request sent by the second terminal device, displaying the first identifier at a first position in the first display area; the first position represents a preset fixed position in the first display area or a display position randomly determined from the first display area.
In an alternative embodiment, the first response module 501 is configured to display the first identifier in the first display area by:
playing a target theme dynamic effect in the first graphical user interface in response to receiving a first friend-making request sent by the second terminal equipment; wherein the target theme dynamic effect characterizes a dynamic effect of the first mark moving from within a second display area associated with the second game character to within the first display area; and the second display area represents a display area, wherein the distance between the display area and the second game role in the game scene is smaller than or equal to a second preset distance threshold value.
In an alternative embodiment, the second response module 502 is configured to determine the first theme dynamic effect by:
and acquiring a general dynamic effect configured for the friend making function in the game as the first theme dynamic effect.
In an alternative embodiment, the second response module 502 is configured to determine the first theme dynamic effect by:
and acquiring default theme dynamic effects preset by a player from a plurality of theme dynamic effects held by the first game role as the first theme dynamic effects.
In an alternative embodiment, the apparatus further comprises:
The third response module is used for responding to a second operation aiming at the first identification, playing a second theme dynamic effect on the first graphical user interface and sending a second dynamic effect playing instruction to the second terminal equipment; wherein the playing of the second theme dynamic effect is used for characterizing the first game role to confirm rejecting the first friend making request; the second dynamic effect playing instruction is used for indicating the second terminal equipment to play the second theme dynamic effect.
In an alternative embodiment, the apparatus further comprises: a transmitting module, configured to:
Responding to a target interaction event triggering a third game role in the game scene, and sending a second friend-making request to third terminal equipment corresponding to the third game role;
in response to successful transmission of the second friend-making request, displaying a second identifier for representing successful transmission of the second friend-making request in a third display area associated with the third game character; and the third display area represents a display area, wherein the distance between the third display area and the third game role in the game scene is smaller than or equal to a third preset distance threshold value.
In an alternative embodiment, the sending module is configured to trigger a target interaction event for the third game character by:
responding to a third operation aiming at the first game role, and controlling the first game role to perform vibration reminding for a preset time length;
Responding to a first movement control instruction aiming at the first game role after the vibration reminding is finished, and determining to trigger a target interaction event aiming at the third game role; wherein the first movement control instruction characterizes an instruction to control the first game character to move into a third display area associated with the third game character.
In an alternative embodiment, the sending module is configured to trigger a target interaction event for the third game character by:
Responding to a fourth operation for the first game role, and displaying a virtual role identifier corresponding to the first game role in a first display area associated with the first game role;
Determining to trigger a target interaction event for the third game character in response to receiving a second movement control instruction for the virtual character identification; wherein the second movement control instruction characterizes an instruction controlling the virtual character identifier to move into a third display area associated with the third game character.
Based on the device for adding friends in the game provided by the embodiment of the application, a first identification for representing that the first friend making request is successfully received is displayed in a first display area associated with a first game role in response to receiving the first friend making request sent by the second terminal equipment; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
Based on the same inventive concept, the application also provides an electronic device corresponding to the method for adding friends in the game, and because the principle of solving the problem of the electronic device in the embodiment of the application is similar to that of the method for adding friends in the game in the embodiment of the application, the implementation of the electronic device can refer to the implementation of the method for adding friends in the game, and the repetition is omitted.
Fig. 6 is a schematic structural diagram of an electronic device 600 according to an embodiment of the present application, including: the method comprises a processor 601, a memory 602 and a bus 603, wherein the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device runs a method for adding friends in a game as in the embodiment, the processor 601 and the memory 602 communicate through the bus 603, the processor 601 executes the machine-readable instructions, a first graphical user interface is provided through a first terminal device corresponding to a first game role, at least part of a game scene is displayed on the first graphical user interface, and the processor 601 executes the machine-readable instructions to implement the following steps:
In response to receiving a first friend-making request sent by second terminal equipment, displaying a first identifier for representing that the first friend-making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
Responding to a first operation aiming at the first identifier, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
In an alternative embodiment, processor 601 is configured to display the first identifier in the first display area by:
In response to receiving a first friend-making request sent by the second terminal device, displaying the first identifier at a first position in the first display area; the first position represents a preset fixed position in the first display area or a display position randomly determined from the first display area.
In an alternative embodiment, processor 601 is configured to display the first identifier in the first display area by:
playing a target theme dynamic effect in the first graphical user interface in response to receiving a first friend-making request sent by the second terminal equipment; wherein the target theme dynamic effect characterizes a dynamic effect of the first mark moving from within a second display area associated with the second game character to within the first display area; and the second display area represents a display area, wherein the distance between the display area and the second game role in the game scene is smaller than or equal to a second preset distance threshold value.
In an alternative embodiment, processor 601 is configured to determine the first theme action by:
and acquiring a general dynamic effect configured for the friend making function in the game as the first theme dynamic effect.
In an alternative embodiment, processor 601 is configured to determine the first theme action by:
and acquiring default theme dynamic effects preset by a player from a plurality of theme dynamic effects held by the first game role as the first theme dynamic effects.
In an alternative embodiment, processor 601 is further configured to:
The third response module is used for responding to a second operation aiming at the first identification, playing a second theme dynamic effect on the first graphical user interface and sending a second dynamic effect playing instruction to the second terminal equipment; wherein the playing of the second theme dynamic effect is used for characterizing the first game role to confirm rejecting the first friend making request; the second dynamic effect playing instruction is used for indicating the second terminal equipment to play the second theme dynamic effect.
In an alternative embodiment, processor 601 is further configured to:
Responding to a target interaction event triggering a third game role in the game scene, and sending a second friend-making request to third terminal equipment corresponding to the third game role;
in response to successful transmission of the second friend-making request, displaying a second identifier for representing successful transmission of the second friend-making request in a third display area associated with the third game character; and the third display area represents a display area, wherein the distance between the third display area and the third game role in the game scene is smaller than or equal to a third preset distance threshold value.
In an alternative embodiment, processor 601 is configured to trigger a target interaction event for the third game character by:
responding to a third operation aiming at the first game role, and controlling the first game role to perform vibration reminding for a preset time length;
Responding to a first movement control instruction aiming at the first game role after the vibration reminding is finished, and determining to trigger a target interaction event aiming at the third game role; wherein the first movement control instruction characterizes an instruction to control the first game character to move into a third display area associated with the third game character.
In an alternative embodiment, processor 601 is configured to trigger a target interaction event for the third game character by:
Responding to a fourth operation for the first game role, and displaying a virtual role identifier corresponding to the first game role in a first display area associated with the first game role;
Determining to trigger a target interaction event for the third game character in response to receiving a second movement control instruction for the virtual character identification; wherein the second movement control instruction characterizes an instruction controlling the virtual character identifier to move into a third display area associated with the third game character.
According to the electronic equipment provided by the embodiment of the application, the first identification for representing that the first friend-making request is successfully received is displayed in the first display area associated with the first game role in response to receiving the first friend-making request sent by the second terminal equipment; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
Based on the same inventive concept, the embodiments of the present application further provide a computer readable storage medium, providing a first graphical user interface through a first terminal device corresponding to a first game character, where at least part of a game scene is displayed on the first graphical user interface, where the computer readable storage medium stores a computer program, and the computer program is executed by a processor when executed by the processor performs the following steps:
In response to receiving a first friend-making request sent by second terminal equipment, displaying a first identifier for representing that the first friend-making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
Responding to a first operation aiming at the first identifier, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
In an alternative embodiment, the processor is configured to display the first identifier in the first display area by:
In response to receiving a first friend-making request sent by the second terminal device, displaying the first identifier at a first position in the first display area; the first position represents a preset fixed position in the first display area or a display position randomly determined from the first display area.
In an alternative embodiment, the processor is configured to display the first identifier in the first display area by:
playing a target theme dynamic effect in the first graphical user interface in response to receiving a first friend-making request sent by the second terminal equipment; wherein the target theme dynamic effect characterizes a dynamic effect of the first mark moving from within a second display area associated with the second game character to within the first display area; and the second display area represents a display area, wherein the distance between the display area and the second game role in the game scene is smaller than or equal to a second preset distance threshold value.
In an alternative embodiment, the processor is configured to determine the first theme action by:
and acquiring a general dynamic effect configured for the friend making function in the game as the first theme dynamic effect.
In an alternative embodiment, the processor is configured to determine the first theme action by:
and acquiring default theme dynamic effects preset by a player from a plurality of theme dynamic effects held by the first game role as the first theme dynamic effects.
In an alternative embodiment, the processor is further configured to:
The third response module is used for responding to a second operation aiming at the first identification, playing a second theme dynamic effect on the first graphical user interface and sending a second dynamic effect playing instruction to the second terminal equipment; wherein the playing of the second theme dynamic effect is used for characterizing the first game role to confirm rejecting the first friend making request; the second dynamic effect playing instruction is used for indicating the second terminal equipment to play the second theme dynamic effect.
In an alternative embodiment, the processor is further configured to:
Responding to a target interaction event triggering a third game role in the game scene, and sending a second friend-making request to third terminal equipment corresponding to the third game role;
in response to successful transmission of the second friend-making request, displaying a second identifier for representing successful transmission of the second friend-making request in a third display area associated with the third game character; and the third display area represents a display area, wherein the distance between the third display area and the third game role in the game scene is smaller than or equal to a third preset distance threshold value.
In an alternative embodiment, the processor is configured to trigger a target interaction event for the third game character by:
responding to a third operation aiming at the first game role, and controlling the first game role to perform vibration reminding for a preset time length;
Responding to a first movement control instruction aiming at the first game role after the vibration reminding is finished, and determining to trigger a target interaction event aiming at the third game role; wherein the first movement control instruction characterizes an instruction to control the first game character to move into a third display area associated with the third game character.
In an alternative embodiment, the processor is configured to trigger a target interaction event for the third game character by:
Responding to a fourth operation for the first game role, and displaying a virtual role identifier corresponding to the first game role in a first display area associated with the first game role;
Determining to trigger a target interaction event for the third game character in response to receiving a second movement control instruction for the virtual character identification; wherein the second movement control instruction characterizes an instruction controlling the virtual character identifier to move into a third display area associated with the third game character.
According to the computer readable storage medium provided by the embodiment of the application, in response to receiving a first friend-making request sent by a second terminal device, a first identifier for representing successful reception of the first friend-making request is displayed in a first display area associated with a first game role; and responding to a first operation aiming at the first identification, playing the first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment. In this way, the method and the device for making friends ensure that the players are in an online state in the friend adding process by supporting the mode that the players send friend making requests to the currently encountered strangers in real time in the game, eliminate possible time delay between the players, and are beneficial to the friend making parties to more timely determine the friend making result by synchronously playing the theme dynamic effect corresponding to the friend making result to the friend making parties, thereby improving the friend adding efficiency.
In the embodiment of the present application, the computer readable storage medium may further execute other machine readable instructions when executed by the processor to perform the method for adding friends in the game as described in other embodiments, and the steps and principles of the method for adding friends in the game specifically performed are referred to in the description of the embodiments of the method side and are not repeated herein.
In the embodiments provided herein, it should be understood that the disclosed systems and methods may be implemented in other ways. The system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions in actual implementation, and e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within 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 (12)

1. A method for adding friends in a game, wherein a first graphical user interface is provided through a first terminal device corresponding to a first game character, and at least part of a game scene is displayed on the first graphical user interface, the method comprising:
In response to receiving a first friend-making request sent by second terminal equipment, displaying a first identifier for representing that the first friend-making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
Responding to a first operation aiming at the first identifier, playing a first theme dynamic effect on the first graphical user interface, and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
2. The method of claim 1, wherein the first logo is displayed in the first display area by:
In response to receiving a first friend-making request sent by the second terminal device, displaying the first identifier at a first position in the first display area; the first position represents a preset fixed position in the first display area or a display position randomly determined from the first display area.
3. The method of claim 1, wherein the first logo is displayed in the first display area by:
playing a target theme dynamic effect in the first graphical user interface in response to receiving a first friend-making request sent by the second terminal equipment; wherein the target theme dynamic effect characterizes a dynamic effect of the first mark moving from within a second display area associated with the second game character to within the first display area; and the second display area represents a display area, wherein the distance between the display area and the second game role in the game scene is smaller than or equal to a second preset distance threshold value.
4. The method of claim 1, wherein the first theme action is determined by:
and acquiring a general dynamic effect configured for the friend making function in the game as the first theme dynamic effect.
5. The method of claim 1, wherein the first theme action is determined by:
and acquiring default theme dynamic effects preset by a player from a plurality of theme dynamic effects held by the first game role as the first theme dynamic effects.
6. The method according to claim 1, wherein the method further comprises:
Responding to a second operation aiming at the first identification, playing a second theme dynamic effect on the first graphical user interface, and sending a second dynamic effect playing instruction to the second terminal equipment; wherein the playing of the second theme dynamic effect is used for characterizing the first game role to confirm rejecting the first friend making request; the second dynamic effect playing instruction is used for indicating the second terminal equipment to play the second theme dynamic effect.
7. The method according to claim 1, wherein the method further comprises:
Responding to a target interaction event triggering a third game role in the game scene, and sending a second friend-making request to third terminal equipment corresponding to the third game role;
in response to successful transmission of the second friend-making request, displaying a second identifier for representing successful transmission of the second friend-making request in a third display area associated with the third game character; and the third display area represents a display area, wherein the distance between the third display area and the third game role in the game scene is smaller than or equal to a third preset distance threshold value.
8. The method of claim 7, wherein the target interaction event for the third game character is triggered by:
responding to a third operation aiming at the first game role, and controlling the first game role to perform vibration reminding for a preset time length;
Responding to a first movement control instruction aiming at the first game role after the vibration reminding is finished, and determining to trigger a target interaction event aiming at the third game role; wherein the first movement control instruction characterizes an instruction to control the first game character to move into a third display area associated with the third game character.
9. The method of claim 7, wherein the target interaction event for the third game character is triggered by:
Responding to a fourth operation for the first game role, and displaying a virtual role identifier corresponding to the first game role in a first display area associated with the first game role;
Determining to trigger a target interaction event for the third game character in response to receiving a second movement control instruction for the virtual character identification; wherein the second movement control instruction characterizes an instruction controlling the virtual character identifier to move into a third display area associated with the third game character.
10. An apparatus for adding friends in a game, wherein a first graphical user interface is provided by a first terminal device corresponding to a first game character, and at least a part of a game scene is displayed on the first graphical user interface, the apparatus comprising:
the first response module is used for responding to the first friend making request sent by the second terminal equipment, and displaying a first identifier for representing that the first friend making request is successfully received in a first display area associated with the first game role; the second terminal equipment characterizes terminal equipment corresponding to a second game role in the game scene; the first display area represents a display area, wherein the distance between the display area and the first game role in the game scene is smaller than or equal to a first preset distance threshold value;
The second response module is used for responding to a first operation aiming at the first identification, playing a first theme dynamic effect on the first graphical user interface and sending a first dynamic effect playing instruction to the second terminal equipment; wherein the playing of the first theme dynamic effect is used for characterizing that the first game role determines to accept the first friend-making request; the first dynamic effect playing instruction is used for indicating the second terminal equipment to play the first theme dynamic effect.
11. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method of adding friends in a game according to any of claims 1 to 9.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method of adding friends in a game as claimed in any of claims 1 to 9.
CN202410194228.2A 2024-02-20 2024-02-20 Method, device, equipment and storage medium for adding friends in game Pending CN118001749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410194228.2A CN118001749A (en) 2024-02-20 2024-02-20 Method, device, equipment and storage medium for adding friends in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410194228.2A CN118001749A (en) 2024-02-20 2024-02-20 Method, device, equipment and storage medium for adding friends in game

Publications (1)

Publication Number Publication Date
CN118001749A true CN118001749A (en) 2024-05-10

Family

ID=90942929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410194228.2A Pending CN118001749A (en) 2024-02-20 2024-02-20 Method, device, equipment and storage medium for adding friends in game

Country Status (1)

Country Link
CN (1) CN118001749A (en)

Similar Documents

Publication Publication Date Title
CN111905370B (en) Method and device for controlling virtual character in game, electronic equipment and storage medium
US9218212B2 (en) Pairing physical devices to virtual devices to create an immersive environment
CN110711380B (en) State processing method and related device
US11738277B2 (en) Game testing system
CN112619167A (en) Information processing method and device, computer equipment and medium
CN112546625A (en) Game information prompting method and device, storage medium and electronic equipment
TWI803224B (en) Contact person message display method, device, electronic apparatus, computer readable storage medium, and computer program product
CN113908558A (en) Team forming method, device, equipment and storage medium in game
WO2023160585A1 (en) Information transfer method and apparatus, electronic device, and readable medium
US11058955B2 (en) Techniques for managing video game assets of viewers and hosts of video game broadcasts and related systems and methods
WO2024027165A1 (en) Information interaction method and apparatus, and electronic device and storage medium
CN118001749A (en) Method, device, equipment and storage medium for adding friends in game
CN114073100A (en) Mapping views of digital content
CN115033347A (en) Information sharing method, device, equipment and medium based on multi-virtual machine system
CN113521727A (en) Game reconnection method, device, equipment and storage medium
CN111841003B (en) Information processing method and device in game and electronic equipment
US11318379B2 (en) Game server and method of sharing note in the game server
JP7131905B2 (en) Information processing method, server device, program, and information terminal
CN113318441A (en) Game scene display control method and device, electronic equipment and storage medium
CN111494955A (en) Game-based role interaction method, device, server and medium
KR20140089460A (en) Method and mobile device for providing item
JP7345204B2 (en) Message control device, message system, and program
KR102137735B1 (en) Method and apparatus for providing a communication function in an instance area
CN115888082A (en) Information processing method and device in game, electronic equipment and medium
KR20220061546A (en) Method and apparatus for controlling game

Legal Events

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