Game photographing method, device and equipment and computer readable storage medium
By summoning and moving associated virtual objects to specific locations in the game, the problem of low efficiency in game photography in the existing technology is solved, and a more efficient photography process is achieved.
Patent Information
- Application Number
- CN202410275730.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-11
- Publication Date
- 2025-09-12
AI Technical Summary
In existing game photo taking methods, players need to spend a lot of time looking for and moving virtual objects to take photos, resulting in low photo taking efficiency.
By displaying information of a first virtual object and its associated second virtual object in a virtual environment, the player can summon and move the second virtual object to a specific position on the photo page, and directly generate a photo containing the first and second virtual objects.
It reduces the time players spend searching for and moving virtual objects in the game, and improves the efficiency of taking photos and the speed of acquiring photos.
Smart Images

Figure CN120617951A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a game photography method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the continuous development of computer technology, gaming technology is also developing rapidly, and more and more game applications have emerged. Many game applications have added photo modes, allowing players to activate the built-in camera in the game application anytime and anywhere to take real-time photos of interesting scenes in the game, leaving behind beautiful memories.
[0003] In related technologies, players can control virtual objects to move near other virtual objects, and by triggering a photo-taking function, obtain photos of the virtual object controlled by the player and the other virtual objects.
[0004] However, in the above-mentioned game photography method, since other virtual objects are distributed in various corners of the game map, players need to spend a lot of time looking for other virtual objects and controlling virtual objects to move near other virtual objects, which makes taking photos take a long time and the efficiency of taking photos is low. Summary of the Invention
[0005] The embodiments of the present application provide a method, apparatus, device, and computer-readable storage medium for taking photos in a game, which can be used to solve the problem of long time and low efficiency of taking photos in related technologies. The technical solution is as follows.
[0006] In one aspect, an embodiment of the present application provides a method for taking photos during a game, the method comprising:
[0007] displaying a first game screen, wherein the first game screen displays a first virtual object in a virtual environment;
[0008] When a photo-taking function is triggered, displaying object information of at least one second virtual object, where the second virtual object is associated with the first virtual object;
[0009] When object information of a third virtual object among the at least one second virtual object is triggered, summoning the third virtual object, and after being summoned, the third virtual object moves to a second position on the photo taking page, where the second position is within a target area determined according to the first position, and the first position is the position of the first virtual object on the photo taking page;
[0010] A first photo is displayed, where the first photo includes the first virtual object and the third virtual object.
[0011] On the other hand, an embodiment of the present application provides a game camera device, the device comprising:
[0012] A display module, configured to display a game screen, wherein the game screen displays a first virtual object located in a virtual environment;
[0013] The display module is further configured to display object information of at least one second virtual object when the camera function is triggered, where the second virtual object is associated with the first virtual object;
[0014] a summoning module, configured to summon the third virtual object in the at least one second virtual object when object information of the third virtual object is triggered, wherein the third virtual object moves to a second position on the photo taking page after being summoned, the second position being within a target area determined according to the first position, and the first position being the position of the first virtual object on the photo taking page;
[0015] The display module is further configured to display a first photo, wherein the first photo includes the first virtual object and the third virtual object.
[0016] In a possible implementation, the apparatus further includes:
[0017] an adjustment module, configured to adjust the first photo to obtain an adjusted first photo;
[0018] The display module is further configured to display the adjusted first photo.
[0019] In a possible implementation, the apparatus further includes:
[0020] A sending module is used to present the first photo to the third virtual object.
[0021] In one possible implementation, the display module is configured to display the photo page when the photo function is triggered, with the first virtual object displayed at a first position on the photo page; and display object information of the at least one second virtual object on the photo page when the summon function is triggered;
[0022] The device further comprises:
[0023] an acquisition module, configured to intercept the photo taking page to obtain the first photo;
[0024] The display module is used to display a photo page, where the first photo is displayed.
[0025] In a possible implementation, the apparatus further includes:
[0026] A determination module is used to determine, when a summoning function is triggered, a candidate virtual object, wherein the virtual environment in which the candidate virtual object is located is related to the virtual environment in which the first virtual object is located; obtain the number of times the candidate virtual object has been summoned in a target time period; and select, among the candidate virtual objects, a candidate virtual object whose number of times of being summoned in the target time period is less than a number threshold as the second virtual object.
[0027] In one possible implementation, the summoning module is configured to, when the object information of a third virtual object among the at least one second virtual object is triggered, determine a target movement path starting from the position of the third virtual object and ending at the second position; and send a movement instruction to a device corresponding to the third virtual object, the movement instruction including the target movement path and the object identifier of the third virtual object, and the movement instruction being used to control the third virtual object to move to the second position along the target movement path.
[0028] In one possible implementation, the summoning module is used to determine multiple candidate movement paths with the position of the third virtual object as the starting point and the second position as the end point; determine the length of each candidate movement path; and take the candidate movement path among the multiple candidate movement paths whose length meets the length requirement as the target movement path.
[0029] In a possible implementation, the apparatus further includes:
[0030] A determination module is used to determine the target area based on the first position; determine the occupancy status of each position included in the target area; use the positions of each position included in the target area whose occupancy status meets the status requirements as candidate positions; determine the distance between each candidate position and the first position based on the position information of each candidate position and the position information of the first position; and use the candidate positions of the candidate positions whose distance to the first position meets the distance requirements as the second position.
[0031] In a possible implementation, the display module is further configured to display a target image and prompt information in the photo taking page, wherein the target image is configured to indicate the third virtual object, and the prompt information is configured to indicate that the third virtual object is moving toward the second position.
[0032] In a possible implementation, the apparatus further includes:
[0033] a determination module, configured to determine first photographing information of a target virtual object, where the target virtual object is at least one of the first virtual object and the third virtual object, and the first photographing information of the target virtual object includes at least one of a first photographing expression, a first photographing action, or a first photographing orientation of the target virtual object;
[0034] an adjustment module, configured to adjust the target virtual object according to the first photographing information of the target virtual object to obtain an adjusted target virtual object, wherein the photographing information of the adjusted target virtual object is the first photographing information;
[0035] The display module is further configured to display the adjusted target virtual object in the photo taking page, so that the acquired first photo includes the adjusted target virtual object.
[0036] In a possible implementation, the first photographing information of the target virtual object includes a first photographing action of the target virtual object;
[0037] The determination module is used to display the first photographing control of the target virtual object in the photographing page; display a photographing action determination control in response to a triggering operation on the first photographing control of the target virtual object; display action information of at least one candidate photographing action in response to a triggering operation on the photographing action determination control; and when the action information of any candidate photographing action among the at least one candidate photographing action is triggered, use the any candidate photographing action as the first photographing action of the target virtual object.
[0038] In one possible implementation, the determining module is further configured to determine second photographing information of the target virtual object, where the second photographing information of the target virtual object includes at least one of a second photographing expression, a second photographing action, or a second photographing orientation of the target virtual object;
[0039] The adjustment module is further configured to adjust the target virtual object according to the second photographing information of the target virtual object to obtain a re-adjusted target virtual object, wherein the photographing information of the re-adjusted target virtual object is the second photographing information;
[0040] The display module is further configured to display the re-adjusted target virtual object on the photo taking page;
[0041] The acquisition module is further configured to intercept the photo taking page to obtain a second photo, wherein the second photo includes the target virtual object after being adjusted again.
[0042] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to enable the computer device to implement any of the above-mentioned game photo-taking methods.
[0043] On the other hand, a computer-readable storage medium is also provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned game photo-taking methods.
[0044] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement any of the above-mentioned game photography methods.
[0045] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:
[0046] The technical solution provided by the embodiments of the present application allows for summoning a third virtual object selected from a second virtual object associated with a first virtual object during a game photo shoot, thereby displaying a first photo including the first and third virtual objects. This method eliminates the need for the first virtual object to run back and forth across the game map searching for the third virtual object with which to take a photo. By directly summoning the third virtual object, the time required to capture the first photo can be reduced, improving both the efficiency of taking and capturing photos. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0048] Figure 1 This is a schematic diagram of an implementation environment of a game photo taking method provided in an embodiment of the present application;
[0049] Figure 2 This is a flow chart of a game photo taking method provided by an embodiment of the present application;
[0050] Figure 3 This is a schematic diagram of a game screen display provided by an embodiment of the present application;
[0051] Figure 4 This is a schematic diagram of a photo taking page provided in an embodiment of the present application;
[0052] Figure 5 This is a schematic diagram of another display of a photo taking page provided in an embodiment of the present application;
[0053] Figure 6 This is a schematic diagram of another display of a photo taking page provided in an embodiment of the present application;
[0054] Figure 7 This is a schematic diagram of another display of a photo taking page provided in an embodiment of the present application;
[0055] Figure 8 is a schematic diagram of a first photo provided in an embodiment of the present application;
[0056] Figure 9 2 is a schematic diagram of a process for determining a first photographing action of a target virtual object provided by an embodiment of the present application;
[0057] Figure 10 This is a schematic diagram of a photo page display provided by an embodiment of the present application;
[0058] Figure 11 This is a flow chart of a game photo taking method provided by an embodiment of the present application;
[0059] Figure 12 This is a structural diagram of a game camera device provided in an embodiment of the present application;
[0060] Figure 13 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0061] Figure 14 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0063] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0064] First, the abbreviations and key terms involved in the embodiments of the present application are defined.
[0065] Virtual environment: refers to the environment provided (or displayed) when an application is running on a terminal device. This virtual environment is the environment created for virtual objects to carry out activities. A virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment. A virtual environment can be a simulation of the real world, a semi-simulation of the real world, or a purely fictional environment. For example, the virtual environment involved in the embodiments of this application is a three-dimensional virtual environment.
[0066] Virtual objects refer to movable objects within a virtual environment. These movable objects can be virtual characters, virtual animals, or animated characters. Players can manipulate virtual objects through external components or by tapping the touchscreen display. Each virtual object has its own unique shape and volume within the virtual environment and occupies a portion of the virtual space. For example, in a three-dimensional virtual environment, virtual objects are three-dimensional models created using animation skeletal technology.
[0067] Figure 1 This is a schematic diagram of an implementation environment of a game photo taking method provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a terminal device 101 and a server 102.
[0068] Among them, a game client capable of providing a virtual environment is installed and run in the terminal device 101, and the terminal device 101 is used to execute the game photography method provided in the embodiment of the present application.
[0069] Exemplarily, a game client capable of providing a virtual environment may be a third-person shooter (TPS) game, a first-person shooter (FPS) game, a multiplayer online tactical competitive (MOBA) game, a multiplayer shooting survival game, a massively multiplayer online role-playing game (MMO), an action role-playing game (ARPG), a virtual reality (VR) client, an augmented reality (AR) client, a three-dimensional map program, a map simulation program, a social client, an interactive entertainment client, and the like.
[0070] Server 102 provides backend services for a game client installed on terminal device 101 that provides a virtual environment. In one possible implementation, server 102 performs primary computing tasks, while terminal device 101 performs secondary computing tasks. Alternatively, server 102 performs secondary computing tasks, while terminal device 101 performs primary computing tasks. Alternatively, terminal device 101 and server 102 utilize a distributed computing architecture for collaborative computing.
[0071] Optionally, the terminal device 101 may be any electronic device that can interact with a user through one or more methods such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, the terminal device 101 may be a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart car computer, a smart TV, etc.
[0072] Terminal device 101 may generally refer to one of multiple terminal devices. This embodiment uses terminal device 101 as an example. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or lesser. For example, there may be only one terminal device 101, or there may be dozens, hundreds, or even more terminal devices 101. This embodiment of the application does not limit the number or type of terminal devices 101.
[0073] The server 102 is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server 102 is directly or indirectly connected to the terminal device 101 via a wired or wireless communication method. The server 102 has a data receiving function, a data processing function, and a data sending function. Of course, the server 102 may also have other functions, which are not limited in the embodiments of the present application.
[0074] Those skilled in the art should understand that the above-mentioned terminal device 101 and server 102 are merely examples, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are incorporated herein by reference.
[0075] The embodiment of the present application provides a method for taking photos in a game, which can be applied to the above Figure 1 The implementation environment shown is Figure 2As an example, the flowchart of a method for taking a photo in a game provided by an embodiment of the present application is shown. The method can be performed by Figure 1 The terminal device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following contents.
[0076] In step 201 , a game screen is displayed, wherein a first virtual object located in a virtual environment is displayed in the game screen.
[0077] In an exemplary embodiment of the present application, a target game capable of providing a virtual environment is installed and running on a terminal device. The target game can be any type of game, and this embodiment of the present application does not limit this. The target game can be a game that requires independent download and installation, or it can be an embedded program that relies on a host program to run. Embedded programs include, but are not limited to, applets. This embodiment of the present application does not limit the type of target game. The target game is an embedded program, which is an application developed using a programming language and relies on a host program to run. Embedded programs do not require downloading and installation; they can simply be dynamically loaded into the host program to run. Users can find the embedded program they need through search, scanning, etc., click to run it, and after closing it, it will not occupy the terminal device's memory, which is very convenient. The target game can be a first-person perspective game or a third-person perspective game, and this embodiment of the present application does not limit this. The target game can be a frame-synchronized game client. In other words, the game photo-taking method provided in this embodiment of the present application can be applied to a frame-synchronized game client.
[0078] In one possible implementation, relevant information of the target game is displayed in the display interface of the terminal device. The relevant information of the target game may be a game icon of the target game, a game name of the target game, or other information of the target game. The embodiment of the present application does not limit the relevant information of the target game.
[0079] When the game object wants to run the target game, the game object selects the relevant information of the target game. The terminal device receives the selection operation for the relevant information of the target game, runs the target game, and displays the homepage of the target game. The homepage of the target game displays a start control for starting a game. In response to the triggering operation of the start control, the game screen is displayed, and the game screen displays the first virtual object in the virtual environment.
[0080] Optionally, the game object is a terminal device usage object, and the relevant information of the game object selecting the target game can be the relevant information of the game object clicking the target game. The game object can also select the relevant information of the target game in other ways. The embodiment of the application does not limit the method of selecting the relevant information of the target game. The triggering operation for the start control can be a click operation on the start control, or it can be other operations on the start control. The embodiment of the application does not limit this.
[0081] like Figure 3 This is a schematic diagram of a game screen display provided by an embodiment of the present application. Figure 3 The game screen shown shows a first virtual object 301 located in a virtual environment.
[0082] It should be noted that other information may also be displayed on the game screen, and this embodiment of the present application does not limit this.
[0083] In step 202 , when a photographing function is triggered, object information of at least one second virtual object is displayed, where the second virtual object is associated with the first virtual object.
[0084] In a possible implementation, a photo control is also displayed on the game screen, and the photo control is used to trigger the photo function. Figure 3 302 is a photo control. In response to a trigger operation on the photo control, the photo function is triggered. The trigger operation on the photo control refers to a click operation on the photo control, or the photo control is triggered by other means, which is not limited in this embodiment of the application.
[0085] When the camera function is triggered, the process of displaying object information of at least one second virtual object includes: when the camera function is triggered, displaying a camera page with the first virtual object displayed at a first position on the camera page; and when the summon function is triggered, displaying object information of at least one second virtual object on the camera page. The first position on the camera page can be the center of the camera page or any other position on the camera page, which is not limited in this embodiment of the present application.
[0086] like Figure 4 This is a schematic diagram of a photo taking page provided by an embodiment of the present application. Figure 4 The photo taking page shown shows a first virtual object 402 located at a first position 401 .
[0087] Optionally, the first virtual object can be moved within the photo page. A direction control can also be displayed within the photo page. By triggering the direction control, the first virtual object can be controlled to move within the photo page so that the first virtual object is positioned within the photo page that the game subject considers to be scenic, thereby making the first photo subsequently obtained more aesthetically pleasing and more in line with the game subject's requirements.
[0088] Optionally, a summon control is also displayed on the photo taking page, such as Figure 4 403 in the figure represents a summon control. In response to a triggering operation on the summon control, a summon function is triggered, which is used to display object information of a virtual object that can be summoned. The virtual object that can be summoned is a second virtual object associated with the first virtual object. The triggering operation on the summon control can be a click operation on the summon control or other operations on the summon control, which are not limited in this embodiment of the application.
[0089] In one possible implementation, when the summon function is triggered, before displaying the object information of at least one second virtual object on the photo page, it is necessary to first determine the second virtual object. The embodiment of the present application does not limit the process of determining the second virtual object. Optionally, the process of determining the second virtual object includes: when the summon function is triggered, determining a candidate virtual object, the virtual environment in which the candidate virtual object is located is related to the virtual environment in which the first virtual object is located; obtaining the number of times the candidate virtual object has been summoned in a target time period; and selecting, among the candidate virtual objects, the candidate virtual object whose number of times it has been summoned in the target time period is less than a number threshold as the second virtual object.
[0090] The virtual environment of the candidate virtual object is related to the virtual environment of the first virtual object, which may mean that the virtual environment of the candidate virtual object is the same as the virtual environment of the first virtual object, or that the virtual environment of the candidate virtual object is different from the virtual environment of the first virtual object, but the virtual environment of the candidate virtual object is connected to the virtual environment of the first virtual object. If the virtual environment of the candidate virtual object is the same as the virtual environment of the first virtual object, or if the virtual environment of the candidate virtual object is different from the virtual environment of the first virtual object but connected to the virtual environment of the first virtual object, the distance between the location of the candidate virtual object and the location of the first virtual object is closer than when the virtual environment of the candidate virtual object is different from the virtual environment of the first virtual object and is not connected. Therefore, when the candidate virtual object is summoned, the time required for the candidate virtual object to move from its location to the first virtual object is shorter, thereby reducing the time required to obtain game photos and improving the efficiency of obtaining game photos.
[0091] The target time period can be any time period. For example, the end time of the target time period is the trigger time of the summoning function, and the duration of the target time period is the target duration. The target duration is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. For example, the target duration is 10 minutes. The number threshold is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. For example, the number threshold is 5. The candidate virtual object whose number of summons in the target time period is less than the number threshold is used as the second virtual object. To a certain extent, it can ensure that each candidate virtual object can be summoned, and prevent the situation where a certain virtual object is always summoned while another virtual object is never summoned.
[0092] In one possible implementation, the second virtual object can be a non-player character (NPC) in the target game. The second virtual object can also be a virtual object belonging to the same game team as the first virtual object. The second virtual object can also be a virtual object belonging to a different game team than the first virtual object. This embodiment of the present application does not limit this. Among them, the non-player controlled virtual object is a type of character in the game, which refers to a game character that is not manipulated by a real player. The NPC can provide players with some game information or trigger plots, and can also have a dialogue function, playing a key role in the game. The object information of the second virtual object can be the object name of the second virtual object, or other information that can uniquely identify the second virtual object. This embodiment of the present application does not limit the object information of the second virtual object.
[0093] Optionally, when the summon function is triggered, the process of determining the candidate virtual objects includes: sending a request to a server when the summon function is triggered, the request being used to obtain a virtual environment of each virtual object in the game; receiving the virtual environment of each virtual object returned by the server; and determining a candidate virtual object from among the virtual objects based on the virtual environment of the first virtual object and the virtual environments of each virtual object.
[0094] For example, ten virtual objects are acquired, and the virtual environments of each virtual object are: virtual environment 1, virtual environment 2, virtual environment 3, virtual environment 1, virtual environment 2, virtual environment 3, virtual environment 1, virtual environment 2, virtual environment 3, virtual environment 1. The virtual environment of the first virtual object is virtual environment 1. Virtual objects that have the same virtual environment as the first virtual object are selected as candidate virtual objects. Therefore, the first virtual object, the fourth virtual object, the seventh virtual object, and the tenth virtual object are selected as candidate virtual objects.
[0095] Before obtaining the number of times a candidate virtual object has been summoned during a target time period, the target time period must be determined. The process of determining the target time period includes: determining a first time based on the trigger time of the summon function and the target duration, where the first time is earlier than the trigger time of the summon function; and using the time period between the first time and the trigger time of the summon function as the target time period. For example, if the trigger time of the summon function is 16:16:23 on January 29, 2024, and the target duration is 10 minutes, then the first time is 16:06:23 on January 29, 2024, and the target time period is from 16:06:23 on January 29, 2024 to 16:16:23 on January 29, 2024.
[0096] The embodiment of the present application does not limit the process of obtaining the number of times a candidate virtual object is summoned in a target time period. Optionally, the process of obtaining the number of times a candidate virtual object is summoned in a target time period includes: generating a summoned number acquisition request based on the object identifier of the candidate virtual object and the target time period, the summoned number acquisition request including the object identifier of the candidate virtual object and the target time period. Sending the summoned number acquisition request to the server. The server receives the summoned number acquisition request, parses the summoned number acquisition request, and obtains the target time period and the object identifier of the candidate virtual object; the server determines the number of times the candidate virtual object is summoned in the target time period based on the target time period and the object identifier of the candidate virtual object; the server sends the number of times the candidate virtual object is summoned in the target time period to the terminal device, so that the terminal device obtains the number of times the candidate virtual object is summoned in the target time period.
[0097] For example, the candidate virtual objects include a first virtual object, a fourth virtual object, a seventh virtual object, and a tenth virtual object, and the number threshold is 5. The first virtual object has been summoned 5 times during the target time period, the fourth virtual object has been summoned 3 times, the seventh virtual object has been summoned 2 times, and the tenth virtual object has been summoned 1 time. Because the number of times the fourth, seventh, and tenth virtual objects have been summoned during the target time period is less than the number threshold, the fourth, seventh, and tenth virtual objects are selected as the second virtual objects.
[0098] After determining the second virtual object, the object information of the second virtual object is displayed on the photo page. The embodiment of the present application does not limit the manner in which the object information of the second virtual object is displayed on the photo page. Optionally, a summon list is displayed on the photo page, and the summon list displays the object information of the second virtual object.
[0099] like Figure 5This is another display diagram of a photo taking page provided in an embodiment of the present application. Figure 5 In (1), in response to the trigger operation for the summon control 501, the display Figure 5 (2), Figure 5 (2) shows a summon list 502, and the summon list shows the object information of each second virtual object. The object information of each second virtual object shown in the summon list is shown in FIG. Figure 5 As shown in (2) in the figure, I will not go into details here.
[0100] In step 203, when the object information of the third virtual object in at least one second virtual object is triggered, the third virtual object is summoned. After being summoned, the third virtual object moves to the second position of the photo taking page. The second position is in the target area determined according to the first position. The first position is the position of the first virtual object in the photo taking page.
[0101] The object information of the third virtual object may be triggered by clicking on the object information of the third virtual object, or by other means, which is not limited in this embodiment of the present application.
[0102] In one possible implementation, before summoning the third virtual object, it is necessary to first determine the second position. The embodiment of the present application does not limit the process of determining the second position. Optionally, the process of determining the second position includes: determining a target area based on the first position; determining the occupancy status of each position included in the target area; selecting the positions in the target area whose occupancy status meets the status requirements as candidate positions; determining the distance between each candidate position and the first position based on the position information of each candidate position and the position information of the first position; and selecting the candidate positions whose distance from the first position meets the distance requirements as the second position.
[0103] The fact that the occupied state meets the state requirement means that the occupied state is unoccupied. The fact that the distance between the first location and the first location meets the distance requirement means that the distance between the first location and the first location is the shortest.
[0104] The present embodiment of the present application does not limit the process of determining the target area based on the first position. Optionally, the process of determining the target area based on the first position includes determining the target area with the first position as the center and the target length as the radius. The target length is set based on experience or adjusted according to the implementation environment, and is not limited in the present embodiment of the present application. Exemplarily, the target length is 5 meters.
[0105] In one embodiment of the present application, any candidate position among the candidate positions can also be used as the second position. Alternatively, the aesthetics of the candidate positions is determined, and the candidate position among the candidate positions whose aesthetics meets the aesthetic requirements is used as the second position. The aesthetics of the candidate position is used to indicate the beauty of the scenery of the candidate position. The higher the aesthetics of the candidate position, the more beautiful the scenery of the candidate position; conversely, the lower the aesthetics of the candidate position, the less beautiful the scenery of the candidate position. The aesthetics meeting the aesthetic requirements can be that the aesthetics is greater than the aesthetic threshold. The aesthetic threshold is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this.
[0106] The embodiment of the present application does not limit the method for determining the aesthetics of the candidate location. For example, a picture containing the candidate location is obtained, the aesthetics of the picture is determined, and the aesthetics of the picture is used as the aesthetics of the candidate location.
[0107] The embodiment of the present application does not limit the method for determining the aesthetics of an image. For example, the aesthetics of an image is determined based on the image information of the image. The image information of the image includes the brightness of the image, the number of objects included in the image, the color of the image, etc.
[0108] In one possible implementation, after determining the second position, when the object information of the third virtual object in at least one second virtual object is triggered, the process of summoning the third virtual object includes: when the object information of the third virtual object in at least one second virtual object is triggered, determining a target movement path with the position of the third virtual object as the starting point and the second position as the end point; sending a movement instruction to a device corresponding to the third virtual object, the movement instruction including the target movement path and the object identifier of the third virtual object, the movement instruction being used to control the third virtual object to move to the second position along the target movement path, so that the third virtual object is displayed at the second position of the photo taking page.
[0109] In one possible implementation, the process of determining a target movement path starting from the location of the third virtual object and ending at the second location includes: determining multiple candidate movement paths starting from the location of the third virtual object and ending at the second location; determining the length of each movement path; and selecting, among the multiple candidate movement paths, the candidate movement path that meets the length requirement as the target movement path. The length meeting the length requirement means the candidate movement path that is the shortest. The reason for selecting the shortest candidate movement path as the target movement path is to reduce the time required for the third virtual object to move from its current location to the second location, thereby improving the efficiency of the game photo taking process.
[0110] In one possible implementation, in response to the absence of a location in the target area whose occupancy status meets the status requirement, a notification message is displayed on the photo taking page, indicating that the location of the first virtual object is not suitable for a photo. The content of the notification message can be arbitrary and is not limited in this embodiment of the present application.
[0111] like Figure 6 This is another display diagram of a photo taking page provided in an embodiment of the present application. Figure 6 The photo taking page shown has a notification message 601 displayed on it.
[0112] In one possible implementation, after summoning the third virtual object, a target image and a prompt are displayed on the photo capture page. The target image indicates the third virtual object, and the prompt indicates that the third virtual object is moving toward the second location. Optionally, the target image is a running third virtual object, and the prompt may include any content, which is not limited in this embodiment of the application.
[0113] like Figure 7 This is another display diagram of a photo taking page provided in an embodiment of the present application. Figure 7 The photo taking page shown therein displays a target image 701 and a prompt message 702 , wherein the content of the prompt message 702 is “The waiter is moving…”.
[0114] In one possible implementation, after summoning the third virtual object, a movement map may be displayed, showing the target movement path and the third virtual object moving along the target movement path. This allows the movement of the third virtual object to be displayed in real time, allowing the game player to understand the movement of the third virtual object, resulting in a better gaming experience and increased gameplay interest.
[0115] Optionally, after summoning the third virtual object, the summoning control is in an unavailable state. Exemplarily, the summoning control is displayed in gray to indicate that the summoning control is in an unavailable state.
[0116] In one possible implementation, after the third virtual object is summoned to the second location, the third virtual object performs a standby action for the third virtual object at the second location. The standby action for the third virtual object can be any action and is not limited in this embodiment of the present application. For example, the standby action for the third virtual object can be a smile.
[0117] In step 204 , a first photo is displayed, where the first photo includes a first virtual object and a third virtual object.
[0118] In a possible implementation, before displaying the first photo, it is necessary to first obtain the first photo. The process of obtaining the first photo includes: intercepting the photo page to obtain the first photo, and the first photo includes the first virtual object and the third virtual object.
[0119] Optionally, a shutter control is also displayed on the photo taking page, and the shutter control is used to trigger the photo acquisition function. Figure 4 404 in the figure represents a shutter control. The process of capturing the photo page and obtaining the first photo includes: when a photo acquisition function is triggered, capturing the photo page and obtaining the first photo. The process of triggering the photo acquisition function includes: triggering the photo acquisition function in response to a triggering operation on the shutter control. The triggering operation on the shutter control may be a click operation on the shutter control, or other operations on the shutter control, which are not limited in this embodiment of the application.
[0120] When the photo acquisition function is triggered, the interactive controls displayed on the photo page can be first canceled, and then the photo page can be captured to obtain the first photo. Since the present application is to obtain a first photo containing the first virtual object and the third virtual object, the interactive controls displayed on the photo page are not important elements of the first photo obtained. Therefore, the interactive controls displayed on the photo page are first canceled, and then the photo page is captured. In this way, the first photo obtained includes the first virtual object and the third virtual object, but does not include the interactive controls, making the first photo obtained neater and more effective.
[0121] like Figure 8 This is a schematic diagram of a first photo provided in an embodiment of the present application. Figure 8 The first photo shown includes a first virtual object 801 and a third virtual object 802 .
[0122] In one possible implementation, when the photo acquisition function is triggered, the photo page is intercepted. Before obtaining the first photo, first photo information of a target virtual object may be determined. The target virtual object is at least one of the first virtual object and the third virtual object. The first photo information of the target virtual object includes at least one of the target virtual object's first photo expression, first photo action, or first photo orientation.
[0123] After determining the first photographic information of the target virtual object, the target virtual object is adjusted based on the first photographic information to obtain an adjusted target virtual object, where the adjusted photographic information of the target virtual object serves as the first photographic information; the target virtual object is removed from the photographing page and the adjusted target virtual object is displayed on the photographing page, so that the first photograph obtained includes the adjusted target virtual object.
[0124] The process of determining the target virtual object's first photographic expression, the process of determining the target virtual object's first photographic action, and the process of determining the target virtual object's first photographic orientation are similar. Therefore, the embodiments of the present application only illustrate the process of determining the target virtual object's first photographic action when the target virtual object's first photographic information includes the target virtual object's first photographic action. The process of determining the target virtual object's first photographic action includes: displaying a first photographic control for the target virtual object on a photographing page; displaying a photographic action determination control in response to a triggering operation on the first photographic control for the first virtual object; displaying action information of at least one candidate photographic action in response to a triggering operation on the photographic action determination control; and when the action information of any candidate photographic action among the at least one candidate photographic action is triggered, using any candidate photographic action as the first photographic action of the target virtual object.
[0125] Among them, the action information of the candidate photo-taking action can be the action name of the candidate photo-taking action, or it can be other information that can uniquely represent the candidate photo-taking action. The embodiment of the present application does not limit this.
[0126] like Figure 9 This is a schematic diagram of a process for determining the first photographing action of a target virtual object provided by an embodiment of the present application. Figure 9 The photo taking page shown in (1) in FIG. 1 shows a first photo taking control 901 of a target virtual object (first virtual object). In response to a triggering operation of the first photo taking control 901 for the target virtual object, the first photo taking control 901 is displayed. Figure 9 (2) in Figure 9 In (2) of FIG, a photographing action determination control 902 is displayed. In response to the triggering operation for the photographing action determination control 902, the display Figure 9 (3) in Figure 9 In (3), there are multiple candidate names of photo actions, namely, scratching head, making a face, laughing, and smiling. In response to the trigger operation for "ghost face", "ghost face" is used as the first photo action of the target virtual object.
[0127] In one possible implementation, after displaying the third virtual object in the second position of the photo page, an Nth photo control for the target virtual object may also be displayed on the photo page. The Nth photo control for the target virtual object is used to determine the Nth photo information for the target virtual object. The process for determining the Nth photo information for the target virtual object is similar to the process for determining the first photo information for the target virtual object described above, and will not be further described in detail in this embodiment of the present application. Where N is an integer greater than 1. In this way, multiple photo information can be set at once, and then, in subsequent photo shooting processes, multiple photos can be taken continuously based on the photo information for each shot.
[0128] Optionally, when the first photo is acquired, the first photo may be stored in an album corresponding to the first virtual object.
[0129] In one possible implementation, the second photo information of the target virtual object can also be determined, and the second photo information of the target virtual object includes at least one of the target virtual object's second photo expression, second photo action, or second photo orientation. When the photo acquisition function is triggered, the photo page is intercepted to obtain the first photo. Then, the target virtual object can be adjusted based on the second photo information of the target virtual object to obtain a re-adjusted target virtual object, and the re-adjusted photo information of the target virtual object is the second photo information; the adjusted target virtual object is canceled from the photo page, and the re-adjusted target virtual object is displayed on the photo page; the photo page is intercepted to obtain a second photo, and the second photo includes the re-adjusted target virtual object.
[0130] The process of intercepting the photo taking page to obtain the second photo includes: when the photo acquisition function is triggered again, intercepting the photo taking page to obtain the second photo.
[0131] Optionally, after obtaining the second photo, the target virtual object can be adjusted based on the third photo information of the target virtual object to obtain the target virtual object after three adjustments, and the photo information of the target virtual object after three adjustments is the third photo information; the target virtual object after the third adjustment is removed from the photo page, and the target virtual object after the third adjustment is displayed on the photo page; when the photo acquisition function is triggered three times, the photo page is intercepted to obtain a third photo, which includes the target virtual object after the third adjustment. And so on, all the acquired photo information can be traversed to obtain the photo of each shot.
[0132] After traversing all the photo information, the cycle will be restarted so that the player can retake the photo until the player resets the photo information or exits the photo function.
[0133] In a possible implementation, after acquiring the first photo, the first photo may be displayed. Optionally, the process of displaying the first photo includes: displaying a photo page, wherein the first photo is displayed on the photo page. Exemplarily, the process of displaying the photo page includes: displaying the photo page when the exit photo function is triggered. An exit control is also displayed on the photo page. Figure 4 405 is an exit control, which is used to trigger the exit of the photo-taking function. In response to the triggering operation on the exit control, the exit of the photo-taking function is triggered. The triggering operation on the exit control can be a click operation on the exit control.
[0134] like Figure 10 This is a schematic diagram of a photo page display provided by an embodiment of the present application. Figure 10 The photo page shown displays a first photo 1001 .
[0135] After the first photo is displayed, the first photo may be adjusted to obtain an adjusted first photo, and the adjusted first photo may be displayed.
[0136] Optionally, the process of adjusting the first photo to obtain the adjusted first photo includes: when the photo adjustment function is triggered, adjusting the first photo to obtain the adjusted first photo; the process of displaying the adjusted first photo includes: displaying the adjusted first photo on the photo page.
[0137] In a possible implementation, the photo page also displays a photo editing control, such as Figure 10 1002 is a photo editing control. In response to a trigger operation on the photo editing control, the image adjustment function is triggered. The trigger operation on the photo editing control may be a click operation on the photo editing control. The process of adjusting the first photo includes: adjusting the size of the first photo, adjusting the color tone of the first photo, adding a filter to the first photo, adding a sticker to the first photo, etc.
[0138] In a possible implementation, after the first photo is displayed, the first photo may be presented to the third virtual object.
[0139] Optionally, a gift control is also displayed on the photo page, such as Figure 10 1003 in the example represents a gift control. In response to a trigger operation on the gift control, a gift photo function is triggered. When the gift photo function is triggered, the first photo is gifted to the third virtual object. The trigger operation on the gift control may be a click operation on the gift control. When the gift photo function is triggered, the first photo is gifted to the third virtual object.
[0140] After acquiring the first photo, because the first photo includes the first virtual object and the third virtual object, the first photo can increase the favorability between the first virtual object and the third virtual object. Optionally, after acquiring the first photo, the favorability between the first virtual object and the third virtual object is increased by a target value. The target value is set based on experience or adjusted according to the implementation environment, and is not limited in this embodiment of the present application.
[0141] For example, the target value is 2, the favorability between the first virtual object and the third virtual object is 10, and after obtaining the first photo, the favorability between the first virtual object and the third virtual object increases by 2, and the favorability between the first virtual object and the third virtual object becomes 12.
[0142] The degree of favorability between the first virtual object and the third virtual object will affect the number of photo actions and / or photo expressions that can be selected when the first virtual object and the third virtual object take a photo together. That is, the more photos the first virtual object and the third virtual object take, the higher the degree of favorability between the first virtual object and the third virtual object, and the more photo expressions and / or photo actions that can be selected when the first virtual object and the third virtual object take a photo together.
[0143] Optionally, the photo page also displays an exit photo taking control, such as Figure 10 1004 represents the exit photo control. In response to a trigger operation for exiting the photo control, the third virtual object automatically moves back to its original position. If the player exits the photo control while the third virtual object is moving toward the second position, the third virtual object stops moving toward the second position and returns to its original position.
[0144] When taking a photo in-game, the above method summons a third virtual object selected from at least one second virtual object associated with the first virtual object, thereby displaying a first photo including the first and third virtual objects. This method eliminates the need for the first virtual object to run around the game map searching for the third virtual object with which to take a photo. By directly summoning the third virtual object, the time required to capture the first photo is reduced, improving both the efficiency of taking and capturing photos.
[0145] Moreover, the photographic information of the first virtual object and the target virtual object in the third virtual object for the group photo can also be set, so that the photographic information of the target virtual object in the first photo obtained is the set photographic information, making the setting of the photographic information more flexible, and thus making the obtained first photo more in line with the player's requirements.
[0146] Figure 11This is a flowchart of a game photo taking method provided by an embodiment of the present application. The method can be Figure 1 The terminal device 101 in the embodiment is executed. Figure 11 As shown, the method includes the following contents.
[0147] Step 1101: Display a game screen, wherein the game screen displays a first virtual object in a virtual environment.
[0148] In a possible implementation, the process of displaying the game screen has been described in the above step 201. Please refer to the relevant description of the above step 201 and will not be repeated here.
[0149] Step 1102: When the photo-taking function is triggered, a photo-taking page is displayed, and a first virtual object is displayed at the first position of the photo-taking page.
[0150] In a possible implementation, when the photo-taking function is triggered, the process of displaying the photo-taking page has been described in the above step 202. Please refer to the relevant description of the above step 202 and will not be repeated here.
[0151] Step 1103: When the summoning function is triggered, determine a candidate virtual object.
[0152] In a possible implementation, when the summoning function is triggered, the process of determining the candidate virtual object has been described in the above step 202. Please refer to the relevant description of the above step 202 and will not be repeated here.
[0153] Step 1104: Determine the number of times the candidate virtual object is summoned in the target time period.
[0154] In a possible implementation, the process of determining the number of times the candidate virtual object is summoned in the target time period has been described in the above step 202 , and reference may be made to the relevant description of the above step 202 , which will not be repeated here.
[0155] Step 1105: Determine a second virtual object from the candidate virtual objects based on the number of times the candidate virtual objects are summoned in the target time period.
[0156] In one possible implementation, the process of determining the second virtual object from the candidate virtual objects based on the number of times the candidate virtual objects are summoned in the target time period has been described in the above step 202. Please refer to the relevant description of the above step 202 and will not be repeated here.
[0157] Step 1106: Display object information of the second virtual object on the photo taking page.
[0158] In a possible implementation, the process of displaying the object information of the second virtual object in the photo taking page has been described in the above step 202. Please refer to the relevant description of the above step 202 and will not be repeated here.
[0159] Step 1107 : When the object information of the third virtual object in the second virtual object is triggered, determine the target area according to the first position.
[0160] In one possible implementation, when the object information of the third virtual object in the second virtual object is triggered, the process of determining the target area according to the first position has been described in the above step 203. Please refer to the relevant description of the above step 203 and will not be repeated here.
[0161] Step 1108: Determine a second position in the target area.
[0162] In a possible implementation, the process of determining the second position in the target area has been described in the above step 203 , and reference may be made to the relevant description of the above step 203 , which will not be repeated here.
[0163] Step 1109: Determine a target movement path starting from the position of the third virtual object and ending at the second position.
[0164] In one possible implementation, the process of determining the target movement path starting from the position of the third virtual object and ending at the second position has been described in the above step 203. Please refer to the relevant description of the above step 203 and will not be repeated here.
[0165] Step 1110: Send a movement instruction to a device corresponding to the third virtual object.
[0166] In a possible implementation, the process of sending a movement instruction to the device corresponding to the third virtual object has been described in the above step 203. Please refer to the relevant description of the above step 203 and will not be repeated here.
[0167] Step 1111: Display a third virtual object at a second position on the photo taking page.
[0168] In a possible implementation, the process of displaying the third virtual object at the second position of the photo taking page has been described in the above step 203. Please refer to the relevant description of the above step 203 and will not be repeated here.
[0169] Step 1112: Determine the first photographing information of the first virtual object and the first photographing information of the third virtual object.
[0170] In a possible implementation, the process of determining the first photographing information of the first virtual object and the first photographing information of the third virtual object is similar to the process of determining the first photographing information of the target virtual object in step 204 above, and will not be repeated here.
[0171] Step 1113: Display the adjusted first virtual object and the adjusted third virtual object on the photo taking page.
[0172] In a possible implementation, the process of displaying the adjusted first virtual object and the adjusted third virtual object in the photo taking page is similar to the process of displaying the adjusted target virtual object in the photo taking page in step 204, and will not be repeated here.
[0173] Step 1114: When the photo acquisition function is triggered, the photo taking page is intercepted to obtain the first photo.
[0174] In one possible implementation, when the photo acquisition function is triggered, the photo page is intercepted, and the process of obtaining the first photo has been described in the above step 204. Please refer to the relevant description of the above step 204 and will not be repeated here.
[0175] Figure 12 FIG. 1 is a schematic diagram of the structure of a game camera device provided in an embodiment of the present application. Figure 12 As shown, the device includes the following contents.
[0176] The display module 1201 is used to display a game screen, wherein the game screen displays a first virtual object in a virtual environment;
[0177] The display module 1201 is further configured to display object information of at least one second virtual object when the camera function is triggered, where the second virtual object is associated with the first virtual object;
[0178] a summoning module 1202, configured to summon the third virtual object when object information of a third virtual object among the at least one second virtual object is triggered, wherein the third virtual object moves to a second position on the photo taking page after being summoned, the second position being within a target area determined according to the first position, the first position being the position of the first virtual object on the photo taking page;
[0179] The display module 1201 is further configured to display a first photo, where the first photo includes a first virtual object and a third virtual object.
[0180] In a possible implementation, the apparatus further includes:
[0181] an adjustment module, configured to adjust the first photo to obtain an adjusted first photo;
[0182] The display module 1201 is further configured to display the adjusted first photo.
[0183] In a possible implementation, the apparatus further includes:
[0184] The sending module is used to send the first photo to the third virtual object.
[0185] In one possible implementation, the display module 1201 is configured to display a photo page when the photo function is triggered, wherein a first virtual object is displayed at a first position on the photo page; and to display object information of at least one second virtual object on the photo page when the summon function is triggered.
[0186] The device also includes:
[0187] An acquisition module, configured to intercept the photo taking page and obtain a first photo;
[0188] The display module 1201 is used to display a photo page, in which a first photo is displayed.
[0189] In a possible implementation, the apparatus further includes:
[0190] The determination module is used to determine a candidate virtual object when the summoning function is triggered, and the virtual environment in which the candidate virtual object is located is related to the virtual environment in which the first virtual object is located; obtain the number of times the candidate virtual object has been summoned in a target time period; and select, among the candidate virtual objects, the candidate virtual object whose number of times of being summoned in the target time period is less than a number threshold as the second virtual object.
[0191] In one possible implementation, the summoning module 1202 is used to determine a target movement path with the position of the third virtual object as the starting point and the second position as the end point when the object information of the third virtual object in at least one second virtual object is triggered; and send a movement instruction to the device corresponding to the third virtual object, the movement instruction including the target movement path and the object identifier of the third virtual object, and the movement instruction is used to control the third virtual object to move to the second position along the target movement path.
[0192] In one possible implementation, the summoning module 1202 is used to determine multiple candidate movement paths starting from the position of the third virtual object and ending at the second position; determine the length of each candidate movement path; and select the candidate movement path among the multiple candidate movement paths whose length meets the length requirement as the target movement path.
[0193] In a possible implementation, the apparatus further includes:
[0194] A determination module is used to determine a target area based on a first position; determine the occupancy status of each position included in the target area; select a position whose occupancy status meets the status requirements among the positions included in the target area as a candidate position; determine the distance between each candidate position and the first position based on the position information of each candidate position and the position information of the first position; and select a candidate position whose distance from the first position meets the distance requirements as a second position.
[0195] In a possible implementation, the display module 1201 is further configured to display a target image and prompt information in the photo taking page, where the target image is configured to indicate the third virtual object, and the prompt information is configured to indicate that the third virtual object is moving toward the second position.
[0196] In a possible implementation, the apparatus further includes:
[0197] a determination module, configured to determine first photographing information of a target virtual object, where the target virtual object is at least one of the first virtual object and the third virtual object, and the first photographing information of the target virtual object includes at least one of a first photographing expression, a first photographing action, or a first photographing orientation of the target virtual object;
[0198] an adjustment module, configured to adjust the target virtual object according to the first photographing information of the target virtual object to obtain an adjusted target virtual object, wherein the photographing information of the adjusted target virtual object is the first photographing information;
[0199] The display module 1201 is further configured to display the adjusted target virtual object in the photo taking page, so that the acquired first photo includes the adjusted target virtual object.
[0200] In a possible implementation, the first photographing information of the target virtual object includes a first photographing action of the target virtual object;
[0201] A determination module is used to display a first-time photographing control of a target virtual object on a photographing page; display a photographing action determination control in response to a triggering operation on the first-time photographing control of the target virtual object; display action information of at least one candidate photographing action in response to a triggering operation on the photographing action determination control; and when the action information of any candidate photographing action among at least one candidate photographing action is triggered, use any candidate photographing action as the first photographing action of the target virtual object.
[0202] In one possible implementation, the determining module is further configured to determine second photographing information of the target virtual object, where the second photographing information of the target virtual object includes at least one of a second photographing expression, a second photographing action, or a second photographing orientation of the target virtual object;
[0203] The adjustment module is further configured to adjust the target virtual object according to the second photographing information of the target virtual object to obtain a re-adjusted target virtual object, where the photographing information of the re-adjusted target virtual object is the second photographing information;
[0204] The display module 1201 is further configured to display the adjusted target virtual object on the photo taking page;
[0205] The acquisition module is further used to intercept the photo taking page to obtain a second photo, which includes the target virtual object after being adjusted again.
[0206] When taking a photo in a game, the device summons a third virtual object selected from a second virtual object associated with the first virtual object, thereby displaying a first photo including the first and third virtual objects. Because the first virtual object does not need to run around the game map searching for the third virtual object with which to take a photo, summoning the third virtual object directly reduces the time required to capture the first photo, improving both the efficiency of taking and capturing photos.
[0207] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0208] Figure 13 The following is a block diagram of a terminal device 1300 provided in accordance with an exemplary embodiment of the present application. The terminal device 1300 may be any electronic device capable of human-computer interaction with a user through one or more methods, such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include a PC (Personal Computer), mobile phone, smartphone, PDA (Personal Digital Assistant), wearable device, Pocket PC (PPC), tablet computer, smart car computer, smart TV, smart speaker, smart watch, and the like.
[0209] Typically, the terminal device 1300 includes a processor 1301 and a memory 1302 .
[0210] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0211] Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. Memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1302 is used to store at least one instruction, which is executed by processor 1301 to implement the game photography method provided in the method embodiment of the present application.
[0212] In some embodiments, terminal device 1300 may optionally include a peripheral device interface 1303 and at least one peripheral device. The processor 1301, memory 1302, and peripheral device interface 1303 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1303 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, and a power supply 1309.
[0213] In some embodiments, the terminal device 1300 further includes one or more sensors 1310 , including but not limited to: an acceleration sensor 1311 , a gyroscope sensor 1312 , a pressure sensor 1313 , an optical sensor 1315 , and a proximity sensor 1316 .
[0214] Those skilled in the art will understand that Figure 13 The structure shown in the figure does not constitute a limitation on the terminal device 1300, and the terminal device 1300 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0215] Figure 14 This is a schematic diagram of the structure of the server provided in an embodiment of the present application. The server 1400 may vary significantly due to different configurations or performance, and may include one or more processors (Central Processing Units, CPUs) 1401 and one or more memories 1402. The one or more memories 1402 store at least one program code, which is loaded and executed by the one or more processors 1401 to implement the game photo-taking methods provided in the above-mentioned various method embodiments. Of course, the server 1400 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The server 1400 may also include other components for implementing device functions, which will not be described in detail here.
[0216] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned game photographing methods.
[0217] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0218] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above-mentioned game photographing methods.
[0219] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the game screen and photo information involved in this application were obtained with full authorization.
[0220] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0221] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0222] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for taking photos during a game, characterized in that: The method comprises: displaying a game screen, wherein the game screen displays a first virtual object in a virtual environment; When a photo-taking function is triggered, displaying object information of at least one second virtual object, where the second virtual object is associated with the first virtual object; When object information of a third virtual object among the at least one second virtual object is triggered, summoning the third virtual object, and after being summoned, the third virtual object moves to a second position on the photo taking page, where the second position is within a target area determined according to the first position, and the first position is the position of the first virtual object on the photo taking page; A first photo is displayed, where the first photo includes the first virtual object and the third virtual object.
2. The method according to claim 1, characterized in that After displaying the first photo, the method further includes: adjusting the first photo to obtain an adjusted first photo; The adjusted first photo is displayed.
3. The method according to claim 1, characterized in that After displaying the first photo, the method further includes: The first photo is presented to the third virtual object.
4. The method according to any one of claims 1 to 3, characterized in that: The displaying of object information of at least one second virtual object when the photo-taking function is triggered includes: When the photo-taking function is triggered, the photo-taking page is displayed, and the first virtual object is displayed at the first position of the photo-taking page; When the summoning function is triggered, displaying object information of the at least one second virtual object in the photo taking page; The displaying of the first photo includes: intercepting the photo taking page to obtain the first photo; A photo page is displayed, wherein the first photo is displayed on the photo page.
5. The method according to claim 4, characterized in that When the summon function is triggered, before displaying the object information of the at least one second virtual object in the photo taking page, the method further includes: When the summoning function is triggered, determining a candidate virtual object, wherein the virtual environment in which the candidate virtual object is located is related to the virtual environment in which the first virtual object is located; Obtaining the number of times the candidate virtual object is summoned in a target time period; Among the candidate virtual objects, a candidate virtual object whose number of summons in the target time period is less than a number threshold is used as the second virtual object.
6. The method according to any one of claims 1 to 3, characterized in that: The step of summoning the third virtual object when the object information of the third virtual object in the at least one second virtual object is triggered includes: determining, when object information of a third virtual object among the at least one second virtual object is triggered, a target movement path starting from a position of the third virtual object and ending at the second position; A movement instruction is sent to a device corresponding to the third virtual object, where the movement instruction includes the target movement path and the object identifier of the third virtual object, and the movement instruction is used to control the third virtual object to move to the second position along the target movement path.
7. The method according to claim 6, characterized in that The determining of a target movement path starting from the position of the third virtual object and ending at the second position includes: determining a plurality of candidate movement paths starting from the position of the third virtual object and ending at the second position; Determine the length of each candidate movement path; Among the multiple candidate moving paths, a candidate moving path whose length meets the length requirement is used as the target moving path.
8. The method according to any one of claims 1 to 3, characterized in that: When the object information of the third virtual object in the at least one second virtual object is triggered, before summoning the third virtual object, the method further includes: determining the target area according to the first position; Determining the occupancy status of each location included in the target area; taking, among the various locations included in the target area, locations whose occupancy status meets the status requirement as candidate locations; determining, based on the location information of each candidate location and the location information of the first location, a distance between each candidate location and the first location; Among the candidate positions, a candidate position whose distance from the first position meets the distance requirement is used as the second position.
9. The method according to any one of claims 1 to 3, characterized in that: In a case where the object information of the third virtual object in the at least one second virtual object is triggered, after summoning the third virtual object, the method further includes: A target image and prompt information are displayed on the photo taking page, where the target image is used to indicate the third virtual object, and the prompt information is used to indicate that the third virtual object is moving toward the second position.
10. The method according to claim 4, characterized in that Before intercepting the photo taking page to obtain the first photo, the method further includes: Determining first photographing information of a target virtual object, where the target virtual object is at least one of the first virtual object and the third virtual object, and the first photographing information of the target virtual object includes at least one of a first photographing expression, a first photographing action, or a first photographing orientation of the target virtual object; adjusting the target virtual object according to the first photographing information of the target virtual object to obtain an adjusted target virtual object, where the photographing information of the adjusted target virtual object is the first photographing information; The adjusted target virtual object is displayed in the photo taking page, so that the acquired first photo includes the adjusted target virtual object.
11. The method according to claim 10, characterized in that The first photographing information of the target virtual object includes the first photographing action of the target virtual object; The determining of the first photographing information of the target virtual object includes: Displaying a first-time photo-taking control of the target virtual object in the photo-taking page; In response to a triggering operation of a first photographing control for the target virtual object, displaying a photographing action determination control; In response to a triggering operation on a photographing action determination control, displaying action information of at least one candidate photographing action; When the action information of any candidate photographing action among the at least one candidate photographing action is triggered, the any candidate photographing action is used as the first photographing action of the target virtual object.
12. The method according to claim 10, characterized in that The method further comprises: Determining second photographing information of the target virtual object, where the second photographing information of the target virtual object includes at least one of a second photographing expression, a second photographing action, or a second photographing orientation of the target virtual object; After intercepting the photo taking page to obtain the first photo, the method further includes: adjusting the target virtual object according to the second photographing information of the target virtual object to obtain a re-adjusted target virtual object, wherein the photographing information of the re-adjusted target virtual object is the second photographing information; Displaying the re-adjusted target virtual object in the photo taking page; The photo taking page is intercepted to obtain a second photo, wherein the second photo includes the target virtual object after re-adjustment.
13. A game photography device, characterized in that: The device comprises: A display module, configured to display a game screen, wherein the game screen displays a first virtual object located in a virtual environment; The display module is further configured to display object information of at least one second virtual object when the camera function is triggered, where the second virtual object is associated with the first virtual object; a summoning module, configured to summon the third virtual object in the at least one second virtual object when object information of the third virtual object is triggered, wherein the third virtual object moves to a second position on the photo taking page after being summoned, the second position being within a target area determined according to the first position, and the first position being the position of the first virtual object on the photo taking page; The display module is further configured to display a first photo, wherein the first photo includes the first virtual object and the third virtual object.
14. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the game photography method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that At least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by the processor to enable the computer to implement the game photography method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement the game photography method according to any one of claims 1 to 12.