WO2023160585A1 - 信息传递方法、装置、电子设备及可读介质 - Google Patents

信息传递方法、装置、电子设备及可读介质 Download PDF

Info

Publication number
WO2023160585A1
WO2023160585A1 PCT/CN2023/077690 CN2023077690W WO2023160585A1 WO 2023160585 A1 WO2023160585 A1 WO 2023160585A1 CN 2023077690 W CN2023077690 W CN 2023077690W WO 2023160585 A1 WO2023160585 A1 WO 2023160585A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch operation
interface
information
target position
game interaction
Prior art date
Application number
PCT/CN2023/077690
Other languages
English (en)
French (fr)
Inventor
黄紫东
Original Assignee
网易(杭州)网络有限公司
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 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Publication of WO2023160585A1 publication Critical patent/WO2023160585A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/572Communication between players during game play of non game information, e.g. e-mail, chat, file transfer, streaming of audio and streaming of video
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Definitions

  • the present disclosure relates to the technical field of games, and in particular, to an information transmission method, an information transmission device, an electronic device, and a computer-readable medium.
  • the embodiment of the present disclosure discloses an information transmission method.
  • An electronic device is used to display a game interaction interface.
  • Information transmission controls and interface elements are displayed on the game interaction interface, including:
  • the information transfer control is displayed at the target position of the game interaction interface; wherein, the initial position and the target position are respectively located in the left area and the right side of the game interaction interface side area;
  • the embodiment of the present disclosure also discloses another method for information transmission.
  • the game interaction interface is displayed through an electronic device, and information transmission controls and interface elements are displayed on the game interaction interface, including:
  • the embodiment of the present disclosure also discloses an information transmission device, which displays a game interaction interface through an electronic device, and information transmission controls and interface elements are displayed on the game interaction interface, and the device includes:
  • a first control display module configured to display the information transfer control at the initial position of the game interaction interface
  • a state acquisition module configured to acquire the movement state of the touch point corresponding to the first touch operation in response to the first touch operation on the information transfer control
  • a judging module configured to judge the time during which the touch point corresponding to the first touch operation terminates on an interface element and stays on the interface element in response to the movement state satisfying a preset condition
  • the second control display module is used to display the information transfer control at the target position of the game interaction interface if the time is less than the first preset time; wherein, the initial position and the target position are respectively located in the game The left and right areas of the interface;
  • An information transmission module configured to obtain prompt information corresponding to the interface element if the time is greater than or equal to the first preset time, and transmit the prompt information to teammates.
  • the embodiment of the present disclosure also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;
  • the memory is used to store computer programs
  • the processor is configured to implement the method described in the embodiments of the present disclosure when executing the program stored in the memory.
  • the embodiments of the present disclosure also disclose one or more computer-readable media, on which instructions are stored, and when executed by one or more processors, the processors execute the method described in the embodiments of the present disclosure.
  • FIG. 1 is a schematic diagram of an interface of an information transfer control operation provided in the related art
  • FIG. 2 is a flowchart of steps of an information transmission method provided in an embodiment of the present disclosure
  • Fig. 3 is one of the interface schematic diagrams of an information transmission control operation provided in an embodiment of the present disclosure
  • Fig. 4 is the second schematic diagram of an interface of an information transfer control operation provided in an embodiment of the present disclosure
  • Fig. 5 is a flow chart of steps of another information transmission method provided in an embodiment of the present disclosure.
  • Fig. 6 is the third schematic diagram of the interface of an information transfer control operation provided in an embodiment of the present disclosure.
  • Fig. 7 is a fourth schematic diagram of an interface of an information transmission control operation provided in an embodiment of the present disclosure.
  • Fig. 8 is a fifth schematic diagram of an interface of an information transmission control operation provided in an embodiment of the present disclosure.
  • Fig. 9 is a structural block diagram of an information transmission device provided in an embodiment of the present disclosure.
  • the information transfer method in one of the embodiments of the present disclosure can run on a local terminal device or a server.
  • the information transfer method runs on the server, the information transfer method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
  • cloud games refer to game methods based on cloud computing.
  • the main body of running the game program and the main body of the game screen are separated, the storage and operation of the information transmission method is completed on the cloud game server, and the role of the client device is used to receive and send data
  • the presentation of the game screen for example, the client device can be a display device with data transmission function close to the user side, such as a first terminal device, a television, a computer, a handheld computer, etc.; but the information transmission method is Cloud game server in the cloud.
  • the player When playing a game, the player operates the client device to send an operation command to the cloud game server, and the cloud game server runs the game according to the operation command, encodes and compresses the game screen and other data, and returns it to the client device through the network. Decode and output the game screen.
  • the local terminal device stores a game program and is used to present a game screen.
  • the local terminal device is used to interact with the player through the graphical user interface, that is, the conventional electronic device downloads and installs the game program and runs it.
  • the local terminal device may provide the graphical user interface to the player in various manners, for example, rendering and displaying it on the display screen of the terminal, or providing it to the player through holographic projection.
  • the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the graphical user interface displayed on the display.
  • FIG. 2 it shows a flow chart of the steps of an information transfer method provided in an embodiment of the present disclosure.
  • the game interaction interface is displayed through an electronic device.
  • Information transfer controls and interface elements are displayed on the game interaction interface, which may specifically include follow the steps below:
  • Step 201 displaying the information transmission control at the initial position of the game interaction interface.
  • the information transmission control is a control for players to send information to their teammates or enemy teammates.
  • the interface element is a blue buff
  • the Preview the prompt message "I'll take the blue, thank you” on the interactive interface. After releasing it, pass the prompt message "I'll take the blue, thank you” to your teammates.
  • the embodiment of the present disclosure is the third information transmission method optimize.
  • the interface elements include at least player avatars, non-player avatars, controls, virtual objects, etc.; the initial position of the information transfer control can usually be set in the game interface layout in the game settings before starting the game, and is usually set on the left side of the game interface. side or right.
  • the information transmission control will be displayed at the initial position of the game interaction interface.
  • Step 202 in response to a first touch operation on the information transfer control, acquire a movement state of a touch point corresponding to the first touch operation.
  • the first touch operation may be a slide operation, a drag operation, or a drag operation, etc.
  • the touch point is a point in contact with the game interaction interface during the first touch operation
  • the moving state may be determined by at least one of the following parameters: moving distance, moving speed, moving direction, and existence time of the touch point, etc. of the touch point.
  • Step 203 in response to satisfying the preset condition in the moving state, determine the time that the touch point corresponding to the first touch operation terminates on the interface element and stays on the interface element: if the time is less than the first At a preset time, the information transmission control is displayed at the target position of the game interaction interface; wherein, the initial position and the target position are respectively located in the left area and the right area of the game interaction interface; if the If the time is greater than or equal to the first preset time, the prompt information corresponding to the interface element is obtained, and the prompt information is passed to the teammate.
  • the target position is the pre-set transit display position of the information transmission control
  • the initial position and the target position are respectively located in the left area and the right area of the game interaction interface, for example, the initial position is located in the left area, and the target position is located in the right area ; or the target position is in the left area and the initial position is in the right area.
  • the distance between the interface element and the initial position is greater than the distance between the interface element and the target position, that is, the distance between the interface element and the initial position is relatively long, and it is difficult for the player to transfer information. Operate between controls and interface elements.
  • the movement state of the touch point corresponding to the first touch operation may be acquired in response to the player's first touch operation on the information transfer control, And judging whether the moving state satisfies the preset condition, and judging whether the moving state satisfies the preset condition, and judging that the touch point corresponding to the first touch operation terminates on the interface element and stays on the interface element for less than the first preset time. If the time is set, the information transfer control is displayed at the target position; on the contrary, if the time is greater than the first preset time, the prompt information corresponding to the interface element is obtained, and the prompt information is passed to the teammate.
  • the first touch operation can be a sliding operation, a drag operation, or a drag operation, etc.
  • the interface elements include at least player avatars, non-player avatars, controls, virtual objects, etc.
  • the prompt information corresponding to the interface elements is based on the For example, the interface element is the virtual character controlled by the current player, and the corresponding prompt information is "and I am together"; the interface element is the virtual character controlled by your own player, and the corresponding prompt information is "protect us”; when the interface element is a skill control, the corresponding prompt information is "the ultimate move has not been upgraded", "the skill has not cooled down", etc.
  • the interface element is grass, and the corresponding prompt information is "gather ambush", "be careful of grass”; the interface element is the current wild monster (for example, blue buff or red buff) or boss, and the corresponding prompt information is "I take blue, thank you “, “I'll take the red, thank you”, “Attack the tyrant”, “Attack the master”, etc.; the interface element is the defense tower of one's own side, and the corresponding prompt message is "request support”; the interface element is the enemy defense tower, and the corresponding prompt message The interface element is your own crystal, and the corresponding prompt message is "Return to defense high ground”; the interface element is the enemy crystal, and the corresponding prompt message is "Priority attack the enemy's base”.
  • the touch point corresponding to the first touch operation ends at one of the interface elements (for example, red buff), and the touch point corresponding to the first touch operation stays on the interface element for less than the first preset time (for example, less than 0.5 seconds), then provide information at the target position located in the left area of the game interaction interface Transfer control; if the touch point corresponding to the first touch operation ends at one of the interface elements (for example, red buff) located in the right area of the game interaction interface, and the touch point corresponding to the first touch operation stays on the interface element If the time on the screen is greater than or equal to the first preset time (for example, greater than or equal to 0.5 seconds), the prompt information corresponding to the interface element "I take the red, thank you" is obtained, and the prompt information is passed to the teammate.
  • the first preset time for example, greater than or equal to 0.5 seconds
  • FIG. 3 it shows one of the interface schematic diagrams for the operation of an information transmission control provided in an embodiment of the present disclosure.
  • the information transmission control is located at the initial position of the right area of the game interaction interface, and the blue buff (interface element) is located at the left area of the game interaction interface, and the interface elements are far from the initial position.
  • the first touch operation displays the information transfer control at the target position (refer to FIG. 4 , which shows the second schematic diagram of an interface of an information transfer control operation provided in an embodiment of the present disclosure), and shortens the distance between the information transfer control and the interface elements , which is convenient for the player to perform subsequent operations.
  • the information transmission control by responding to the first touch operation of the information transmission control on the initial position, the information transmission control can be displayed at a target position closer to the interface element, shortening the distance between the information transmission control and the interface element, and making it easier for players to Information transmission operation optimizes the operation experience of players' fingers on the full-screen game interface.
  • the time that the touch point corresponding to the first touch operation stays on the interface element is used to distinguish the operation of triggering the display of the information transmission control at the target position and the operation of obtaining the prompt information.
  • the time that the touch point corresponding to the first touch operation stays on the interface element is used to distinguish the operation of triggering the display of the information transmission control at the target position and the operation of obtaining the prompt information.
  • the touch point corresponding to a touch operation moves to another interface element. At this time, it can be judged by the time that the touch point corresponding to the first touch operation stays on another interface element. Determine which operation is triggered, if the touch point corresponding to the first touch operation stays on another interface element for a time greater than or equal to the first preset time, obtain the prompt information corresponding to another interface element; if the second When the touch point corresponding to a touch operation stays on another interface element for less than a first preset time, an information transmission control is displayed at the target position.
  • the prompt information corresponding to the interface element is obtained, and the Pass the above prompt information to your teammates.
  • the second touch operation can be a sliding operation, a drag operation, or a drag operation, etc.
  • the interface elements include at least player avatars, non-player avatars, controls, virtual objects, etc.
  • the prompt information corresponding to the interface elements is based on the For example, the interface element is the avatar controlled by the current player, and the corresponding prompt message is "Come with me”; the interface element is the avatar controlled by one's own player, and the corresponding prompt message is "Protect us”;
  • the corresponding prompt information is "ultimate move is not upgraded", “skill is not cooled”, etc.;
  • the interface element is grass, and the corresponding prompt information is "gather ambush", "be careful of grass”;
  • the interface element is the current field Monster or boss, the corresponding prompt information is "I take blue, thank you”, “I take red, thank you", “Attack the tyrant", “Attack the master”, etc.;
  • the interface element is your own defense tower, and the corresponding prompt information
  • the prompt information corresponding to the interface element is obtained, and the prompt information is passed to the teammate.
  • the touch point corresponding to the second touch operation moves from the target position to the interface element, and
  • the touch point corresponding to the second touch operation stays on the interface element for a time greater than or equal to the first preset time, you will get the prompt message corresponding to the blue buff "I take the blue, thank you", and pass the prompt message to your teammates .
  • the information transfer control when responding to the first touch operation, second touch operation or other touch operations on the information transfer control, the information transfer control can follow the touch point corresponding to the touch operation, or not follow the touch point.
  • the movement of the touch point corresponding to the operation can be specifically set according to actual needs. In the embodiment of the present disclosure, there is no limitation on whether the information transfer control follows the movement of the touch point corresponding to the touch operation.
  • the first touch operation initiated by the hand close to the initial position can be used to control the display of the information transfer control at the position closer to the interface element.
  • the target position so as to shorten the distance between the information transmission control and the interface elements, and then initiate the second touch operation of the information transmission control for the target position through the hand close to the target position, so that the touch point corresponding to the second touch operation moves to the interface element, and stay on the interface element for a time greater than or equal to the second preset time, thereby quickly obtaining prompt information corresponding to the interface element, and passing the prompt information to teammates.
  • FIG. 5 it shows a flow chart of the steps of another information transfer method provided in an embodiment of the present disclosure.
  • the game interaction interface is displayed through an electronic device, and information transfer controls and interface elements are displayed on the game interaction interface, which may specifically include the following step:
  • Step 501 displaying the information transfer control at the initial position of the game interaction interface.
  • Step 502 in response to a first touch operation on the information transfer control, acquire a movement state of a touch point corresponding to the first touch operation.
  • a step 503 is further included, in response to the movement state satisfying a preset condition, judging that the touch point corresponding to the first touch operation ends at an interface element and stays Time on the interface element: if the time is greater than or equal to the first preset time, obtain prompt information corresponding to the interface element, and pass the prompt information to your teammates.
  • the interface element and the initial position are located on the same side area of the game interaction interface, that is, when the interface element is closer to the initial position and farther away from the target position, it can directly respond to the player's first touch on the information transfer control for the initial position.
  • control operation when the touch point corresponding to the first touch operation moves from the initial position to the interface element, and the time for the touch point corresponding to the first touch operation to stay on the interface element is greater than or equal to the first preset time, obtain The prompt information corresponding to the interface element, and pass the prompt information to your teammates.
  • the touch point corresponding to the first touch operation moves from the initial position to the interface element, and the touch point corresponding to the first touch operation
  • the information transmission control will not be displayed at the target position, and It is to directly obtain the prompt information corresponding to the interface element, and pass the prompt information to the teammate.
  • the information transmission control will be displayed at the target position only when the movement state of the corresponding touch point satisfies the preset condition.
  • FIG. 6 it shows a third schematic diagram of an interface of an information transfer control operation provided in an embodiment of the present disclosure.
  • the initial position of the information transfer control and the position of the interface elements are located in the right area of the game interaction interface.
  • the interface elements are closer to the information transfer control at the initial position, and can directly respond to the player's first touch on the initial position of the information transfer control.
  • Control operation the touch point corresponding to the first touch operation moves from the initial position to the interface element, and stays on the interface element for a time greater than or equal to the first time, obtains the prompt information corresponding to the interface element, and transmits the prompt information to your own side teammate.
  • Step 504 in response to the movement state meeting the preset condition, determine the time during which the touch point corresponding to the first touch operation terminates on the interface element and stays on the interface element: if the time is less than the first preset Set the time, then control the information transmission control to move from the initial position on the game interaction interface to the target position; wherein, the initial position and the target position are respectively located in the left area and the target position of the game interaction interface. right area.
  • the initial position and the target position are respectively located in the left area and the right area of the game interaction interface.
  • the purpose of moving the information transfer control from the initial position on the game interaction interface to the target position is to quickly shorten the distance between the information transfer control and the interface elements. Quickly move the initial position on the interface to the target position, or control the information transmission control to jump from the initial position on the game interaction interface to the target position, or cancel the display of the information transmission control at the initial position, and display the information transmission control at the target position .
  • it may be set according to actual needs, which is not limited in the embodiments of the present disclosure.
  • the preset condition includes: within the second preset time, the moving distance of the touch point corresponding to the first touch operation is greater than a preset distance, and the first touch The moving direction of the touch point corresponding to the operation is within the preset direction range; or within the second preset time, the moving speed of the touch point corresponding to the first touch operation is greater than the preset speed, and the first touch The moving direction of the touch point corresponding to the control operation is within a preset direction range.
  • the movement state of the touch point corresponding to the first touch operation can satisfy various preset conditions, for example, within the second preset time, the moving distance of the touch point corresponding to the first touch operation is greater than the preset distance, and when the movement direction of the touch point corresponding to the first touch operation is within the preset direction range, the movement state of the touch point corresponding to the first touch operation satisfies the preset condition;
  • the first The movement state of the touch point corresponding to the touch operation satisfies the preset condition
  • the preset conditions can be set according to actual needs, which is not limited in the embodiments of the present disclosure.
  • the preset conditions can also be set according to the moving acceleration, moving angle, and pressing force of the touch point corresponding to the first touch operation. .
  • the preset direction range can also be set according to specific circumstances.
  • the target position when the initial position of the information transfer control is located in the left area of the game interaction interface, the target position is located in the game When the area on the right side of the interactive interface, the preset direction range is the right direction; when the initial position of the information transmission control When the target position is located in the right area of the game interaction interface and the target position is located in the left area of the game interaction interface, the preset direction range is leftward.
  • the preset direction range is the right direction, with the initial position as the origin, and the value of the direction is It can be: [-45°, 45°) for the right direction, [45°, 135°) for the upward direction, and [135°, -135°) for the left direction.
  • the downward direction is [-135°, -45°).
  • the specific range of the direction can be set as required, for example, the rightward direction can also be [-40°, 40°), [-50°, 50°) or [-60°, 60°), etc.
  • FIG. 7 it shows a fourth schematic diagram of an interface of an information transfer control operation provided in an embodiment of the present disclosure.
  • the initial position of the information transmission control is located in the left area of the game interaction interface, and the target position and the position of the interface elements are located in the right area of the game interface.
  • the preset direction range is the right direction
  • the moving distance of the touch point corresponding to the first touch operation is greater than the preset distance or the moving speed of the touch point corresponding to the first touch operation is greater than the preset speed, and the touch point corresponding to the first touch operation
  • the moving direction is in the right direction
  • the moving state of the touch point corresponding to the first touch operation satisfies the preset condition.
  • the target position is located in the left area of the game interaction interface, and the preset direction range at this time is the left direction.
  • FIG. 8 it shows the fifth schematic diagram of the operation interface of an information transmission control provided in an embodiment of the present disclosure.
  • the initial position of the information transmission control is located in the right area of the game interaction interface, and the target position and the position of the interface elements are located It is located in the left area of the game interface.
  • the preset direction range is the left direction.
  • the moving distance of the touch point corresponding to the first touch operation is greater than the preset distance or the first touch
  • the movement speed of the touch point corresponding to the operation is greater than the preset speed, and the movement direction of the touch point corresponding to the first touch operation is in the left direction, and the movement state of the touch point corresponding to the first touch operation meets the preset speed. condition.
  • the moving distance and moving direction, or the moving speed and moving direction of the touch point corresponding to the first touch operation in the game interaction interface within the second preset time are related to the touch point on the interface element.
  • the stay time is used to decide whether to display the information transmission control at the target position, so as to avoid user misoperation and improve the user's operation fault tolerance.
  • step 203 after the step 203, it further includes: canceling the display of the target position if the second touch operation on the information delivery control is not detected within a third preset time The messaging control for the .
  • the acquired The prompt information corresponding to the above-mentioned interface elements is sent to the teammate of the own team.
  • the responding to the second touch operation on the information transfer control it further includes: if the touch point corresponding to the second touch operation stays on the interface element If the time is less than the first preset time, cancel the display of the information transfer control of the target location.
  • the touch point corresponding to the second touch operation stays on the interface element for less than the first preset time (including the time corresponding to the second touch operation If the touch point is not moved to the interface element), it indicates that the second touch operation is invalid, and the information transfer control displaying the target position is cancelled.
  • the responding to the second touch operation on the information delivery control further includes: not performing a dwell time at the touch point for the second touch operation on the information delivery control located at the target position However, as long as the touch point terminates on the interface element, no matter how long the touch point stays, the following function will be triggered: obtain the prompt information corresponding to the interface element and pass the prompt information to teammates.
  • the responding to the second touch operation on the information delivery control further includes: if the touch point of the second touch operation on the information delivery control located at the target position ends at a non- In other positions of the interface element, cancel the display of the information delivery control at the target position.
  • after the acquiring the prompt information corresponding to the interface element further includes: displaying and voice broadcasting the prompt information on the game interaction interface.
  • the prompt information after obtaining the prompt information corresponding to the interface element, the prompt information will be previewed (displayed) on the game interface, and after the player releases the touch operation on the information transmission control, the prompt information will be displayed and voiced on the game interaction interface. Broadcast, and at the same time pass the reminder information to your teammates.
  • the acquiring the prompt information corresponding to the interface element further includes: canceling display of the information transmission control of the target location.
  • the transfer operation of the prompt information has been completed, and the target is no longer needed.
  • the messaging controls for the location therefore, suppress the messaging controls for the destination location.
  • all interface elements with prompt information in the interaction interface may be distinguished from the interaction interface Displaying, in response to a click and touch operation on a differentially displayed interface element, obtaining prompt information corresponding to the interface element, and sending the prompt information to teammates of one's own side.
  • the operation is more fault-tolerant and can avoid user misoperation.
  • the first touch operation of the control can directly obtain the prompt information corresponding to the interface element, and pass the prompt information to the teammate of your own team, without first displaying the information transmission control at the target position, and then passing the control for the information displayed at the target position The second touch operation to get the prompt information.
  • the information transmission control can be displayed at the target position closer to the interface element through the first touch operation initiated by the hand close to the initial position , so as to shorten the distance between the information transmission control and the interface element, and then initiate the second touch operation on the information transmission control at the target position with the hand close to the target position, so that the prompt information corresponding to the interface element can be quickly obtained, and the prompt information can be passed to the Teammates.
  • the prompt information corresponding to the interface elements that are far away from the information transmission control at the initial position can be quickly transmitted during the game process, and at the same time, the operation experience of the player's fingers on the full-screen game interface can be optimized, and the distance between the information transmission control and the interface elements can be solved. It is difficult to drag the information transmission control to the interface elements, resulting in untimely information transmission and affecting the player's game experience.
  • the present disclosure also provides another embodiment of an information transmission method, in which an electronic device is used to display a game interaction interface, and information transmission controls and one or more interface elements are displayed on the game interaction interface, including: The information transfer control is displayed at the initial position of the interface; in response to a third touch operation on the information transfer control, the information transfer control is displayed at the target position of the game interaction interface; wherein, the initial position is the same as the target The positions are respectively located in the left area and the right area of the game interaction interface.
  • the third touch operation includes one or any combination of a single-click touch operation, a double-click touch operation, a multi-touch touch operation, or a long-press touch operation.
  • the displaying the information transfer control at a target position on the game interaction interface includes: controlling the information transfer control to move from the initial position on the game interaction interface to a target position.
  • the displaying the information delivery control at the target position of the game interaction interface in response to the third touch operation on the information delivery control includes: responding to the third touch operation on the information delivery control Three touch operations, acquiring the movement state of the touch point corresponding to the third touch operation; in response to the movement state satisfying a preset condition, if the touch point corresponding to the third touch operation ends at an interface element And if the time spent staying on the interface element is less than the first preset time, then the information transfer control is displayed at the target position of the game interaction interface; wherein, the preset condition includes: within the second preset time, the The moving distance of the touch point corresponding to the third touch operation is greater than the preset distance, and the moving direction of the touch point corresponding to the third touch operation is within the preset direction range; or within the second preset time, The moving speed of the touch point corresponding to the third touch operation is greater than a preset speed, and the moving direction of the touch point corresponding to the third touch operation is within a preset direction range.
  • the preset direction The range is in the right direction; when the initial position of the information transmission control is located in the right area of the game interaction interface, and the target position is located in the left area of the game interaction interface, the preset direction range to the left.
  • the information transfer control after the information transfer control is displayed at the target position of the game interaction interface, it further includes: not detecting the information transfer control at the target position within a third preset time The second touch operation cancels the display of the information transmission control of the target location.
  • the acquiring the prompt information corresponding to the interface element it further includes: canceling display of the information transmission control of the target location.
  • the interface element includes at least one of a player avatar, a control, a virtual object, and a non-player avatar.
  • FIG. 9 shows a structural block diagram of an information transfer device provided in an embodiment of the present disclosure.
  • the game interaction interface is displayed through an electronic device.
  • Information transfer controls and interface elements are displayed on the game interaction interface, which may specifically include the following module:
  • the first control display module 901 is configured to display the information transfer control at the initial position of the game interaction interface
  • a state acquisition module 902 configured to acquire the movement state of the touch point corresponding to the first touch operation in response to the first touch operation on the information transfer control;
  • a judging module 903 configured to judge the time during which the touch point corresponding to the first touch operation terminates on an interface element and stays on the interface element in response to the movement state meeting a preset condition
  • the second control display module 904 is configured to display the information transfer control at the target position of the game interaction interface if the time is less than the first preset time; wherein, the initial position and the target position are respectively located in the The left and right areas of the game interface;
  • the information transmission module 905 is configured to obtain prompt information corresponding to the interface element if the time is greater than or equal to the first preset time, and transmit the prompt information to teammates.
  • it also includes:
  • the information transmission module is further configured to if the touch point corresponding to the first touch operation moves from the initial position to the interface element, and the touch point corresponding to the first touch operation stays on the interface When the time of the element is greater than or equal to the first preset time, the prompt information corresponding to the interface element is obtained, and the prompt information is passed to the teammate.
  • the second control display module 903 includes:
  • the control moving sub-module is used to control the movement of the information transmission control from the initial position on the game interaction interface to a target position.
  • it also includes:
  • the information broadcast module is used for displaying and voice broadcasting the prompt information on the game interaction interface.
  • the preset condition includes: within the second preset time, the first touch operation The moving distance of the corresponding touch point is greater than a preset distance, and the moving direction of the touch point corresponding to the first touch operation is within a preset direction range; or
  • the moving speed of the touch point corresponding to the first touch operation is greater than a preset speed, and the moving direction of the touch point corresponding to the first touch operation is within a preset direction range.
  • the preset The direction range is to the right direction
  • the preset direction range is a leftward direction.
  • it also includes:
  • the control cancellation display module is configured to cancel the display of the information transmission control at the target position if the second touch operation on the information transmission control is not detected within a second preset time.
  • it also includes:
  • the control cancel display module is also used to cancel display of the information transmission control of the target location.
  • it also includes:
  • the control cancellation display module is further configured to cancel the information transmission displaying the target position if the touch point corresponding to the second touch operation stays on the interface element for less than the first preset time controls.
  • the interface element includes at least one of a player virtual character, a skill control, a virtual object, and a non-player virtual character.
  • the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
  • an embodiment of the present disclosure also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and operable on the processor.
  • a computer program stored in the memory and operable on the processor.
  • the computer program is executed by the processor, the above-mentioned virtual building assembly is realized.
  • Each process of the method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
  • the embodiment of the present disclosure also provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present disclosure provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above-mentioned embodiment of the virtual building assembly method, and can achieve the same technology Effect, in order to avoid repetition, will not repeat them here.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present disclosure can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present disclosure.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, and other various media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种信息传递方法、装置、电子设备及可读介质,包括:在所述游戏交互界面的初始位置显示所述信息传递控件(201);响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态(202);响应于在所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间:若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示所述信息传递控件;若所述时间大于或等于所述第一预设时间,获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友(203),以便能够快速传递界面元素对应的提示信息,优化全面屏游戏界面的操作体验。

