Game interaction method and device, electronic equipment, and storage medium
By detecting the sliding motion of the touch point from the accelerator control to the interactive control in racing mobile games, maintaining the acceleration behavior and displaying interactive options, the problem of accelerator interruption is solved, improving game operability and experience.
Patent Information
- Application Number
- CN202310571391.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-05-17
AI Technical Summary
In racing mobile games with manual throttle control, releasing the throttle button to send emoticons while interacting with other players will interrupt the throttle and cause a loss of speed, affecting the gaming experience.
By detecting the movement of the touch point from the accelerator control to the interactive control, the virtual vehicle refueling behavior is maintained, and an interactive panel with multiple interactive options is displayed. After the user selects the target interactive option, the corresponding information is sent.
By allowing users to interact with other players without interrupting the throttle input, the game's operability and experience are improved.
Smart Images

Figure CN116570930B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, in particular to a game interaction method and device, an electronic device and a storage medium. BACKGROUND
[0002] In a racing mobile game, a player controls a virtual vehicle to accelerate by continuously pressing an accelerator with a finger, and controls the driving direction of the virtual vehicle by operating a direction key. When the player wants to send an expression to interact with other players, the player generally releases the finger that is pressing the accelerator, and clicks a target expression to be sent in an expression area to realize expression interaction. In this process, the accelerator is interrupted, the speed is lost, and the like, which affects the user's control of the virtual vehicle and the player's game experience.
[0003] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0004] In view of the above problems, the present application is proposed to provide a game interaction method and device, an electronic device and a storage medium that overcome the above problems or at least partially solve the above problems, which include:
[0005] A game interaction method displays an accelerator control and an interaction control on a touch display screen of a terminal device, and the method includes:
[0006] In response to a sliding operation of a touch point moving from the accelerator control to the interaction control, the virtual vehicle is controlled to maintain the original fueling behavior, and an interaction panel is displayed, the interaction panel including a plurality of interaction options;
[0007] In response to a trigger operation on the interaction panel, a target interaction option corresponding to the trigger operation is determined, and target interaction information corresponding to the target interaction option is sent.
[0008] A game interaction device displays an accelerator control and an interaction control on a touch display screen of a terminal device, and the device includes:
[0009] A first response module is configured to, in response to a sliding operation of a touch point moving from the accelerator control to the interaction control, control the virtual vehicle to maintain the original fueling behavior, and display an interaction panel, the interaction panel including a plurality of interaction options;
[0010] A second response module is configured to, in response to a trigger operation on the interaction panel, determine a target interaction option corresponding to the trigger operation, and send target interaction information corresponding to the target interaction option.
[0011] An electronic device comprises a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being implemented when executed by the processor to realize the game interaction method as described above.
[0012] A computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being implemented when executed by a processor to realize the game interaction method as described above.
[0013] The present application has the following advantages:
[0014] In the embodiment of the present application, in response to the sliding operation of the touch point moving from the throttle control to the interaction control, the virtual vehicle is controlled to maintain the original fueling behavior, and an interaction panel including a plurality of interaction options is displayed; in response to a trigger operation on the interaction panel, a target interaction option corresponding to the trigger operation is determined, and target interaction information corresponding to the target interaction option is sent; the fueling is not interrupted when the user interacts with other users, the operability of the game is improved, and the user's game experience is improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the description of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0016] Figure 1 A step flow chart of a game interaction method of an embodiment of the present application;
[0017] Figure 2 A schematic diagram of an effective path in an example of the present application;
[0018] Figure 3 A schematic diagram of a throttle control in an example of the present application;
[0019] Figure 4 A display effect schematic diagram in list form in an example of the present application;
[0020] Figure 5 A display effect schematic diagram in the form of a roulette in an example of the present application;
[0021] Figure 6 A schematic diagram of a setting panel when a list control is selected in an example of the present application;
[0022] Figure 7 A schematic diagram of a setting panel when a roulette control is selected in an example of the present application;
[0023] Figure 8 Fig. 1 is a schematic diagram of interface changes corresponding to a game interaction method in an example of the present application;
[0024] Figure 9 Fig. 2 is a structural block diagram of a game interaction device according to an example of the present application. DETAILED DESCRIPTION
[0025] In order to make the above objectives, characteristics and advantages of the present application more apparent and understandable, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0026] In order to improve the interaction experience of users in the game process, an interaction control is generally set in the game interface, and the user can select a corresponding emoji to send through the interaction control to complete the interaction.
[0027] In the related art, only in the automatic throttle control racing mobile game, since the user does not need to control the throttle, it is possible to realize that when interacting with other users, the throttle is not interrupted and the speed is not lost. In the manual throttle control racing mobile game, the user continuously presses the throttle with a finger to control the acceleration of the virtual vehicle, and controls the driving direction of the virtual vehicle by operating the direction key. When the user wants to send an emoji to interact with other users, the finger pressing the throttle is generally released, and the target emoji to be sent in the emoji area is clicked to realize the emoji interaction. In this process, the throttle is interrupted, the speed is lost, and the user's control of the virtual vehicle is affected, which affects the user's game experience.
[0028] In view of this, the embodiments of the present application provide a game interaction method, when it is detected that the touch point of the sliding operation moves from the throttle control to the interaction control, the virtual vehicle is kept to perform the refueling behavior while displaying an interaction panel including a plurality of interaction options; when a trigger operation is received for a target interaction option in the plurality of interaction options, target interaction information corresponding to the target interaction option is determined, and the target interaction information is sent. In the manual throttle control racing mobile game, when the user interacts with other users, the throttle can be kept from being interrupted, the operability of the game is improved, and the user's game experience is improved.
[0029] The game interaction method provided by the embodiments of the present application can run on a local terminal device or a server. When the game interaction method runs on the server, the game interaction method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0030] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example, cloud gaming. Taking cloud gaming as an example, cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the game interaction method are completed on the cloud gaming server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with data transmission function, such as a first terminal device, a television, a computer, a palm computer, etc. However, the cloud gaming server in the cloud end performs the game interaction method. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server, the cloud gaming server runs the game according to the operation instructions, encodes and compresses the data containing the virtual keys and the game picture, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.
[0031] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is used for presenting a game picture. The local terminal device is used for interacting with the player through a graphical user interface, that is, a conventional game program is downloaded and installed on an electronic device and is run. The way in which the local terminal device provides the graphical user interface to the player can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen used for presenting a graphical user interface including a game picture and a processor used for running the game, generating the graphical user interface and controlling the display of the graphical user interface on the display screen.
[0032] Referring to Figure 1 , a step flowchart of a game interaction method provided by an embodiment of the application is shown. By running an application program, a throttle control and an interaction control can be displayed on the touch display screen of a terminal device. The terminal device can be a smart phone, a tablet computer, a game console, an electronic book reader, a multimedia playing device, a wearable device or the like.
[0033] Among them, the application program can run on the terminal device, for example, a game program runs on the processor of the terminal device, and a game picture including a virtual vehicle is displayed on the display screen of the terminal device. The display screen also displays a throttle control and an interaction control. The user can control the acceleration behavior of the virtual vehicle through the throttle control and interact with other users through the interaction control. Optionally, the display screen can also display other controls including a direction control, so as to facilitate the user to control the virtual vehicle to play the game.
[0034] Optionally, the application program can also run on another terminal device connected to the terminal device in a wired or wireless manner, for example, a game program runs on the processor of another terminal device connected to the terminal device, and the game picture is displayed on the display screen of the other terminal device, while the throttle control and the interaction control are displayed on the display screen of the terminal device. The user can control the acceleration behavior of the virtual vehicle in the game picture through the throttle control, and interact with other users through the interaction control. Optionally, the display screen can also display other controls including direction controls to facilitate the user to control the virtual vehicle to play the game.
[0035] Optionally, the application program can also run on a server in communication connection with the terminal device, for example, a game program runs on the server, and the game picture and the throttle control and the interaction control are displayed on the display screen of the terminal device; for another example, a game program runs on the server, and the game picture is displayed on the display screen of another terminal device, and the throttle control and the interaction control are displayed on the display screen of the terminal device. The user can control the acceleration behavior of the virtual vehicle in the game picture through the throttle control, and interact with other users through the interaction control. Optionally, the display screen can also display other controls including direction controls to facilitate the user to control the virtual vehicle to play the game.
[0036] The method can include the following steps:
[0037] Step 101, in response to a sliding operation of the touch point moving from the throttle control to the interaction control, controlling the virtual vehicle to maintain the original acceleration behavior, and displaying an interaction panel, the interaction panel including a plurality of interaction options.
[0038] In the embodiments of the present application, the user can contact the touch display screen of the terminal device with an operating medium such as a finger or a stylus, and generate a touch point on the touch display screen corresponding to the position where the operating medium is located. When detecting a sliding operation of the touch point moving from the throttle control to the interaction control, the virtual vehicle is controlled to maintain the original acceleration behavior, and an interaction panel including a plurality of interaction options is displayed on the touch display screen, the interaction options can include an emoticon option and / or a text option.
[0039] It should be noted that "moving" in the present application can be understood as "sliding", and "moving out" can be understood as "sliding out", indicating that the operating medium always maintains contact with the touch display screen during the movement.
[0040] Step 102, in response to a trigger operation on the interaction panel, determining a target interaction option corresponding to the trigger operation, and sending target interaction information corresponding to the target interaction option.
[0041] When the display screen displays a plurality of interactive options, a triggering operation of a user on one of the interactive options can be received to determine the interactive option corresponding to the triggering operation as a target interactive option, and target interactive information corresponding to the target interactive option is sent; for example, a target expression symbol corresponding to the target interactive option is sent to other players in the game, or target interactive content (such as "steady, can win", "I am good", "NICE" and the like) corresponding to the target interactive option is sent to other players in the game.
[0042] In the embodiment of the application, when it is detected that the touch point of the sliding operation moves from the throttle control to the interactive control, the virtual vehicle is controlled to perform the original fueling behavior while displaying an interactive panel including a plurality of interactive options; when a triggering operation on a target interactive option in the plurality of interactive options is received, target interactive information corresponding to the target interactive option is determined and sent, so that when a user interacts with other users in a manual throttle-controlled racing mobile game, the throttle can be kept from being interrupted, the operability of the game is improved, and the game experience of the user is improved.
[0043] In the following, the game interaction method in the present exemplary embodiment will be further described.
[0044] In step 101, in response to a sliding operation of a touch point moving from the throttle control to the interactive control, the virtual vehicle is controlled to maintain the original fueling behavior while displaying an interactive panel, the interactive panel including a plurality of interactive options.
[0045] In a manual throttle-controlled racing game, a user can trigger the throttle control to control the virtual vehicle to perform a corresponding fueling behavior, for example, when the user's finger contacts the throttle control, the virtual vehicle can accelerate at a specified acceleration and maintain a specified speed after reaching the specified speed; when the user's finger is lifted after contacting the throttle control and is not in contact with the touch display screen, the virtual vehicle will decelerate at a specified acceleration until the speed is 0. The value of the specified acceleration during acceleration and the value of the specified acceleration during deceleration can be the same or different, which is not limited in the present application.
[0046] In the embodiments of the present application, when the sliding operation of the touch point moving from the accelerator control to the interaction control is detected, the virtual vehicle is controlled to keep the original fueling behavior, and an interaction panel including a plurality of interaction options is displayed on the touch display screen. For example, when it is detected that the finger of the user pressing the accelerator control moves to the position where the interaction control is located while keeping contact with the touch display screen, if the virtual vehicle does not reach the corresponding specified speed, the virtual vehicle is controlled to accelerate at the acceleration when the user presses the accelerator control until the corresponding specified speed is reached; if the virtual vehicle reaches the corresponding specified speed, the virtual vehicle is controlled to travel at the specified speed when the user presses the accelerator control.
[0047] The interaction options displayed in the interaction panel can include an emoji option and / or a text option. The interaction panel can be visible or invisible, and can also be a collection of the plurality of interaction options (i.e., the plurality of interaction options constitute the interaction panel).
[0048] In some optional embodiments of the present application, the above-mentioned response to the sliding operation of the touch point moving from the accelerator control to the interaction control, controlling the virtual vehicle to keep the original fueling behavior, and displaying the interaction panel can include:
[0049] In response to the sliding operation of the touch point moving from the accelerator control to the interaction control along an effective path, the virtual vehicle is controlled to keep the original fueling behavior, and the interaction panel is displayed; the effective path refers to a path that does not trigger other controls.
[0050] In the embodiments, the touch point needs to move from the accelerator control to the interaction control along an effective path to control the virtual vehicle to keep the original fueling behavior and display the interaction panel on the touch display screen. The effective path refers to a path that does not trigger other controls during the movement of the touch point from the accelerator control to the interaction control.
[0051] Correspondingly, in response to the touch point moving along an invalid path from the accelerator control, the fueling behavior performed by the virtual vehicle is interrupted. The invalid path refers to a path that triggers controls other than the accelerator control and the interaction control.
[0052] In the embodiments, when other controls are triggered during the sliding of the touch point from the accelerator control to the interaction control, it is determined that the touch point moves along an invalid path, at which time the function corresponding to the other controls is executed, and the original fueling behavior of the virtual vehicle is interrupted. The other controls refer to controls other than the accelerator control and the interaction control and supporting sliding triggering.
[0053] It can be understood that when the user's finger slides out of the throttle control and slides through other touch controls supporting sliding triggering (for the convenience of description, the touch control is referred to as a mis-touch control) before reaching the interactive control, the original fueling behavior of the virtual vehicle is interrupted, that is, the virtual vehicle is controlled to decelerate according to the specified acceleration, and the function corresponding to the mis-touch control is executed.
[0054] Exemplarily, refer to Figure 2 , Figure 2 A schematic diagram of a valid path in an example of the present application is shown, in which a hand brake control, an interactive control and a brake control are arranged around the manual throttle control. The hand brake control only supports point pressing, that is, when a point pressing operation acting on the hand brake control is detected, the hand brake function is triggered to control the virtual vehicle; when other operations (operations other than point pressing operations) acting on the hand brake control are detected, the hand brake function is not triggered. The brake control supports sliding and point pressing operations, that is, when a sliding or point pressing operation acting on the brake control is detected, the brake function is triggered to control the virtual vehicle; when other operations (operations other than point pressing operations and sliding operations) acting on the brake control are detected, the brake function is not triggered.
[0055] When the touch point moves from the throttle control to the interactive control along path 1 in Figure 2 , since path 1 does not pass through other control regions, other controls will not be triggered, and therefore path 1 is a valid path.
[0056] When the touch point moves from the throttle control to the interactive control along path 2 in Figure 2 , path 2 passes through the hand brake control, and since the hand brake control only supports point pressing operations, the hand brake control will not be triggered, that is, other controls will not be triggered, and therefore path 2 is a valid path.
[0057] When the touch point moves along path 3 in Figure 2 , path 3 passes through the brake control, and since the brake control supports sliding operations, when the touch point moves out of the throttle control and slides to the position of the brake control along path 3, it is determined that the touch point moves along an invalid path, the brake function of the brake control can be triggered, and the fueling behavior performed by the virtual vehicle is interrupted.
[0058] In other optional embodiments of the present application, the above-mentioned response to the sliding operation of the touch point moving from the throttle control to the interactive control along a valid path controls the virtual vehicle to maintain the original fueling behavior while displaying the interactive panel; can include:
[0059] In response to the sliding operation of the touch point moving out of the throttle control and moving to the interactive control within a preset time, the virtual vehicle is controlled to maintain the original fueling behavior while the interactive panel is displayed.
[0060] In this embodiment, the time for the touch point to move out of the accelerator control to the interactive control is limited. After the touch point moves out of the accelerator control, the touch point needs to reach the position of the interactive control within a preset time length, so as to control the virtual vehicle to keep performing the original refueling behavior, and display the interactive panel on the touch display screen. The preset time length can be set according to actual needs, which is not limited in the present application.
[0061] Correspondingly, in response to the touch point moving out of the accelerator control, the timing is started. When the timing length reaches the preset time length, if the touch point does not move to the interactive control, the refueling behavior of the virtual vehicle is interrupted.
[0062] In this embodiment, when it is detected that the touch point moves out of the accelerator control, the virtual vehicle is controlled to keep performing the original refueling behavior, and a timer can be started to time. If it is detected that the touch point slides to the position of the interactive control before the timing length reaches the preset time length, the timing can be cancelled, and the interactive panel including a plurality of interactive options is displayed. If the touch point still does not slide to the position of the interactive control when the timing length reaches the preset time length, the refueling behavior of the virtual vehicle is interrupted, that is, the virtual vehicle is controlled to decelerate according to the specified acceleration, and the timing can be cancelled.
[0063] In some other optional embodiments of the present application, the above-mentioned preset time length can also be infinite, that is, after the touch point moves out of the accelerator control, as long as the touch medium does not leave the touch screen before moving to the interactive control or other controls, the refueling behavior of the virtual vehicle is not interrupted.
[0064] In some other optional embodiments of the present application, the above-mentioned response to the sliding operation of the touch point moving from the accelerator control to the interactive control along the effective path, the virtual vehicle is controlled to keep the original refueling behavior, and the interactive panel is displayed; can include:
[0065] In response to the touch point moving out of the accelerator control and moving to the interactive control along the effective path within a preset time length, the virtual vehicle is controlled to keep the original refueling behavior, and the interactive panel is displayed.
[0066] In this embodiment, the touch point needs to move from the accelerator control to the interactive control along the effective path and within a preset time length, so as to control the virtual vehicle to keep performing the original refueling behavior, and display the interactive panel on the touch display screen. The process of the touch point moving from the accelerator control to the interactive control along the effective path and the process of the touch point moving from the accelerator control to the interactive control within the preset time length can also be referred to the foregoing description, which will not be described here.
[0067] Further, in some optional embodiments of the present application, the above-mentioned sliding operation of moving the touch point from the throttle control to the interaction control controls the virtual vehicle to keep the original fueling behavior, and displays the interaction panel, and can further include:
[0068] determining a target throttle gear of the virtual vehicle according to the moving-out position of the touch point when moving out from the throttle control;
[0069] controlling the virtual vehicle to perform the fueling behavior according to the target throttle gear.
[0070] In the embodiment, the throttle control can include a plurality of throttle gears, different throttle gears have different positions in the throttle control, and different throttle gears correspond to different fueling behaviors. It can be understood that different throttle gears correspond to different accelerations and different specified speeds (of course, they can also correspond to the same specified speed). When it is detected that the touch point moves out from the throttle control, the target throttle gear of the virtual vehicle can be determined according to the moving-out position of the touch point when moving out from the throttle control, and the virtual vehicle is controlled to perform the fueling behavior according to the target throttle gear. Illustratively, if the virtual vehicle does not reach the specified speed corresponding to the target throttle gear, the virtual vehicle is controlled to accelerate at a target acceleration corresponding to the target throttle gear until the specified speed is reached; if the virtual vehicle reaches the specified speed corresponding to the target throttle gear, the virtual vehicle is controlled to keep driving at the specified speed.
[0071] Reference is made to Figure 3 , Figure 3 A schematic diagram showing the relationship between an example throttle control of the present application and each throttle gear is shown. As Figure 3As shown, the throttle control includes three throttle gears, the first throttle gear corresponds to the first acceleration and the first specified speed, the second throttle gear corresponds to the second acceleration and the second specified speed, and the third throttle gear corresponds to the third acceleration and the third specified speed. When the user presses the first throttle gear area of the throttle control, the virtual vehicle accelerates at the first acceleration until it reaches the first specified speed and stops accelerating; correspondingly, when the touch point moves out of the first throttle gear area of the throttle control, the target throttle gear of the target virtual vehicle is determined as the first throttle gear, and the virtual vehicle is controlled to accelerate at the first acceleration corresponding to the first throttle gear until it reaches the first specified speed. When the user presses the second throttle gear area of the throttle control, the virtual vehicle accelerates at the second acceleration until it reaches the second specified speed and stops accelerating; correspondingly, when the touch point moves out of the second throttle gear area of the throttle control, the target throttle gear of the target virtual vehicle is determined as the second throttle gear, and the virtual vehicle is controlled to accelerate at the second acceleration corresponding to the second throttle gear until it reaches the second specified speed. When the user presses the third throttle gear area of the throttle control, the virtual vehicle accelerates at the third acceleration until it reaches the third specified speed and stops accelerating; correspondingly, when the touch point moves out of the third throttle gear area of the throttle control, the target throttle gear of the target virtual vehicle is determined as the third throttle gear, and the virtual vehicle is controlled to accelerate at the third acceleration corresponding to the third throttle gear until it reaches the third specified speed.
[0072] It should be noted that in specific implementation, the number and position of the throttle gears are not limited to the above examples, and the number and position of the throttle gears can be set according to actual needs, which are not limited in the present application.
[0073] Further, in some optional embodiments of the present application, before the above-mentioned display of the interaction panel, the following steps can also be included:
[0074] In response to a display setting operation on the interaction panel, a target display form of a plurality of interaction options in the interaction panel is determined, the target display form including a list form or a wheel form.
[0075] In the embodiment, the user can set the display form of the interaction panel through the corresponding setting control, wherein the display form of the interaction panel can include a list form and a wheel form. The list form means that the plurality of interaction options in the interaction panel are displayed in a list form, which can be arranged in a matrix form, as shown in Figure 4 , or in a vertical column form, a horizontal column form or other list forms; the wheel form means that the plurality of interaction options in the interaction panel are displayed in a wheel form, as shown in Figure 5 .
[0076] Before the game starts, or during the game, the user can select one of the display modes of the interaction panel as the target display form through a display setting operation. After the target display form is determined, when a sliding operation of moving the touch point from the throttle control to the interaction control is detected, the interaction panel containing multiple interaction options is displayed in the target display form while the virtual vehicle performs the refueling behavior.
[0077] Further, in some optional embodiments of the present application, the display of the interaction panel can further include:
[0078] The arrangement order of the multiple interaction options in the interaction panel is determined according to the use frequency and / or the recent use time of each interaction option.
[0079] In the embodiment, the arrangement order of the multiple interaction options displayed by the interaction panel can be determined according to the use frequency or the recent use time of each interaction option, or determined according to the use frequency and the recent use time of each interaction option. For example, the interaction panel can display all or part of the interaction options in the game. Taking a list as an example, the historical use frequency of each interaction option can be determined, and the multiple interaction options can be arranged in the order from high to low according to the historical use frequency, and the interaction option with the highest historical use frequency is arranged at the front (i.e., the position closest to the player's touch finger). Alternatively, the recent use time of each interaction option can be determined, and the multiple interaction options can be arranged in the order from near to far according to the recent use time, and the interaction option with the closest recent use time to the current time is arranged at the front. Alternatively, the historical use frequency and the recent use time of each interaction option can be determined, and the arrangement order of each interaction option can be determined according to the historical use frequency and the recent use time of each interaction option, for example, the multiple interaction options are first sorted in the order from high to low according to the historical use frequency to obtain a first order, and then sorted in the order from near to far according to the recent use time to obtain a second order, and then the weighted sum data of each interaction option is determined according to the weighted sum of the first order value corresponding to the first sorting order of each interaction option and the second order value corresponding to the second sorting order of each interaction option and the corresponding weights, and finally the arrangement order of each interaction option is determined according to the order of the weighted data of each interaction permission. Generally, the earlier the first sorting order is, the larger the corresponding first order value is; the earlier the second sorting order is, the larger the corresponding second order value is; the weights corresponding to the first order and the second order can be set to a corresponding size according to actual needs, for example, the weight corresponding to the first order can be set to 0.4, and the weight corresponding to the second order can be set to 0.6.
[0080] Further, in some optional embodiments of the present application, the interaction panel can further include a shortcut interaction area, which is used to display a preset number of interaction options, which can be less than the total number of all interaction options in the game, i.e., the shortcut interaction area can be used to display part of the interaction options, and the above-mentioned response to the display setting operation for the interaction panel can further include:
[0081] determining the interaction options displayed by the shortcut interaction area.
[0082] In the present embodiment, the user can set the interaction options displayed by the shortcut interaction area through the display setting operation according to personal preferences.
[0083] In an example, the interaction panel can only include the shortcut interaction area, and the display form and interaction options of the shortcut interaction area can be determined by the user through the display setting operation.
[0084] In the present example, the user can open the setting panel as shown in Figure 6 and Figure 7 through the corresponding setting control, and the setting panel can include a list control and a wheel control, and the setting panel also displays a first interaction option pool and a second interaction option pool, wherein the first interaction option pool is used to display all interaction options of the current game, and the second interaction option pool is used to display the interaction options displayed by the shortcut interaction area; it can be understood that the second interaction option pool displays a schematic diagram of the shortcut interaction area. As shown in Figure 6 when the user selects the list control, the interaction options in the second interaction option pool are displayed in a list form; as shown in Figure 7 when the user selects the wheel control, the interaction options in the second interaction option pool are displayed in a wheel form.
[0085] The user can edit the interaction options in the second interaction option pool. For example, in the edit mode, when the user wants to delete an interaction option in the second interaction option pool, the user can select the interaction option and click a delete button to delete the interaction option in the second interaction option pool. The user can also select a desired interaction option from the first interaction option pool to replace the interaction option that the user wants to delete in the second interaction option pool. For another example, in the edit mode, the user can drag an interaction option (referred to as a first interaction option) in the first interaction option pool to a position corresponding to an interaction option (referred to as a second interaction option) in the second interaction option pool to replace the second interaction option with the first interaction option. And / or, the user can drag an interaction option (referred to as a third interaction option) in the second interaction option pool to a position of another interaction option (referred to as a fourth interaction option) in the second interaction option pool to exchange the positions of the third interaction option and the fourth interaction option. The user can also drag an interaction option (referred to as a fifth interaction option) in the first interaction option pool that is different from the interaction options in the second interaction option pool to the second interaction option pool to add the fifth interaction option to the second interaction option pool.
[0086] In another example, the interaction panel can include a shortcut interaction area and a hidden interaction area. When a trigger operation of the user is received, the hidden interaction area can display all the interaction options. For example, the interaction panel can include a shortcut interaction area and an expansion control. When the user clicks the expansion control, the hidden interaction area can be displayed, and all the interaction options can be displayed in the displayed hidden interaction area. The display form of the shortcut interaction area and / or the hidden interaction area can be determined by the user through a display setting operation. The interaction options displayed in the shortcut interaction area can be determined by the user through a display setting operation. The specific determination process can be referred to the foregoing description. The interaction options displayed in the shortcut interaction area can also be determined automatically according to the usage frequency and / or the recent usage time of each interaction option in the hidden interaction area. The arrangement order of the interaction options displayed in the hidden interaction area can be arranged in a fixed default order, or the arrangement order can be adjusted automatically according to the usage frequency and / or the recent usage time of each interaction option. The process of automatically adjusting the arrangement order of the plurality of interaction options according to the usage frequency and / or the recent usage time can be referred to the foregoing description.
[0087] In step 102, in response to a trigger operation for the interaction panel, a target interaction control corresponding to the trigger operation is determined, and target interaction information corresponding to the target interaction option is sent.
[0088] When the display screen displays a plurality of interactive options, a triggering operation of a user on one of the interactive options can be received, the interactive option corresponding to the triggering operation is determined as a target interactive option, and target interactive information corresponding to the target interactive option is sent, i.e., the target interactive information is sent to other players. For example, the target interactive information corresponding to the target interactive option can be a target emoticon, which is sent to other players in the same camp or to specified other players, so as to display the target emoticon on the display screen of the terminal device used by the other players. For another example, the target interactive information corresponding to the target interactive option can be target interactive content in the form of text, which is sent to other players in the same camp or to specified other players, so as to display the target interactive content on the display screen of the terminal device used by the other players.
[0089] In some optional embodiments of the present application, the above determining, in response to the triggering operation on the interactive panel, the target interactive option corresponding to the triggering operation, and sending the target interactive information corresponding to the target interactive option can include:
[0090] In response to the end operation of the touch point of the sliding operation on the interactive panel, determining the target interactive option corresponding to the touch point of the end operation, and sending the target interactive information corresponding to the target interactive option.
[0091] In the present embodiment, the triggering operation on the interactive panel can be considered as the end operation of the sliding operation from the accelerator control to the interactive control at the position of the interactive panel. The touch point of the end operation can be understood as the terminal point of the sliding operation, i.e., the position of the operation medium leaving the touch display screen when the sliding operation is performed. Illustratively, when it is detected that the finger of the user pressing the accelerator control moves to the position of the interactive control while keeping in contact with the touch display screen, the virtual vehicle is controlled to keep the original fueling behavior, and the interactive panel containing a plurality of interactive options is displayed. When it is detected that the finger of the user moving to the interactive panel leaves the touch display screen, the position of the touch point of the finger when leaving the touch display screen can be determined, the interactive option corresponding to the position of the touch point is determined as the target interactive option, and the target interactive information corresponding to the target interactive option is sent to other players.
[0092] In some other optional embodiments of the present application, the above determining, in response to the triggering operation on the interactive panel, the target interactive option corresponding to the triggering operation, and sending the target interactive information corresponding to the target interactive option can include:
[0093] In response to the click operation on the interactive panel, determining the target interactive option corresponding to the click operation, and sending the target interactive information corresponding to the target interactive option.
[0094] In this embodiment, the triggering operation on the interaction panel can be considered as a click operation on the interaction option in the interaction panel. For example, when it is detected that the finger of the user pressing the accelerator control moves to the position where the interaction control is located while keeping contact with the touch display screen, the virtual vehicle is controlled to keep the original fueling behavior, and an interaction panel including a plurality of interaction options is displayed; after the interaction panel is displayed, the finger of the user can be away from the touch display screen, at this time, the virtual vehicle continues to keep the fueling behavior, and when it is detected that a click operation on the interaction panel is detected, the interaction control corresponding to the click operation, i.e., the target interaction control, is determined, and the target interaction information corresponding to the target interaction control is sent to other players.
[0095] Optionally, in response to the click operation on the interaction panel, the target interaction option corresponding to the click operation is determined, and the target interaction information corresponding to the target interaction option is sent, which can further include:
[0096] In response to a plurality of click operations on at least one interaction option in the interaction panel, the target interaction option corresponding to each click operation is determined, and the target interaction information corresponding to the target interaction option is sent.
[0097] When the triggering operation on the target interaction option is a click operation, the user can click the same or different interaction options multiple times to send a plurality of same or different interaction information. The time interval between two adjacent click operations needs to meet the requirement of being less than a preset time interval.
[0098] Optionally, after the end operation of the target interaction option of the touch point in response to the sliding operation, the target interaction information corresponding to the target interaction option is sent, which can further include:
[0099] The interaction panel is hidden.
[0100] In this embodiment, the interaction panel can be hidden after the target interaction information is sent. After the interaction panel is hidden, if the interaction information is to be sent again, the interaction control needs to be triggered again to display the interaction panel. The triggering mode of the interaction control can include click triggering or triggering in response to the sliding operation of the touch point moving from the accelerator control to the interaction control.
[0101] Further, in some optional embodiments of the present application, after the target interaction information is sent, the method can further include:
[0102] If no triggering operation on the accelerator control is received within a preset interval, the virtual vehicle is controlled to interrupt the execution of the fueling behavior.
[0103] In this embodiment, when the sending of the target interaction information is completed, a timer can be started to time, and if a trigger operation acting on the throttle control is detected before the timing duration reaches the preset interval duration, the virtual vehicle is controlled to continue to perform the fueling behavior. Specifically, when the throttle control includes a plurality of throttle gears, according to the specific throttle gear on which the trigger operation acts, the virtual vehicle is controlled to perform a corresponding fueling behavior, and the timing can be cancelled at the same time. If the trigger operation acting on the throttle control is still not detected when the timing duration reaches the preset interval duration, the virtual vehicle is controlled to interrupt the fueling behavior; that is, the virtual vehicle is controlled to decelerate according to the specified acceleration, and the timing can be cancelled at the same time. The preset interval duration can be set according to actual needs, and the preset interval duration can be 0.
[0104] When the preset interval duration is 0, the target interaction information is only one, that is, a sliding operation from the throttle control to the interaction control, and only one target interaction information can be sent when the virtual vehicle maintains the fueling behavior.
[0105] It should be noted that when the target interaction information is multiple, for example, the target interaction information is sent through a click operation, multiple target interaction information can be sent, and in this example, the timer can be started to time after each target interaction information is sent, and the timer timing can be cancelled when a continuous click operation acting on the interaction option is detected, which is equivalent to starting the timer timing after the last target interaction information is sent.
[0106] The game interaction method provided in the embodiments of the present application can control the virtual vehicle to maintain the original fueling behavior while displaying the interaction panel including a plurality of interaction options when the touch point of the sliding operation moves from the throttle control to the interaction control, and can determine the target interaction option corresponding to the trigger operation and send the target interaction information corresponding to the target interaction option when the trigger operation on the interaction panel is received. This method can keep the throttle from being interrupted when the user interacts with other users in a manual throttle-controlled racing mobile game, improves the operability of the game, and improves the user's game experience. In addition, the display mode of the interaction panel can be set by the user to meet the user's individual needs.
[0107] To facilitate the understanding of the present scheme by those skilled in the art, the following will combine Figure 8 The game interaction method in an example of the present application is exemplarily explained and described.
[0108] As Figure 8Fig. 1 shows a schematic diagram of a game screen and operation controls displayed on a touch display screen when a terminal device runs a game program in an example of the present application. The operation controls include a direction control, a throttle control, and an expression control (i.e., an interactive control), etc. Generally, a user uses a left thumb to operate the direction control to control the driving direction of a virtual vehicle, and uses a right thumb to operate the throttle control to control the driving speed of the virtual vehicle. When the user wants to interact with other users in the game, the user can move the right thumb to the position of the expression control while keeping the right thumb in contact with the touch display screen, i.e., the touch point is moved from the throttle control to the expression control. At this time, the virtual vehicle keeps the original throttle behavior, i.e., the same as the effect when the user operates the throttle control, and an interactive panel is displayed on the touch display screen. The interactive panel displays a plurality of expression symbols (i.e., interactive options). The user moves the right thumb to the position of the expression symbol that the user wants to send while keeping the right thumb in contact with the touch display screen, and then lifts the right thumb to make the right thumb not in contact with the screen. At this time, the corresponding expression is sent to other users. Alternatively, the user can briefly move the right thumb away from the touch display screen, and then click the expression symbol that the user wants to send to send the corresponding expression to other users. Thus, in a manual throttle control racing game, the user can keep the throttle from being interrupted when interacting with other users, which improves the operability of the game and the user experience.
[0109] It should be noted that, for the method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the action sequence described, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0110] Referring to Figure 9 Fig. 1 shows a structure block diagram of a game interactive device embodiment of the present application. Corresponding to the above game interactive method embodiment, the throttle control and the interactive control are displayed on the touch display screen of the terminal device. The device can include the following modules:
[0111] The first response module 901 is configured to respond to the sliding operation of the touch point from the throttle control to the interactive control, control the virtual vehicle to keep the original throttle behavior, and display an interactive panel. The interactive panel includes a plurality of interactive options.
[0112] The second response module 902 is configured to respond to the trigger operation on the interactive panel, determine the target interactive option corresponding to the trigger operation, and send the target interactive information corresponding to the target interactive option.
[0113] In some optional embodiments of the present application, the first response module 901 is specifically configured to, in response to a sliding operation of the touch point moving from the throttle control to the interactive control along an effective path, control the virtual vehicle to maintain the original fueling behavior while displaying the interactive panel; the effective path refers to a path that does not trigger other controls; and / or, in response to a sliding operation of the touch point moving from the throttle control and moving to the interactive control within a preset time length, control the virtual vehicle to maintain the original fueling behavior while displaying the interactive panel.
[0114] In some optional embodiments of the present application, the second response module 902 can include:
[0115] An end operation response module configured to, in response to an end operation of the touch point on the interactive panel, determine a target interactive option corresponding to the touch point of the end operation, and send target interactive information corresponding to the target interactive option;
[0116] Or,
[0117] A click operation response module configured to, in response to a click operation on the interactive panel, determine a target interactive option corresponding to the click operation, and send target interactive information corresponding to the target interactive option.
[0118] In some optional embodiments of the present application, the click operation response module can be further configured to, in response to multiple click operations on at least one interactive option in the interactive panel, determine a target interactive option corresponding to each click operation, and send target interactive information corresponding to the target interactive option.
[0119] In some optional embodiments of the present application, the device can further include:
[0120] A third response module configured to, in response to a display setting operation on the interactive panel, determine a target display form of multiple interactive options in the interactive panel, the target display form including a list form or a wheel form.
[0121] In some optional embodiments of the present application, the interactive panel includes a shortcut interactive area configured to display a preset number of interactive options, and the third response module can be further configured to determine the interactive options displayed in the shortcut interactive area.
[0122] In some optional embodiments of the present application, the second response module 902 can be further configured to determine the arrangement order of the multiple interactive options in the interactive panel according to the usage frequency and / or the recent usage time of each interactive option.
[0123] In some optional embodiments of the present application, the first response module 901 can further include:
[0124] a throttle gear determining module, configured to determine a target throttle gear of the virtual vehicle in response to a moving-out position of the touch point moving out of the throttle control;
[0125] a throttle gear control module, configured to control the virtual vehicle to perform a fueling behavior according to the target throttle gear.
[0126] In some optional embodiments of the present application, the device can further include:
[0127] an interrupt control module, configured to control the virtual vehicle to interrupt the fueling behavior if no touch operation on the throttle control is received within a preset interval.
[0128] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the related parts refer to the part of the description of the method embodiments.
[0129] The embodiments of the present application further disclose an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and the computer program implements the steps of the game interaction method when executed by the processor.
[0130] The embodiments of the present application further disclose a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program implements the steps of the game interaction method when executed by a processor.
[0131] Each of the embodiments in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to.
[0132] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present application can be in the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0133] The computer program instructions can also be loaded onto a computer or other programmable data processing terminal device to cause a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal device provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0134] The computer program instructions can also be loaded onto a computer or other programmable data processing terminal device to cause a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal device provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0135] The computer program instructions can also be loaded onto a computer or other programmable data processing terminal device to cause a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal device provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0136] All the actions of acquiring information proposed in the embodiments of the present application are performed under the premise of complying with the corresponding data protection regulation policy of the country where the device is located and obtaining the authorization given by the corresponding device owner.
[0137] Although the preferred embodiments of the present application have been described, those skilled in the art who understand the basic inventive concept can make additional changes and modifications to the embodiments once they get the concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0138] Finally, it is to be understood that the phraseology or terminology such as "first" and "second" etc. used herein is merely intended to differentiate one entity or operation from another entity or operation, without necessarily requiring or implying any actual such relationship or order between such entities or operations. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0139] The game interaction method and device, the electronic device, and the storage medium provided in the present application are described in detail above, the principles and implementation manners of the present application are described by applying specific examples in the present article, the above example descriptions are only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will all have changes, and the above descriptions should not be understood as limitations on the present application.
Claims
1. A game interaction method, characterized in that, The method of displaying throttle controls and interactive controls on a touchscreen display of a terminal device includes: In response to a sliding operation where the touch point moves from the accelerator control to the interactive control, the virtual vehicle is controlled to maintain its original refueling behavior, while an interactive panel is displayed, which includes multiple interactive options; wherein, the interactive options displayed in the interactive panel include emoji options and / or text options; In response to a trigger operation on the interactive panel, the target interactive option corresponding to the trigger operation is determined, and the target interactive information corresponding to the target interactive option is sent. The control, in response to a sliding operation where the touch point moves from the accelerator control to the interactive control, controls the virtual vehicle to maintain its original refueling behavior while displaying the interactive panel, including: In response to a sliding operation where the touch point moves from the accelerator control along a valid path to the interactive control, the virtual vehicle is controlled to maintain its original refueling behavior while the interactive panel is displayed; the valid path refers to a path that does not trigger other controls. and / or; In response to a sliding operation where the touch point moves from the accelerator control and then moves to the interactive control within a preset time, the virtual vehicle is controlled to maintain its original refueling behavior while the interactive panel is displayed.
2. The method according to claim 1, characterized in that, The step of responding to a trigger operation on the interactive panel, determining the target interaction option corresponding to the trigger operation, and sending the target interaction information corresponding to the target interaction option includes: In response to the end operation of the touch point of the sliding operation on the interaction panel, the target interaction option corresponding to the touch point of the end operation is determined, and the target interaction information corresponding to the target interaction option is sent. or, In response to a click operation on the interactive panel, the target interactive option corresponding to the click operation is determined, and the target interactive information corresponding to the target interactive option is sent.
3. The method according to claim 2, characterized in that, The step of responding to a click operation on the interactive panel, determining the target interaction option corresponding to the click operation, and sending the target interaction information corresponding to the target interaction option, further includes: In response to multiple clicks on at least one interactive option in the interactive panel, the target interactive option corresponding to each click is determined, and the target interactive information corresponding to the target interactive option is sent.
4. The method according to claim 2, characterized in that, Before displaying the interactive panel, the method further includes: In response to a display settings operation on the interactive panel, a target display format for multiple interactive options in the interactive panel is determined, the target display format including a list format or a wheel format.
5. The method according to claim 4, characterized in that, The interactive panel includes a quick interaction area for displaying a preset number of interactive options. The response to a display setting operation on the interactive panel further includes: Determine the interactive options displayed in the quick interaction area.
6. The method according to claim 4, characterized in that, The interactive display panel also includes: The order of the multiple interactive options in the interactive panel is determined based on the number of times each interactive option has been used and / or the time of most recent use.
7. The method according to claim 2, characterized in that, The method of responding to a sliding operation where the touch point moves from the accelerator control to the interactive control, controlling the virtual vehicle to maintain its original refueling behavior, and simultaneously displaying the interactive panel, further includes: In response to the position of the touch point as it moves away from the throttle control, the target throttle gear of the virtual vehicle is determined; Control the virtual vehicle to perform refueling according to the target throttle gear.
8. The method according to claim 1, characterized in that, After determining the target interaction option corresponding to the trigger operation in response to the trigger operation on the interaction panel, and sending the target interaction information corresponding to the target interaction option, the method further includes: If no trigger operation is received on the throttle control within a preset interval, the virtual vehicle is controlled to interrupt the refueling behavior.
9. A game interaction device, characterized in that, The device displays throttle controls and interactive controls on a touchscreen display of a terminal device, and includes: The first response module is used to respond to a sliding operation where the touch point moves from the accelerator control to the interactive control, control the virtual vehicle to maintain the original refueling behavior, and display an interactive panel, which includes multiple interactive options; wherein, the interactive options displayed in the interactive panel include emoji options and / or text options; The second response module is used to respond to a trigger operation on the interactive panel, determine the target interactive option corresponding to the trigger operation, and send the target interactive information corresponding to the target interactive option; The first response module is configured to respond to a sliding operation in which a touch point moves from the accelerator control along an effective path to the interactive control, control the virtual vehicle to maintain its original refueling behavior, and display the interactive panel at the same time; the effective path refers to a path that does not trigger other controls; and / or; in response to a sliding operation in which a touch point moves from the accelerator control and moves to the interactive control within a preset time, control the virtual vehicle to maintain its original refueling behavior, and display the interactive panel at the same time.
10. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the game interaction method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the game interaction method as described in any one of claims 1-8.
Citation Information
Patent Citations
Racing game information control method and device and electronic equipment
CN111729295A
Virtual vehicle control method and device thereof and electronic equipment
CN113769372A