Game scene image editing method, device, computer device and computer program
The method allows for delayed editing of game scene images by adjusting game elements post-gameplay, ensuring timely capture and high-quality display without interrupting gameplay, thus improving user experience.
Patent Information
- Application Number
- JP2025522749
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-01-06
- Filing Date
- 2023-11-03
- Publication Date
- 2025-11-07
AI Technical Summary
Existing game technologies require pausing gameplay to adjust game elements before capturing game scene images, disrupting the normal progression of the game and affecting the display quality of the captured images.
A method for delayed editing of game scene images, allowing adjustment and updating of game elements even after gameplay has ended, ensuring timely capture without interrupting the game, by restoring the game scene at the time of image capture and updating the image based on adjusted elements.
Enables timely capture of game scene images without pausing the game, maintaining normal gameplay progression and improving the display quality of the captured images, enhancing user experience.
Smart Images

Figure 2025536538000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority from a Chinese patent application filed on January 6, 2023, bearing application number 202310019753.6, and entitled "Game Scene Image Editing Method, Apparatus, Computer Device, and Storage Medium," the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The present invention relates to the field of computer technology, and more particularly to a game scene image editing method, apparatus, computer device, and storage medium. [Background technology]
[0003] With the development of computer technology, the types of electronic games are becoming more and more diverse. In some electronic games, game scenes currently displayed during gameplay can be photographed to obtain game scene images. To ensure the display quality of the photographed game scene images, it is usually necessary to adjust the game elements in the game scene before photographing, and then trigger a photographing command to photograph the adjusted game scene to obtain the game scene images. Summary of the Invention
[0004] The embodiments of the present application provide a game scene image editing method, device, computer device and storage medium.
[0005] In one aspect, a game scene image editing method is provided, the method comprising: a step of loading game scene data of the game scene image in response to an editing command for the game scene image, and restoring the game scene of the game scene image, the game scene image being obtained by photographing the game scene while the game is in progress; adjusting the game elements in the game scene in response to an adjustment operation on the game elements in the game scene, and displaying the adjusted game scene; and updating the game scene image based on the adjusted game scene in response to the image save command.
[0006] In another aspect, a game scene image editing method is provided, the method comprising: receiving a data acquisition request transmitted from the terminal, the data acquisition request including an identification code of the game scene image, the data acquisition request being transmitted by the terminal in response to an editing command for the game scene image; and a step of searching for game scene data stored in association with the identification code based on the data acquisition request, and transmitting the game scene data to the terminal; The terminal is used to receive game scene data, load the game scene data, restore the game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on the game elements in the game scene, display the adjusted game scene, and update the game scene image based on the adjusted game scene in response to an image save command.
[0007] In another aspect, a game scene image editing device is provided, the device comprising: a restoration module for loading game scene data of the game scene image in response to an editing command for the game scene image to restore the game scene of the game scene image, the game scene image being obtained by photographing the game scene during the progress of the game; an adjustment module for adjusting the game elements in the game scene in response to an adjustment operation on the game elements in the game scene and displaying the adjusted game scene; and an update module for updating the game scene image based on the adjusted game scene in response to the image save command.
[0008] In another aspect, a game scene image editing device is provided, the device comprising: a receiving module for receiving a data acquisition request transmitted from a terminal, the data acquisition request including an identification code of a game scene image, the data acquisition request being transmitted by the terminal in response to an editing command for the game scene image; a transmission module for querying the game scene data stored in association with the identification code based on the data acquisition request, and transmitting the game scene data to the terminal; The terminal is used to receive game scene data, load the game scene data, restore the game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on the game elements in the game scene, display the adjusted game scene, and update the game scene image based on the adjusted game scene in response to an image save command.
[0009] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the operations performed by the game scene image editing method described in the above aspect.
[0010] In another aspect, a computer-readable storage medium is provided, which stores at least one computer program, and the at least one computer program, when loaded and executed by a processor, performs the operations performed by the game scene image editing method described in the above aspect.
[0011] In another aspect, there is provided a computer program product including a computer program that, when executed by a processor, implements the operations performed by the game scene image editing method according to the previous aspect.
[0012] In a technical solution according to an embodiment of the present application, after capturing a game scene image by photographing the game scene during game execution, the game scene image can be edited. When editing the game scene image, even if the game has ended, the game scene at the time the game scene image was captured can be restored to adjust game elements within the game scene. The content included in the displayed game scene is adjusted so that the content included in the adjusted game scene changes, and the game scene image is updated based on the adjusted game scene, so that the content included in the updated game scene image is the same as the content included in the adjusted game scene. This image editing method edits the actual content included in the game scene image, realizing a technical solution of delayed editing of game scene images. This not only ensures that game scene images can be captured in a timely manner during game execution without the need to interrupt the game in progress, but also ensures the normal progression of the game and the display effect of the obtained game scene image, thereby improving the user experience. [Brief explanation of the drawings]
[0013] [Figure 1] FIG. 1 is a schematic diagram illustrating an implementation environment according to an embodiment of the present application. [Figure 2] 1 is a flowchart of a game scene image editing method according to an embodiment of the present application. [Figure 3] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 4] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 5] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 6] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 7] FIG. 10 is a schematic diagram illustrating a restored game scene displayed on a terminal according to an embodiment of the present application. [Figure 8] FIG. 1 is a schematic diagram of the adjustment of a virtual camera according to an embodiment of the present application; [Figure 9] 1 is a schematic diagram of a comparison of technical solutions for image editing according to an embodiment of the present application; [Figure 10] FIG. 10 is a schematic diagram illustrating another restored game scene displayed on a terminal according to an embodiment of the present application. [Figure 11] FIG. 1 is a schematic diagram of a position adjustment according to an embodiment of the present application. [Figure 12] 1 is a schematic diagram of an attitude adjustment according to an embodiment of the present application. [Figure 13] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 14] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 15] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 16] 10 is a flowchart of another game scene image editing method according to an embodiment of the present application. [Figure 17] 10A and 10B are schematic diagrams illustrating the comparison of different image editing technology solutions according to embodiments of the present application; [Figure 18] 10A and 10B are schematic diagrams illustrating the comparison of different image editing technology solutions according to embodiments of the present application; [Figure 19] 1 is a schematic configuration diagram of a game scene image editing device according to an embodiment of the present application; [Figure 20] FIG. 10 is a schematic diagram illustrating the configuration of another game scene image editing device according to an embodiment of the present application. [Figure 21] FIG. 10 is a schematic diagram illustrating the configuration of another game scene image editing device according to an embodiment of the present application. [Figure 22] FIG. 10 is a schematic diagram illustrating the configuration of another game scene image editing device according to an embodiment of the present application. [Figure 23] FIG. 1 is a schematic diagram illustrating a configuration of a terminal according to an embodiment of the present application. [Figure 24] FIG. 2 is a schematic configuration diagram of a server according to an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0014] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
[0015] Terms such as "first" and "second" used herein may describe various concepts, but unless otherwise specified, these concepts are not limited to these terms. These terms are used only to distinguish one concept from another. For example, a first virtual object may be referred to as a second virtual object, and similarly, a second virtual object may be referred to as a first virtual object, without departing from the scope of this application.
[0016] As used herein, with respect to the terms "at least one," "multiple," "each," and "any," at least one includes one or more, multiple includes two or more, each is a corresponding one of the multiple, and any is any one of the multiple. For example, the multiple game scene images include three game scene images, each is a respective one of the three game scene images, and any is any one of the three game scene images, which may be the first game scene image, the second game scene image, or the third game scene image.
[0017] The game scene images and game scene data related to this application have all been obtained with the permission of the users or the full permission of all parties involved, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the game scene images and game scene data related to this application have all been obtained with full permission.
[0018] The game scene image editing method according to the embodiment of the present application is performed by a computing device. Optionally, the computing device is a terminal or a server. Optionally, the server is an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDNs (Content Delivery Networks), and big data and artificial intelligence platforms. Optionally, the terminal is, but is not limited to, a smartphone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, an in-vehicle terminal, etc. Optionally, the method is interactively performed by the server and the terminal.
[0019] In some embodiments, a computer program according to an embodiment of the present application may be executed on one computer device, or on multiple computer devices at the same location, or may be arranged to be executed on multiple computer devices distributed across multiple locations and interconnected via a communication network, which may constitute a blockchain system.
[0020] In some embodiments, the computing device is a terminal. Figure 1 is a schematic diagram of an implementation environment according to an embodiment of the present application. As shown in Figure 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.
[0021] The server 102 is used to provide game services to the terminal 101. By interacting with the server 102, the terminal 101 can acquire game scene data of the game from the server 102, and can render game scenes based on the scene data to execute the game. The terminal 101 can also capture game scene images by photographing the game scenes during game execution, and can edit the game scene images.
[0022] In a possible implementation, a target application provided by the server 102 is installed on the terminal 101, and the terminal 101 can realize functions such as games and message interaction through the target application. Optionally, the target application is a target application in the operating system of the terminal 101 or a target application provided by a third party. For example, the target application is a game application, and the game application has a game function, and of course, the game application can also have other functions such as a shopping function or a navigation function.
[0023] In some electronic games, game scene images can be obtained by capturing a currently displayed game scene during gameplay. To ensure the display effect of the captured game scene image, it is usually necessary to adjust game elements within the game scene before capturing it, and then trigger a capture command to capture the adjusted game scene and obtain the game scene image. However, this requires pausing the game in progress to adjust the game scene, which affects the normal progression of the game. Therefore, the embodiments of the present application provide a technical solution for delayed editing of game scene images, which not only ensures that game scene images can be captured in a timely manner during gameplay, but also eliminates the need to pause the game in progress, ensuring the normal progression of the game and the display effect of the resulting game scene image.
[0024] 2 is a flowchart of a game scene image editing method according to an embodiment of the present application. As an example, the method is executed by a terminal, as shown in FIG. 2, the method includes the following steps:
[0025] 201: In response to an editing command for the game scene image, the terminal loads game scene data of the game scene image and restores the game scene of the game scene image, where the game scene image is obtained by photographing the game scene while the game is in progress.
[0026] Here, the game scene image displays content included in the game scene. For example, if the game scene image is a game photo obtained by capturing a displayed game scene while the game is in progress, the content included in the game photo is the content included in the game scene displayed at the time of capture. Game scene data is used to render the game scene, and the game scene data of the game scene image indicates the game scene displayed when the game scene image was captured during game execution. That is, the game scene data is used to render the game scene displayed when the game scene image was captured. The game scene is a virtual scene for playing a game, for example, players can compete or complete tasks in the virtual scene. The game may be any type of game, for example, a 2D (2-dimensional) game, a 3D (3-dimensional) game, or a multiplayer online game.
[0027] Here, loading the game scene data of the game scene image and restoring the game scene of the game scene image means loading the game scene data, rendering the game scene, and causing the terminal to display the game scene, i.e., reproducing the game scene when the game scene image was captured.
[0028] In an embodiment of the present application, after a game scene is photographed while a game is being played to obtain a game scene image, the game scene image can be edited. When editing the game scene image, even if the game has ended, the game scene can be restored to the state it was in when the game scene image was photographed. Therefore, not only can editing operations such as the color and scaling of the game scene image itself be performed, but game elements within the game scene can also be edited to obtain an updated game scene image.
[0029] 202: In response to an adjustment operation on the game element in the game scene, the terminal adjusts the game element in the game scene and displays the adjusted game scene.
[0030] Here, a game element is an element included in a game scene, such as a virtual object displayed in the game scene, a virtual body, a virtual camera for capturing a game scene, or other game elements.
[0031] In an embodiment of the present application, when restoring a game scene in a game scene image, the content included in the currently displayed game scene can be adjusted by adjusting game elements in the game scene so that the content included in the adjusted game scene changes. For example, when restoring a game scene in a game scene image, if the game scene includes three virtual animals with their faces facing forward, adjusting the shooting angle and position of the virtual camera in the game scene causes the faces of the three virtual animals in the adjusted game scene to face backward, that is, the content included in the adjusted game scene changes.
[0032] 203: In response to the image saving command, the terminal updates the game scene image based on the adjusted game scene.
[0033] In an embodiment of the present application, the image save command instructs generating a new game scene image based on the currently displayed game scene and updating the previous game scene image. After adjusting the displayed game scene, a new game scene image is generated based on the currently displayed game scene, i.e., the adjusted game scene, in response to the image save command. The content included in the new game scene image is the content included in the adjusted game scene, and updating the previous game scene image based on the new game scene image is replacing the previous game scene image with the new game scene image and completing the process of editing the previous game scene image.
[0034] In a technical solution according to an embodiment of the present application, after capturing a game scene image by photographing the game scene during game execution, the game scene image can be edited. When editing the game scene image, even if the game has ended, the game scene at the time the game scene image was captured can be restored to adjust game elements within the game scene. The content included in the displayed game scene is adjusted so that the content included in the adjusted game scene changes, and the game scene image is updated based on the adjusted game scene, so that the content included in the updated game scene image is the same as the content included in the adjusted game scene. This image editing method edits the actual content included in the game scene image, realizing a technical solution of delayed editing of game scene images. This not only ensures that game scene images can be captured in a timely manner during game execution without the need to interrupt the game in progress, but also ensures the normal progression of the game and the display effect of the obtained game scene image, thereby improving the user experience.
[0035] 3 is a flowchart of another game scene image editing method according to an embodiment of the present application. As an example, if the method is performed by a server, as shown in FIG. 3, the method includes the following steps:
[0036] 301: The server receives a data acquisition request sent from the terminal, the data acquisition request including an identification code of a game scene image, and the data acquisition request is sent by the terminal in response to an editing command for the game scene image.
[0037] In an embodiment of the present application, the server stores game scene data, and when a terminal captures a game scene image by photographing the game scene during game execution, the server stores the game scene data of the game scene image, i.e., stores the game scene data of the game scene displayed when the terminal photographs the game scene image. Therefore, in response to an editing command for the game scene image, the terminal sends a data acquisition request to the server to request the game scene data of the game scene image.
[0038] Here, the identification code is unique and can be represented by any characters. For example, the identification code may be expressed in the form of a string. In an embodiment of the present application, the server stores the identification code in association with game scene data, and the terminal also stores the identification code in association with game scene images. The game scene data and game scene images stored in association with the same identification code in the server and the terminal correspond to each other. That is, the game scene data stored in the server is used to render a game scene when the game scene image stored in association with the same identification code is captured. Therefore, in response to an editing command for a certain game scene image, the terminal sends a data acquisition request including the identification code to the server to request the game scene data of the game scene image.
[0039] 302: Based on the data acquisition request, the server queries the game scene data stored in association with the identification code, and transmits the game scene data to the terminal.
[0040] Here, the terminal is used to receive game scene data, load the game scene data, restore the game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on the game elements in the game scene, display the adjusted game scene, and update the game scene image based on the adjusted game scene in response to an image save command.
[0041] In a technical solution according to an embodiment of the present application, when a game scene is captured to obtain a game scene image during game execution, the server stores game scene data corresponding to the game scene image. When editing the game scene image, even after the game is finished, the terminal interacts with the server to obtain the game scene data. The terminal can then restore the game scene at the time the game scene image was captured based on the game scene data and adjust game elements within the game scene. The content included in the displayed game scene is adjusted so that the content included in the adjusted game scene changes, and the game scene image is updated based on the adjusted game scene, so that the content included in the updated game scene image is the same as the content included in the adjusted game scene. This image editing method edits the actual content included in the game scene image, realizing a technical solution called delayed editing of game scene images. This not only ensures that game scene images can be captured in a timely manner during game execution without interrupting the game in progress, but also ensures the normal progression of the game, ensures the display effect of the resulting game scene image, and improves the user experience. Furthermore, storing game scene data corresponding to the game scene image on the server saves terminal storage resources.
[0042] 2 and 3, in the embodiment of the present application, when a terminal captures a displayed game scene to obtain a game scene image, the server stores game scene data of the game scene image, and later, in the process of editing the game scene image, the terminal interacts with the server to obtain a game scene image corresponding to the game scene data from the server, and edits the game scene image, the specific process of which will be described in detail in the following embodiment.
[0043] 4 is a flowchart of another game scene image editing method according to an embodiment of the present application. As an example, the method is performed by a terminal and a server, as shown in FIG. 4, the method includes the following steps:
[0044] 401: During the progress of the game, the terminal photographs the currently displayed game scene in response to a photographing command, and acquires a game scene image.
[0045] In an embodiment of the present application, a terminal can run a game and display a game scene during the game. A shooting command instructs the terminal to shoot the displayed game scene to generate a game scene image. Upon receiving the shooting command, the terminal shoots the currently displayed game scene and obtains a game scene image including the content of the currently displayed game scene.
[0046] In a possible implementation, the terminal displays a game scene of the game on a scene display interface during the progress of the game, and if a shooting option is displayed on the scene display interface, step 401 photographs the game scene currently displayed on the scene display interface in response to a trigger operation on the shooting option on the scene display interface during the progress of the game, and obtains a game scene image.
[0047] In the embodiment of the present application, the scene display interface not only displays the game scene of the game, but also displays the shooting option, so that game scene images can be acquired through the shooting option while the game is in progress, ensuring the convenience of shooting.
[0048] 402: The terminal transmits the time when the game scene image was captured to the server.
[0049] Here, the shooting time is the time when the terminal captures the game scene image while the game is in progress. The shooting time is expressed as the time in the real environment or the time in the game. For example, the shooting time may be 5:00 PM on XX month XX day, or the shooting time may be 30 minutes into any game.
[0050] 403: The server receives the shooting time of the game scene image sent from the terminal, acquires the game scene data at the shooting time, generates an identification code, stores the game scene data in association with the identification code, and sends the identification code to the terminal.
[0051] In an embodiment of the present application, when the server receives the capture time of a game scene image sent from a terminal, it means that the terminal has generated the game scene image. The capture time is the time when the terminal captured the game scene image, and the server obtains game scene data at the capture time, which is used to render the game scene displayed when the game scene image was captured. That is, the server obtains the game scene data of the game scene image, generates a unique identification code, associates the game scene data with the identification code and stores it so that the corresponding game scene data can be found later using the identification code, and sends the identification code to the terminal so that the terminal associates the identification code with the game scene data and stores it.
[0052] In a possible implementation, the process of acquiring game scene data at the time of shooting includes steps of determining a period including the time of shooting based on the time of shooting, and acquiring game scene data within the period.
[0053] Here, the period is any period, for example, a period from a time point before the shooting time to the shooting time, or a period from the shooting time to a time point after the shooting time, or a period from a time point before the shooting time to a time point after the shooting time. For example, the period is a period of any length with the shooting time as the center point, and if the length is 30 seconds, that is, if the length of the period is 30 seconds, the 15th second of this period is the center point and also the shooting time.
[0054] In an embodiment of the present application, a period including the time of shooting is determined based on the time of shooting, and game scene data within the period is obtained. Thereafter, not only can the game scene image be updated based on the game scene displayed at the time the game scene image was shot, but the game scene within the period can also be restored based on the game scene data, and the game scene image can be updated based on the game scene within the period. This allows the user to select a game scene from any time within the period to update the game scene image, ensuring flexibility in image editing.
[0055] Furthermore, by acquiring game scene data for a period including the time of shooting, the user can select any freeze point during image editing to generate a new game scene image. Therefore, even if the user misses the best scene when triggering a shooting command during the game, the previously displayed scene can be restored, allowing the user to capture a satisfying game scene image and improving the user experience.
[0056] Optionally, when transmitting the shooting time of the game scene image to the server, the terminal also transmits the object identifier logged in to the terminal to the server. When receiving the shooting time of the game scene image, the server also receives the object identifier transmitted from the terminal. Thus, the process of acquiring game scene data at the shooting time includes the steps of determining a camera position within a period of the object identifier, where the camera position is the position of a virtual camera in a game scene displayed on the terminal within the period during the progress of the game, determining a virtual object within the shooting range of the virtual camera at the camera position, and configuring object data of the virtual object within the period as game scene data.
[0057] Here, the virtual object may be any object in a game scene. For example, the virtual object may be an actionable virtual object such as a virtual person, a virtual animal, or a virtual vehicle, or an inactionable virtual object such as a virtual building or a virtual tree. The object identifier logged into the terminal may be, but is not limited to, a player's game account or other identifier.
[0058] In an embodiment of the present application, a virtual camera is used to capture game scenes, and game scenes displayed on a terminal during game progress are game scenes captured by the virtual camera. When the server receives the object identifier and the capture time point transmitted from the terminal, it can acquire the camera position of the virtual camera when the game scene is displayed within a period of time when the object identifier is logged into the terminal. The camera position may be fixed within a period of time or may change over time. For each camera position, a virtual object within the capture range of the virtual camera at the camera position is determined. The virtual object is a virtual object displayed on the terminal during game progress. By configuring the object data of the virtual object within a period of time as game scene data, the game scene data only includes game scene data of game scenes displayed on the terminal during game progress within a period of time, and does not include game scene data of game scenes not displayed on the terminal. This prevents the amount of acquired game scene data from becoming excessive, prevents excessive storage resource occupation when later storing the game scene data, and saves storage resources.
[0059] Note that the embodiment of the present application has been described merely as an example in which the game scene data is game scene data of game scenes displayed on the terminal during a period of time while the game is in progress. In another embodiment, the game scene data acquired by the server may also include game scene data of game scenes not displayed on the terminal, but the present application is not limited to this.
[0060] In possible implementations, the process of generating the identification code includes, but is not limited to, using an object identifier and a game time as the identification code, or using an object identifier, a game session number, and a game time as the identification code, or processing stored data using a pre-set algorithm to obtain the identification code.
[0061] Here, the object identifier is the identifier of the object logged in to the terminal, the game time is the time when the game scene image was captured, and the game session number is the game session that was in progress when the game scene image was captured if the game is a multi-session game.
[0062] 404: The terminal receives the identification code transmitted from the server, and stores the game scene image in association with the identification code.
[0063] In the embodiment of the present application, the identification code is a unique identifier that allows the terminal to obtain the game scene data of the game scene image from the server. After receiving the identification code sent from the server, the terminal stores the game scene image in association with the identification code, so that when editing the game scene image later, the terminal can obtain the game scene data of the game scene image from the server based on the identification code.
[0064] 405: In response to the editing command for the game scene image, the terminal sends a data acquisition request to the server, and the data acquisition request includes the identification code of the game scene image.
[0065] In an embodiment of the present application, the terminal can edit game scene images generated during game execution, and in response to an editing command for the game scene image, interact with the server and send a data acquisition request to the server including an identification code of the game scene image, so that the server returns game scene data of the game scene image.
[0066] In a possible implementation, step 405 includes, when the game has ended, displaying an image list including at least one game scene image in response to an image viewing command; displaying the selected game scene image and editing options in an image exhibition interface in response to a selection operation on any game scene image in the image list; and sending a data retrieval request to a server in response to a trigger operation on the editing option.
[0067] Here, all of the game scene images in the image list were taken during game play, and each game scene image has an associated identification code. For example, if the image list is a game album for a game and the game scene images are game photos, the game album includes at least one game photo. Optionally, multiple game scene images in the image list were taken during game play on the same station, or multiple game scene images were taken during game play on different stations. For example, the image list includes three game scene images, and the three game scene images were taken during game play on the same station, or the three game scene images were taken during game play on three different stations. The image display interface is used to display game scene images taken during game play, and the editing option is used to edit the currently displayed game scene image to adjust the content included in the game scene image.
[0068] In an embodiment of the present application, when a game ends, the game scene images generated during the game can be viewed, and any game scene image can be selected and edited to adjust the content included in the selected game scene image. When editing a game scene image, the game scene data of the game scene image can be obtained from the server by interacting with the server and sending a data acquisition request to the server, so as to restore the game scene of the game scene image and update the game scene image based on the game scene.
[0069] Optionally, a game application provided by the server is installed on the terminal, and the terminal can play a game through the game application. The terminal can store game scene images captured during the game in an image system of the game application, access the image system through the game application, and display the image list on a game scene interface.
[0070] Optionally, other function options may be further displayed in the image display interface. For example, the image display interface may further display a style adjustment option, a local save option, a share option, etc. Here, the style adjustment option is used to adjust the style of the game scene image, for example, adjusting the color style, light style, etc. of the game scene image. The local save option is used to save the game scene image of the game to a local album of the terminal, for example, saving the game scene image captured during the game in the game application. When the image display interface displays a selected game scene image and a local save option, triggering the local save option saves the selected game scene image to the album of the terminal. The share option is used to share the game scene image displayed in the image display interface, for example, using the share option to share the game scene image displayed in the image display interface on a webpage or with friends.
[0071] 406: The server receives the data acquisition request sent from the terminal, queries the game scene data stored in association with the identification code based on the data acquisition request, and sends the game scene data to the terminal.
[0072] In an embodiment of the present application, the game scene data stored in the server in association with the identification code is the game scene data requested by the data acquisition request, and is also the game scene data of the game scene image. The server queries the game scene data stored in association with the identification code based on the data acquisition request, and transmits the game scene data to the terminal, so that the terminal can restore the corresponding game scene based on the game scene data.
[0073] 407: The terminal receives the game scene data sent from the server, loads the game scene data, and restores the game scene in the game scene image, where the game scene image is obtained by photographing the game scene during the game progress.
[0074] In an embodiment of the present application, the terminal interacts with the server in response to an editing command for the game scene image, obtains game scene data of the game scene image from the server, and then loads the game scene data of the game scene image to restore the game scene displayed when the game scene image was captured during the game progress, thereby adjusting the game elements in the game scene later to achieve the adjustment of the content contained in the game scene image.
[0075] In a possible implementation, the game scene data is game scene data for a period including the capture time of the game scene image. The terminal loads the game scene data of the game scene image to restore the game scene of the game scene image, and the content initially displayed in the restored game scene is the same as the content included in the game scene image. The time point can also be adjusted later to display the game scene at any time within the period.
[0076] In a possible implementation, a game application is installed on the terminal, and the game application includes an art resource. The process of restoring the game scene includes: calling the art resource of the game application, and loading game scene data according to the art resource to restore the game scene in the game scene image.
[0077] Here, the art resources are resources for rendering game scenes. For example, the art resources include textures of virtual buildings in game scenes, data of virtual plants, etc. In an embodiment of the present application, when a game application is installed on a terminal, the installation package of the game application includes art resources, which are basic resources used to render game scenes. Therefore, the terminal does not need to interact with the server again to obtain art resources, and can render game scenes using the art resources of the game application, thereby saving network resources and ensuring that the terminal can successfully render game scenes.
[0078] 408: In response to the adjustment operation on the game element in the game scene, the terminal adjusts the game element in the game scene and displays the adjusted game scene.
[0079] In a possible implementation, step 408 includes at least one of the following items:
[0080] Item 1: In response to a focal length adjustment operation on the virtual camera of the game, the focal length of the virtual camera is adjusted, and the game scene captured by the virtual camera based on the adjusted focal length is displayed.
[0081] In the embodiments of the present application, the game scenes displayed during the game are captured by the game's virtual camera. When restoring the game scene in the game scene image, the focal length of the virtual camera is adjusted to change the size of the virtual objects in the game scene captured by the virtual camera, and the size of the virtual objects in the adjusted game scene also changes, that is, the content of the game scene changes.
[0082] Item 2: In response to a position adjustment operation for the game's virtual camera, the position of the virtual camera is adjusted and the game scene captured by the virtual camera at the adjusted position is displayed.
[0083] In an embodiment of the present application, game scenes displayed during the game are captured by a virtual camera for the game. When restoring the game scene in a game scene image, the captured game scene differs depending on the position of the virtual camera. Adjusting the position of the virtual camera, i.e., adjusting the position of the virtual camera within the game scene, results in different game scenes captured by the virtual camera before and after the adjustment, and therefore changes the content included in the game scene captured by the virtual camera at the adjusted position. For example, in the game scene captured by the virtual camera before the adjustment, virtual object 1 is displayed in the center of the game scene. However, if the virtual camera is adjusted to move to the right, virtual object 1 will be displayed on the left side of the game scene, and other virtual objects to the right of virtual object 1 will also be displayed in the game scene captured by the virtual camera at the adjusted position.
[0084] Item 3: In response to a viewpoint adjustment operation on the virtual camera of the game, the shooting viewpoint of the virtual camera is adjusted, and the game scene captured by the virtual camera based on the adjusted shooting viewpoint is displayed.
[0085] In the present embodiment, adjusting the shooting viewpoint of the virtual camera means adjusting the shooting viewpoint of the virtual camera by rotating the virtual camera without changing the position of the virtual camera. For example, the virtual camera before adjustment takes pictures facing east, but the virtual camera after adjustment takes pictures facing west. By adjusting the shooting viewpoint of the virtual camera in a game, the game scene captured by the virtual camera is adjusted, and the content included in the game scene captured by the virtual camera based on the adjusted shooting viewpoint changes.
[0086] Fourth item: In response to a position adjustment operation on a first virtual object in a game scene, the position of the first virtual object is adjusted, and the adjusted game scene is displayed.
[0087] Here, the first virtual object is any virtual object displayed in the game scene. In an embodiment of the present application, when restoring the game scene of the game scene image, the position of the virtual object displayed in the game scene can be adjusted so that the content included in the adjusted game scene changes.
[0088] Item 5: In response to an attitude adjustment operation on a second virtual object in the game scene, the attitude of the second virtual object is adjusted, and the game scene after the adjustment is displayed.
[0089] Here, the second virtual object is any virtual object displayed in the game scene, and may be the same as or different from the first virtual object. The posture of the second virtual object is the appearance or movement of the second virtual object in the game scene.
[0090] In an embodiment of the present application, when restoring a game scene of a game scene image, the posture of the virtual object displayed in the game scene can be adjusted so that the posture of the virtual object included in the adjusted game scene changes, i.e., the content included in the adjusted game scene changes. In a possible implementation form, the posture of the second virtual object is adjusted by adjusting the state of the bones of the second virtual object.
[0091] Item 6: When a scene progress bar of a game scene is displayed, in response to a time selection operation on the scene progress bar, a freeze time selected from the scene progress bar is determined, and the game scene at the freeze time is displayed, and the scene progress bar includes the shooting time of the game scene image, and a time before or after the shooting time.
[0092] Here, the scene progress bar includes multiple time points, including the time point at which the game scene image was captured, as well as time points before or after the capture time. Optionally, the scene progress bar corresponds to a time period, which is a period from any time point before the capture time to the capture time, or a period from the capture time to any time point after the capture time, or a period from any time point before the capture time to any time point after the capture time.
[0093] In an embodiment of the present application, the game scene data of the game scene image is the scene data of the time point included in the scene progress bar, and when restoring the game scene of the game scene image, the time point on the scene progress bar can be adjusted to display the game scene of the time point selected from the scene progress bar, that is, the game scene displayed at that time point during the game can be restored. The selected time point is the freeze time, and the terminal can display the game scene at the freeze time so that the content of the adjusted game scene changes, that is, the game scene displayed at the previous freeze time can be reproduced.
[0094] Note that the embodiments of the present application only explain the adjustment of game elements using the above six items as examples, but in other embodiments, the above six items can be combined in any way, for example, by combining any two of the above six items, or by combining all six items.
[0095] The embodiments of the present application provide various adjustment methods for game elements, and any one or more methods can be selected to adjust the game elements in the game scene so that the content included in the game scene changes, thereby enriching the adjustment methods and meeting various needs of users, and improving the user experience.
[0096] In one possible implementation, the restored game scene is displayed in a scene display interface, where multiple adjustment options are displayed in the scene display interface, and different adjustment options are used to trigger different adjustment operations. Step 408 adjusts the game elements in the game scene in response to a trigger operation on any adjustment option in the scene display interface, and displays the adjusted game scene.
[0097] Here, the multiple adjustment options include a focal length adjustment option, a camera position adjustment option, a viewpoint adjustment option, an object position adjustment option, and an attitude adjustment option. Among these, the focal length adjustment option is used to adjust the focal length of a virtual camera in the game, and detecting a trigger operation for the focal length adjustment option corresponds to detecting a focal length adjustment operation for the virtual camera in the game. The camera position adjustment option is used to adjust the camera position of the virtual camera in the game, and detecting a trigger operation for the camera position adjustment option corresponds to detecting a position adjustment operation for the virtual camera in the game. The viewpoint adjustment option is used to adjust the shooting viewpoint of the virtual camera in the game, and detecting a trigger operation for the viewpoint adjustment option corresponds to detecting a viewpoint adjustment operation for the virtual camera in the game. The position adjustment option is used to adjust the position of a virtual object in a game scene, and detecting a trigger operation for the position adjustment option corresponds to detecting a position adjustment operation for the virtual object in the game scene. The attitude adjustment option is used to adjust the attitude of a virtual object in the game scene, and detecting a trigger operation for the attitude adjustment option corresponds to detecting an attitude adjustment operation for the virtual object in the game scene.
[0098] 409: In response to the image saving command, the terminal updates the game scene image based on the adjusted game scene, obtains adjusted game scene data based on the adjusted game scene, and transmits the adjusted game scene data to the server.
[0099] In an embodiment of the present application, after adjusting the scene content of a game scene, a new game scene image is generated based on the adjusted game scene, i.e., the currently displayed game scene, in response to an image saving command. The content included in the new game scene image is the same as the content included in the currently displayed game scene. The previous game scene image is replaced with the new game scene image, and the previous game scene image is updated. In addition, when adjusting the game scene, the game scene data of the game scene also changes, which means that the game scene will not be adjusted when an image saving command is received. Adjusted game scene data is obtained based on the adjusted game scene, i.e., the adjusted game scene data is used to restore the adjusted game scene. The adjusted game scene data is sent to a server and stored so that the adjusted game scene data can be later obtained and restored.
[0100] In a possible implementation, the process of updating the game scene image includes the steps of the terminal replacing the game scene image with a new game scene image and storing the new game scene image in association with an identification code, or the terminal storing both the new game scene image and the game scene image in association with an identification code and setting a history identifier in the game scene image to indicate that the game scene image is a history version.
[0101] In an embodiment of the present application, after obtaining a new game scene image, the terminal replaces the original game scene image with the new game scene image, stores the new game scene image, and deletes the original game scene image to complete editing of the original game scene image, thereby saving storage resources; or stores the new game scene image and the previous game scene image in association with an identification code, thereby enriching the stored game scene image version, providing users with multiple versions of the game scene image, and improving the user experience.
[0102] In a possible implementation, the terminal adjusts the loaded game scene data in real time when adjusting the game elements in the game scene, that is, the method further includes the steps of: after the terminal loads the game scene data and restores the game scene of the game scene image, adjusting the game elements in the game scene and adjusting the loaded game scene data in response to the adjustment operation on the game elements in the game scene.
[0103] In the embodiment of the present application, when adjusting the game scene, the loaded game scene data is also changed, and when an image save command is received, the game scene will not be adjusted. Obtaining the loaded game scene data means obtaining the adjusted game scene data.
[0104] In a possible implementation, the restored game scene is displayed on a scene display interface, and an image save option is further displayed on the scene display interface. Detecting a trigger operation on the image save option corresponds to receiving an image save command.
[0105] 410: The server receives the adjusted game scene data transmitted from the terminal, and stores the adjusted game scene data in association with the identification code.
[0106] In an embodiment of the present application, the server receives the adjusted game scene data sent from the terminal and stores the adjusted game scene data in association with an identification code, so that the terminal can later obtain the adjusted game scene data from the server based on the identification code.
[0107] In a possible implementation, the server replaces the game scene data stored in association with the identification code with the adjusted game scene data, or the server stores both the adjusted game scene data and the pre-adjusted game scene data in association with the identification code and sets a history identifier in the pre-adjusted game scene data to indicate that the pre-adjusted game scene data is a history version.
[0108] In the embodiment of the present application, the server stores only one game scene data corresponding to the identification code, and after receiving the adjusted game scene data transmitted from the terminal, the server replaces the game scene data stored in association with the identification code with the adjusted game scene data so that the game scene data stored in the server is the latest game scene data, thereby ensuring the accuracy of the game scene data stored in the server. In addition, the unadjusted game scene data can also be deleted to save storage resources.
[0109] In an embodiment of the present application, the server can store multiple game scene data corresponding to the identification code, and the server can determine the game scene data before adjustment based on the history identifier, and determine the version of each game scene data by setting a history identifier to the game scene data before adjustment, thereby enriching the stored game scene data and providing multiple versions of game scene data to the terminal, so that accurate game scene data can be provided to the terminal later.
[0110] In a possible implementation, after step 410, the terminal can also readjust the updated game scene image, and during the adjustment, interact with the server to obtain the adjusted game scene data, that is, according to the above steps 405 to 410, the terminal interacts with the server again, re-updates the game scene image, and re-updates the game scene data stored in the server.
[0111] In a technical solution according to an embodiment of the present application, after capturing a game scene image by photographing the game scene during game execution, the game scene image can be edited. When editing the game scene image, even if the game has ended, the game scene at the time the game scene image was captured can be restored to adjust game elements within the game scene. The content included in the displayed game scene is adjusted so that the content included in the adjusted game scene changes, and the game scene image is updated based on the adjusted game scene, so that the content included in the updated game scene image is the same as the content included in the adjusted game scene. This image editing method edits the actual content included in the game scene image, realizing a technical solution of delayed editing of game scene images. This not only ensures that game scene images can be captured in a timely manner during game execution without the need to interrupt the game in progress, but also ensures the normal progression of the game and the display effect of the obtained game scene image, thereby improving the user experience.
[0112] In an embodiment of the present application, the camera position of a virtual camera when a game scene is displayed on a terminal within a period is acquired, and a virtual object within the virtual camera's shooting range at the camera position is determined. The virtual object is a virtual object displayed on the terminal during the progress of a game. By configuring the object data of the virtual object within the period as game scene data, the game scene data includes only game scene data of game scenes displayed on the terminal during the progress of the game within the period, and does not include game scene data of game scenes not displayed on the terminal. This prevents the acquired game scene data from becoming excessive, prevents excessive storage resource occupation when storing the game scene data later, and saves storage resources.
[0113] In an embodiment of the present application, a game scene image is stored in a terminal in association with an identification code, and game scene data is stored in a server in association with the identification code. The identification code is a unique identifier that allows the terminal to obtain game scene data for the game scene image from the server. The game scene data for the game scene image can be obtained from the server based on the identification code. This separate storage method saves storage resources on the terminal, and because the identification codes are stored in association with the game scene image and the game scene data, the scene data for the game scene image can be obtained based on the identification code, ensuring the accuracy of the obtained game scene data.
[0114] Furthermore, when the terminal photographs a game scene image in response to a photographing command, it interacts with the server, and the server obtains corresponding game scene data based on the photographing time and generates a unique identification code, so that the server stores the game scene data in association with the identification code, and the terminal stores the game scene image in association with the identification code, allowing the terminal to later obtain the game scene data of the game scene image from the server based on the identification code, thereby ensuring the accuracy of the later obtained game scene data.
[0115] Based on the embodiment shown in Fig. 2 above, in the embodiment of the present application, when the terminal captures a game scene to obtain a game scene image, the terminal can locally store game scene data, and then edit the game scene image based on the game scene data. The specific process will be described in detail in the following embodiment.
[0116] 5 is a flowchart of a game scene image editing method according to an embodiment of the present application. As an example, the method is executed by a terminal, as shown in FIG. 5, the method includes the following steps:
[0117] 501: During the progress of the game, the terminal photographs the currently displayed game scene in response to a photographing command, and acquires a game scene image.
[0118] Step 501 is the same as step 401 above, so a description thereof will be omitted here.
[0119] 502: The terminal stores the game scene image in association with the game scene data of the game scene image.
[0120] In an embodiment of the present application, when generating a game scene image, the terminal acquires game scene data of the game scene image, i.e., acquires game scene data of the currently displayed game scene, or the game scene data is game scene data at the time of capturing the game scene image, i.e., game scene data when the game scene image is captured. The terminal stores the game scene image in association with the game scene data of the game scene image, so that when editing the game scene image later, the terminal can locally acquire the stored game scene data to restore the game scene of the game scene image without requiring interaction with other devices, thereby ensuring the real-time nature of the restored game scene and improving the user experience.
[0121] 503: In response to an edit command for the game scene image, the terminal locally acquires game scene data stored in association with the game scene image.
[0122] In an embodiment of the present application, the terminal stores game scene images generated during the progress of the game and game scene data stored in association with the game scene images, so that when editing any game scene image, the game scene data stored in association with the game scene image can be locally acquired.
[0123] 504: The terminal loads game scene data of the game scene image to restore the game scene of the game scene image, where the game scene image is obtained by photographing the game scene during the game progress.
[0124] Step 504 is the same as step 407 above, so a description thereof will be omitted here.
[0125] Note that the embodiment of the present application has been described using an example in which game scene images captured during the progress of a game and corresponding game scene data are stored locally on the terminal, but in another embodiment, there is no need to perform the above steps 501 to 504, and the game scene data of the game scene image is loaded in response to an editing command for the game scene image using another method, thereby restoring the game scene of the game scene image.
[0126] 505: In response to the adjustment operation on the game element in the game scene, the terminal adjusts the game element in the game scene and displays the adjusted game scene.
[0127] Step 505 is the same as step 408 above, so a description thereof will be omitted here.
[0128] 506: In response to the image saving command, the terminal captures the adjusted game scene and acquires a new game scene image.
[0129] In the embodiment of the present application, after the game scene is adjusted, the content contained in the adjusted game scene and the previous game scene changes, and responding to the image saving command indicates that the user wants to photograph the adjusted game scene to obtain a game scene image, so the adjusted game scene is photographed to obtain a new game scene image, and the content contained in the new game scene image is the same as the content contained in the adjusted game scene.
[0130] In a possible implementation, step 506 includes, in response to an image save command, taking a screenshot of the screen currently displayed on the terminal to obtain a screenshot image, and cropping the screenshot image to obtain a new game scene image.
[0131] In an embodiment of the present application, the screen displayed on the terminal during the game may include other information in addition to the game scene. For example, the screen displayed on the terminal may further include a menu bar of the game application, a menu bar of the terminal, etc. The content included in a screenshot image obtained by taking a screenshot of the screen displayed on the terminal is the same as the content included in the screen displayed on the terminal. Since the screenshot image may include other information other than the game scene, the screenshot image is captured and then cropped so that the new game scene image obtained by cropping it only includes the content included in the game scene, thereby ensuring the display effect of the obtained game scene image.
[0132] 507: The terminal replaces the game scene image with a new game scene image.
[0133] In an embodiment of the present application, after obtaining a new game scene image, the terminal replaces the original game scene image with the new game scene image, thereby storing the new game scene image and deleting the original game scene image, completing the editing of the original game scene image, and storing the latest game scene image locally, thereby saving the storage resources of the terminal.
[0134] In a possible implementation, step 507 includes the terminal replacing the game scene image with a new game scene image such that the new game scene image is stored in association with the game scene data.
[0135] In an embodiment of the present application, the terminal stores the game scene image in association with the game scene data, edits the game scene image to obtain a new game scene image, and then stores the new game scene image in association with the game scene data, so that the original game scene image is replaced with the new game scene, and the new game scene image can be re-edited later based on the game scene data, which satisfies the user's re-editing needs and improves the user experience.
[0136] Optionally, the method further includes a step in which, in response to an image saving command, the terminal obtains adjusted game scene data based on the adjusted game scene, and replaces the game scene data of the game scene with the adjusted game scene data so as to store the new game scene image in correspondence with the adjusted game scene data.
[0137] Note that, although the embodiment of the present application has been described using an example of replacing the original game scene image with a new game scene image, in another embodiment, it is not necessary to execute the above steps 506 to 507, and the game scene image is updated based on the adjusted game scene in response to the image save command by another method.
[0138] It should be noted that although the embodiment of the present application only takes as an example the editing of game scene images based on game scene data, in another embodiment, after step 502, the terminal may also delete the locally stored game scene data in order to save storage resources.
[0139] In a possible implementation, the method further includes a step of deleting game scene data of the game scene image when the duration reaches a target time from the end of the game and no editing command for the game scene image is received.
[0140] Here, the target time is an arbitrary time, for example, 3 days, 2 days, etc.
[0141] In an embodiment of the present application, the terminal stores game scene images and game scene data captured during the game in association with each other, but the stored game scene data may occupy a large amount of storage resources of the terminal. In consideration of the impact on the normal progress of the game if a user pauses the game to edit the game scene images during the game, timing is started from the end of the game, and if the duration reaches a target time and no command for editing the game scene images is received during this time, it indicates that the user may not edit the game scene images, so the game scene data of the game scene images is deleted to prevent the occupation of the storage resources of the terminal and save the storage resources of the terminal.
[0142] In a technical solution according to an embodiment of the present application, after capturing a game scene image by photographing the game scene during game execution, the game scene image can be edited. When editing the game scene image, even if the game has ended, the game scene at the time the game scene image was captured can be restored to adjust game elements within the game scene. The content included in the displayed game scene is adjusted so that the content included in the adjusted game scene changes, and the game scene image is updated based on the adjusted game scene, so that the content included in the updated game scene image is the same as the content included in the adjusted game scene. This image editing method edits the actual content included in the game scene image, realizing a technical solution of delayed editing of game scene images. This not only ensures that game scene images can be captured in a timely manner during game execution without the need to interrupt the game in progress, but also ensures the normal progression of the game and the display effect of the obtained game scene image, thereby improving the user experience.
[0143] Furthermore, by locally storing game scene images and game scene data captured during the game, the terminal can directly obtain the game scene data when editing the game scene images later without needing to interact with other devices, ensuring the real-time nature of the restored game scenes and improving the user experience.
[0144] In an embodiment of the present application, the terminal stores game scene images and game scene data captured during the game in association with each other, but the stored game scene data may occupy a large amount of storage resources of the terminal. In consideration of the impact on the normal progress of the game if a user pauses the game to edit the game scene images during the game, timing is started from the end of the game, and if the duration reaches a target time and no command for editing the game scene images is received during this time, it indicates that the user may not edit the game scene images, so the game scene data of the game scene images is deleted to prevent the occupation of the storage resources of the terminal and save the storage resources of the terminal.
[0145] Based on the above embodiments shown in Figures 2 to 5, the embodiment of the present application further provides a flowchart of a game scene image editing method. As shown in Figure 6, taking the game scene image as a game photo for example, the method includes the following steps:
[0146] Step 1: A game application is running on the terminal, and when the player sees a scene that he or she wants to photograph while playing the game on the terminal, he or she clicks the displayed capture button 601 to generate a game photo, and stores the game photo in the game album of the game application.
[0147] Step 2: The player continues the ongoing game through the terminal, and after the game ends, the player accesses the game album through the terminal, and the game photo list in the game album is displayed on the terminal, and the game photo list includes at least one game photo.
[0148] Step 3: When the player selects any game photo through the terminal, the terminal displays the game photo and multiple function options, and in response to a trigger operation on a content editing option 602 among the multiple function options, enters a photo editing mode and restores the game scene 603 of the selected game photo.
[0149] Step 4: In the photo editing mode, players can use their devices to adjust the freeze point of the photo, the movement, facial expression, clothing, and details of the virtual objects in the game scene.
[0150] As shown in FIG. 7 , the terminal enters a photo editing mode and displays a restored game scene, a scene progress bar 701, a focal length adjustment control 702, a position movement option 703, and multiple adjustment function options 704, such as a cancel option, a restore option, a save option, an exit option, a light source adjustment option, a position adjustment option, and a bone adjustment option. The restored game scene is adjusted using the displayed scene progress bar 701, focal length adjustment control 702, and multiple adjustment function options 704. Here, the scene progress bar 701 is used to adjust the freeze point of the game scene and display the game scene at the freeze point. The focal length adjustment control 702 is used to adjust the focal length of the game's virtual camera, and the position movement option 703 is used to move the virtual camera and adjust the camera position of the game's virtual camera. The Undo option is used to cancel the previous adjustment operation, the Restore option is used to restore the canceled adjustment operation, the Save option is used to trigger an image save command, i.e., to generate a new game photo based on the currently displayed game scene, the Exit option is used to exit the photo editing mode, the Light Source Adjustment option is used to adjust the light source of the game scene, the Position Adjustment option is used to adjust the position of the virtual object in the game scene, and the Bone Adjustment option is used to adjust the attitude of the virtual object in the game scene.
[0151] Step 5: After the editing is completed, the player clicks the save option displayed on the device, which will generate a new game photo based on the adjusted game scene.
[0152] In the present embodiment, if a player wants to take a photo during a game, they simply click the capture button to continue the game in progress, without having to pause the game to adjust the game scene. Since the game scene data of the game photo is saved when the game photo is saved, the player can edit the game photo at their leisure after the game ends. By entering the photo editing mode, the game scene of the game photo is restored, and the content of the restored game scene is edited to generate a new game photo, allowing the new game photo to be tailored to the player's preferences. This delayed editing of game photos does not affect the normal progress of the game and ensures the display effect of the game photo, thereby satisfying the player and improving the user experience.
[0153] Based on the above embodiments shown in FIG. 2 to FIG. 6, the embodiments of the present application will describe in detail the process of adjusting a game scene.
[0154] 1. You can adjust the virtual camera in the game to reconstruct the game photo.
[0155] When the terminal restores a game scene from a game photo, the player can adjust the shooting viewpoint, focal length, position, etc. of the virtual camera in the game using the terminal so that the content included in the adjusted game scene changes, thereby realizing the reconstruction of the game photo. As shown in FIG. 8, the front face of a virtual animal is displayed in the game scene, which corresponds to the virtual camera taking a photo from in front of the virtual animal. By moving the virtual camera to the right using the position movement option 801 and sliding the terminal screen to rotate the shooting viewpoint of the virtual camera so that the virtual camera takes a photo from the right side of the virtual animal, and adjusting the focal length of the virtual camera using the focal length adjustment control 802, the side of the virtual animal is displayed in the adjusted game scene. As shown in FIG. 9, while the photo reconstruction in the related art simply involves re-cropping the captured game photo, the technical solution in the embodiment of the present application changes the orientation of the virtual object in the game scene so that the content included in the game scene changes. Therefore, the technical solution in the embodiment of the present application provides more editing methods and can better meet user needs.
[0156] 2. You can select a new freeze point for the game photo within the period before or after the time the game photo was taken.
[0157] When a game photo is taken, game scene data for a period including the time of the photo is saved. A scene progress bar is displayed in a game scene restored based on the game scene data, and the time points included in the scene progress bar are the same as the time points within the period. As shown in FIG. 10 , for example, if the scene progress bar is a timeline 1001, a virtual object in the game scene shows continuous jumping motions at multiple time points corresponding to the timeline 1001. A player can select a freeze time point on the timeline by dragging a time cursor 1002 via the terminal, and the time point corresponding to the stopping position of the time cursor 1002 is the selected freeze time point. The terminal displays the game scene at the selected freeze time point. That is, the player selects the freeze time point by dragging the time cursor 1002, and the player can be satisfied with the movement of the virtual object in the displayed game scene. This image editing method can reduce the probability of missing the best shot because the capture button is not pressed in time or the capture button is not pressed at the right time. Even if the best shot is missed, the game photo containing the best shot can be obtained by adjusting the freeze point using the delayed game photo editing technique, thereby improving the user experience.
[0158] 3. You can readjust the position of virtual objects in the game scene.
[0159] As shown in FIG. 11, when a player clicks on a position adjustment option 1101 and then clicks on any virtual object 1102 in the game scene, a position adjustment coordinate system 1103 is displayed, and the player can adjust the position of the virtual object 1102 in the game scene by moving, rotating, etc. the virtual object 1102. Alternatively, the virtual object 1102 can be deleted so that the virtual object 1102 is no longer displayed in the game scene and the previous content that was obscured to display the virtual object 1102 is displayed, thereby enriching the content included in the game scene and simulating the effect of taking a photo in a real scene.
[0160] 4. The posture of virtual objects in the game scene can be adjusted.
[0161] In the embodiment of the present application, the virtual objects in the game scene are movable virtual objects. When the restored game scene is displayed on the terminal, as shown in FIG. 12 , the player can use the terminal to adjust the bone state of the virtual objects in the game scene and adjust the posture of the virtual objects, so that the virtual objects in the game scene become more vivid and the image quality becomes clearer, and the display effect of the new game photos generated later is improved.
[0162] It should be noted that the above-mentioned adjustment methods are merely described as examples in the embodiments of the present application, but other adjustments can also be made to the restored game scene in other embodiments, such as adjusting the light source of the game scene, such as replacing a virtual skybox in the game scene, adjusting the direction of light in the game scene, adjusting the facial expression of a virtual object, or adjusting the clothing combination of a virtual object.
[0163] 2 to 12, the present embodiment further provides a flowchart of a game scene image editing method, which includes a shooting stage and an editing stage.
[0164] As shown in FIG. 13, the photographing stage includes the following steps 1 to 4.
[0165] Step 1: During the game, when the terminal detects that the player has pressed the capture button, it takes a picture of the currently displayed game scene, obtains a game photo, and transmits the time when the game photo was taken to the server.
[0166] Here, when a shooting button is displayed on the terminal during the game and it is detected that the player has pressed the shooting button, this means that a trigger operation on the shooting button has been detected, which is equivalent to receiving a shooting command.
[0167] Step 2: The server determines a period including the shooting time based on the shooting time, determines a camera position within the period of the object identifier logged in to the terminal, determines a virtual object within the shooting range of the virtual camera at the camera position, composes the object data within the period of the virtual object as game scene data, and defines the game scene data as information sequence A.
[0168] In an embodiment of the present application, after receiving the shooting time transmitted from the terminal, the server determines a time period including the shooting time period, obtains the position of the virtual camera within the time period, determines virtual objects around the virtual camera, obtains object data for the virtual objects, and configures this object data as game scene data. Because the in-game map has a grid coordinate system, the position of the virtual camera can be expressed by coordinate values, and virtual objects around the virtual camera can be determined based on the virtual camera coordinate values and the virtual object coordinate values. The virtual camera coordinates within the time period and the object data of the virtual objects around the virtual camera are configured as information sequence A, that is, information sequence A includes multiple time periods within the time period, the virtual camera coordinates at each time point, and object data of the virtual objects around the virtual camera.
[0169] Step 3: The server generates an identification code, stores the identification code in association with the information string A, and transmits the identification code to the terminal.
[0170] Step 4: The terminal stores the identification code in association with the game photo.
[0171] Based on the embodiment shown in FIG. 13 above, let's take the example of a 3D game. The game scene data is 3D game scene data. During the capture stage, as shown in FIG. 14, different information is stored in the terminal and the server. The terminal stores game photos in association with an identification code, while the server stores the identification code in association with 3D game scene data. During the capture stage, when a player clicks the capture button on the terminal, the terminal generates a game photo and stores the game photo in association with the identification code generated by the server. The server then acquires an information string A for the game photo and stores the information string A in association with the identification code. Because the data volume of the information string A, which is the game scene data of the game photo, is large, the server stores the information string A in association with the identification code, thereby reducing the storage load on the terminal. By saving the game photos according to the steps included in the capture stage, the player can restore the game scene and re-edit the game photo at any time.
[0172] As shown in FIG. 15, the editing stage includes the following steps 1 to 5.
[0173] Step 1: After the game ends, when the terminal detects an editing operation by the player on any game photo, it reads the identification code stored in association with the game photo, and obtains information string A stored in association with the identification code from the server based on the identification code.
[0174] Here, when any viewed game photo is displayed on the terminal, a content edit button is also displayed, and detecting the player's edit operation on any game photo is equivalent to detecting the player's operation of pressing the content edit button, and is equivalent to receiving an edit command for the game photo. In an embodiment of the present application, when the player selects to edit the game photo, the terminal interacts with the server and obtains from the server an information string A stored in association with the identification code.
[0175] Step 2: The terminal loads the information sequence A to restore the game scene in the game picture.
[0176] In the embodiment of the present application, the terminal, based on the data contained in the received information sequence A, re-invokes the included virtual object resources at the map position, performs calculations and rendering, and restores a game scene that can support operations.
[0177] Step 3: The player adjusts the game elements in the restored game scene using the terminal.
[0178] In the embodiment of the present application, after the game scene is restored, the player can adjust the virtual objects in the game scene. The adjustment process is the same as the adjustment process shown in Figures 8 to 12 above, so the description is omitted here.
[0179] Step 4: After the player finishes adjusting the game scene, he / she clicks the save button displayed on the terminal. The terminal generates a new game photo based on the adjusted game scene, replaces the original game photo with the new game photo, and stores the new game photo in association with the identification code. Furthermore, the terminal obtains adjusted game scene data based on the adjusted game scene, sets the adjusted game scene data as information sequence B, and sends information sequence B to the server.
[0180] Step 5: The server replaces information string A with information string B, and stores information string B in association with the identification code.
[0181] In an embodiment of the present application, after information sequence B is uploaded to the server, the server can either overwrite and rewrite information sequence A with information sequence B, or allow information sequence B to coexist with information sequence A as the latest information sequence, add a history identifier to information sequence A, and store the latest information sequence B in association with an identification code.
[0182] Based on the embodiment shown in Figure 15 above, take the game as a 3D game for example, the game scene data is 3D game scene data, and in the editing stage, the interaction process between the terminal and the server is as shown in Figure 16. After the terminal obtains the 3D game scene data of the game photo by interacting with the server, it calls the local art resource to perform the rendering calculation of the 3D scene to restore the game scene of the game photo, and when adjusting and saving the game scene, it generates a new game photo and interacts with the server, and the server updates the stored 3D game scene data.
[0183] Based on the above embodiments shown in Figures 2 to 16, comparing the technical solutions of the embodiments of the present application with the image editing technical solutions of the related art, as shown in Figures 17 and 18, after generating game scene images, the image editing technical solutions of the related art do not support adjusting the content of the game photos, while the technical solutions of the embodiments of the present application do support adjusting the content of the game photos. Furthermore, the image editing technical solutions of the related art adjust the screen of the game scene while the game is in progress when capturing game scene images, which affects the normal progress of the game. The technical solutions of the embodiments of the present application only require performing a capture operation while the game is in progress, and after the game ends, the game scene corresponding to the game photo is restored and the screen of the game scene is adjusted to adjust the content of the game photo.
[0184] Based on the embodiments shown in Figures 2 to 18 above, an embodiment of the present application provides a technical solution that allows players to edit saved game photos even after they have been taken and saved. Editing game photos does not involve adjusting the filter parameters of the generated game photos as in the past, but rather adjusting the essence of the content of the generated game photos, i.e., adjusting the content of the game scenes in the game photos, thereby achieving adjustment of the content contained in the game photos. This breaks the conventional understanding of game photo editing methods and provides more editing possibilities. In this embodiment, players are supported to press the capture button during real-time gameplay to save game photos to the game's storage path and edit the saved game photos after the game ends. That is, players can press the capture button to record the current game scene, and when they have enough time, they can adjust the accurate composition and content of the game scenes in the captured game photos. Therefore, game photos not only record the game scene displayed when the capture button is pressed, but also function as a form of derivative work. This game scene image editing method can prevent the player experience from being reduced due to inaccurate game photos being taken. Furthermore, during the game, the player will not be distracted by taking game photos or adjusting game scenes, but will be able to concentrate on experiencing the battle / play / game process itself. In other words, the player can concentrate on experiencing the game itself while playing the game, thereby reducing the time required for tedious photo settings, ensuring the game experience, and improving the player experience.
[0185] 19 is a schematic diagram of a game scene image editing device according to an embodiment of the present application. As shown in FIG. 19, this device: a restoration module 1901 for loading game scene data of a game scene image in response to an editing command for the game scene image to restore the game scene of the game scene image, the game scene image being obtained by photographing the game scene during the progress of the game; an adjustment module 1902 for adjusting the game elements in the game scene in response to an adjustment operation on the game elements in the game scene and displaying the adjusted game scene; and an update module 1903 for updating the game scene image based on the adjusted game scene in response to the image save command.
[0186] In a possible implementation, the adjustment module 1902: adjusting a focal length of the virtual camera in response to a focal length adjustment operation on the virtual camera of the game, and displaying a game scene captured by the virtual camera based on the adjusted focal length; adjusting the position of the virtual camera in response to a position adjustment operation on the virtual camera, and displaying a game scene captured by the virtual camera at the adjusted position; adjusting the shooting viewpoint of the virtual camera in response to a viewpoint adjustment operation on the virtual camera, and displaying a game scene photographed by the virtual camera based on the adjusted shooting viewpoint; adjusting a position of the first virtual object in response to a position adjustment operation on the first virtual object in the game scene, and displaying the adjusted game scene; adjusting the attitude of the second virtual object in response to an attitude adjustment operation on the second virtual object in the game scene, and displaying the game scene after the adjustment; When a scene progress bar of a game scene is displayed, a step of determining a freeze time point selected from the scene progress bar in response to a time selection operation on the scene progress bar and displaying the game scene at the freeze time point, the scene progress bar including the shooting time point of the game scene image, or a time point before or after the shooting time point, is used to execute at least one of the following steps.
[0187] In another possible implementation, the update module 1903 is used to capture the adjusted game scene, obtain a new game scene image, and replace the game scene image with the new game scene image in response to an image save command.
[0188] In another possible implementation, as shown in FIG. 20, the device comprises: an acquisition module 1904 for locally acquiring game scene data stored in association with the game scene image in response to an editing command for the game scene image; or In response to an editing command for the game scene image, a data acquisition request is sent to the server, the data acquisition request including an identification code of the game scene image, and the server is used to query game scene data stored in association with the identification code based on the data acquisition request and return the game scene data, and further includes an acquisition module 1904 for receiving the game scene data returned from the server.
[0189] In another possible implementation, as shown in FIG. 20, the device comprises: a photographing module 1905 for photographing the currently displayed game scene and acquiring a game scene image in response to a photographing command during the progress of the game; a sending module 1906 for sending the shooting time of the game scene image to the server, the sending module 1906 being used by the server to obtain the game scene data at the shooting time, generate an identification code, associate the game scene data with the identification code and store it, and return the identification code; The game device further includes a receiving module 1907 for receiving the identification code returned from the server and storing the game scene image in association with the identification code.
[0190] In another possible implementation, as shown in FIG. 20, the device comprises: a photographing module 1905 for photographing the currently displayed game scene and acquiring a game scene image in response to a photographing command during the progress of the game; The game system further includes a storage module 1908 for storing the game scene image in association with the game scene data.
[0191] In another possible implementation, as shown in FIG. 20, the device comprises: The system further includes a deletion module 1909 for deleting game scene data when the duration reaches a target time from the end of the game and no editing command for the game scene image is received.
[0192] In another possible implementation, as shown in FIG. 20, the device comprises: The server further includes a transmitting module 1906 for obtaining adjusted game scene data based on the adjusted game scene in response to the image saving command, and transmitting the adjusted game scene data to a server, the transmitting module 1906 being used to store the adjusted game scene data in association with the identification code.
[0193] It should be noted that the game scene image editing device according to the above embodiment is merely an example of the division of each of the above functional modules, and in actual applications, the above functions may be allocated to different functional modules as needed, i.e., all or part of the above-described functions may be realized by dividing the internal structure of a computer device into different functional modules. Furthermore, the game scene image editing device according to the above embodiment belongs to the same concept as the game scene image editing method embodiment, and the specific implementation details thereof may be found in the method embodiment, and therefore will not be described here.
[0194] 21 is a schematic diagram of a game scene image editing device according to an embodiment of the present application. As shown in FIG. 21, this device: a receiving module 2101 for receiving a data acquisition request sent from a terminal, the data acquisition request including an identification code of a game scene image, the data acquisition request being sent by the terminal in response to an editing command for the game scene image; a transmission module 2102 for querying the game scene data stored in association with the identification code based on the data acquisition request, and transmitting the game scene data to the terminal; The terminal is used to receive game scene data, load the game scene data, restore the game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on the game elements in the game scene, display the adjusted game scene, and update the game scene image based on the adjusted game scene in response to an image save command.
[0195] In another possible implementation, as shown in FIG. 22, the device comprises: a receiving module 2101 for receiving a capture time of a game scene image transmitted from a terminal, the capture time being a time when the terminal captures the game scene image during the progress of a game; an acquisition module 2103 for acquiring game scene data at the time of shooting and generating an identification code; The game device further comprises a transmission module 2102 for storing the game scene data in association with the identification code and transmitting the identification code to the terminal so that the terminal stores the game scene image in association with the identification code.
[0196] In another possible implementation form, the acquisition module 2103 is used to determine a period including the shooting time point based on the shooting time point, and acquire game scene data within the period.
[0197] In another possible implementation, the receiving module 2101 is used to receive the shooting time and the object identifier logged in the terminal sent from the terminal; The acquisition module 2103 determines a camera position within the period of the object identifier, where the camera position is the position of the virtual camera within the game scene displayed on the terminal within the period while the game is in progress, and determines a virtual object within the shooting range of the virtual camera at the camera position, which is used to configure the object data within the period of the virtual object as game scene data.
[0198] In another possible implementation, as shown in FIG. 22, the device comprises: a receiving module 2101 for receiving the adjusted game scene data transmitted from the terminal; The game device further includes a storage module 2104 for storing the adjusted game scene data in association with the identification code.
[0199] It should be noted that the game scene image editing device according to the above embodiment is merely an example of the division of each of the above functional modules, and in actual applications, the above functions may be allocated to different functional modules as needed, i.e., all or part of the above-described functions may be realized by dividing the internal structure of a computer device into different functional modules. Furthermore, the game scene image editing device according to the above embodiment belongs to the same concept as the game scene image editing method embodiment, and the specific implementation details thereof may be found in the method embodiment, and therefore will not be described here.
[0200] An embodiment of the present application further provides a computer device, which includes a processor and a memory, and at least one computer program stored in the memory, which is loaded and executed by the processor to implement the operations performed by the game scene image editing method of the embodiment.
[0201] Optionally, the computer device is provided as a terminal. Figure 23 shows a structural block diagram of a terminal 2300 according to an exemplary embodiment of the present application. The terminal 2300 comprises a processor 2301 and a memory 2302.
[0202] The processor 2301 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 2301 may be implemented in the form of at least one hardware component selected from the group consisting of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 2301 may include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state and is also called a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2301 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display panel. In some embodiments, the processor 2301 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.
[0203] The memory 2302 may include one or more computer-readable storage media, which may be non-transitory. The memory 2302 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices, flash memory storage devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 2302 are used to store at least one computer program for execution by the processor 2301 to implement a game scene image editing method according to a method embodiment of the present application.
[0204] In some embodiments, terminal 2300 may optionally further include a peripheral interface 2303 and at least one peripheral. The processor 2301, memory 2302, and peripheral interface 2303 may be connected via a bus or signal lines. Each peripheral may be connected to peripheral interface 2303 via a bus, signal line, or circuit board. Specifically, the peripheral includes at least one of a radio frequency circuit 2304, a display screen 2305, or a camera assembly 2306.
[0205] The peripheral interface 2303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2301 and the memory 2302. In some embodiments, the processor 2301, the memory 2302, and the peripheral interface 2303 are integrated on the same chip or circuit board. In some other embodiments, any one or two of the processor 2301, the memory 2302, and the peripheral interface 2303 may be implemented on an independent chip or circuit board, although this embodiment is not limited thereto.
[0206] The radio frequency circuit 2304 is used to transmit and receive RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 2304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 2304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
[0207] The display screen 2305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. If the display screen 2305 is a touchscreen, it is further capable of collecting touch signals on or above the surface of the display screen 2305. The touch signals may be input as control signals to the processor 2301 for processing. In this case, the display screen 2305 is also used to provide virtual buttons and / or a virtual keyboard, also called soft buttons and / or a soft keyboard.
[0208] The camera assembly 2306 is used to collect images or videos. Optionally, the camera assembly 2306 includes a front camera and a rear camera. The front camera is located on the front panel of the terminal, and the rear camera is located on the back of the terminal. In some embodiments, there are at least two rear cameras, each of which is one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, and the main camera and the depth-of-field camera are combined to realize a background blur function, a panoramic shooting and a VR (Virtual Reality) shooting function, or other fusion shooting functions.
[0209] Those skilled in the art will appreciate that the structure shown in FIG. 23 is not intended to limit terminal 2300, and that terminal 2300 may include more or fewer components than those shown, may combine some components, or may employ a different component arrangement.
[0210] Optionally, the computer device is provided as a server. FIG. 24 is a schematic diagram of a server according to an embodiment of the present application. The server 2400 may vary greatly in configuration or performance and may include one or more processors (Central Processing Units, CPUs) 2401 and one or more memories 2402. At least one computer program is stored in the memory 2402, and the at least one computer program is loaded and executed by the processor 2401 to implement the methods according to the above-described method embodiments. Of course, the server may also include components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The server may also include other components for implementing the functions of the device, but these components will not be described here.
[0211] An embodiment of the present application further provides a computer-readable storage medium having stored therein at least one computer program, which is loaded and executed by a processor to implement the operations performed by the game scene image editing method of the embodiment.
[0212] An embodiment of the present application further provides a computer program product including a computer program, which, when executed by a processor, implements the operations performed by the game scene image editing method of the above embodiment.
[0213] Those skilled in the art will understand that all or part of the steps in the above embodiments can be achieved by hardware or by instructing relevant hardware through a program. The program may be stored in a computer-readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic disk, an optical disk, etc.
[0214] The above are merely optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A game scene image editing method executed by a terminal, comprising: a step of loading game scene data of the game scene image in response to an editing command for the game scene image, and restoring the game scene of the game scene image, the game scene image being obtained by photographing the game scene while the game is in progress; adjusting the game element in the game scene in response to an adjustment operation on the game element in the game scene, and displaying the adjusted game scene; updating the game scene image based on the adjusted game scene in response to an image save command; A method for editing game scene images, including:
2. The step of adjusting the game element in the game scene in response to an adjustment operation on the game element in the game scene and displaying the adjusted game scene includes: adjusting a focal length of the virtual camera in response to a focal length adjustment operation on the virtual camera of the game, and displaying a game scene photographed by the virtual camera based on the adjusted focal length; adjusting a position of the virtual camera in response to a position adjustment operation on the virtual camera, and displaying a game scene photographed by the virtual camera at the adjusted position; adjusting a shooting viewpoint of the virtual camera in response to a viewpoint adjustment operation on the virtual camera, and displaying a game scene photographed by the virtual camera based on the adjusted shooting viewpoint; adjusting a position of a first virtual object in response to a position adjustment operation on the first virtual object in the game scene, and displaying the adjusted game scene; adjusting the attitude of the second virtual object in response to an attitude adjustment operation on the second virtual object in the game scene, and displaying the game scene after the adjustment; a step of determining a freeze time point selected from the scene progress bar in response to a time selection operation on the scene progress bar when the scene progress bar of the game scene is displayed, and displaying the game scene at the freeze time point, wherein the scene progress bar includes a shooting time point of the game scene image, and a time point before or after the shooting time point; The method of claim 1 , comprising at least one of:
3. updating the game scene image based on the adjusted game scene in response to an image saving command, capturing an image of the adjusted game scene in response to the image saving command, and acquiring a new game scene image; and replacing the game scene image with the new game scene image.
4. Before loading the game scene data of the game scene image, the method includes: a step of locally acquiring the game scene data stored in association with the game scene image in response to an editing command for the game scene image; or a step of sending a data acquisition request to a server in response to an editing command for the game scene image, the data acquisition request including an identification code of the game scene image, the server inquiring about the game scene data stored in association with the identification code based on the data acquisition request, and returning the game scene data; and a step of receiving the game scene data returned from the server. The method of any one of claims 1 to 3, further comprising:
5. In response to an edit command for the game scene image, before locally acquiring the game scene data stored in association with the game scene image, the method includes: a step of capturing an image of the currently displayed game scene in response to a capture command during the progress of the game, and acquiring the game scene image; storing the game scene image in association with game scene data of the game scene image; The method of claim 4 further comprising:
6. After storing the game scene image in association with the game scene data, the method includes: a step of deleting the game scene data when the duration from the end of the game reaches a target time and an editing command for the game scene image has not been received; The method of claim 5 further comprising:
7. In response to an editing command for the game scene image, before transmitting a data acquisition request to a server, the method further comprises: a step of capturing an image of the currently displayed game scene in response to a capture command during the progress of the game, and acquiring the game scene image; a step of transmitting the shooting time of the game scene image to the server, wherein the server acquires game scene data at the shooting time, generates an identification code, associates the game scene data with the identification code, stores the game scene data, and returns the identification code; receiving the identification code returned from the server, and storing the game scene image in association with the identification code; The method of claim 4 further comprising:
8. After adjusting the game element in the game scene in response to an adjustment operation on the game element in the game scene and displaying the adjusted game scene, the method further comprises: a step of acquiring adjusted game scene data based on the adjusted game scene in response to the image saving command, and transmitting the adjusted game scene data to the server, wherein the server is used to store the adjusted game scene data in association with the identification code; The method of claim 4 further comprising:
9. A game scene image editing method executed by a server, comprising: receiving a data acquisition request transmitted from a terminal, the data acquisition request including an identification code of a game scene image, the data acquisition request being transmitted by the terminal in response to an editing command for the game scene image; a step of searching for game scene data stored in association with the identification code based on the data acquisition request, and transmitting the game scene data to the terminal; Including, the terminal is used to receive the game scene data, load the game scene data, restore a game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on a game element in the game scene, display the game scene after the adjustment, and update the game scene image based on the game scene after the adjustment in response to an image save command; How to edit game scene images.
10. Before receiving a data acquisition request sent from the terminal, the method includes: receiving a capture time of the game scene image transmitted from the terminal, the capture time being a time when the terminal captured the game scene image during the progress of the game; acquiring game scene data at the time of shooting and generating the identification code; transmitting the identification code to the terminal so that the game scene data is stored in association with the identification code and the terminal stores the game scene image in association with the identification code; 10. The method of claim 9, further comprising:
11. The step of acquiring game scene data at the time of shooting includes: determining a period including the shooting time based on the shooting time; and acquiring game scene data within said period of time.
12. The step of receiving the shooting time of the game scene image transmitted from the terminal includes: receiving the photographing time and the object identifier logged in to the terminal transmitted from the terminal; The step of acquiring game scene data within the period includes: determining a camera position within the time period of the object identifier, the camera position being a position of a virtual camera within a game scene displayed on the terminal during the progress of the game; determining a virtual object within a shooting range of the virtual camera at the camera position; and configuring object data of the virtual object within the period as the game scene data.
13. After querying game scene data stored in association with the identification code based on the data acquisition request and transmitting the game scene data to the terminal, the method includes: receiving adjusted game scene data transmitted from the terminal; storing the adjusted game scene data in association with the identification code; 10. The method of claim 9, further comprising:
14. A game scene image editing device disposed in a terminal, comprising: a restoration module for loading game scene data of a game scene image in response to an editing command for the game scene image to restore the game scene of the game scene image, the game scene image being obtained by photographing the game scene while the game is in progress; an adjustment module for adjusting the game elements in the game scene in response to an adjustment operation on the game elements in the game scene and displaying the adjusted game scene; an update module for updating the game scene image based on the adjusted game scene in response to an image save command; A game scene image editing device comprising:
15. A game scene image editing device disposed in a server, a receiving module for receiving a data acquisition request transmitted from a terminal, the data acquisition request including an identification code of a game scene image, the data acquisition request being transmitted by the terminal in response to an editing command for the game scene image; a transmission module for querying the game scene data stored in association with the identification code based on the data acquisition request, and transmitting the game scene data to the terminal; Equipped with the terminal is used to receive the game scene data, load the game scene data, restore a game scene in the game scene image, adjust the game elements in the game scene in response to an adjustment operation on a game element in the game scene, display the game scene after the adjustment, and update the game scene image based on the game scene after the adjustment in response to an image save command; Game scene image editing device.
16. A computer device comprising a processor and a memory, wherein at least one computer program is stored in the memory, and wherein the at least one computer program is loaded and executed by the processor to realize operations performed by the game scene image editing method of any one of claims 1 to 8, or operations performed by the game scene image editing method of any one of claims 9 to 13.
17. 14. A computer-readable storage medium having at least one computer program stored therein, the at least one computer program being loaded and executed by a processor to realize the operations performed by the game scene image editing method of any one of claims 1 to 8, or the operations performed by the game scene image editing method of any one of claims 9 to 13.
18. A computer program product including a computer program, the computer program being characterized in that, when executed by a processor, the computer program realizes the operations performed by the game scene image editing method of any one of claims 1 to 8, or the operations performed by the game scene image editing method of any one of claims 9 to 13.
Citation Information
Patent Citations
Game play record moving image creation system
CN114618168A
Save controlling program, game apparatus and save controlling method
JP2012065901A
Image processing device, image processing program, image processing method and image processing system
JP2012141753A
Play recording video creation system
JP2022093223A
Video game video editor
US8591332B1