Description

信息传递方法、装置、电子设备及可读介质
相关申请的交叉引用
本公开要求于2022年03月18日提交的申请号为202210270719.1、名称为“信息传递方法、装置、电子设备及可读介质”的中国专利申请的优先权,该中国专利申请的内容通过引用结合在本公开中。
本公开要求于2022年02月23日提交的申请号为202210170362.X、名称为“信息传递方法、装置、电子设备及可读介质”的中国专利申请的优先权,该中国专利申请的内容通过引用结合在本公开中。
技术领域
本公开涉及游戏技术领域,特别是涉及一种信息传递方法、一种信息传递装置、一种电子设备以及一种计算机可读介质。
背景技术
对于团队游戏,例如MOBA(Multiplayer Online Battle Arena Games、多人在线战术竞技游戏)类游戏,玩家通常被分为两队,两队在分散的游戏地图中互相竞争,在游戏过程中,玩家之间需要进行信息传递,以提高胜算。
目前在相关技术中,通过直接拖动信息传递控件至游戏界面中的界面元素,将界面元素对应的提示信息传递给队友,例如,将信息传递控件拖动至蓝buff,触发“我拿蓝,谢谢”信息,传递给队友。以避免在游戏过程中,因输入信息进行发送,或从众多信息中选取信息进行发送,导致信息传递不及时的问题。
然而,随着全面屏手机的普及,手机屏幕的尺寸越来越大,界面元素与信息传递控件位于游戏界面的不同侧区域时,例如参照图1所示,信息传递控件在右侧区域,界面元素(蓝buff)在左侧区域时,信息传递控件与界面元素的距离过远,通过左手手指拖动信息传递控件至界面元素困难,操作违背人机尺寸,造成的信息传递不及时,影响玩家游戏体验等问题。
发明内容
本公开实施例公开了一种信息传递方法,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和界面元素,包括:
在所述游戏交互界面的初始位置显示所述信息传递控件;
响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态;
响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面 元素并且停留在所述界面元素上的时间:
若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;
若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
本公开实施例还公开了另一种信息传递方法,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和界面元素,包括:
在所述游戏交互界面的初始位置显示所述信息传递控件;
响应于针对所述信息传递控件的第三触控操作,在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域。
本公开实施例还公开了一种信息传递装置,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和界面元素,所述装置包括:
第一控件显示模块,用于在所述游戏交互界面的初始位置显示所述信息传递控件;
状态获取模块,用于响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态;
判断模块,用于响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间;
第二控件显示模块,用于若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;
信息传递模块,用于若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
本公开实施例还公开了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口以及所述存储器通过所述通信总线完成相互间的通信;
所述存储器,用于存放计算机程序;
所述处理器,用于执行存储器上所存放的程序时,实现如本公开实施例所述的方法。
本公开实施例还公开了一个或多个计算机可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如本公开实施例所述的方法。
附图说明
图1是相关技术中提供的一种信息传递控件操作的界面示意图;
图2是本公开实施例中提供的一种信息传递方法的步骤流程图;
图3是本公开实施例中提供的一种信息传递控件操作的界面示意图之一;
图4是本公开实施例中提供的一种信息传递控件操作的界面示意图之二;
图5是本公开实施例中提供的另一种信息传递方法的步骤流程图;
图6是本公开实施例中提供的一种信息传递控件操作的界面示意图之三;
图7是本公开实施例中提供的一种信息传递控件操作的界面示意图之四;
图8是本公开实施例中提供的一种信息传递控件操作的界面示意图之五;
图9是本公开实施例中提供的一种信息传递装置的结构框图。
具体实施方式
为使本公开的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本公开作进一步详细的说明。
在本公开其中一种实施例中的信息传递方法可以运行于本地终端设备或者是服务器。当信息传递方法运行于服务器时,该信息传递方法则可以基于云交互系统来实现与执行,其中,云交互系统包括服务器和客户端设备。
在一可选的实施方式中,云交互系统下可以运行各种云应用,例如:云游戏。以云游戏为例,云游戏是指以云计算为基础的游戏方式。在云游戏的运行模式下,游戏程序的运行主体和游戏画面呈现主体是分离的,信息传递方法的储存与运行是在云游戏服务器上完成的,客户端设备的作用用于数据的接收、发送以及游戏画面的呈现,举例而言,客户端设备可以是靠近用户侧的具有数据传输功能的显示设备,如,第一终端设备、电视机、计算机、掌上电脑等;但是进行信息传递方法的为云端的云游戏服务器。在进行游戏时,玩家操作客户端设备向云游戏服务器发送操作指令,云游戏服务器根据操作指令运行游戏,将游戏画面等数据进行编码压缩,通过网络返回客户端设备,最后,通过客户端设备进行解码并输出游戏画面。
在一可选的实施方式中,以游戏为例,本地终端设备存储有游戏程序并用于呈现游戏画面。本地终端设备用于通过图形用户界面与玩家进行交互,即,常规的通过电子设备下载安装游戏程序并运行。该本地终端设备将图形用户界面提供给玩家的方式可以包括多种,例如,可以渲染显示在终端的显示屏上,或者,通过全息投影提供给玩家。举例而言,本地终端设备可以包括显示屏和处理器,该显示屏用于呈现图形用户界面,该图形用户界面包括游戏画面,该处理器用于运行该游戏、生成图形用户界面以及控制图形用户界面在显示屏上的显示。
参照图2,示出了本公开实施例中提供的一种信息传递方法的步骤流程图,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和界面元素,具体可以包括如下步骤:
步骤201,在所述游戏交互界面的初始位置显示所述信息传递控件。
其中,在游戏界面会显示信息传递控件和若干界面元素,信息传递控件是用于玩家向己方队友或敌方队友发送信息的控件,发送信息的方式分为三种,第一种是点击信息传递控件之后,通过虚拟键盘输入需要发送的文字进行发送;第二种是点击信息传递控件后, 会展现出若干常用快捷信息,例如小心草丛、发起进攻、回防高地,请求支援等等,从中选取其一进行发送;第三种是直接拖动信息传递控件至界面元素,可以在游戏交互界面预览(显示)界面元素对应的提示信息,在松开操作后,将界面元素对应的提示信息发送给己方队友,例如界面元素为蓝buff时,拖动信息传递控件连接至蓝buff时,在游戏交互界面上预览(显示)“我拿蓝,谢谢”提示信息,松开后,将“我拿蓝,谢谢”这一提示信息传递给己方队友,本公开实施例是对第三种信息传递方式进行优化。
界面元素至少包括玩家虚拟角色、非玩家虚拟角色、控件、虚拟物体等等;信息传递控件的初始位置通常可以在开始游戏之前在游戏设置中游戏界面布局里进行设置,通常设置在游戏界面的左侧或者右侧。
具体地,在开始游戏之后,会在游戏交互界面的初始位置显示信息传递控件。
步骤202,响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态。
其中,第一触控操作可以为滑动操作、拖动操作或拖拽操作等;触控点为第一触控操作时与游戏交互界面接触的点,第一触控操作对应的触控点的移动状态可以由以下至少一个参数确定:触控点的移动距离、移动速度、移动方向和触控点存在的时间等。
步骤203,响应于在所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间:若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示所述信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;若所述时间大于或等于所述第一预设时间,获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
其中,目标位置是预先设定的信息传递控件的中转显示位置,初始位置与目标位置分别位于游戏交互界面的左侧区域和右侧区域,例如初始位置位于左侧区域,目标位置位于右侧区域;或目标位置位于左侧区域,初始位置位于右侧区域。当界面元素与目标位置位于同一侧区域时,界面元素与初始位置之间的距离大于界面元素与目标位置之间的距离,即界面元素与初始位置之间的距离较远,玩家难以在信息传递控件和界面元素之间进行操作。
具体地,在界面元素距离初始位置较远,而距离目标位置较近时,可以响应于玩家针对信息传递控件的第一触控操作,获取第一触控操对应的触控点的移动状态,并判断移动状态是否满足预设条件,在移动状态满足预设条件,且判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间小于第一预设时间,则在目标位置显示信息传递控件;相反若大于第一预设时间,则获取所述界面元素对应的提示信息,并且将所述提示信息传递给己方队友。
其中,第一触控操作可以为滑动操作、拖动操作或拖拽操作等;界面元素至少包括玩家虚拟角色、非玩家虚拟角色、控件、虚拟物体等等;界面元素对应的提示信息基于界面元素的不同而不同,例如,界面元素为当前玩家控制的虚拟角色,对应的提示信息为“和 我一起”;界面元素为己方玩家控制的虚拟角色,对应的提示信息为“保护我方”;界面元素为技能控件时,对应的提示信息为“大招未升级”、“技能未冷却”等;界面元素为草丛,对应的提示信息为“集合埋伏”、“小心草丛”;界面元素为当前野怪(例如,蓝buff或红buff)或者boss,对应的提示信息为“我拿蓝,谢谢”、“我拿红,谢谢”、“进攻暴君”、“进攻主宰”等;界面元素为己方防御塔,对应的提示信息为“请求支援”;界面元素为敌方防御塔,对应的提示信息为“冲击敌方防御塔”;界面元素为己方水晶,对应的提示信息为“回防高地”;界面元素为敌方水晶,对应的提示信息为“优先攻击敌方基地”。
具体地,假设信息传递控件所处的初始位置位于游戏交互界面的右侧区域,若第一触控操作对应的触控点终止于其中一个位于游戏交互界面右侧区域的界面元素(例如,红buff),且第一触控操作对应的触控点停留在界面元素上的时间小于第一预设时间(例如小于0.5秒),则在位于游戏交互界面的左侧区域的目标位置处提供信息传递控件;若第一触控操作对应的触控点终止于其中一个位于游戏交互界面右侧区域的界面元素(例如,红buff),且第一触控操作对应的触控点停留在界面元素上的时间大于或等于第一预设时间(例如大于或等于0.5秒),则获取界面元素对应的提示信息“我拿红,谢谢”,并将此提示信息传递给己方队友。
在目标位置显示信息传递控件可以采用多种方式,例如,保留初始位置的信息传递控件的同时,在目标位置显示一个相同功能的信息传递控件;或将初始位置的信息传递控件移动到目标位置进行显示,本公开实施例对此不加以局限。
参照图3,示出了本公开实施例中提供的一种信息传递控件操作的界面示意图之一。信息传递控件位于游戏交互界面的右侧区域的初始位置,蓝buff(界面元素)位于游戏交互界面的左侧区域,界面元素距离初始位置较远,此时可以通过响应于玩家针对信息传递控件的第一触控操作,在目标位置显示信息传递控件(参照图4,示出了本公开实施例中提供的一种信息传递控件操作的界面示意图之二),缩短信息传递控件与界面元素的距离,便于玩家后续进行操作。
本公开实施例中,可以通过响应针对初始位置的信息传递控件的第一触控操作,在距离界面元素较近的目标位置显示信息传递控件,缩短信息传递控件与界面元素的距离,便于玩家进行信息传递操作,优化玩家手指在全面屏游戏界面上的操作体验。
需要说明的是,第一触控操作对应的触控点停留在界面元素上的时间是用于区别触发在目标位置显示信息传递控件的操作和获取提示信息的操作。以防止同时触发两种操作(在目标位置显示信息传递控件和获取界面元素对应的提示信息),避免用户误操作。也就是说,通过增加触控操作终止位置的检测及停留时间的判断,能够有效区分一键复用中的复合功能——触发控件位置的改变以及触发提示信息的传递。例如,响应于针对信息传递控件的第一触控操作时,存在另一个界面元素在初始位置附近,此时,若第一触控操作对应的触控点的移动状态满足预设条件,同时第一触控操作对应的触控点移动至另一个界面元素,此时可以通过第一触控操作对应的触控点在停留在另一个界面元素上的时间来判 定触发那一种操作,若第一触控操作对应的触控点在停留在另一个界面元素上的时间大于或等于第一预设时间时,获取另一个界面元素对应的提示信息;若第一触控操作对应的触控点停留在另一个界面元素上的时间小于第一预设时间时,在目标位置显示信息传递控件。
本公开一实施例中,还可以响应于针对所述目标位置处的所述信息传递控件的第二触控操作,若所述第二触控操作对应的触控点从所述目标位置移动至所述界面元素,且所述第二触控操作对应的触控点停留在所述界面元素上的时间大于或等于所述第一预设时间,获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
其中,第二触控操作可以为滑动操作、拖动操作或拖拽操作等;界面元素至少包括玩家虚拟角色、非玩家虚拟角色、控件、虚拟物体等等;界面元素对应的提示信息基于界面元素的不同而不同,例如,界面元素为当前玩家控制的虚拟角色,对应的提示信息为“和我一起”;界面元素为己方玩家控制的虚拟角色,对应的提示信息为“保护我方”;界面元素为技能控件时,对应的提示信息为“大招未升级”、“技能未冷却”等;界面元素为草丛,对应的提示信息为“集合埋伏”、“小心草丛”;界面元素为当前野怪或者boss,对应的提示信息为“我拿蓝,谢谢”、“我拿红,谢谢”、“进攻暴君”、“进攻主宰”等;界面元素为己方防御塔,对应的提示信息为“请求支援”;界面元素为敌方防御塔,对应的提示信息为“冲击敌方防御塔”;界面元素为己方水晶,对应的提示信息为“回防高地”;界面元素为敌方水晶,对应的提示信息为“优先攻击敌方基地”。具体地,在目标位置显示信息传递控件之后,响应于玩家针对目标位置的信息传递控件的第二触控操作,若第二触控操作对应的触控点从目标位置移动至界面元素,且第二触控操作对应的触控点停留在界面元素上的时间大于或等于第一预设时间,则获取界面元素对应的提示信息,将提示信息传递给己方队友。
参照图4,控制信息传递控件在目标位置显示后,响应于针对位于目标位置的信息传递控件的第二触控操作,第二触控操作对应的触控点从目标位置移动至界面元素,且第二触控操作对应的触控点停留在界面元素上的时间大于或等于第一预设时间时,获得蓝buff对应的提示信息“我拿蓝,谢谢”,并将提示信息传递给己方队友。
需要说明的是,响应针对信息传递控件的第一触控操作、第二触控操作或其他触控操作时,信息传递控件可以跟随触控操作对应的触控点移动,也可以不跟随触控操作对应的触控点移动,具体可以根据实际需要进行设置,本公开实施例中对信息传递控件是否跟随触控操作对应的触控点移动不加以局限。
本公开实施例中,在界面元素距离初始位置较远,而距离目标位置较近时,可以通过靠近初始位置的手发起的第一触控操作,控制信息传递控件显示在距离界面元素较近的目标位置,从而缩短信息传递控件与界面元素的距离,再通过靠近目标位置的手发起针对目标位置的信息传递控件的第二触控操作,使第二触控操作对应的触控点移动至界面元素,并在界面元素上停留大于或等于第二预设时间的时间,从而快速地获取界面元素对应的提示信息,将提示信息传递给己方队友。实现在游戏过程中快速传递与初始位置的信息传递 控件距离较远的界面元素对应的提示信息,同时优化玩家手指在全面屏游戏界面上的操作体验,解决信息传递控件与界面元素的距离过远,拖动信息传递控件至界面元素困难,造成的信息传递不及时,影响玩家游戏体验等问题。
参照图5,示出了本公开实施例中提供的另一种信息传递方法的步骤流程图,通过电子设备显示游戏交互界面,游戏交互界面上显示有信息传递控件和界面元素,具体可以包括如下步骤:
步骤501,在所述游戏交互界面的初始位置显示所述信息传递控件。
步骤502,响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态。
在本公开一实施例中,在所述步骤502之后,还包括步骤503,响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间:若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
具体地,在界面元素与初始位置位于游戏交互界面的同一侧区域时,即界面元素距离初始位置较近,距离目标位置较远时,可以直接响应玩家针对初始位置的信息传递控件的第一触控操作,在第一触控操作对应的触控点从初始位置移动至界面元素,且第一触控操作对应的触控点停留在界面元素的时间大于或等于第一预设时间时,获取界面元素对应的提示信息,将提示信息传递给己方队友。
需要说明的是,响应玩家针对初始位置的信息传递控件的第一触控操作,在第一触控操作对应的触控点从初始位置移动至界面元素,且第一触控操作对应的触控点停留在界面元素的时间大于或等于第一预设时间时,那么无论第一触控操作对应的触控点的移动状态是否满足预设条件,都不会在目标位置显示信息传递控件,而是直接获取界面元素对应的提示信息,将提示信息传递给己方队友。
只有在第一触控操作对应的触控点停留在界面元素的时间小于第一预设时间时(包括第一触控操作对应的触控点未移动至界面元素),且第一触控操作对应的触控点的移动状态满足预设条件,才会在目标位置显示信息传递控件。
参照图6,示出了本公开实施例中提供的一种信息传递控件操作的界面示意图之三。信息传递控件的初始位置与界面元素所处的位置都位于游戏交互界面的右侧区域,界面元素距离初始位置的信息传递控件较近,可以直接响应玩家针对初始位置的信息传递控件的第一触控操作,在第一触控操作对应的触控点从初始位置移动至界面元素,并在界面元素停留大于或等于第一时间的时间,获取界面元素对应的提示信息,将提示信息传递给己方队友。
本公开实施例中,在界面元素所处的位置距离初始位置较近,而距离目标位置较远时,不会出现初始位置的信息传递控件与界面元素距离远,影响提示信息传递的问题,可以直接通过针对初始位置的信息传递控件的第一触控操作,快速地获取界面元素对应的提示信 息,将提示信息传递给己方队友,无需通过将信息传递控件先在目标位置进行显示,再通过针对显示在目标位置的信息传递控件的第二触控操作去获取提示信息。
步骤504,响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间:若所述时间小于第一预设时间,则控制所述信息传递控件从所述游戏交互界面上的所述初始位置移动至目标位置;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域。
其中,初始位置与目标位置分别位于游戏交互界面的左侧区域和右侧区域。
具体地,将信息传递控件从游戏交互界面上的初始位置移动至目标位置,目的是快速的缩短信息传递控件与界面元素的距离,具体可以采用多种方式实现,例如控制信息传递控件从游戏交互界面上的初始位置快速的移动至目标位置,或控制信息传递控件从游戏交互界面上的初始位置跳转至目标位置,或取消显示初始位置的信息传递控件的同时,在目标位置显示信息传递控件。具体可以根据实际需要进行设置,本公开实施例对此不加以局限。
在本公开一实施例中,所述预设条件包括:在第二预设时间内,所述第一触控操作对应的触控点的移动距离大于预设距离,且所述第一触控操作对应的触控点的移动方向位于预设方向范围;或在第二预设时间内,所述第一触控操作对应的触控点的移动速度大于预设速度,且所述第一触控操作对应的触控点的移动方向位于预设方向范围。
其中,第一触控操作对应的触控点的移动状态满足的预设条件可以为多种,比如在第二预设时间内,第一触控操作对应的触控点的移动距离大于预设距离,且第一触控操作对应的触控点的移动方向位于预设方向范围时,第一触控操作对应的触控点的移动状态满足预设条件;
或在第二预设时间内,第一触控操作对应的触控点的移动速度大于预设速度,且第一触控操作对应的触控点的移动方向位于预设方向范围时,第一触控操作对应的触控点的移动状态满足预设条件;
或在第二预设时间内,第一触控操作对应的触控点的移动距离大于预设距离时,第一触控操作对应的触控点的移动状态满足预设条件;
或在第二预设时间内,第一触控操作对应的触控点的移动速度大于预设速度时,第一触控操作对应的触控点的移动状态满足预设条件。
预设条件具体可以根据实际需要进行设置,本公开实施例中对此不加以局限,例如还可以根据第一触控操作对应的触控点的移动加速度、移动角度和按压力度来设置预设条件。
在第一触控操作对应的触控点的移动状态满足预设条件,且第一触控操作对应的触控点在界面元素的停留时间小于第一预设时间时,在目标位置上显示信息传递控件。
预设方向范围也可以根据具体情况进行设置,在本公开一实施例中,当所述信息传递控件的所述初始位置位于所述游戏交互界面的左侧区域,所述目标位置位于所述游戏交互界面的右侧区域时,所述预设方向范围为朝右方向;当所述信息传递控件的所述初始位置 位于所述游戏交互界面的右侧区域,所述目标位置位于所述游戏交互界面的左侧区域时,所述预设方向范围为朝左方向。
其中,当信息传递控件的初始位置位于游戏交互界面的左侧区域,那么目标位置位于游戏交互界面的右侧区域,此时预设方向范围为朝右方向,以初始位置为原点,方向取值可以为:朝右方向[-45°,45°),朝上方向为[45°,135°),朝左方向为[135°,-135°)。朝下方向为[-135°,-45°)。方向的具体范围可以根据需要进行设置,如朝右方向还可以为[-40°,40°)、[-50°,50°)或[-60°,60°)等。
参照图7,示出了本公开实施例中提供的一种信息传递控件操作的界面示意图之四。信息传递控件的初始位置位于游戏交互界面的左侧区域,目标位置和界面元素所处的位置位于游戏界面的右侧区域,此时,预设方向范围为朝右方向,在第二预设时间内,第一触控操作对应的触控点的移动距离大于预设距离或第一触控操作对应的触控点的移动速度大于预设速度,且第一触控操作对应的触控点的移动方向位于朝右方向时,第一触控操作对应的触控点的移动状态才满足预设条件。
当信息传递控件的初始位置位于游戏交互界面的右侧区域,那么目标位置位于游戏交互界面的左侧区域,此时预设方向范围为朝左方向。
参照图8,示出了本公开实施例中提供的一种信息传递控件操作的界面示意图之五,信息传递控件的初始位置位于游戏交互界面的右侧区域,目标位置和界面元素所处的位置位于游戏界面的左侧区域,此时,预设方向范围为朝左方向,在第二预设时间内,第一触控操作对应的触控点的移动距离大于预设距离或第一触控操作对应的触控点的移动速度大于预设速度,且第一触控操作对应的触控点的移动方向位于朝左方向,第一触控操作对应的触控点的移动状态才满足预设条件。
本公开实施例中,通过在第二预设时间内第一触控操作对应的触控点在游戏交互界面的移动距离和移动方向,或移动速度和移动方向,与触控点在界面元素上停留的时间,来决定是否在目标位置显示信息传递控件,来避免用户误操作,提高用户的操作容错性。
在本公开一实施例中,在所述步骤203之后,还包括:在第三预设时间内,未检测到针对所述信息传递控件的所述第二触控操作,取消显示所述目标位置的所述信息传递控件。
具体地,在游戏交互界面的目标位置显示信息传递控件之后,若在第三预设时间内未检测到针对信息传递控件的第二触控操作,表征用户不需要对目标位置显示的信息传递控件进行信息传递的操作,取消显示目标位置的信息传递控件。
本公开一实施例中,还可以响应于针对所述信息传递控件的第二触控操作,在控制所述信息传递控件从所述目标位置移动至所述界面元素所处的位置时,获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
在本公开一实施例中,在所述响应于针对所述信息传递控件的第二触控操作之后,还包括:若所述第二触控操作对应的触控点停留在所述界面元素上的时间小于所述第一预设时间,取消显示所述目标位置的所述信息传递控件。
具体地,在响应于针对信息传递控件的第二触控操作之后,若第二触控操作对应的触控点停留在界面元素上的时间小于第一预设时间(包括第二触控操作对应的触控点未移动至界面元素上)时,则表明此次第二次触控操作无效,取消显示目标位置的信息传递控件。
在本公开一实施例中,所述响应于针对所述信息传递控件的第二触控操作,还包括:可以不对针对位于目标位置的信息传递控件的第二触控操作进行触控点停留时长的判断,而只要触控点终止于所述界面元素,无论触控点停留时间多久,都会触发以下功能:获取所述界面元素对应的提示信息并将所述提示信息传递给己方队友。
在本公开一实施例中,所述响应于针对所述信息传递控件的第二触控操作,还包括:若针对位于目标位置的信息传递控件的第二触控操作的触控点终止于非界面元素的其他位置,则取消显示所述目标位置的所述信息传递控件。
在本公开一实施例中,在所述获取所述界面元素对应的提示信息之后,还包括:在所述游戏交互界面对所述提示信息进行显示和语音播报。
具体地,获取到界面元素对应的提示信息后,会在游戏界面对提示信息进行预览(显示),玩家松开针对信息传递控件的触控操作后,在游戏交互界面对提示信息进行显示和语音播报,同时将提示信息传递给己方队友。
在本公开一实施例中,在所述获取所述界面元素对应的提示信息之后,还包括:取消显示所述目标位置的所述信息传递控件。
具体地,获取到界面元素对应的提示信息,且玩家松开针对信息传递控件的第二触控操作后(第二触控操作结束后),已经完成提示信息的传递操作,则不再需要目标位置的信息传递控件,因此,取消显示目标位置的信息传递控件。
在本公开一示例中,还可以响应于针对信息传递控件的单击触控操作、双击触控操作、多击触控操作、长按触控操作或其他触控操作之一或任意组合,直接在交互界面的目标位置显示信息传递控件。
在本公开一示例中,还可以响应于针对信息传递控件的双击操作、长按操作等触控操作或其他触控操作,对所述交互界面中的所有具有提示信息的界面元素区别于交互界面显示,响应于针对一区别显示的界面元素的点击触控操作,获取该界面元素对应的提示信息,将提示信息发送给己方队友。
本公开实施例中,通过在第二预设时间内第一触控操作对应的触控点的移动距离和移动方向,或移动速度和移动方向,与触控点在界面元素上停留的时间,来决定是否在目标位置显示信息传递控件,操作容错性更高,可以避免用户误操作。
在界面元素所处的位置距离初始位置较近,而距离目标位置较远时,不会出现初始位置的信息传递控件与界面元素距离远,影响提示信息传递的问题,通过针对初始位置的信息传递控件的第一触控操作,可以直接获取界面元素对应的提示信息,将提示信息传递给己方队友,无需通过将信息传递控件先在目标位置进行显示,再通过针对显示在目标位置的信息传递控件的第二触控操作去获取提示信息。
在界面元素所处的位置距离初始位置较远,而距离目标位置较近时,可以通过靠近初始位置的手发起的第一触控操作,控制信息传递控件显示在距离界面元素较近的目标位置,从而缩短信息传递控件与界面元素的距离,再通过靠近目标位置的手发起针对目标位置的信息传递控件的第二触控操作,可以快速地获取界面元素对应的提示信息,将提示信息传递给己方队友。从而实现在游戏过程中快速传递与初始位置的信息传递控件距离较远的界面元素对应的提示信息,同时优化玩家手指在全面屏游戏界面上的操作体验,解决信息传递控件与界面元素的距离过远,拖动信息传递控件至界面元素困难,造成的信息传递不及时,影响玩家游戏体验等问题。
此外,本公开还提供另一种信息传递方法的实施方式,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和一个或多个界面元素,包括:在所述游戏交互界面的初始位置显示所述信息传递控件;响应于针对所述信息传递控件的第三触控操作,在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域。
在本公开一示例中,所述第三触控操作包括单击触控操作、双击触控操作、多击触控操作、或长按触控操作中的一项或任意组合。
在本公开一示例中,所述在所述游戏交互界面的目标位置显示所述信息传递控件,包括:控制所述信息传递控件从所述游戏交互界面上的所述初始位置移动至目标位置。
在本公开一示例中,在所述获取所述界面元素对应的提示信息之后,还包括:在所述游戏交互界面对所述提示信息进行显示和语音播报。
在本公开一示例中,所述响应于针对所述信息传递控件的第三触控操作,在所述游戏交互界面的目标位置显示信息传递控件,包括:响应于针对所述信息传递控件的第三触控操作,获取所述第三触控操作对应的触控点的移动状态;响应于所述移动状态满足预设条件,若所述第三触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述预设条件包括:在第二预设时间内,所述第三触控操作对应的触控点的移动距离大于预设距离,且所述第三触控操作对应的触控点的移动方向位于预设方向范围;或在第二预设时间内,所述第三触控操作对应的触控点的移动速度大于预设速度,且所述第三触控操作对应的触控点的移动方向位于预设方向范围。
在本公开一示例中,当所述信息传递控件的所述初始位置位于所述游戏交互界面的左侧区域,所述目标位置位于所述游戏交互界面的右侧区域时,所述预设方向范围为朝右方向;当所述信息传递控件的所述初始位置位于所述游戏交互界面的右侧区域,所述目标位置位于所述游戏交互界面的左侧区域时,所述预设方向范围为朝左方向。
在本公开一示例中,在所述游戏交互界面的目标位置显示所述信息传递控件之后,还包括:在第三预设时间内,未检测到针对位于所述目标位置的所述信息传递控件的第二触控操作,取消显示所述目标位置的所述信息传递控件。
在本公开一示例中,在所述获取所述界面元素对应的提示信息之后,还包括:取消显示所述目标位置的所述信息传递控件。
在本公开一示例中,在检测到针对所述信息传递控件的第二触控操作之后,还包括:若所述第二触控操作对应的触控点停留在所述界面元素上的时间小于所述第一预设时间,取消显示所述目标位置的所述信息传递控件。
在本公开一示例中,所述界面元素至少包括玩家虚拟角色、控件、虚拟物体、非玩家虚拟角色中的一种。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开实施例并不受所描述的动作顺序的限制,因为依据本公开实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本公开实施例所必须的。
参照图9,示出了本公开实施例中提供的一种信息传递装置的结构框图,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和界面元素,具体可以包括如下模块:
第一控件显示模块901,用于在所述游戏交互界面的初始位置显示所述信息传递控件;
状态获取模块902,用于响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态;
判断模块903,用于响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间;
第二控件显示模块904,用于若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;
信息传递模块905,用于若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
在本公开一实施例中,还包括:
信息传递模块,还用于若所述第一触控操作对应的触控点从所述初始位置移动至所述界面元素,且所述第一触控操作对应的触控点停留在所述界面元素的时间大于或等于所述第一预设时间时,获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
在本公开一实施例中,所述第二控件显示模块903,包括:
控件移动子模块,用于控制所述信息传递控件从所述游戏交互界面上的所述初始位置移动至目标位置。
在本公开一实施例中,还包括:
信息播报模块,用于在所述游戏交互界面对所述提示信息进行显示和语音播报。
在本公开一实施例中,所述预设条件包括:在第二预设时间内,所述第一触控操作对 应的触控点的移动距离大于预设距离,且所述第一触控操作对应的触控点的移动方向位于预设方向范围;或
在第二预设时间内,所述第一触控操作对应的触控点的移动速度大于预设速度,且所述第一触控操作对应的触控点的移动方向位于预设方向范围。
在本公开一实施例中,当所述信息传递控件的所述初始位置位于所述游戏交互界面的左侧区域,所述目标位置位于所述游戏交互界面的右侧区域时,所述预设方向范围为朝右方向;
当所述信息传递控件的所述初始位置位于所述游戏交互界面的右侧区域,所述目标位置位于所述游戏交互界面的左侧区域时,所述预设方向范围为朝左方向。
在本公开一实施例中,还包括:
控件取消显示模块,用于在第二预设时间内,未检测到针对所述信息传递控件的所述第二触控操作,取消显示所述目标位置的所述信息传递控件。
在本公开一实施例中,还包括:
控件取消显示模块,还用于取消显示所述目标位置的所述信息传递控件。
在本公开一实施例中,还包括:
控件取消显示模块,还用于若所述第二触控操作对应的触控点停留在所述界面元素上的时间小于所述第一预设时间,取消显示所述目标位置的所述信息传递控件。
在本公开一实施例中,所述界面元素至少包括玩家虚拟角色、技能控件、虚拟物体、非玩家虚拟角色中的一种。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
优选的,本公开实施例还提供了一种电子设备,包括:处理器,存储器,存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述虚拟建筑拼装方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述虚拟建筑拼装方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
本公开实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述虚拟建筑拼装方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所 固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。
本领域普通技术人员可以意识到,结合本公开实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本公开所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而 前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (23)

  1. 一种信息传递方法,其中,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和一个或多个界面元素,包括:
    在所述游戏交互界面的初始位置显示所述信息传递控件;
    响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态;
    响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间:
    若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;
    若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于检测所述第一触控操作对应的触控点终止于非界面元素,在所述目标位置显示所述信息传递控件。
  3. 根据权利要求1所述的方法,其中,所述在所述游戏交互界面的目标位置显示所述信息传递控件,包括:
    控制所述信息传递控件从所述游戏交互界面上的所述初始位置移动至目标位置。
  4. 根据权利要求1或2所述的方法,其中,在所述获取所述界面元素对应的提示信息之后,还包括:
    在所述游戏交互界面对所述提示信息进行显示和语音播报。
  5. 根据权利要求1所述的方法,其中,所述预设条件包括:在第二预设时间内,所述第一触控操作对应的触控点的移动距离大于预设距离,且所述第一触控操作对应的触控点的移动方向位于预设方向范围;或
    在第二预设时间内,所述第一触控操作对应的触控点的移动速度大于预设速度,且所述第一触控操作对应的触控点的移动方向位于预设方向范围。
  6. 根据权利要求5所述的方法,其中,当所述信息传递控件的所述初始位置位于所述游戏交互界面的左侧区域,所述目标位置位于所述游戏交互界面的右侧区域时,所述预设方向范围为朝右方向;
    当所述信息传递控件的所述初始位置位于所述游戏交互界面的右侧区域,所述目标位置位于所述游戏交互界面的左侧区域时,所述预设方向范围为朝左方向。
  7. 根据权利要求1所述的方法,其中,在所述游戏交互界面的目标位置显示所述信息传递控件之后,还包括:
    在第三预设时间内,未检测到针对位于所述目标位置的所述信息传递控件的第二触控 操作,取消显示所述目标位置的所述信息传递控件。
  8. 根据权利要求1所述的方法,其中,在所述获取所述界面元素对应的提示信息之后,还包括:
    取消显示所述目标位置的所述信息传递控件。
  9. 根据权利要求7所述的方法,其中,在检测到针对所述信息传递控件的第二触控操作之后,还包括:
    若所述第二触控操作对应的触控点停留在所述界面元素上的时间小于所述第一预设时间,取消显示所述目标位置的所述信息传递控件。
  10. 根据权利要求1所述的方法,其中,所述界面元素至少包括玩家虚拟角色、控件、虚拟物体、非玩家虚拟角色中的一种。
  11. 一种信息传递方法,其中,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和一个或多个界面元素,包括:
    在所述游戏交互界面的初始位置显示所述信息传递控件;
    响应于针对所述信息传递控件的第三触控操作,在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域。
  12. 根据权利要求11所述的方法,其中,所述第三触控操作包括单击触控操作、双击触控操作、多击触控操作、或长按触控操作中的一项或任意组合。
  13. 根据权利要求11所述的方法,其中,所述在所述游戏交互界面的目标位置显示所述信息传递控件,包括:
    控制所述信息传递控件从所述游戏交互界面上的所述初始位置移动至目标位置。
  14. 根据权利要求11或12所述的方法,其中,在所述获取所述界面元素对应的提示信息之后,还包括:
    在所述游戏交互界面对所述提示信息进行显示和语音播报。
  15. 根据权利要求11所述的方法,其中,所述响应于针对所述信息传递控件的第三触控操作,在所述游戏交互界面的目标位置显示信息传递控件,包括:
    响应于针对所述信息传递控件的第三触控操作,获取所述第三触控操作对应的触控点的移动状态;
    响应于所述移动状态满足预设条件,若所述第三触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;
    其中,所述预设条件包括:在第二预设时间内,所述第三触控操作对应的触控点的移动距离大于预设距离,且所述第三触控操作对应的触控点的移动方向位于预设方向范围;或
    在第二预设时间内,所述第三触控操作对应的触控点的移动速度大于预设速度,且所 述第三触控操作对应的触控点的移动方向位于预设方向范围。
  16. 根据权利要求15所述的方法,其中,当所述信息传递控件的所述初始位置位于所述游戏交互界面的左侧区域,所述目标位置位于所述游戏交互界面的右侧区域时,所述预设方向范围为朝右方向;
    当所述信息传递控件的所述初始位置位于所述游戏交互界面的右侧区域,所述目标位置位于所述游戏交互界面的左侧区域时,所述预设方向范围为朝左方向。
  17. 根据权利要求11所述的方法,其中,在所述游戏交互界面的目标位置显示所述信息传递控件之后,还包括:
    在第三预设时间内,未检测到针对位于所述目标位置的所述信息传递控件的第二触控操作,取消显示所述目标位置的所述信息传递控件。
  18. 根据权利要求11所述的方法,其中,在所述获取所述界面元素对应的提示信息之后,还包括:
    取消显示所述目标位置的所述信息传递控件。
  19. 根据权利要求17所述的方法,其中,在检测到针对所述信息传递控件的第二触控操作之后,还包括:
    若所述第二触控操作对应的触控点停留在所述界面元素上的时间小于所述第一预设时间,取消显示所述目标位置的所述信息传递控件。
  20. 根据权利要求11所述的方法,其中,所述界面元素至少包括玩家虚拟角色、控件、虚拟物体、非玩家虚拟角色中的一种。
  21. 一种信息传递装置,其中,通过电子设备显示游戏交互界面,所述游戏交互界面上显示有信息传递控件和一个或多个界面元素,所述装置包括:
    第一控件显示模块,用于在所述游戏交互界面的初始位置显示所述信息传递控件;
    状态获取模块,用于响应于针对所述信息传递控件的第一触控操作,获取所述第一触控操作对应的触控点的移动状态;
    判断模块,用于响应于所述移动状态满足预设条件,判断所述第一触控操作对应的触控点终止于界面元素并且停留在所述界面元素上的时间;
    第二控件显示模块,用于若所述时间小于第一预设时间,则在所述游戏交互界面的目标位置显示信息传递控件;其中,所述初始位置与所述目标位置分别位于所述游戏交互界面的左侧区域和右侧区域;
    信息传递模块,用于若所述时间大于或等于所述第一预设时间,则获取所述界面元素对应的提示信息,将所述提示信息传递给己方队友。
  22. 一种电子设备,其中,包括处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口以及所述存储器通过所述通信总线完成相互间的通信;
    所述存储器,用于存放计算机程序;
    所述处理器,用于执行存储器上所存放的程序时,实现如权利要求1-10任一项所述 的方法,或权利要求11-20任一项所述的方法。
  23. 一个或多个计算机可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如权利要求1-10任一项所述的方法,或权利要求11-20任一项所述的方法。
