Editing Perspective Adjustment Method, Device, Electronic Device, and Readable Storage Medium
By responding to different touch operations on the perspective adjustment control of the game editing function, the target perspective and standard perspective are determined, and the problem of cumbersome perspective adjustment operations in game editing is solved, efficiency and accuracy are improved, and human-computer interaction efficiency is improved.
Patent Information
- Application Number
- CN202310524274.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2043-05-09
AI Technical Summary
In the game editing function, players need to frequently slide the screen to adjust the viewing angle, which leads to cumbersome operation of adjusting the editing viewing angle and low efficiency and accuracy.
The 3D game scene to be edited is displayed through the graphical user interface, and the viewing angle adjustment control is used to respond to different touch operations, determine the target viewing angle direction and the standard viewing angle direction, and realize free editing viewing angle adjustment and quick and accurate adjustment to the standard viewing angle direction.
The editing perspective adjustment steps are simplified, the efficiency and accuracy of perspective adjustment are improved, the number of displays of controls in the interface is reduced, the degree of occlusion of controls on the interface is improved, and the efficiency of human-computer interaction is improved.
Smart Images

Figure CN116501209B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technologies, and in particular, to a method, an apparatus, an electronic device, and a readable storage medium for adjusting an editing perspective. Background Art
[0002] In today's rapidly developing technology, people's quality of life is constantly improving, the terminal devices they use are becoming more and more intelligent, and there are more and more online games developed based on terminal devices. Among them, for games with a relatively high player participation rate, players can edit some scenes in the game through the editing function provided in the game, so as to increase the fun of the game and the participation of players.
[0003] For the game editing function, players often need to slide the screen to adjust the perspective. In order to ensure that the positions, heights, etc. of the virtual items added during the editing process are more coordinated, players need to adjust the editing perspective multiple times. Therefore, it often takes players multiple adjustments to adjust to the precise perspective they need, and the operation of adjusting the editing perspective is cumbersome, with low efficiency and accuracy. Summary of the Invention
[0004] In view of this, the purpose of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for adjusting an editing perspective.
[0005] In a first aspect, an embodiment of the present application provides a method for adjusting an editing perspective, and the adjustment method includes:
[0006] In response to a game editing function trigger operation, display an initial game editing interface of a three-dimensional game scene to be edited in an initial perspective direction through a graphical user interface; wherein, the graphical user interface also displays a perspective adjustment control.
[0007] In response to a first touch operation on the perspective adjustment control, determine a target perspective direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0008] In response to a second touch operation on an interaction response area on the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation.
[0009] In a second aspect, an embodiment of the present application further provides an apparatus for adjusting an editing perspective, and the adjustment apparatus includes:
[0010] A control display module, configured to respond to a game editing function trigger operation and display an initial game editing interface of a three-dimensional game scene to be edited in an initial perspective direction through a graphical user interface; wherein, the graphical user interface further displays a perspective adjustment control.
[0011] A first interface adjustment module, configured to respond to a first touch operation on the perspective adjustment control, determine a target perspective direction according to operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0012] A second interface adjustment module, configured to respond to a second touch operation on an interaction response area on the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus, where the storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the method for adjusting an editing perspective as described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it performs the steps of the method for adjusting an editing perspective as described in the first aspect.
[0015] The method, apparatus, electronic device, and readable storage medium for adjusting the editing perspective provided by the embodiments of the present application, in response to a game editing function trigger operation, display an initial game editing interface of the game scene to be edited in the initial perspective direction through a graphical user interface, and display a perspective adjustment control in the graphical user interface; in response to a first touch operation on the perspective adjustment control, determine a target perspective direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction; in response to a second touch operation on the interaction response area on the perspective adjustment control, determine a target standard perspective direction, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction. In this way, through different touch operations on the perspective adjustment control, dual operations of free editing perspective adjustment and the target standard perspective corresponding to the standard perspective direction can be realized, that is, various angles of perspective required by the player can be freely adjusted, and the perspective can be quickly and accurately adjusted to the standard perspective direction, simplifying the steps of editing perspective adjustment, helping to improve the efficiency and accuracy of perspective adjustment; at the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface, reduces the degree of occlusion of the interface by the controls, and helps to improve the efficiency of human-computer interaction.
[0016] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specifically gives preferred embodiments and cooperates with the attached drawings to make a detailed description as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 It is a flowchart of a method for adjusting an editing perspective provided by an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of an interaction response area provided by an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of an initial game editing interface provided by an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of an adjusted game editing interface provided by an embodiment of the present application;
[0022] Figure 5 It is another schematic diagram of an adjusted game editing interface provided by an embodiment of the present application;
[0023] Figure 6 A schematic diagram of another game editing interface provided in an embodiment of the present application;
[0024] Figure 7 A schematic diagram of the structure of a device for adjusting an editing perspective provided in an embodiment of the present application;
[0025] Figure 8 A schematic diagram of the structure of another device for adjusting the editing perspective provided in an embodiment of the present application;
[0026] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0028] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of game technology.
[0029] In today's rapidly developing science and technology, people's quality of life is constantly improving, the terminal devices people use are becoming more and more intelligent, and there are more and more online games developed based on terminal devices. Among them, for games with high player participation, players can edit some scenes in the game through the editing functions provided in the game, so as to increase the fun of the game and the participation of players.
[0030] For the game editing function, players need to frequently slide the screen to adjust the viewing angle. In order to ensure that the position and height of the virtual props added during the editing process are more coordinated, players are required to adjust the editing perspective multiple times. Therefore, to adjust to the precise viewing angle required by the player, players often need to make multiple adjustments. The operation of adjusting the editing perspective is cumbersome, and the efficiency and accuracy are low.
[0031] Based on this, an embodiment of the present application provides a method for adjusting an editing perspective to improve the efficiency, accuracy and human-computer interaction efficiency of perspective adjustment.
[0032] To facilitate understanding of this embodiment, the editing perspective adjustment method, device, electronic device and readable storage medium provided in the embodiment of the present application are described in detail. The embodiment of the present application can be applied to the field of games, for example, to games of the frame rate (Frames Per Second, FPS) type or massively multiplayer online (Massive Multiplayer Online, MMO) type games; it should be noted that the embodiment of the present application is not limited to the above-mentioned types of games, nor is it limited to the field of games.
[0033] In one embodiment of the present application, the editing perspective adjustment method can be run on a local terminal device or a server. When the editing perspective adjustment method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0034] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the editing perspective adjustment method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0035] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0036] In a possible implementation manner, the embodiment of the present application provides a method for adjusting an editing perspective. A graphical user interface is provided through a terminal device. The terminal device may be the aforementioned local terminal device (such as a local touch terminal), or a client device in the aforementioned cloud interaction system. Hereinafter, an example will be given with the above method for adjusting an editing perspective running on a local terminal device (hereinafter referred to as the terminal device).
[0037] Please refer to Figure 1 , Figure 1 , which is a flowchart of a method for adjusting an editing perspective provided by the embodiment of the present application. As Figure 1 shown in, the method for adjusting an editing perspective provided by the embodiment of the present application includes:
[0038] S101. In response to a game editing function triggering operation, display an initial game editing interface of a three-dimensional game scene to be edited in an initial perspective direction through a graphical user interface; wherein, the graphical user interface also displays a perspective adjustment control.
[0039] S102. In response to a first touch operation on the perspective adjustment control, determine a target perspective direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0040] S103. In response to a second touch operation on an interaction response area on the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation.
[0041] The method for adjusting an editing perspective provided by the embodiment of the present application can realize dual operations of freely adjusting the editing perspective and the target standard perspective corresponding to the standard perspective direction through different touch operations on the perspective adjustment control, that is, it can freely adjust each angle perspective required by the player, and can also quickly and accurately adjust to the standard perspective direction perspective, simplifying the steps of adjusting the editing perspective, which helps to improve the efficiency and accuracy of perspective adjustment; at the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface and reduces the degree of occlusion of the interface by the controls, which helps to improve the efficiency of human-computer interaction.
[0042] The following will explain each step of the embodiment of the present application exemplarily:
[0043] S101. In response to a game editing function triggering operation, display an initial game editing interface of the three-dimensional game scene to be edited in the initial perspective direction through a graphical user interface; a perspective adjustment control is also displayed through the graphical user interface.
[0044] In the embodiments of the present application, for games with relatively high player engagement, players can edit some scenes in the game through the editing function provided in the game, so as to increase the fun of the game and the participation of players.
[0045] Exemplarily, the map in the game can be edited, and the level map can be designed by adding obstacle models.
[0046] Specifically, players can enter the game editing interface for editing by triggering an operation on the game editing function.
[0047] In a possible real-time manner, the game editing function triggering operation can be a touch operation by the player on the editing function control (or editing function area, editing function entry, etc.) displayed in the game main interface, and enter the initial game editing interface for displaying the three-dimensional game scene to be edited.
[0048] Among them, the touch operation on the editing function control can be one of a long press operation, a swipe operation, and a click operation.
[0049] In another possible implementation manner, it can also be that when the player's game operations in the game main interface reach a preset condition (for example, the game reaches level X, or obtains an additional reward), the function of editing the game is automatically triggered, and then the display of the initial game editing interface is automatically triggered.
[0050] Further, the initial perspective when displaying the initial game editing interface can be based on the perspective of the current virtual camera, or the initial game editing interface in a preset standard perspective can be displayed (for example, after entering the game editing interface, the game scene in the top-down perspective is displayed).
[0051] In a possible implementation manner, the three-dimensional game scene to be edited may include a variety of preset three-dimensional virtual props. Players can edit the game map through the arrangement and combination of each preset three-dimensional virtual prop; at the same time, a variety of prop controls are also displayed in the initial game editing interface. Players can add corresponding three-dimensional virtual props to the three-dimensional game scene to be edited through the selection operation on the prop controls to improve the map editing function.
[0052] In a possible implementation, the player needs to adjust a three-dimensional virtual prop by adjusting different perspectives (such as adjusting the placement position, placement height, and alignment of multiple three-dimensional virtual props, etc.). At this time, the perspective adjustment needs to be performed through a perspective adjustment control, that is, a perspective adjustment control is also displayed in the graphical user interface.
[0053] In a possible implementation, to fit the player's adjustment habits and ensure that the perspective adjustment control obscures the game editing interface as little as possible, the perspective adjustment control can be displayed at the upper left corner of the graphical user interface. At the same time, regardless of how the display scene in the editing interface changes following the perspective adjustment operation, the relative position of the perspective adjustment control in the graphical user interface does not change. That is, taking the perspective adjustment control being displayed at the upper left corner of the graphical user interface as an example, the perspective adjustment control will always be displayed at the upper left corner of the graphical user interface.
[0054] In a possible implementation, the perspective adjustment control is located in a perspective adjustment area. The perspective adjustment area can be an area displayed in the graphical user interface, and the perspective adjustment control is included in the perspective adjustment area. The display shape of the perspective adjustment area can be a preset shape (such as a rectangle, a circle), or it can be the same as the shape of the perspective adjustment control.
[0055] In another possible implementation, the perspective adjustment area can also be an area hidden in the graphical user interface. At this time, the perspective adjustment control included in the perspective adjustment area can be displayed in the graphical user interface.
[0056] The response range of the perspective adjustment area is greater than or equal to the control response range of the perspective adjustment control. During the game setting process, the response range of the perspective adjustment area can be preset. Exemplarily, the response range of the perspective adjustment area can be within the preset range of the perspective adjustment control.
[0057] In the embodiments of the present application, the perspective adjustment control is a three-dimensional control. For example, it can be a cube. The standard direction coordinate axes (X, Y, and Z axes) in the world coordinate system are displayed on the perspective adjustment control, and multiple interaction planes on the perspective adjustment control are formed based on multiple coordinate axes.
[0058] Specifically, the perspective adjustment control displays the standard direction X, Y, and Z axes in real time, and connects the endpoints of the line segments in the three directions to form three parallelogram areas (interaction planes). That is, when the perspective adjustment control is displayed, only the three interaction planes relative to the current perspective are displayed. The perspective adjustment control includes multiple faces representing different standard perspective directions, that is, each face of the perspective adjustment control corresponds to a standard perspective direction.
[0059] In the embodiments of the present application, different editing perspectives can be adjusted by performing different touch operations on the perspective adjustment control, which will be specifically described below.
[0060] S102. Respond to the first touch operation on the perspective adjustment control, determine the target perspective direction according to the operation parameters of the first touch operation, and display the first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0061] In the embodiments of the present application, in response to the first touch operation on the perspective adjustment control, directly determine the target perspective direction currently adjusted according to the operation parameters of the first touch operation, and display the first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0062] In a possible implementation manner, the first touch operation is a drag operation, and the player can freely adjust the target perspective direction by dragging the entire perspective adjustment control.
[0063] Specifically, the step of "responding to the first touch operation on the perspective adjustment control and determining the target perspective direction according to the operation parameters of the first touch operation" includes:
[0064] a1. Respond to the first touch operation on the perspective adjustment control, and determine the target perspective direction according to the operation direction and operation moving distance of the first touch operation.
[0065] In the embodiments of the present application, the target perspective direction can be determined according to the mapping relationship between the operation direction and operation moving distance of the first touch operation and the perspective.
[0066] In a possible implementation manner, the operation direction and operation moving distance can be determined based on the adjusted perspective adjustment control relative to the initial position where the perspective adjustment control is located. The general moving direction of the target perspective direction can be determined according to the moving direction of the first touch operation (if the first touch operation moves to the left, then the perspective direction correspondingly moves to the left); and the specific orientation in the general direction can be determined according to the operation moving distance.
[0067] Specifically, the perspective adjustment control can be controlled by the first touch operation to rotate within a range of 360°. Then, after initially dividing the 360° range according to the general directions (east, south, west, north, southeast, northeast, southwest, northwest), for each general direction, a corresponding relationship between the distance range and the degree range can be set. For example, within the range of (0°, 45°), multiple distance intervals can be divided, and each distance interval corresponds to an adjustment degree. Furthermore, the specific orientation in the general direction can be determined according to the operation moving distance of the first operation.
[0068] Exemplarily, three distance intervals are set in the range of (0°, 45°). (0, 2) corresponds to 0°, (2, 4) corresponds to 15°, and (4, 10) corresponds to 45°. If at this time, the first touch operation of the player is determined to roughly fall within the range of (0°, 45°) (east) according to the operation direction, and the operation moving distance of the first touch operation is 3, belonging to the interval of (2, 4), then it can be determined that the target viewing direction is a 15° right shift relative to the current viewing direction.
[0069] In another possible implementation manner, free viewing angle adjustment can indeed perform free viewing angle adjustment, but for the three-dimensional virtual props in the three-dimensional game scene to be edited, it is also necessary to perform adjustment in the standard viewing direction.
[0070] Among them, the standard viewing directions include the front / back / up / down / left / right viewing directions.
[0071] Specifically, the viewing angle adjustment in the standard viewing direction can be performed through a second touch operation on the viewing angle adjustment control that is different from the first touch operation method.
[0072] S103. Respond to the second touch operation on the interaction response area of the viewing angle adjustment control, determine the target standard viewing direction according to the interaction response area, and display the second game editing interface of the three-dimensional game scene to be edited in the target standard viewing direction; wherein, the first touch operation is different from the second touch operation.
[0073] In the embodiments of the present application, through the second touch operation on the interaction response area of the viewing angle adjustment control, the target standard viewing direction can be determined according to the standard viewing direction corresponding to the interaction response area, and then the second adjusted game editing interface of the three-dimensional game scene to be edited in the target standard viewing direction is displayed.
[0074] Among them, the second touch operation is different from the first touch operation. In an optional example, if the first touch operation is a drag operation, then the second touch operation can be a click operation; in another optional example, if the first touch operation is a drag operation, then the second touch operation can be a long press operation.
[0075] In a possible implementation manner, on the viewing angle adjustment control, the viewing angle adjustment control includes multiple faces for representing different standard viewing directions.
[0076] In a possible implementation manner, the step "Respond to the second touch operation on the interaction response area of the viewing angle adjustment control, and determine the target standard viewing direction according to the interaction response area" includes:
[0077] b1: Determine the standard viewing direction corresponding to the target plane as the target standard viewing direction in response to a second touch operation on the interaction response area for the target plane among the multiple planes.
[0078] In an embodiment of the present application, the viewing angle adjustment control is a cube. For different faces of the viewing angle adjustment control, corresponding standard viewing directions are respectively provided. According to a second touch operation on the interaction response area for the target plane among the multiple faces of the viewing angle adjustment control (if the second touch operation is a click operation, the target plane touched by the second touch operation can be determined according to the operation position of the click operation), the standard viewing direction corresponding to the target plane is further determined as the target standard viewing direction.
[0079] In a possible implementation manner, as the viewing angle adjustment control rotates, the standard viewing directions corresponding to different faces of the viewing angle adjustment control are different relative to the current viewing angle corresponding to the initial game editing interface. As the viewing angle adjustment control rotates, the target faces of the several displayed viewing angle adjustment controls can be rotated to the standard viewing directions corresponding to all the standard viewing directions.
[0080] In a possible implementation manner, the adjustment method further includes:
[0081] c1: Determine the vertex with the lowest depth in the cube as the origin;
[0082] c2: Starting from the origin, extend along the edge where the origin is located towards the edge of the interaction response area where the viewing angle adjustment control is located, so as to divide the interaction response area into multiple sub - interaction response areas, where each sub - interaction response area includes at least one face.
[0083] In an embodiment of the present application, it is necessary to determine the vertex with the lowest depth on the viewing angle adjustment control. Taking the vertex with the lowest depth as the origin, extend along the edge where the origin is located towards the edge of the interaction response area where the viewing angle adjustment control is located, so as to divide the interaction response area into multiple sub - interaction response areas.
[0084] In a possible implementation manner, the vertex with the lowest depth in the cube may be the vertex that is closest to the virtual camera in terms of the posture of the viewing angle adjustment control under the current viewing angle (that is, the vertex with the lowest depth in the plane of the graphical user interface).
[0085] In other words, if the plane where the current graphical user interface is located is taken as the reference, then the vertex with the lowest depth in the cube is the point in the cube that is closest to the plane where the graphical user interface is located.
[0086] In a possible implementation manner, if the shape of the interaction response area where the viewing angle adjustment control is located is circular, then the divided sub - interaction response areas may be multiple sector areas.
[0087] Wherein, each of the sub-interaction response regions includes at least one face, that is, each sub-interaction response region corresponds to a standard viewing direction.
[0088] It should be noted that the touch point of the second touch operation on the viewing angle adjustment control may not completely fall within any face of the viewing angle adjustment control. As long as the touch point of the second touch operation is within the sub-interaction response region, the current viewing angle can be adjusted to the standard payment direction corresponding to the corresponding sub-interaction response region.
[0089] Exemplarily, please refer to Figure 2 , Figure 2 which is a schematic diagram of the interaction response region provided by the embodiment of the present application. As shown in Figure 2 , the viewing angle adjustment control 210 is a cube located in the circular interaction response region 220. The coordinate axes (X-axis, Y-axis, and Z-axis) of the standard direction are displayed on the viewing angle adjustment control 210. Let the vertex of the viewing angle adjustment control 210 closest to the virtual camera on the current face (the vertex with the lowest depth on the viewing angle adjustment control 210) be P. Taking P as the origin, draw lines parallel to the coordinate axes and extending to the edge of the interaction response region 220, dividing the rocker region into 2 or 3 parts (such as the 1 / 2 / 3 regions in Figure 2 ). These regions are the sub-interaction response regions on the 3D viewing angle adjustment control, and different sub-interaction response regions correspond to different standard viewing directions. As shown in Figure 2 , region 1 corresponds to the top viewing direction, region 2 corresponds to the right viewing direction, and region 3 corresponds to the front viewing direction.
[0090] It should be noted that as the viewing angle adjustment control rotates, the standard viewing directions corresponding to different sub-interaction response regions are different relative to the current viewing angle corresponding to the initial game editing interface. As the viewing angle adjustment control rotates, it is possible to rotate to the standard viewing angles corresponding to all the standard viewing directions through the displayed several sub-interaction response regions.
[0091] In a possible implementation manner, for the display of the standard viewing direction, the scene display effect also needs to be considered. Specifically, the target scene display effect is a perspective scene display effect or an orthographic scene display effect.
[0092] Among them, the perspective scene display effect: Perspective projection simulates the laws of the physical world, abstracting the player's eyes or virtual camera into a point. At this time, the objects within the viewing frustum projected onto the viewing plane follow the law of objects being larger when closer and smaller when farther away. The perspective scene display effect is to adjust the current perspective to a perspective scene effect with the standard perspective direction as the orientation; Orthogonal scene display effect: All projection rays of orthogonal projection are parallel, and the size of the object does not change with distance. The orthogonal scene display effect is a scene effect without perspective with the standard perspective direction as the orientation.
[0093] In a possible embodiment, the specific scene effect for displaying the to-be-edited 3D game scene can be selected by different operation methods for the second touch operation on the perspective adjustment control.
[0094] Specifically, the step of "responding to the second touch operation on the interaction response area of the perspective adjustment control, determining the target standard perspective direction according to the interaction response area, and displaying the second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction" includes:
[0095] d1: Responding to the second touch operation on the interaction response area of the perspective adjustment control, determining the target scene display effect according to the operation method of the second touch operation;
[0096] d3: Determining the target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and displaying the second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction with the target scene display effect.
[0097] In the embodiments of the present application, for different types of games, there may be different scene display effect settings. Therefore, when determining the scene display effect, it is necessary to detect whether there is a preset scene display effect in the current game. If there is no preset scene display effect, the target scene display effect is determined according to the operation method of the second touch operation, and then the second game editing interface of the to-be-edited 3D game scene is displayed with the target scene display effect.
[0098] In a possible implementation manner, different scene display effects correspond to different operation methods. Taking the second touch operation as a click operation as an example, a single click operation on the interaction response area of the perspective adjustment control corresponds to the perspective scene display effect, and a double click operation on the interaction response area of the perspective adjustment control corresponds to the orthogonal scene display effect.
[0099] Exemplarily, when a double - click operation on the interaction response area of the perspective adjustment control is received and it is determined that the interaction response area clicked by the player corresponds to the right standard perspective direction, after the player's click operation on the perspective adjustment control ends, the second game editing interface of the to - be - edited three - dimensional game scene in the right standard perspective direction will be displayed with an orthogonal scene display effect (without distinguishing the sizes of the three - dimensional virtual props in the to - be - edited three - dimensional game scene); similarly, when a single - click operation on the interaction response area of the perspective adjustment control is received and it is determined that the interaction response area clicked by the player corresponds to the front standard perspective direction, after the player's click operation on the perspective adjustment control ends, the second game editing interface of the to - be - edited three - dimensional game scene in the front standard perspective direction will be displayed with a perspective scene display effect (the three - dimensional virtual props in the to - be - edited three - dimensional game scene are displayed following the principle of objects appearing larger when closer and smaller when farther away).
[0100] In another possible implementation, for special games, the display effects of the scenes are not distinguished. Such games will specify corresponding scene rendering effects in the standard perspective direction. After receiving the second touch operation (e.g., click operation) of the player on the perspective adjustment control, the to - be - edited three - dimensional game scene will be displayed with a preset scene rendering effect.
[0101] Specifically, for the step "responding to the second touch operation on the interaction response area of the perspective adjustment control, determining the target standard perspective direction according to the interaction response area, and displaying the second game editing interface of the to - be - edited three - dimensional game scene in the target standard perspective direction", the adjustment method further includes:
[0102] e1: Responding to the second touch operation on the interaction response area of the perspective adjustment control, determining the target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and displaying the second game editing interface of the to - be - edited three - dimensional game scene in the target standard perspective direction with a preset scene display effect.
[0103] In the embodiments of the present application, if it is determined that there is a preset scene display effect, at this time, different scene display effects will no longer be distinguished according to the operation method of the second touch operation of the player on the perspective adjustment control. As long as the second touch operation of the player on the perspective adjustment control is received, the second game editing interface of the to - be - edited three - dimensional game scene in the target standard perspective direction will be displayed with the preset scene display effect in the game.
[0104] For the above example, taking the preset scene display effect as the perspective scene display effect, when the second touch operation (taking the second touch operation as a click operation) on the interaction response area of the perspective adjustment control is received by the player, and it is determined that the interaction response area clicked by the player corresponds to the front standard perspective direction, then, after the player's click operation (whether it is a double-click operation or a single-click operation) on the perspective adjustment control ends, the second game editing interface of the to-be-edited 3D game scene in the front standard perspective direction will be displayed with the perspective scene display effect (the 3D virtual props in the to-be-edited 3D game scene are displayed following the principle of objects being larger when closer and smaller when farther away).
[0105] In a possible implementation manner, whether the player operates the perspective adjustment control through the first touch operation or the second touch operation, the perspective adjustment control will change accordingly following the first touch operation or the second touch operation to display different display forms.
[0106] Specifically, the adjustment method further includes:
[0107] f1: Respond to the second touch operation on the interaction response area of the perspective adjustment control, and adjust the display form of the perspective adjustment control in the graphical user interface.
[0108] Among them, the display form includes at least one of the following:
[0109] The display angle of the perspective adjustment control, the display color of the perspective adjustment control.
[0110] In the embodiments of the present application, in addition to being able to update the display form of the perspective adjustment control in the graphical user interface according to the second touch operation, the display angle (to adjust the relative display positions of multiple interaction planes on the perspective adjustment control) and the display color of the perspective adjustment control in the graphical user interface can also be adjusted according to the operation parameters of the first touch operation or the second touch operation.
[0111] In a possible implementation manner, taking the first touch operation as a drag operation as an example, the display position and / or display angle of the perspective adjustment control in the graphical user interface can be adjusted according to the drag direction of the first touch operation.
[0112] Exemplarily, when the player's drag operation moves the perspective adjustment control to the left, at this time, the position of the perspective adjustment control can be moved to the left in real time following the drag operation; further, because the drag operation is a 360° operation, the display angle of the perspective adjustment control can also be adjusted by 360° according to the operation direction of the drag operation.
[0113] In another possible implementation, for the second touch operation, since the second touch operation is an adjustment for the standard viewing direction, at this time, the display angle of the viewing angle adjustment control can be adjusted according to the standard viewing direction selected by the second touch operation.
[0114] Exemplarily, taking the viewing angle adjustment control as a cube, when the second touch operation of the received player selects the front standard viewing direction, at this time, the viewing angle adjustment control will also be adjusted to display the front standard viewing angle facing the corresponding interaction area directly in the graphical user interface, and mark the interaction surface corresponding to the front standard viewing angle of the viewing angle adjustment control with the color of the corresponding interaction response area.
[0115] Next, specific examples will be used to elaborate on the adjustment process of the editing viewing angle in the embodiments of the present application. In this example, the viewing angle adjustment control is taken as a cube for elaboration:
[0116] Please refer to Figure 3 , Figure 3 which is a schematic diagram of the initial game editing interface provided by the embodiments of the present application. As shown in Figure 3 , in the graphical user interface, the initial game editing interface 300 and the viewing angle adjustment control 210 are displayed. On the viewing angle adjustment control, the coordinate axes in the standard direction (included in the interaction response area 220), the first virtual item 310, and the second virtual item 320 are displayed. After receiving the drag operation for the viewing angle adjustment control 210, please refer to Figure 4 , Figure 4 which is a schematic diagram of an adjusted game editing interface provided by the embodiments of the present application. As shown in Figure 4 , in the first game editing interface 400, according to the drag direction and drag distance of the drag operation, the display angles of the first virtual item 310 and the second virtual item 320 are adjusted (to a top view), and at the same time, the display form of the viewing angle adjustment control 210 in the graphical user interface is adjusted.
[0117] Furthermore, please refer to Figure 5 , Figure 5 which is another schematic diagram of an adjusted game editing interface provided by the embodiments of the present application. As shown in Figure 5 , in the second game editing interface 500, after receiving the click operation for the viewing angle adjustment control 210, if the sub - interaction response area of the viewing angle adjustment control 210 (included in the interaction response area 220) clicked by the click operation corresponds to the front standard viewing direction, at this time, the display angles of the first virtual item 310 and the second virtual item 320 will be adjusted to the front standard viewing direction and displayed with a perspective scene effect. At the same time, the display form of the viewing angle adjustment control 210 in the graphical user interface is adjusted.
[0118] Further, please refer to Figure 6 , Figure 6 which is another schematic diagram of adjusting the game editing interface provided by the embodiment of the present application. As shown in Figure 6 , in the second game editing interface 500, after receiving a double-click operation on the perspective adjustment control 210, if the interaction response area corresponding to the perspective adjustment control 210 (included in the interaction response area 220) clicked by the double-click operation corresponds to the top standard perspective direction, then at this time, the display angles of the first virtual prop 310 and the second virtual prop 320 will be adjusted to the top standard perspective (overhead) direction and displayed in an orthogonal scene effect. At the same time, the display form of the perspective adjustment control 210 in the graphical user interface is adjusted.
[0119] The method for adjusting the editing perspective provided by the embodiment of the present application, in response to a game editing function trigger operation, displays an initial game editing interface of the game scene to be edited in the initial perspective direction through a graphical user interface, and a perspective adjustment control is displayed in the graphical user interface; in response to a first touch operation on the perspective adjustment control, determines a target perspective direction according to the operation parameters of the first touch operation, and displays a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction; in response to a second touch operation on the interaction response area on the perspective adjustment control, determines a target standard perspective direction, and displays a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction. In this way, through different touch operations on the perspective adjustment control, dual operations of free editing perspective adjustment and the target standard perspective corresponding to the standard perspective direction can be achieved, that is, various angles of perspective required by the player can be freely adjusted, and the perspective can be quickly and accurately adjusted to the standard perspective direction, simplifying the steps of editing perspective adjustment, helping to improve the efficiency and accuracy of perspective adjustment; at the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface and reduces the degree of occlusion of the interface by the controls, helping to improve the human-computer interaction efficiency.
[0120] Based on the same inventive concept, an apparatus for adjusting the editing perspective corresponding to the method for adjusting the editing perspective is also provided in the embodiment of the present application. Since the principle of solving problems by the apparatus in the embodiment of the present application is similar to the above-mentioned method for adjusting the editing perspective in the embodiment of the present application, the implementation of the apparatus can refer to the implementation of the method, and the repeated parts will not be elaborated.
[0121] Please refer to Figure 7 , Figure 8 , Figure 7 which is a schematic structural diagram of an apparatus for adjusting the editing perspective provided by the embodiment of the present application, Figure 8 and Figure 7As shown in the figure, the adjustment device 700 includes:
[0122] A control display module 710, configured to respond to a game editing function triggering operation, and display an initial game editing interface of the three-dimensional game scene to be edited in the initial viewing direction through a graphical user interface; wherein, the graphical user interface further displays a viewing angle adjustment control.
[0123] A first interface adjustment module 720, configured to respond to a first touch operation on the viewing angle adjustment control, determine a target viewing direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target viewing direction.
[0124] A second interface adjustment module 730, configured to respond to a second touch operation on an interaction response area on the viewing angle adjustment control, determine a target standard viewing angle according to the interaction response area, and display a second adjusted game editing interface of the three-dimensional game scene to be edited in the target standard viewing angle; wherein, the first touch operation is different from the second touch operation.
[0125] In a possible implementation manner, as Figure 8 shown, the adjustment device 800 further includes a response area determination module 740, and the response area determination module 740 is configured to:
[0126] Determine the vertex with the lowest depth in the cube as the origin.
[0127] Starting from the origin, extend along the side where the origin is located towards the edge of the interaction response area where the viewing angle adjustment control is located, so as to divide the interaction response area into multiple sub-interaction response areas, wherein each sub-interaction response area includes at least one face.
[0128] In a possible implementation manner, as Figure 8 shown, the adjustment device 800 further includes a control display adjustment module 750, and the control display adjustment module 750 is configured to:
[0129] Respond to a second touch operation on an interaction response area on the viewing angle adjustment control, and adjust the display form of the viewing angle adjustment control in the graphical user interface.
[0130] Wherein, the display form includes at least one of the following:
[0131] The display angle of the viewing angle adjustment control, the display color of the viewing angle adjustment control.
[0132] In a possible implementation manner, the viewing angle adjustment control includes multiple faces for representing different standard viewing directions.
[0133] When the second interface adjustment module 730 is used to respond to a second touch operation on the interaction response area of the perspective adjustment control and determine a target standard perspective direction according to the interaction response area, the second interface adjustment module 730 is configured to:
[0134] Respond to a second touch operation on the interaction response area of the target surface among the multiple surfaces, and determine the standard perspective direction corresponding to the target surface as the target standard perspective direction.
[0135] In a possible implementation manner, the perspective adjustment control is a cube.
[0136] When the second interface adjustment module 730 is used to respond to a second touch operation on the interaction response area of the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard perspective direction, the second interface adjustment module 730 is configured to:
[0137] Respond to a second touch operation on the interaction response area of the perspective adjustment control, and determine a target scene display effect according to the operation mode of the second touch operation;
[0138] Determine a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard perspective direction with the target scene display effect.
[0139] In a possible implementation manner, the target scene display effect is a perspective scene display effect or an orthographic scene display effect.
[0140] When the second interface adjustment module 730 is used to respond to a second touch operation on the interaction response area of the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard perspective direction, the second interface adjustment module 730 is configured to:
[0141] Respond to a second touch operation on the interaction response area of the perspective adjustment control, determine a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard perspective direction with a preset scene display effect.
[0142] In a possible implementation manner, when the first interface adjustment module 720 is used to respond to a first touch operation on the perspective adjustment control and determine a target perspective direction according to the operation parameters of the first touch operation, the first interface adjustment module 720 is configured to:
[0143] Respond to a first touch operation on the perspective adjustment control, and determine the target perspective direction according to the operation direction and operation moving distance of the first touch operation.
[0144] In a possible implementation manner, the first touch operation is a drag operation; the second touch operation is a click operation.
[0145] The editing perspective adjustment device provided by the embodiments of the present application responds to a game editing function trigger operation, displays an initial game editing interface of a game scene to be edited in an initial perspective direction through a graphical user interface, and a perspective adjustment control is displayed in the graphical user interface; responds to a first touch operation on the perspective adjustment control, determines a target perspective direction according to the operation parameters of the first touch operation, and displays a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction; responds to a second touch operation on an interaction response area on the perspective adjustment control, determines a target standard perspective direction, and displays a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction. In this way, through different touch operations on the perspective adjustment control, dual operations of free editing perspective adjustment and a target standard perspective corresponding to the standard perspective direction can be realized, that is, various angles of view required by players can be freely adjusted, and the perspective can be quickly and accurately adjusted to the standard perspective direction, simplifying the editing perspective adjustment steps, helping to improve the efficiency and accuracy of perspective adjustment; at the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface, reduces the degree of occlusion of the interface by the controls, and helps to improve the human-computer interaction efficiency.
[0146] Please refer to Figure 9 , Figure 9 which is a schematic structural diagram of an electronic device provided by the embodiments of the present application. As Figure 9 shown in, the electronic device 900 includes a processor 910, a memory 920, and a bus 930.
[0147] The memory 920 stores machine-readable instructions executable by the processor 910. When the electronic device 900 runs, the processor 910 communicates with the memory 920 through the bus 930, so that the processor 910 executes the following instructions when running:
[0148] In response to a triggering operation of a game editing function, an initial game editing interface of a three-dimensional game scene to be edited in an initial viewing angle direction is displayed through a graphical user interface; wherein, the graphical user interface also displays a viewing angle adjustment control.
[0149] In response to a first touch operation on the viewing angle adjustment control, a target viewing angle direction is determined according to the operation parameters of the first touch operation, and a first game editing interface of the three-dimensional game scene to be edited in the target viewing angle direction is displayed.
[0150] In response to a second touch operation on an interaction response area on the viewing angle adjustment control, a target standard viewing angle direction is determined according to the interaction response area, and a second game editing interface of the three-dimensional game scene to be edited in the target standard viewing angle direction is displayed; wherein, the first touch operation is different from the second touch operation.
[0151] In a possible implementation manner, the viewing angle adjustment control includes a plurality of faces for representing different standard viewing angle directions; in the instructions executed by the processor 910, the response to the second touch operation on the interaction response area on the viewing angle adjustment control, and determining the target standard viewing angle direction according to the interaction response area includes:
[0152] In response to a second touch operation on the interaction response area of a target face among the plurality of faces, the standard viewing angle direction corresponding to the target face is determined as the target standard viewing angle direction.
[0153] In a possible implementation manner, the viewing angle adjustment control is a cube.
[0154] In a possible implementation manner, the instructions executed by the processor 910 further include:
[0155] Determine the vertex with the lowest depth in the cube as the origin;
[0156] Starting from the origin, extend along the edge where the origin is located towards the edge of the interaction response area where the viewing angle adjustment control is located, so as to divide the interaction response area into a plurality of sub-interaction response areas, wherein each sub-interaction response area includes at least one face.
[0157] In a possible implementation manner, in the instructions executed by the processor 910, the response to the second touch operation on the interaction response area on the viewing angle adjustment control, determining the target standard viewing angle direction according to the interaction response area, and displaying the second game editing interface of the three-dimensional game scene to be edited in the target standard viewing angle direction includes:
[0158] In response to a second touch operation on the interaction response area of the perspective adjustment control, determine a target scene display effect according to the operation mode of the second touch operation;
[0159] Determine a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction with the target scene display effect.
[0160] In a possible implementation manner, the target scene display effect is a perspective scene display effect or an orthographic scene display effect.
[0161] In a possible implementation manner, among the instructions executed by the processor 910, the response to the second touch operation on the interaction response area of the perspective adjustment control, determining the target standard perspective direction according to the interaction response area, and displaying the second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction includes:
[0162] In response to a second touch operation on the interaction response area of the perspective adjustment control, determine a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction with a preset scene display effect.
[0163] In a possible implementation manner, among the instructions executed by the processor 910, it further includes:
[0164] In response to a second touch operation on the interaction response area of the perspective adjustment control, adjust the display form of the perspective adjustment control in the graphical user interface;
[0165] Wherein, the display form includes at least one of the following:
[0166] The display angle of the perspective adjustment control, the display color of the perspective adjustment control.
[0167] In a possible implementation manner, among the instructions executed by the processor 910, the response to the first touch operation on the perspective adjustment control, determining the target perspective direction according to the operation parameters of the first touch operation, includes:
[0168] In response to the first touch operation on the perspective adjustment control, determine the target perspective direction according to the operation direction and the operation moving distance of the first touch operation.
[0169] In a possible implementation manner, the first touch operation is a drag operation; the second touch operation is a click operation.
[0170] In the above manner, through different touch operations on the perspective adjustment control, dual operations of freely editing perspective adjustment and the target standard perspective corresponding to the standard perspective direction can be achieved. That is, various angles of perspective required by the player can be freely adjusted, and the perspective can be quickly and accurately adjusted to the standard perspective direction, simplifying the steps of editing perspective adjustment, which helps to improve the efficiency and accuracy of perspective adjustment. At the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface and reduces the degree of occlusion of the interface by the controls, which helps to improve the efficiency of human-computer interaction. Further, different scene display effects can be determined through different operation methods of the player's second touch operation, that is, the selection operation of the scene display effect is also integrated on the perspective adjustment control, further simplifying the steps of editing perspective adjustment, which helps to improve the efficiency and accuracy of perspective adjustment.
[0171] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, so that when the computer program is run by a processor, the following instructions are executed:
[0172] In response to a game editing function trigger operation, display an initial game editing interface of the three-dimensional game scene to be edited in the initial perspective direction through a graphical user interface; wherein, the graphical user interface also displays a perspective adjustment control.
[0173] In response to a first touch operation on the perspective adjustment control, determine a target perspective direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction.
[0174] In response to a second touch operation on the interaction response area of the perspective adjustment control, determine a target standard perspective direction according to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation.
[0175] In a possible implementation manner, the perspective adjustment control includes multiple faces for representing different standard perspective directions; in the instructions executed by the computer-readable storage medium, the step of determining a target standard perspective direction according to the interaction response area in response to a second touch operation on the interaction response area of the perspective adjustment control includes:
[0176] In response to a second touch operation on the interaction response area of the target face among the multiple faces, determine the standard perspective direction corresponding to the target face as the target standard perspective direction.
[0177] In a possible implementation manner, the perspective adjustment control is a cube.
[0178] In a possible implementation, the instructions executed by the computer-readable storage medium further include:
[0179] Determine the vertex with the lowest depth in the cube as the origin;
[0180] Starting from the origin, extend along the edge where the origin is located towards the edge of the interaction response area where the viewing angle adjustment control is located, so as to divide the interaction response area into multiple sub-interaction response areas, where each sub-interaction response area contains at least one face.
[0181] In a possible implementation, in the instructions executed by the computer-readable storage medium, in response to a second touch operation on the interaction response area of the viewing angle adjustment control, determining a target standard viewing angle direction according to the interaction response area, and displaying a second game editing interface of the to-be-edited three-dimensional game scene in the target standard viewing angle direction, includes:
[0182] In response to a second touch operation on the interaction response area of the viewing angle adjustment control, determine a target scene display effect according to the operation mode of the second touch operation;
[0183] Determine a target standard viewing angle direction according to the standard viewing angle direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard viewing angle direction with the target scene display effect.
[0184] In a possible implementation, the target scene display effect is a perspective scene display effect or an orthographic scene display effect.
[0185] In a possible implementation, in the instructions executed by the computer-readable storage medium, in response to a second touch operation on the interaction response area of the viewing angle adjustment control, determining a target standard viewing angle direction according to the interaction response area, and displaying a second game editing interface of the to-be-edited three-dimensional game scene in the target standard viewing angle direction, includes:
[0186] In response to a second touch operation on the interaction response area of the viewing angle adjustment control, determine a target standard viewing angle direction according to the standard viewing angle direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited three-dimensional game scene in the target standard viewing angle direction with a preset scene display effect.
[0187] In a possible implementation, the instructions executed by the computer-readable storage medium further include:
[0188] In response to a second touch operation on the interaction response area of the perspective adjustment control, adjust the display form of the perspective adjustment control in the graphical user interface;
[0189] Wherein, the display form includes at least one of the following:
[0190] The display angle of the perspective adjustment control, the display color of the perspective adjustment control.
[0191] In a possible implementation manner, among the instructions executed by the computer-readable storage medium, the step of, in response to a first touch operation on the perspective adjustment control, determining a target perspective direction according to the operation parameters of the first touch operation includes:
[0192] In response to a first touch operation on the perspective adjustment control, determine the target perspective direction according to the operation direction and the operation moving distance of the first touch operation.
[0193] In a possible implementation manner, the first touch operation is a drag operation; the second touch operation is a click operation.
[0194] By the above method, through different touch operations on the perspective adjustment control, dual operations of freely editing perspective adjustment and the target standard perspective corresponding to the standard perspective direction can be realized, that is, various angles of view required by the player can be freely adjusted, and the view can be quickly and accurately adjusted to the standard perspective direction, simplifying the steps of editing perspective adjustment, which helps to improve the efficiency and accuracy of perspective adjustment; at the same time, integrating different perspective adjustment functions on the same perspective adjustment control also reduces the number of controls displayed on the interface and reduces the degree of occlusion of the interface by the controls, which helps to improve the efficiency of human-computer interaction; further, different scene display effects can be determined through different operation methods of the second touch operation of the player, that is, the selection operation of the scene display effect is also integrated on the perspective adjustment control, further simplifying the steps of editing perspective adjustment, which helps to improve the efficiency and accuracy of perspective adjustment.
[0195] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0196] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical, or other forms.
[0197] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0198] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0199] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0200] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the technical field of the present application can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for adjusting an editing perspective, characterized in that, the adjustment method includes: In response to a game editing function trigger operation, display an initial game editing interface of the three-dimensional game scene to be edited in the initial perspective direction through a graphical user interface; wherein, the graphical user interface also displays a perspective adjustment control; In response to a first touch operation on the perspective adjustment control, determine a target perspective direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target perspective direction; In response to a second touch operation on the interaction response area on the perspective adjustment control, determine a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation; the standard perspective directions include a front perspective direction, a rear perspective direction, an upper perspective direction, a lower perspective direction, a left perspective direction, and a right perspective direction; the interaction response area includes a plurality of sub-interaction response areas; each sub-interaction response area corresponds to a standard perspective direction; as the perspective adjustment control rotates, the standard perspective directions corresponding to different sub-interaction response areas are different from the current perspective corresponding to the initial game editing interface.
2. The adjustment method according to claim 1, characterized in that, the perspective adjustment control includes a plurality of faces for representing different standard perspective directions; the step of, in response to a second touch operation on the interaction response area on the perspective adjustment control, determining a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, includes: In response to a second touch operation on the interaction response area of the target face among the plurality of faces, determine the standard perspective direction corresponding to the target face as the target standard perspective direction.
3. The adjustment method according to claim 2, characterized in that, the perspective adjustment control is a cube.
4. The adjustment method according to claim 3, characterized in that, the adjustment method further includes: Determine the vertex with the lowest depth in the cube as the origin; Starting from the origin, extend along the edge where the origin is located towards the edge of the interaction response area where the perspective adjustment control is located, so as to divide the interaction response area into a plurality of sub-interaction response areas, wherein each sub-interaction response area includes at least one face.
5. The adjustment method according to claim 1, characterized in that, the step of, in response to a second touch operation on the interaction response area on the perspective adjustment control, determining a target standard perspective direction according to the standard perspective direction corresponding to the interaction response area, and displaying a second game editing interface of the three-dimensional game scene to be edited in the target standard perspective direction, includes: In response to a second touch operation on the interaction response area on the perspective adjustment control, determine a target scene display effect according to the operation mode of the second touch operation. Determine a target standard viewing direction according to the standard viewing direction corresponding to the interaction response area, and display a second game editing interface of the three-dimensional game scene to be edited in the target standard viewing direction with the target scene display effect.
6. The adjustment method according to claim 5, wherein, the target scene display effect is a perspective scene display effect or an orthographic scene display effect.
7. The adjustment method according to claim 1, wherein, for the second touch operation on the interaction response area of the viewing angle adjustment control, determining a target standard viewing direction according to the standard viewing direction corresponding to the interaction response area, and displaying a second game editing interface of the three-dimensional game scene to be edited in the target standard viewing direction includes: For the second touch operation on the interaction response area of the viewing angle adjustment control, determining a target standard viewing direction according to the standard viewing direction corresponding to the interaction response area, and displaying a second game editing interface of the three-dimensional game scene to be edited in the target standard viewing direction with a preset scene display effect in the game, wherein the preset scene display effect is a perspective scene display effect or an orthographic scene display effect.
8. The adjustment method according to claim 1, wherein, the adjustment method further includes: For the second touch operation on the interaction response area of the viewing angle adjustment control, adjusting the display form of the viewing angle adjustment control in the graphical user interface; wherein, the display form includes at least one of the following: the display angle of the viewing angle adjustment control, the display color of the viewing angle adjustment control.
9. The adjustment method according to claim 1, wherein, for the first touch operation on the viewing angle adjustment control, determining a target viewing direction according to the operation parameters of the first touch operation includes: For the first touch operation on the viewing angle adjustment control, determining the target viewing direction according to the operation direction and operation moving distance of the first touch operation.
10. The adjustment method according to claim 1, wherein, the first touch operation is a drag operation; the second touch operation is a click operation.
11. An adjustment device for an editing viewing angle, wherein, the adjustment device includes: a control display module, configured to respond to a game editing function trigger operation, and display an initial game editing interface of a three-dimensional game scene to be edited in an initial viewing direction through a graphical user interface; wherein, the graphical user interface further displays a viewing angle adjustment control; a first interface adjustment module, configured to respond to a first touch operation on the viewing angle adjustment control, determine a target viewing direction according to the operation parameters of the first touch operation, and display a first game editing interface of the three-dimensional game scene to be edited in the target viewing direction; A second interface adjustment module, configured to respond to a second touch operation on an interaction response area of the perspective adjustment control, determine a target standard perspective direction according to a standard perspective direction corresponding to the interaction response area, and display a second game editing interface of the to-be-edited 3D game scene in the target standard perspective direction; wherein, the first touch operation is different from the second touch operation; the standard perspective direction includes a front perspective direction, a rear perspective direction, an upper perspective direction, a lower perspective direction, a left perspective direction, and a right perspective direction; the interaction response area includes a plurality of sub-interaction response areas; each sub-interaction response area corresponds to a standard perspective direction; as the perspective adjustment control rotates, the standard perspective directions corresponding to different sub-interaction response areas are different from the current perspective corresponding to the initial game editing interface.
12. An electronic device, characterized in that it includes: a processor, a storage medium, and a bus, the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the method for adjusting the editing perspective according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the method for adjusting the editing perspective according to any one of claims 1 to 10 are executed.
Citation Information
Patent Citations
Method and apparatus for view switching of three-dimensional virtual environment, equipment and storage medium
CN108376424A
Virtual environment picture display method and device, equipment and medium
CN111603770A
Virtual scene display method and device, terminal and storage medium
CN114130020A