A game sharing method, device and computer readable storage medium
By detecting terminal motion parameters to switch display modes and providing a game sharing interface, the problem of complicated mobile game sharing processes and interface space occupation is solved, achieving the effect of simplified operation and instant sharing, thus improving the player experience.
Patent Information
- Application Number
- CN201811419768.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-26
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2038-11-26
AI Technical Summary
Existing mobile game sharing methods are cumbersome, the share button takes up screen space and cannot be shared in some cases, resulting in a poor player experience.
The system switches display modes by detecting terminal motion parameters, provides a game sharing interface, and captures game screenshots when conditions are met. It supports various adjustment operations before sharing to third-party platforms.
The sharing process has been simplified and the interface space usage has been reduced, allowing players to share game screenshots at any time and improving the gaming experience.
Smart Images

Figure CN109529330B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of game technology, and in particular to a game sharing method, a game sharing device, and a computer-readable storage medium. Background Technology
[0002] In mobile games, social sharing by players serves not only as a way to showcase achievements, satisfy bragging rights, and record memories, but also as a crucial channel for game promotion and positive word-of-mouth. However, given the limited space within the game interface, how to arrange sharing functions, design sharing entry points, and how to encourage players to share are all questions worth considering.
[0003] In existing mobile games, sharing functionality mostly relies on clicking the camera button to take a screenshot, then clicking the share button to share. Since sharing is not limited by time or location, the share button needs to always be present on the main interface to meet players' desire to share anytime, anywhere. However, to maintain a clean interface and minimize obstruction, the share button must be hidden (collapsed).
[0004] like Figure 1A-1E As shown, the share button is usually hidden (collapsed) by default on the main interface. Expanding the hidden button will reveal the camera button. Edit the image and click the camera button to take a picture. After taking the picture, select a sharing platform to share the image to different platforms.
[0005] Existing mobile game sharing methods have the following drawbacks:
[0006] 1. The sharing process is complicated: players need to click multiple times to share successfully.
[0007] 2. In order to ensure that players can share anytime and anywhere, the share button needs to always be present on the main interface, which is cumbersome.
[0008] 3. In certain special cases, such as full-screen gameplay interfaces, it's necessary to remove the share button. In this situation, players have no way to share. Normally, sharing is only possible at the game's conclusion; therefore, players should only be allowed to share the game's results screen. Summary of the Invention
[0009] In view of the above problems, embodiments of the present invention are proposed to provide a game sharing method, a game sharing device, and a computer-readable storage medium that overcome or at least partially solve the above problems.
[0010] To address the aforementioned problems, this invention discloses a game sharing method applied to a terminal containing a gyroscope, the method comprising:
[0011] When the motion parameters of the terminal are detected to meet preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided; wherein, the game sharing interface includes an image of the game screen to be shared, determined according to the display mode before the switch;
[0012] In response to a sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform.
[0013] Preferably, the display mode includes a landscape display mode and a portrait display mode. The step of switching the display mode of the game on the terminal and providing a game sharing interface when the motion parameters of the terminal meet the preset conditions includes:
[0014] When the terminal's display mode was a landscape mode and the motion parameters of the terminal meet the preset conditions, the display mode of the game on the terminal is switched to a portrait mode.
[0015] Capture an image of the game screen displayed on the terminal in the landscape display mode, and use it as the image of the game screen to be shared;
[0016] Provides a game sharing interface that includes an image of the game screen to be shared.
[0017] Preferably, the display mode includes a landscape display mode and a portrait display mode. The step of switching the display mode of the game on the terminal and providing a game sharing interface when the motion parameters of the terminal meet the preset conditions includes:
[0018] When the terminal's display mode was portrait mode before switching and the motion parameters of the terminal are detected to meet the preset conditions, the display mode of the game on the terminal is switched to landscape mode.
[0019] Capture an image of the game screen displayed on the terminal in the portrait display mode, and use it as the image of the game screen to be shared;
[0020] Provides a game sharing interface that includes an image of the game screen to be shared.
[0021] Preferably, before the step of sharing the image of the game screen to be shared to a third-party sharing platform in response to the sharing operation applied to the game sharing interface, the method further includes:
[0022] In response to an adjustment operation applied to the image of the game screen to be shared, the image of the game screen to be shared is adjusted.
[0023] Preferably, the adjustment operation includes a scaling operation, and the step of adjusting the image of the game screen to be shared, in response to the adjustment operation applied to the image of the game screen to be shared, includes:
[0024] When a player's zoom operation on the image of the game screen to be shared is detected, the game screen size of the image of the game screen to be shared is enlarged or reduced.
[0025] Preferably, the adjustment operation further includes a movement operation, and the step of adjusting the image of the game screen to be shared in response to the user's adjustment operation includes:
[0026] When a player's movement action is detected on the image of the game screen to be shared, the game screen area of the image of the game screen to be shared is adjusted according to the movement action.
[0027] Preferably, the adjustment operation further includes a filter selection operation, the game sharing interface further includes a virtual filter button, and the step of adjusting the image of the game screen in response to the user's adjustment operation on the image of the game screen to be shared includes:
[0028] When a player selects a filter on the image of the game screen to be shared, the target filter effect is determined, and the image of the game screen to be shared is rendered according to the target filter effect.
[0029] Preferably, the step of responding to the sharing operation of the game sharing interface and sharing the image of the game screen to be shared to a third-party sharing platform includes:
[0030] In response to the confirmation operation applied to the game sharing interface, the target image is determined based on the image of the game screen to be shared, and a third-party sharing platform selection interface is provided;
[0031] In response to the selection operation applied to the selection interface of the third-party sharing platform, the target image is shared to the third-party sharing platform.
[0032] Preferably, the game sharing interface further includes a first virtual button, and the step of responding to the determination operation on the game sharing interface and determining the target image based on the image of the game screen to be shared includes:
[0033] In response to a click operation on the first virtual button, a target image is determined based on the image of the game screen to be shared.
[0034] Preferably, the response is applied to the selection operation of the third-party sharing platform's selection interface, and the step of sharing the target image to the third-party sharing platform includes:
[0035] In response to the selection operation applied to the third-party sharing platform selection interface, the target sharing platform is determined;
[0036] Link to the sharing interface of the target sharing platform;
[0037] In response to an editing operation performed on the sharing interface of the target sharing platform, the target image is shared to the target sharing platform.
[0038] This invention also discloses a game sharing device, characterized in that it is applied to a terminal containing a gyroscope, the device comprising:
[0039] A game sharing interface module is provided to switch the display mode of the game on the terminal and provide a game sharing interface when the motion parameters of the terminal are detected to meet preset conditions; wherein, the game sharing interface includes an image of the game screen to be shared determined according to the display mode before switching;
[0040] The sharing module is used to respond to the sharing operation applied to the game sharing interface and share the image of the game screen to be shared to a third-party sharing platform.
[0041] This invention also discloses an apparatus, comprising:
[0042] One or more processors; and
[0043] One or more machine-readable media storing instructions thereon, when executed by the one or more processors, cause the device to perform one or more game sharing methods as described in embodiments of the present invention.
[0044] This invention also discloses a computer-readable storage medium, characterized in that the computer program stored therein causes a processor to execute the game sharing method as described in this invention.
[0045] The embodiments of the present invention have the following advantages:
[0046] In this embodiment of the invention, when the motion parameters of the terminal are detected to meet preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided. The game sharing interface includes an image of the game screen to be shared, determined according to the display mode before the switch. In response to the sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform. The need to open the game sharing interface for image sharing is determined by detecting the motion parameters of the terminal. The operation steps are simple, and during normal gameplay, there is no need to display the sharing control in the game interface. Moreover, game images can be shared at any time, improving the gaming experience for players. Attached Figure Description
[0047] Figure 1A This is a schematic diagram of a method for hiding the share button in the main interface using existing technology;
[0048] Figure 1B This is a schematic diagram of a hidden share button that is displayed on the main interface in an existing technology.
[0049] Figure 1C This is a schematic diagram of a main interface for taking and sharing pictures in existing technology;
[0050] Figure 1D This is a schematic diagram of selecting a sharing platform in the main interface of an existing technology;
[0051] Figure 1E This is a schematic diagram of sharing images to a platform from the main interface of an existing technology.
[0052] Figure 2 This is a flowchart illustrating the steps of an embodiment of a game sharing method according to the present invention;
[0053] Figure 3A This is a schematic diagram of a game displayed horizontally on a terminal according to the present invention;
[0054] Figure 3B This is a schematic diagram of a game displayed vertically on a terminal according to the present invention;
[0055] Figure 3C This is a schematic diagram of an image capture method according to the present invention;
[0056] Figure 4 This is a schematic diagram of a player performing a stretching operation according to the present invention;
[0057] Figure 5 This is a schematic diagram illustrating a player's movement operation according to the present invention;
[0058] Figure 6 This is a schematic diagram of an interface for selecting a third-party sharing platform according to the present invention;
[0059] Figure 7 This is a schematic diagram of the sharing interface of a target sharing platform according to the present invention;
[0060] Figure 8 This is a structural block diagram of an embodiment of a game sharing device according to the present invention. Detailed Implementation
[0061] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0062] Reference Figure 2The diagram illustrates a flowchart of a game sharing embodiment of the present invention. This embodiment is applied to a terminal containing a gyroscope and may specifically include the following steps:
[0063] Step S101: When the motion parameters of the terminal are detected to meet the preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided; wherein, the game sharing interface includes an image of the game screen to be shared, determined according to the display mode before the switch.
[0064] It should be noted that terminals can include various mobile devices, such as mobile phones, tablets, game consoles, PDAs, etc.
[0065] The terminal's operating system can include Android, iOS, Windows Phone, Windows, etc., and it can usually support the running of various games.
[0066] The game application runs on the terminal and renders a graphical user interface on the touch screen of the mobile terminal. The content displayed by the graphical user interface includes at least a portion or all of the game scene. The specific shape of the game scene can be square or other shapes (such as circles).
[0067] Specifically, the game scene includes at least one virtual character. This virtual character can be a game virtual character controlled by the player through a mobile terminal, and can be presented through a graphical user interface. The presented content can include the entire virtual character or a part of the virtual character. For example, in a third-person perspective game, the content presented by the graphical user interface can include the entire virtual character, or in a first-person perspective game, the content presented by the graphical user interface can include a part or a portion of the virtual character.
[0068] In addition, the game scene also includes at least one virtual object, which can be a virtual character controlled by an enemy player in the game, or a non-player character (NPC) pre-set by the game developer in a specific game scene.
[0069] In practical applications, the terminal can be equipped with at least one gyroscope.
[0070] A gyroscope, also known as an angular velocity sensor, is designed based on the theory of conservation of angular momentum. It measures the angular velocity of rotation when the device deflects or tilts, and is used to sense and maintain direction. Installing a gyroscope in a terminal allows for accurate measurement of the terminal's rotation and deflection movements, enabling precise analysis and judgment of the user's actual actions. Applying gyroscopes to basic terminal operations can enhance the user experience. For example, in mobile games, gyroscopes can enhance game presentation and improve user experience. For instance, they can control the movement direction of a virtual character or detect the player's hand displacement to change the perspective.
[0071] In this embodiment of the invention, in order to provide gamers with a better game sharing experience, the game sharing operation is combined with gyroscope technology.
[0072] Specifically, when a game application is running on the terminal, the motion parameters of the terminal are detected by the gyroscope. When the motion parameters of the terminal meet the preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided.
[0073] The display mode may include a landscape display mode and a portrait display mode. The motion parameters may include rotation angle parameters and / or sway angle parameters, rotation direction parameters and / or sway direction parameters, etc.
[0074] In practical implementation, the terminal's orientation during normal game operation can be set as the default direction. For example, if the terminal's orientation during normal game operation is horizontal, then the default orientation is set to horizontal; if the terminal's orientation during normal game operation is vertical, then the default orientation is set to vertical. The gyroscope detects the terminal's motion parameters, and based on the rotation angle and / or sway angle parameters, it determines whether the terminal's current orientation is the default direction. When the terminal's current orientation is not the default direction, the game's display mode on the terminal can be switched based on the rotation direction and / or sway direction parameters.
[0075] The preset condition can be a preset angle. By acquiring the motion parameters of the terminal detected by the gyroscope, it is determined whether the rotation angle parameter and / or sway angle parameter are greater than or equal to the preset angle. When the rotation angle parameter and / or sway angle parameter are greater than or equal to the preset angle, the current orientation of the terminal is not the default direction. Based on the rotation direction parameter and / or sway direction parameter, the display mode of the game on the terminal is switched.
[0076] In this embodiment of the invention, a game sharing interface can also be provided when switching the display mode of the game on the terminal. This game sharing interface can be used by game players to share the current game scene.
[0077] In a preferred embodiment of the present invention, step S101 may include the following sub-steps:
[0078] Sub-step S11: When the display mode of the terminal before switching is horizontal display mode and the motion parameters of the terminal are detected to meet the preset conditions, the display mode of the game on the terminal is switched to vertical display mode.
[0079] Sub-step S12: Capture an image of the game screen displayed on the terminal in the landscape display mode as the image of the game screen to be shared;
[0080] Sub-step S13: Provide a game sharing interface containing an image of the game screen to be shared.
[0081] In this embodiment of the invention, the terminal's display mode before switching is a landscape display mode. At this time, the terminal's current orientation is horizontal. If the terminal's motion parameters are detected to meet preset conditions, the game's display mode on the terminal is switched to a portrait display mode. For example, the preset angle is 75°, the rotation angle parameter is 80°, and the rotation direction is, for example, a counterclockwise rotation around the normal to the plane where the terminal screen is located. If the rotation angle parameter is greater than the preset angle, it is determined that the terminal's current orientation is not the default orientation, and the game's landscape display mode on the terminal is switched to a portrait display mode in a counterclockwise direction.
[0082] like Figures 3A-3B As shown, when the game is switched from landscape to portrait mode on the terminal, the terminal's screenshot interface can be called to capture an image of the game screen displayed on the terminal in landscape mode, which is then used as the image of the game screen to be shared, and a game sharing interface containing the image of the game screen to be shared is provided.
[0083] It should be noted that game applications can preset image capture parameters, and when capturing an image, these preset parameters are used. These preset image capture parameters can be set according to the display mode after the game screen switches.
[0084] For example, when the game screen switches to portrait mode, the preset image capture parameters can be a portrait image of the virtual object and a preset range of the game scene surrounding it, such as... Figure 3B As shown, a vertical image of the game scene, including the virtual object and a preset range around it, is captured based on preset image capture parameters. The preset image capture parameters can also be a scaled-down version of the game scene before the transition.
[0085] In another preferred embodiment of the present invention, step S101 may include the following sub-steps:
[0086] Sub-step S21: When the display mode of the terminal before switching is the portrait display mode and the motion parameters of the terminal are detected to meet the preset conditions, the display mode of the game on the terminal is switched to the landscape display mode.
[0087] Sub-step S22: Capture an image of the game screen displayed on the terminal in the portrait display mode as the image of the game screen to be shared;
[0088] Sub-step S23: Provide a game sharing interface containing an image of the game screen to be shared.
[0089] In this embodiment of the invention, the terminal's display mode before switching is a portrait display mode. At this time, the terminal's current orientation is vertical. If the motion parameters of the terminal are detected to meet preset conditions, the display mode of the game on the terminal is switched to a landscape display mode. For example, the preset angle is 75°, the rotation angle parameter is 80°, and the rotation direction is, for example, a counterclockwise rotation direction with the normal to the plane where the terminal screen is located as the axis. If the rotation angle parameter is greater than the preset angle, it is determined that the terminal's current orientation is not the default orientation, and the game's portrait display mode on the terminal is switched to a landscape display mode in a clockwise direction.
[0090] When the game is switched from portrait display mode to portrait display mode on the terminal, the terminal's screenshot interface can be called to capture an image of the game screen displayed on the terminal in the portrait display mode, which is then used as the image of the game screen to be shared, and a game sharing interface containing the image of the game screen to be shared is provided.
[0091] It should be noted that game applications can preset image capture parameters, and when capturing an image, they can call the preset image capture parameters to take the screenshot.
[0092] For example, when the game screen switches to a landscape display mode, the preset image capture parameters can be a vertical image of the virtual object and a preset range of the game scene surrounding it, such as... Figure 3B As shown, based on preset image capture parameters, the game scene image of the virtual object and its surrounding preset range is captured. The preset image capture parameters can also be a proportionally scaled-down version of the game scene image before the switch, for example, capturing an image of the game scene before the switch is proportionally scaled down, achieving the following... Figure 3C The effect shown.
[0093] Step S102: In response to the sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform.
[0094] The third-party sharing platforms may include Weibo, WeChat, QQ, etc.
[0095] Game players can share the game screenshots to third-party sharing platforms such as Weibo, WeChat, and QQ through the game sharing interface.
[0096] In a preferred embodiment of the present invention, the following steps may be included before step S102:
[0097] In response to an adjustment operation applied to the image of the game screen to be shared, the image of the game screen to be shared is adjusted.
[0098] Before sharing the game screenshots to a third-party sharing platform, players can adjust the images.
[0099] In a preferred embodiment of the present invention, the adjustment operation includes a scaling operation, and the step responds to the adjustment operation applied to the image of the game screen to be shared. Adjusting the image of the game screen to be shared may include the following sub-steps:
[0100] When a player's zoom operation on the image of the game screen to be shared is detected, the game screen size of the image of the game screen to be shared is enlarged or reduced.
[0101] In a practical implementation, the gesture acquisition module of the terminal can be called to collect the gesture input points of the game player, thereby obtaining the position information of each received gesture input point. Based on the obtained position information of each gesture input point, corresponding gestures can be generated. Specifically, the position information of each gesture input point can be judged to obtain the relative position change relationship or movement trajectory trend of each input point, and then different gestures can be generated.
[0102] The telescopic operation includes extension and contraction operations. These operations can be performed using two fingers. For example, extension operations can include extending two fingers vertically, horizontally, and diagonally; contraction operations can include contracting two fingers vertically, horizontally, and diagonally. Therefore, the detected relative positional changes or movement trajectory trends of each input point are twofold. Figure 4 As shown, game players use two fingers to extend their fingers.
[0103] In this embodiment of the invention, when the player's gesture is determined to be an "expand" gesture, the size of the game screen image to be shared is increased. When the player's gesture is determined to be a "contract" gesture, the size of the game screen image to be shared is decreased.
[0104] In another preferred embodiment of the present invention, the adjustment operation further includes a movement operation. The step responds to the user's adjustment operation on the image of the game screen to be shared. Adjusting the image of the game screen to be shared may further include the following sub-steps:
[0105] When a player's movement action is detected on the image of the game screen to be shared, the game screen area of the image of the game screen to be shared is adjusted according to the movement action.
[0106] In practice, movement can be achieved with a single finger, such as... Figure 5 As shown, players use one finger to move the character.
[0107] Specifically, the gesture input points of game players can be collected by calling the gesture acquisition module of the terminal, thereby obtaining the relative positional changes or movement trajectory trends of each input point, and then generating different gestures.
[0108] Movement operations can include movement direction and movement distance. Based on the acquired gestures, the movement direction and movement distance are determined, and the game screen area of the image to be shared is adjusted according to the movement direction and movement distance.
[0109] For example, when the movement operation is to move left, the game screen area of the image to be shared is moved to the left; when the movement operation is to move right, the game screen area of the image to be shared is moved to the right. Those skilled in the art should understand that the above-described method of moving the game screen area is merely an example of the present invention, and other methods can be used for movement; the present invention does not impose any limitations on this.
[0110] In another preferred embodiment of the present invention, the adjustment operation further includes a filter selection operation, and the game sharing interface may also include a virtual filter button. The step responds to the user's adjustment operation on the image of the game screen to be shared. Adjusting the image of the game screen to be shared may further include the following sub-steps:
[0111] When the user selects a filter on the image of the game screen to be shared, the target filter effect is determined, and the image of the game screen to be shared is rendered according to the target filter effect.
[0112] In this embodiment of the invention, game players can click the virtual filter button to bring up a filter selection interface, select a filter effect from the filter selection interface as the target filter effect, and render the image of the game screen to be shared based on the target filter effect.
[0113] The filter effects may include vibrant effects, classic effects, aesthetic effects, ink wash effects, etc. Those skilled in the art should understand that other filter effects may also be included, but this invention does not limit them.
[0114] In a preferred embodiment of the present invention, step S102 may include the following sub-steps:
[0115] Sub-step S31: In response to the determination operation applied to the game sharing interface, determine the target image based on the image of the game screen to be shared, and provide a third-party sharing platform selection interface;
[0116] Sub-step S32: In response to the selection operation applied to the third-party sharing platform selection interface, the target image is shared to the third-party sharing platform.
[0117] The determination operation can include single-click, double-click, and long-press operations.
[0118] In the actual implementation, game players can confirm their participation on the game sharing interface, for example, by clicking on the game sharing interface. Figure 6 As shown, when a player's confirmation action is detected on the game sharing interface, the target image is determined based on the image of the game screen to be shared, and a third-party sharing platform selection interface is provided.
[0119] It should be noted that the target image can be an unadjusted image of the game screen to be shared, or an image of the game screen to be shared after being adjusted through one or more of the above-mentioned adjustment operations.
[0120] In a preferred embodiment of the present invention, the game sharing interface may further include a first virtual button, and sub-step S31 may include the following sub-steps:
[0121] In response to a click operation on the first virtual button, a target image is determined based on the image of the game screen to be shared.
[0122] In this embodiment of the invention, the game sharing interface may include a first virtual button, which game players can click to select a target image.
[0123] In a preferred embodiment of the present invention, sub-step S32 may include the following sub-steps:
[0124] In response to the selection operation applied to the third-party sharing platform selection interface, the target sharing platform is determined;
[0125] Link to the sharing interface of the target sharing platform;
[0126] In response to an editing operation performed on the sharing interface of the target sharing platform, the target image is shared to the target sharing platform.
[0127] In this embodiment of the invention, the third-party sharing platform selection interface may include at least one sharing platform control. The sharing platform control is used to interact with game players and provide sharing functionality, and is displayed as a game sharing interaction element in the third-party sharing platform selection interface.
[0128] The sharing platform control can take the form of a button. For example... Figure 6 As shown, the sharing platform control can be a Weibo control, a WeChat control, a QQ control, a Tencent Weibo control, etc.
[0129] When a selection operation is detected on the third-party sharing platform selection interface, the target sharing platform is determined, and the sharing parameters encapsulated in the sharing platform control are obtained. The sharing parameters may include the sharing platform name, sharing content, and sharing link.
[0130] The sharing platform name is used to prompt the user about the target sharing platform when sharing. Common sharing platform names are the names of social media applications. Examples include Weibo, WeChat, QQ, and Tencent Weibo. The sharing information is the content to be shared, bound to the sharing control, such as the target image. The sharing link links the sharing information to the target sharing platform.
[0131] In practice, game players can select a sharing platform control in the third-party sharing platform selection interface to specify the target sharing platform and share the target image to that platform. For example, game players can select the WeChat control to share the target image to the WeChat platform; or select the QQ control to share the target image to the QQ platform.
[0132] When a player selects a sharing platform control on the third-party sharing platform selection interface, the sharing parameters encapsulated in the sharing platform control are obtained. The player then jumps to the sharing interface of the target sharing platform by calling the sharing link and adds the target image to the sharing interface of the target sharing platform.
[0133] like Figure 7 As shown, game players can edit the sharing interface of the target sharing platform to generate edit information, such as editing the text to be shared, and then share the game player's edit information and the target image to the target sharing platform.
[0134] In this embodiment of the invention, when the motion parameters of the terminal are detected to meet preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided. The game sharing interface includes an image of the game screen to be shared, determined according to the display mode before the switch. In response to the sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform. The need to open the game sharing interface for image sharing is determined by detecting the motion parameters of the terminal. The operation steps are simple, and during normal gameplay, there is no need to display the sharing control in the game interface. Moreover, game images can be shared at any time, improving the gaming experience for players.
[0135] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0136] Reference Figure 8 The diagram illustrates a structural block diagram of a game sharing device according to an embodiment of the present invention. This embodiment is applied to a terminal containing a gyroscope and may specifically include the following modules:
[0137] The game sharing interface module 801 is used to switch the display mode of the game on the terminal and provide a game sharing interface when the motion parameters of the terminal are detected to meet preset conditions; wherein, the game sharing interface includes an image of the game screen to be shared determined according to the display mode before switching.
[0138] The sharing module 802 is used to respond to the sharing operation applied to the game sharing interface and share the image of the game screen to be shared to a third-party sharing platform.
[0139] The display modes include landscape display mode and portrait display mode.
[0140] In a preferred embodiment of the present invention, the game sharing interface providing module 801 may include the following sub-modules:
[0141] The first display mode switching submodule is used to switch the display mode of the game on the terminal to portrait mode when the display mode of the terminal before switching is landscape display mode and the motion parameters of the terminal are detected to meet the preset conditions.
[0142] The first image capture submodule is used to capture an image of the game screen displayed on the terminal in the landscape display mode, as an image of the game screen to be shared;
[0143] The first game sharing interface provides a sub-module for providing a game sharing interface that includes an image of the game screen to be shared.
[0144] In a preferred embodiment of the present invention, the game sharing interface providing module 801 may further include the following sub-modules:
[0145] The second display mode switching submodule is used to switch the display mode of the game on the terminal to a horizontal display mode when the display mode of the terminal before switching is a portrait display mode and the motion parameters of the terminal are detected to meet the preset conditions.
[0146] The second image capture submodule is used to capture an image of the game screen displayed on the terminal in the portrait display mode, as an image of the game screen to be shared;
[0147] The second game sharing interface provides a sub-module for providing a game sharing interface that includes an image of the game screen to be shared.
[0148] In a preferred embodiment of the present invention, the device may further include the following modules:
[0149] An image adjustment module is used to adjust the image of the game screen to be shared in response to an adjustment operation applied to the image of the game screen to be shared.
[0150] In a preferred embodiment of the present invention, the adjustment operation includes a scaling operation, and the image adjustment module may include the following sub-modules:
[0151] The game screen size adjustment submodule is used to enlarge or shrink the game screen size of the image of the game screen to be shared when a player's scaling operation on the image of the game screen to be shared is detected.
[0152] In a preferred embodiment of the present invention, the adjustment operation further includes a movement operation, and the image adjustment module may further include the following sub-modules:
[0153] The game screen area adjustment submodule is used to adjust the game screen area of the image of the game screen to be shared according to the movement operation when a player's movement operation is detected on the image of the game screen to be shared.
[0154] Optionally, the adjustment operation also includes a filter selection operation, the game sharing interface also includes a virtual filter button, and the image adjustment module may further include the following sub-modules:
[0155] The image rendering submodule is used to determine the target filter effect when a player selects a filter on the image of the game screen to be shared, and to render the image of the game screen to be shared based on the target filter effect.
[0156] In a preferred embodiment of the present invention, the sharing module 802 may include the following sub-modules:
[0157] The target image determination submodule is used to respond to the determination operation applied to the game sharing interface, determine the target image based on the image of the game screen to be shared, and provide a third-party sharing platform selection interface;
[0158] The target image sharing module is used to share the target image to the third-party sharing platform in response to the selection operation on the selection interface of the third-party sharing platform.
[0159] In a preferred embodiment of the present invention, the game sharing interface further includes a first virtual button, and the target image determination submodule may include the following units:
[0160] The target image determination unit is used to determine the target image based on the image of the game screen to be shared in response to a click operation applied to the first virtual button.
[0161] In a preferred embodiment of the present invention, the target image sharing module may include the following sub-modules:
[0162] The target sharing platform determination submodule is used to determine the target sharing platform in response to the selection operation performed on the third-party sharing platform selection interface.
[0163] The sharing interface link submodule is used to link to the sharing interface of the target sharing platform;
[0164] The target sharing platform sharing submodule is used to respond to editing operations performed on the sharing interface of the target sharing platform and share the target image to the target sharing platform.
[0165] As the device authentication apparatus embodiment is basically similar to the device authentication method embodiment, the description is relatively simple. For relevant details, please refer to the description of the device authentication method embodiment.
[0166] In this embodiment of the invention, when the motion parameters of the terminal are detected to meet preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided. The game sharing interface includes an image of the game screen to be shared, determined according to the display mode before the switch. In response to the sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform. The need to open the game sharing interface for image sharing is determined by detecting the motion parameters of the terminal. The operation steps are simple, and during normal gameplay, there is no need to display the sharing control in the game interface. Moreover, image sharing can be performed at any time, improving the player's gaming experience.
[0167] This invention also provides an apparatus, comprising:
[0168] One or more processors; and
[0169] One or more machine-readable media storing instructions thereon, when executed by the one or more processors, cause the device to perform the game sharing method described in the embodiments of the present invention.
[0170] This invention also provides a computer-readable storage medium, characterized in that the computer program stored therein causes a processor to execute the game sharing method described in this invention.
[0171] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0172] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products 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.
[0173] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0174] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0175] These computer program instructions may also be loaded onto a computer or other programmable data processing terminal equipment to cause a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable terminal equipment, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0176] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the present invention.
[0177] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0178] The above provides a detailed description of a game sharing method, a game sharing device, and a computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for sharing games, characterized in that, Applied to a terminal containing a gyroscope, the method includes: When the motion parameters of the terminal are detected by the gyroscope to meet preset conditions, the display mode of the game on the terminal is switched and a game sharing interface is provided; wherein, the game sharing interface includes an image of the game screen to be shared, which is determined by preset image capture parameters in the display mode before the switch; the display mode includes a landscape display mode and a portrait display mode; the preset image capture parameters are set according to the display mode after the game screen is switched. In response to a sharing operation applied to the game sharing interface, the image of the game screen to be shared is shared to a third-party sharing platform; The method further includes: When the game screen switches to the vertical display mode, a vertical image of the virtual object and the game scene screen within a preset range around the virtual object is captured as the preset captured image parameter. When the game screen switches to the landscape display mode, an image of the game screen displayed on the terminal in the portrait display mode is captured as the image of the game screen to be shared.
2. The method according to claim 1, characterized in that, Before the step of sharing the image of the game screen to be shared to a third-party sharing platform in response to the sharing operation applied to the game sharing interface, the method further includes: In response to an adjustment operation applied to the image of the game screen to be shared, the image of the game screen to be shared is adjusted.
3. The method according to claim 2, characterized in that, The adjustment operation includes a scaling operation, and the response to the adjustment operation applied to the image of the game screen to be shared includes the following steps for adjusting the image of the game screen to be shared: When a player's zoom operation on the image of the game screen to be shared is detected, the game screen size of the image of the game screen to be shared is enlarged or reduced.
4. The method according to claim 2, characterized in that, The adjustment operation also includes a movement operation. The steps of adjusting the image of the game screen to be shared, in response to the adjustment operation applied to the image of the game screen to be shared, include: When a player's movement action is detected on the image of the game screen to be shared, the game screen area of the image of the game screen to be shared is adjusted according to the movement action.
5. The method according to claim 2, characterized in that, The adjustment operation also includes a filter selection operation, and the game sharing interface also includes a virtual filter button. The steps for adjusting the image of the game screen to be shared, in response to the adjustment operation applied to the image of the game screen to be shared, include: When a player selects a filter on the image of the game screen to be shared, the target filter effect is determined, and the image of the game screen to be shared is rendered according to the target filter effect.
6. The method according to any one of claims 1 to 5, characterized in that, The step of responding to the sharing operation of the game sharing interface and sharing the image of the game screen to be shared to a third-party sharing platform includes: In response to the confirmation operation applied to the game sharing interface, the target image is determined based on the image of the game screen to be shared, and a third-party sharing platform selection interface is provided; In response to the selection operation applied to the selection interface of the third-party sharing platform, the target image is shared to the third-party sharing platform.
7. The method according to claim 6, characterized in that, The game sharing interface also includes a first virtual button. The step of responding to the confirmation operation on the game sharing interface and determining the target image based on the image of the game screen to be shared includes: In response to a click operation on the first virtual button, a target image is determined based on the image of the game screen to be shared.
8. The method according to claim 6 or 7, characterized in that, The step of responding to the selection operation on the third-party sharing platform's selection interface and sharing the target image to the third-party sharing platform includes: In response to the selection operation applied to the third-party sharing platform selection interface, the target sharing platform is determined; Link to the sharing interface of the target sharing platform; In response to an editing operation performed on the sharing interface of the target sharing platform, the target image is shared to the target sharing platform.
9. A game sharing device, characterized in that, Applied to a terminal containing a gyroscope, the device includes: A game sharing interface module is provided to switch the display mode of the game on the terminal and provide a game sharing interface when the motion parameters of the terminal are detected by the gyroscope to meet preset conditions. The game sharing interface includes an image of the game screen to be shared, determined by preset image capture parameters, displayed in the previous display mode. The display modes include a landscape display mode and a portrait display mode. The preset image capture parameters are set according to the display mode after the game screen is switched. The sharing module is used to respond to the sharing operation applied to the game sharing interface and share the image of the game screen to be shared to a third-party sharing platform; The device is further configured to, when the display mode after the game screen is switched to the vertical display mode, capture a vertical image of the virtual object and the game scene screen within a preset range around the virtual object as the preset capture image parameter; and to, when the display mode after the game screen is switched to the horizontal display mode, capture an image of the game screen displayed by the terminal in the vertical display mode as the image of the game screen to be shared.
10. A game sharing device, characterized in that, include: One or more processors; and One or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the device to perform one or more game sharing methods as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer program stored therein causes the processor to execute the game sharing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Screen sectional drawing method and screen sectional drawing device for mobile terminals
CN102799383A
Webpage sharing method, device and system in mobile terminal
CN103823801A
Screenshot method and device and terminal equipment
CN106843665A
Systems and Methods for Displaying an Animation to Confirm Designation of an Image for Sharing
US20170329481A1
Short message screenshot method and system
CN103841267A