PCT/CN2023/077690 2022-02-23 2023-02-22 信息传递方法、装置、电子设备及可读介质 WO2023160585A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210170362 2022-02-23
CN202210170362.X 2022-02-23
CN202210270719.1 2022-03-18
CN202210270719.1A CN114618155A (zh) 2022-02-23 2022-03-18 信息传递方法、装置、电子设备及可读介质

Publications (1)

Publication Number Publication Date
WO2023160585A1 true WO2023160585A1 (zh) 2023-08-31

Family

ID=81901171

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077690 WO2023160585A1 (zh) 2022-02-23 2023-02-22 信息传递方法、装置、电子设备及可读介质

Country Status (2)

Country Link
CN (1) CN114618155A (zh)
WO (1) WO2023160585A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114618155A (zh) * 2022-02-23 2022-06-14 网易(杭州)网络有限公司 信息传递方法、装置、电子设备及可读介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120242590A1 (en) * 2010-06-03 2012-09-27 Pierpaolo Baccichet Graphical user interface, system and method for implementing a game controller on a touch-screen device
US20130065654A1 (en) * 2011-09-14 2013-03-14 Kabushiki Kaisha Square Enix (Also Trading As Square Enix Co., Ltd.) Video game processing apparatus and video game processing program
CN108465238A (zh) * 2018-02-12 2018-08-31 网易(杭州)网络有限公司 游戏中的信息处理方法、电子设备及存储介质
US20180339229A1 (en) * 2017-05-26 2018-11-29 Netease (Hangzhou) Network Co., Ltd. Method and apparatus for processing information, electronic device and storage medium
CN111408136A (zh) * 2020-02-28 2020-07-14 苏州叠纸网络科技股份有限公司 一种游戏交互控制方法、装置及存储介质
CN112346636A (zh) * 2020-11-05 2021-02-09 网易(杭州)网络有限公司 游戏中信息处理方法、装置和终端
CN113975807A (zh) * 2021-11-04 2022-01-28 网易(杭州)网络有限公司 游戏中信息的生成方法、装置、电子设备及可读存储介质
CN114618155A (zh) * 2022-02-23 2022-06-14 网易(杭州)网络有限公司 信息传递方法、装置、电子设备及可读介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120242590A1 (en) * 2010-06-03 2012-09-27 Pierpaolo Baccichet Graphical user interface, system and method for implementing a game controller on a touch-screen device
US20130065654A1 (en) * 2011-09-14 2013-03-14 Kabushiki Kaisha Square Enix (Also Trading As Square Enix Co., Ltd.) Video game processing apparatus and video game processing program
US20180339229A1 (en) * 2017-05-26 2018-11-29 Netease (Hangzhou) Network Co., Ltd. Method and apparatus for processing information, electronic device and storage medium
CN108465238A (zh) * 2018-02-12 2018-08-31 网易(杭州)网络有限公司 游戏中的信息处理方法、电子设备及存储介质
CN111408136A (zh) * 2020-02-28 2020-07-14 苏州叠纸网络科技股份有限公司 一种游戏交互控制方法、装置及存储介质
CN112346636A (zh) * 2020-11-05 2021-02-09 网易(杭州)网络有限公司 游戏中信息处理方法、装置和终端
CN113975807A (zh) * 2021-11-04 2022-01-28 网易(杭州)网络有限公司 游戏中信息的生成方法、装置、电子设备及可读存储介质
CN114618155A (zh) * 2022-02-23 2022-06-14 网易(杭州)网络有限公司 信息传递方法、装置、电子设备及可读介质

Also Published As

Publication number Publication date
CN114618155A (zh) 2022-06-14

Similar Documents

Publication Publication Date Title
US11250660B2 (en) Graphical user interface for a gaming system
JP6637589B2 (ja) 情報処理方法、端末、及びコンピュータ記憶媒体
US11290543B2 (en) Scene switching method based on mobile terminal
CN108465238B (zh) 游戏中的信息处理方法、电子设备及存储介质
CN108211349B (zh) 游戏中的信息处理方法、电子设备及存储介质
JP7209826B2 (ja) インタラクショングラフィックユーザインターフェースをディスプレイするための方法、その装置及びそのコンピュータプログラム
WO2023160585A1 (zh) 信息传递方法、装置、电子设备及可读介质
CN113350779A (zh) 游戏虚拟角色动作控制方法及装置、存储介质及电子设备
WO2023173643A1 (zh) 一种画面显示方法、装置、电子设备及可读存储介质
TW202030007A (zh) 遊戲控制方法及裝置
CN113680062A (zh) 一种游戏中的信息查看方法及装置
CN114288644A (zh) 游戏显示控制方法、装置、设备及存储介质
KR102227330B1 (ko) 인터랙션 그래픽 유저 인터페이스를 디스플레이하기 위한 방법, 장치, 및 컴퓨터 프로그램
WO2024108990A1 (zh) 游戏场景切换方法、装置、设备及存储介质
CN118001749A (zh) 一种游戏中添加好友的方法、装置、设备及存储介质
CN114504812A (zh) 虚拟角色控制方法及装置
CN117111790A (zh) 信息处理方法、装置、存储介质及设备
CN113663326A (zh) 一种游戏技能的瞄准方法和装置
CN115888082A (zh) 一种游戏中的信息处理方法、装置、电子设备及介质
CN115634450A (zh) 一种虚拟角色的控制方法、控制装置、设备和介质
CN112933591A (zh) 游戏虚拟角色的控制方法及装置、存储介质及电子设备
CN115430145A (zh) 目标位置的交互方法、装置、电子设备和可读存储介质
CN116328315A (zh) 基于区块链的虚拟模型处理方法、装置、终端及存储介质
CN115501601A (zh) 虚拟角色控制方法、装置、存储介质及电子设备
CN116492686A (zh) 游戏中虚拟角色的控制方法、装置、电子终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23759209

Country of ref document: EP

Kind code of ref document: A1