Interface display method, device, terminal and storage medium

By detecting interface switching operations in electronic games and controlling the target virtual object to move to the same position as the second scene interface in the first scene interface, the problem of inconsistent display effects during interface switching is solved, and the visual display effect is improved.

CN114177614BActive Publication Date: 2025-04-18TENCENT TECH SHANGHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111641438.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-11-09
Filing Date
2021-12-29
Publication Date
2025-04-18
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

In video games, the display effect is incoherent when switching interfaces, resulting in poor visual display effect.

Method used

Through the detection interface switching operation, the control target virtual object gradually moves to the same position as the display position of the target virtual object in the second scene interface in the first scene interface, and then switches to the second scene interface.

Benefits of technology

It improves the visual display effect during interface switching, making the display of the target virtual object look coherent, making it easier for users to locate the display position of the target virtual object.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114177614B_ABST
    Figure CN114177614B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose an interface display method, device, terminal and storage medium, which belong to the field of computer technology. The method includes: displaying a first scene interface including a target virtual object; in response to an interface switching operation, controlling the target virtual object to move to a first target position in the first scene interface, wherein the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as the display position of the target virtual object in the second scene interface; when the target virtual object moves to the first target position, switching from the first scene interface to the second scene interface. Since the display of the target virtual object in the first scene interface and the second scene interface is coherent, the switching of the two scene interfaces looks more coherent, thereby improving the visual display effect when switching interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed on November 9, 2021, with application number 202111320394.5, and invention name “Interface display method, device, terminal and storage medium”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The embodiments of the present application relate to the field of computer technology, and in particular to an interface display method, device, terminal and storage medium. Background Art

[0003] With the development of computer technology, electronic games have become a common way for people to relax and entertain themselves. Moreover, with the continuous updates of electronic games, people have higher and higher requirements for the visual display effects of electronic games. For example, in the related art, when switching between different interfaces, the content displayed on the interface changes suddenly, resulting in incoherent display between the two interfaces and poor visual display effects. Summary of the invention

[0004] The embodiments of the present application provide an interface display method, device, terminal and storage medium, which improve the visual display effect when the interface is switched. The technical solution is as follows:

[0005] In one aspect, a method for displaying an interface is provided, the method comprising:

[0006] Displaying a first scene interface, wherein the first scene interface includes the target virtual object;

[0007] Based on the first scene interface, detecting an interface switching operation;

[0008] In response to an interface switching operation, controlling the target virtual object to move to a first target position in the first scene interface, wherein the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as a display position of the target virtual object in the second scene interface;

[0009] When the target virtual object moves to the first target position, the first scene interface is switched to the second scene interface.

[0010] In another aspect, an interface display device is provided, the device comprising:

[0011] An interface display module, used to display a first scene interface, wherein the first scene interface includes a target virtual object;

[0012] an object movement module, configured to control the target virtual object to move to a first target position in the first scene interface in response to an interface switching operation, wherein the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as a display position of the target virtual object in the second scene interface;

[0013] An interface switching module is used to switch from the first scene interface to the second scene interface when the target virtual object moves to the first target position.

[0014] Optionally, the object moving module is used to scale a first scene picture in the first scene interface so that the target virtual object moves to the first target position, and the first scene picture includes the target virtual object;

[0015] The interface switching module is used to switch from the first scene interface to the second scene interface when the zoom ratio of the first scene screen reaches the target zoom ratio and the target virtual object moves to the first target position.

[0016] Optionally, the first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the object moving module includes:

[0017] a position determination unit, configured to determine a second target position in response to the interface switching operation, so that in a scene interface obtained after the virtual camera shoots at the second target position, the target virtual object is located at the first target position;

[0018] A camera moving unit is used to control the virtual camera to move toward the second target position, and to control the virtual camera to shoot the target virtual object in the first virtual scene, and to display the first scene interface based on the shot first scene picture.

[0019] Optionally, the object movement module further includes: a speed determination unit, configured to determine the movement speed and current shooting position of the virtual camera in response to the interface switching operation;

[0020] The camera moving unit is used to control the virtual camera to move from the current shooting position to the second target position at the moving speed.

[0021] Optionally, the first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the interface switching module is used to:

[0022] The first scene interface is hidden, and the second scene interface is displayed, where the second scene interface is obtained by controlling the virtual camera to shoot the second virtual scene.

[0023] Optionally, the target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and the object movement module is used to control the three-dimensional model to move to the first target position in response to the interface switching operation, and obtain a two-dimensional image corresponding to the target virtual object;

[0024] The interface switching module is used to switch from the first scene interface to the second scene interface when the three-dimensional model moves to the first target position, and display the two-dimensional image at the same display position as the first target position in the second scene interface.

[0025] Optionally, the target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and the object movement module is used to control the two-dimensional image to move to the first target position in response to the interface switching operation, and obtain a three-dimensional model corresponding to the target virtual object;

[0026] The interface switching module is used to switch from the first scene interface to the second scene interface when the target virtual object moves to the first target position, and display the three-dimensional model at the same display position as the first target position in the second scene interface.

[0027] Optionally, the first scene interface includes multiple virtual objects, and the interface switching operation is a trigger operation on the virtual object; the device also includes: an operation detection module, which is used to detect the trigger operation on the target virtual object among the multiple virtual objects based on the first scene interface.

[0028] Optionally, the interface switching module is further used to display description information of the target virtual object in the second scene interface.

[0029] On the other hand, a terminal is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method described in the above aspects.

[0030] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the interface display method described in the above aspects.

[0031] On the other hand, a computer program product is provided, wherein the computer program comprises a computer program, and when the computer program is executed by a processor, the operations performed by the interface display method described in the above aspects are implemented.

[0032] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0033] The interface display method, device, terminal and storage medium provided in the embodiment of the present application do not directly switch the first scene interface to the second scene interface in response to the interface switching operation during the interface switching process, but first move the display position of the target virtual object in the first scene interface to move the target virtual object to the same position as the display position of the target virtual object in the second scene interface, so that the display of the target virtual object appears to be coherent, and then when switching from the first scene interface to the second scene interface, the switching of the two scene interfaces appears to be more coherent, thereby improving the visual display effect when switching interfaces. In addition, since the display of the target virtual object in the first scene interface and the second scene interface is coherent, it is easier for the user to locate the display position of the target virtual object after switching to the second scene interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0036] Figure 2 is a flow chart of an interface display method provided in an embodiment of the present application;

[0037] Figure 3 is a flow chart of an interface display method provided in an embodiment of the present application;

[0038] Figure 4 is a schematic diagram of an object list interface provided in an embodiment of the present application;

[0039] Figure 5 is a schematic diagram of an object display interface provided in an embodiment of the present application;

[0040] Figure 6 is a schematic diagram of an interface switching process provided by an embodiment of the present application;

[0041] Figure 7is a schematic diagram of an interface switching process provided by an embodiment of the present application;

[0042] Figure 8 is a schematic diagram of a virtual object loading process provided by an embodiment of the present application;

[0043] Fig. 9 is a flow chart of an interface display method provided in an embodiment of the present application;

[0044] Fig.10 is a flow chart of an interface display method provided in an embodiment of the present application;

[0045] Fig.11 is a flow chart of an interface display method provided in an embodiment of the present application;

[0046] Fig.12 is a structural schematic diagram of an interface display device provided in an embodiment of the present application;

[0047] Fig.13 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0048] Fig.14 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0050] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of this application, the first scene interface can be called the second scene interface, and the second scene interface can be called the first scene interface.

[0051] The terms "at least one", "a plurality of", "each", "any" and the like used in this application include one, two or more than two, a plurality of includes two or more than two, each refers to each of the corresponding plurality, and any refers to any one of the plurality. For example, the plurality of virtual objects includes three virtual objects, and each virtual object refers to each virtual object of the three virtual objects, and any refers to any one of the three virtual objects, which may be the first, the second, or the third.

[0052] In order to facilitate understanding of the embodiments of the present application, the key words involved in the embodiments of the present application are first explained:

[0053] UI (User Interface): In a game scenario, UI is the medium through which users interact with game content.

[0054] Virtual scene: A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. A virtual scene is used to simulate a virtual space, which is an open space. The virtual scene is a semi-simulated and semi-fictional virtual scene, or a completely fictional virtual scene. The virtual scene is any of a two-dimensional virtual scene and a three-dimensional virtual scene. For example, the virtual scene includes virtual objects, such as characters, props, rivers, grass, land, buildings, etc.

[0055] Scene switching: remove the resources of the previous scene, and then load the resources of the new scene, that is, remove the interface used to display the previous scene, and then load the interface used to display the new scene.

[0056] Model: A type of 3D game resource, obtained by superimposing polygons. Depending on the level of refinement of the model, it can be divided into high-poly, low-poly, etc.

[0057] Picture: 2D game resource type, obtained by hand-drawing or rendering 3D models into pictures.

[0058] Virtual camera: used to shoot virtual scenes, that is, to display the captured images through the interface.

[0059] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.

[0060] The terminal 101 installs and runs an application that supports virtual scenes. Optionally, the application includes FPS (First-Person Shooting game), third-person shooting game, MOBA (Multiplayer Online Battle Arena), strategy game (Simulation Game, SLG), etc. When the terminal 101 runs the application, the user interface of the application is displayed on the screen of the terminal 101, and based on the user's operation in the user interface, the virtual scene is loaded and displayed through the user interface, and the user can operate the virtual objects in the virtual scene through the user interface. Among them, the server 102 provides services for the application.

[0061] Optionally, the terminal 101 is a computer, a mobile phone, a tablet computer or other terminals. Optionally, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0062] Figure 2 This is a flow chart of an interface display method provided by an embodiment of the present application. The execution subject of the embodiment of the present application is a terminal. Figure 2 , the method comprises the following steps:

[0063] 201. A terminal displays a first scene interface, where the first scene interface includes a target virtual object.

[0064] The first scene interface is an interface corresponding to the first virtual scene, and the first virtual scene includes a target virtual object, wherein the target virtual object is an movable object in the first virtual scene, such as a person, an animal, etc.; or the target virtual object is an immovable object such as a prop, a building, or a landscape in the first virtual scene.

[0065] 202. The terminal controls the target virtual object to move to the first target position in the first scene interface in response to the interface switching operation, wherein the interface switching operation indicates switching to the second scene interface including the target object, and the first target position in the first scene interface is the same as the display position of the target virtual object in the second scene interface.

[0066] The interface switching operation indicates switching from a first scene interface to a second scene interface, the first scene interface and the second scene interface are interfaces corresponding to different virtual scenes, but the first scene interface and the second scene interface include the same target virtual object. The interface switching operation is a click operation, a slide operation, a gesture operation or other operations.

[0067] Optionally, the target virtual object in the first scene interface and the second scene interface can be displayed in the same form, or in different forms. For example, the target virtual object in the first scene interface and the second scene interface is displayed in the form of a two-dimensional image, or in the form of a three-dimensional model; or, the target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and the target virtual object in the second scene interface is displayed in the form of a three-dimensional model; or, the target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and the target virtual object in the second scene interface is displayed in the form of a two-dimensional image.

[0068] In response to the interface switching operation, the terminal does not directly switch the first scene interface to the second scene interface, but first controls the target virtual object in the first scene interface to gradually move to the first target position. The user can see that the target virtual object gradually moves from the current display position to the first target position.

[0069] 203. When the target virtual object moves to the first target position, the terminal switches from the first scene interface to the second scene interface.

[0070] Since the first target position in the first scene interface is the same as the display position of the target virtual object in the second scene interface, when the target virtual object moves to the first target position, the first scene interface is switched to the second scene interface. At this time, the target virtual object is displayed at the position corresponding to the first target position in the second scene interface.

[0071] During the entire switching process, what the user sees is that the target virtual object in the first scene interface first moves to the first target position, and then the same target virtual object in the second scene interface is displayed at the first target position. For the user, the display of the target virtual object is coherent, rather than suddenly switching from the initial display position of the target virtual object in the first scene interface to the same display position as the first target position in the second scene interface.

[0072] The method provided in the embodiment of the present application, during the interface switching process, in response to detecting an interface switching operation, does not directly switch the first scene interface to the second scene interface, but first moves the display position of the target virtual object in the first scene interface to move the target virtual object to the same position as the display position of the target virtual object in the second scene interface, so that the display of the target virtual object appears to be coherent, and then when switching from the first scene interface to the second scene interface, the switching of the two scene interfaces appears to be more coherent, thereby improving the visual display effect when switching interfaces.

[0073] Figure 3 This is a flow chart of another interface display method provided by an embodiment of the present application. The execution subject of this method is a terminal, see Figure 3 , the method comprises the following steps:

[0074] 301. The terminal displays a first scene interface.

[0075] Among them, the first scene interface is any interface that includes a target virtual object and can be switched from the first scene interface to another scene interface that includes the same target virtual object as the first scene interface. Taking the game scene as an example, the first scene interface includes an object list interface, an object display interface, a prop display interface, a virtual map interface, a building interface, a game interface or other game interfaces. The first scene interface includes at least one virtual object, which is an active object in the virtual scene, such as a virtual object such as a person or an animal; or the virtual object is an inactive prop, building, landscape or other object in the virtual scene, and the target virtual object is any virtual object among the at least one virtual object.

[0076] In one possible implementation, the terminal is installed with an application supporting a virtual scene, and is capable of running the application, loading the virtual scene and the virtual objects included in the virtual scene through the application, and displaying a scene interface corresponding to the virtual scene. Optionally, the terminal logs in to the application based on a user identifier, which is a nickname, game account, name, or other identifier.

[0077] In one possible implementation, the first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene. The virtual camera refers to a three-dimensional model located around a virtual object in a virtual scene, through which the virtual object in the first virtual scene can be shot from different angles. Optionally, the virtual camera will not be actually displayed in the first virtual scene, that is, the virtual camera is not displayed in the first scene interface. Optionally, when the user controls the movement of the virtual object based on the first scene interface, the virtual camera will move with the movement of the virtual object, and the relative position relationship between the virtual camera and the virtual object may change, and as the relative position relationship changes, the display position or display size of the virtual object in the first scene interface will also change accordingly.

[0078] Optionally, the terminal controls the virtual camera to shoot the first virtual scene to obtain a first scene picture, and displays the first scene picture in a first scene interface, that is, the first scene interface includes the first scene picture, and the first scene picture includes the target virtual object.

[0079] One point that needs to be explained is that the embodiment of the present application is only described by taking the example of controlling the virtual camera to shoot the first virtual scene. In another embodiment, the virtual camera can also be controlled to adopt a similar shooting method to shoot other virtual scenes, for example, the virtual camera is controlled to shoot the second virtual scene. The embodiment of the present application will not be repeated here.

[0080] Another point that needs to be explained is that the first scene interface can also include operable controls, and the embodiment of the present application does not limit other content included in the first scene interface except the target virtual object.

[0081] 302. The terminal detects an interface switching operation based on the first scene interface.

[0082] After the terminal displays the first scene interface, the user can perform operations based on the first scene interface, and the terminal detects the operations performed by the user. For example, the user can perform operations such as click operations, slide operations, gesture operations, etc. in the first scene interface, where the gesture operation is to press the screen with two fingers and slide inward.

[0083] The embodiment of the present application is described by taking the example of an interface switching operation instruction switching from the first scene interface to the second scene interface, where the second scene interface is an interface including the same target virtual object as the first scene interface.

[0084] In a possible implementation, the first scene interface includes multiple virtual objects, and when the user wants to switch the terminal from the first scene interface to the second scene interface, a target virtual object among the multiple virtual objects is triggered. Based on the first scene interface, the terminal detects a trigger operation on the target virtual object among the multiple virtual objects, and the trigger operation indicates switching from the first scene interface to the second scene interface including the target virtual object.

[0085] For example, see Figure 4 The object list interface 401 shown in the figure, in which virtual objects are displayed in the form of two-dimensional images. When the user needs to view detailed information of virtual object A (target virtual object), the user clicks on the two-dimensional image corresponding to the virtual object A. The user's click operation on the two-dimensional image is an interface switching operation, and the interface switching operation indicates switching from the object list interface to the object display interface corresponding to the virtual object A.

[0086] In another possible implementation, the first scene interface includes a target virtual object, and the first scene interface includes a switching control. When the user wants to switch the terminal from the first scene interface to the second scene interface including the target virtual object, the switching control is triggered. Based on the first scene interface, the terminal detects a triggering operation on the switching control, and the triggering operation indicates switching from the first scene interface to the second scene interface including the target virtual object.

[0087] For example, see Figure 5 The object display interface 501 shown in the figure displays the target virtual object in the form of a three-dimensional model. When the user needs to view the object list corresponding to multiple virtual objects, the user clicks the switch control in the object display interface 501. The user's click operation on the switch control is the interface switching operation.

[0088] It should be noted that the embodiments of the present application only use the above-mentioned interface switching operations as examples for illustration. In another embodiment, the interface switching operation may also be other operations. For example, the interface switching operation is a sliding operation to the left, or a sliding operation to the right, or other gesture operations. The embodiments of the present application do not limit the specific form of the interface switching operation.

[0089] 303. In response to the interface switching operation, the terminal zooms in and out the first scene image in the first scene interface so that the target virtual object moves to the first target position.

[0090] The first scene interface is an interface displayed by the terminal, in which a first scene picture is displayed, the first scene picture is a picture obtained by shooting the first virtual scene, and the first scene picture includes a target virtual object. Optionally, the first scene interface also includes content other than the first scene picture, for example, the first scene interface also includes operable controls.

[0091] In the process of scaling the first scene screen, the terminal presents the effect of the target virtual object moving to the first target position in the first scene interface, and the display size of the target virtual object will scale with the scaling of the first scene screen. Optionally, the terminal controls the first scene screen to be enlarged in response to the interface switching operation, so that the target virtual object moves to the first target position, and the display size of the target virtual object is enlarged; or the terminal controls the first scene screen to be reduced in response to the interface switching operation, so that the target virtual object moves to the first target position, and the display size of the target virtual object is reduced. Among them, the first target position is the same position in the first scene interface as the display position of the target virtual object in the second scene interface, that is, the first target position is determined according to the display position of the target virtual object in the second scene interface. For example, the first target position is expressed in the form of coordinates, and the coordinates of the center point of the target virtual object in the second scene interface are (20, 40), then the coordinates of the first target position in the first scene interface are determined to be (20, 40), then in the first scene interface, the center point of the target virtual object gradually moves to the coordinates (20, 40).

[0092] In one possible implementation, the first scene interface is obtained by controlling the virtual camera to shoot the first virtual scene, and the terminal controls the virtual camera to move in response to the interface switching operation, thereby controlling the first scene screen to scale, that is, adjusting the display position and display size of the target virtual object in the first scene interface. That is, the terminal determines the second target position in response to the interface switching operation, so that in the scene interface obtained after the virtual camera shoots at the second target position, the virtual object is located at the first target position; controls the virtual camera to move to the second target position, and controls the virtual camera to shoot the target virtual object in the first virtual scene, and displays the first scene interface based on the shot first scene screen. Among them, the second target position refers to the shooting position of the virtual camera in the first virtual scene.

[0093] Since the virtual camera shoots the target virtual object during the movement, and the virtual camera gradually moves toward the second target position, when the first scene picture shot by the virtual camera during the movement is displayed in the first scene interface, what the user sees is the zoomed first scene picture in the first scene interface, that is, the target virtual object gradually moves toward the first target position, and the display size of the target virtual object is continuously adjusted as it moves.

[0094] Optionally, the second target position is determined based on the first target position, and the terminal obtains the display position of the target virtual object in the scene interface after the switch in response to the interface switching operation, determines the position in the first scene interface that is the same as the display position as the first target position, and then determines the shooting position of the virtual camera so that the target virtual object can be located at the first target position based on the first target position. The first target position is pre-set, and optionally, the first target position is included in the interface data related to the first scene interface stored by the terminal.

[0095] In a possible implementation, in response to the interface switching operation, the terminal determines the moving speed and current shooting position of the virtual camera in addition to the second target position: the virtual camera is controlled to move from the current shooting position to the second target position according to the moving speed. The current shooting position of the virtual camera is detected by the terminal, and the moving speed is preset.

[0096] Optionally, the interface switching speeds can be the same or different for different virtual scenes. Taking the game scene as an example, since the game scene needs to be displayed as quickly as possible, a faster movement speed needs to be set so that the virtual camera can shoot quickly, presenting the effect of quickly switching from one scene interface to another.

[0097] Optionally, when the display size of the target virtual object in the first scene interface is smaller than the display size of the target virtual object in the second scene interface, in the first virtual scene, the virtual camera moves to a position close to the target virtual object, so that the display size of the target virtual object in the captured first scene image is gradually enlarged. Alternatively, when the display size of the target virtual object in the first scene interface is larger than the display size of the target virtual object in the second scene interface, in the first virtual scene, the virtual camera moves to a position away from the target virtual object, so that the display size of the target virtual object in the captured first scene image is gradually reduced.

[0098] Take switching from the object list interface to the object display interface as an example, see Figure 6 In the switching process shown, the object list interface 601 is first displayed, and the user clicks the third target virtual object in the first row of the object list interface 601, and then the scene screen in the object list interface 601 is gradually enlarged. It can be seen that the display position of the target virtual object in the object list interface 601 gradually moves to the left, and the display size of the target virtual object gradually enlarges. Figure 6 In the first scene interface 601 after the user clicks the target virtual object, the area framed by the dotted line is the first scene interface currently displayed by the terminal. Figure 7 ,Will Figure 6 Expressed in another form, it can be seen from the changes in the object list interface 701 that the scene image in the object list interface 701 is gradually enlarged, the target virtual object gradually moves to the left, and the display size of the target virtual object is gradually enlarged.

[0099] It should be noted that, during the zooming process of the first scene picture, no matter how the first scene picture is zoomed, the first scene picture always includes the target virtual object.

[0100] 304. When the zoom ratio of the first scene screen reaches the target zoom ratio and the target virtual object moves to the first target position, the terminal switches from the first scene interface to the second scene interface, and displays the target virtual object at the same display position as the first target position in the second scene interface.

[0101] The scaling ratio refers to the ratio between the size of the first scene screen before scaling and the size after scaling; the target scaling ratio is a preset ratio, and the terminal obtains the target scaling ratio in response to the interface switching instruction. Optionally, the interface data related to the first scene interface stored in the terminal includes the target scaling ratio.

[0102] Optionally, when the first target position is a position point, the target virtual object moving to the first target position means that any part of the target virtual object moves to the position point, or that the center point of the target virtual object moves to the position point; or when the first target position is an area, the target virtual object moving to the first target position means that any part of the target virtual object moves to the area, or that the center point of the target virtual object moves to the area.

[0103] In one possible implementation, after the target virtual object moves to the first target position, if the zoom ratio has not reached the target zoom ratio, the display position of the target virtual object will no longer be moved, but the size of the first scene screen will be adjusted with the target virtual object as the center until the zoom ratio of the first scene screen reaches the target zoom ratio.

[0104] In a possible implementation, the terminal controls the virtual camera to shoot the second virtual scene, and the second scene interface is based on the captured image, and the second scene interface is different from the virtual scene displayed in the first scene interface. Optionally, the terminal controls the virtual camera to shoot the second virtual scene, obtains the second scene image, and displays the second scene image in the second scene interface. The process of the virtual camera shooting the second virtual scene is the same as the process of shooting the first virtual scene in the above embodiment, and will not be repeated here.

[0105] In a possible implementation, the terminal hides the first scene interface and displays the second scene interface. Figure 8 In the process of zooming the first scene screen, the target virtual object to be displayed in the second scene interface is loaded, and the target virtual object is moved to the first target position in the first scene interface. When the zoom ratio of the first scene screen reaches the target zoom ratio, the target virtual object displayed in the first scene interface is hidden, and the loaded target virtual object in the second scene interface is displayed at the corresponding position, that is, the target virtual object is displayed at the same display position as the first target position in the second scene interface.

[0106] For example, see Figure 6 When the third virtual object in the first row moves to the left, the second scene interface 602 is switched to display the virtual object and the description information of the virtual object in the second scene interface 602. Figure 7 When the third virtual object in the first row moves to the left, the interface switches to the second scene 702 , and the virtual object and description information of the virtual object are displayed in the second scene 702 .

[0107] In addition, in a possible implementation, after the terminal switches to the second scene interface, after detecting an interface switching operation based on the second scene interface, steps similar to the above steps 303-304 are executed to switch from the second scene interface to the first scene interface again. That is, the terminal detects an interface switching operation based on the second scene interface, and in response to the interface switching operation, controls the target virtual object to move to the third target position in the second scene interface, and the third target position in the second scene interface is the same as the display position of the target virtual object in the first scene interface; when the target virtual object moves to the third target position, the interface is switched from the second scene interface to the first scene interface. Among them, the interface switching operation detected based on the second scene interface may be the same as or different from the interface switching operation detected based on the first scene interface in the above embodiment.

[0108] It should be noted that different target zoom ratios can be set for the same scene interface. For example, the first scene interface is an object list interface. For a trigger operation on any virtual object, in response to the trigger operation, it switches to the object display interface corresponding to the virtual object. Since the display sizes of different virtual objects are different in different object display interfaces, in order to make the display size of the virtual object in the first scene interface before switching and the display size of the virtual object in the second scene interface after switching smaller, so as to make the interface switching more coherent, the zoom ratio of the object list interface can be different when switching from the object list interface to the object display interface.

[0109] The method provided in the embodiment of the present application, during the interface switching process, in response to detecting an interface switching operation, does not directly switch the first scene interface to the second scene interface, but first moves the display position of the target virtual object in the first scene interface to move the target virtual object to the same position as the display position of the target virtual object in the second scene interface, so that the display of the target virtual object appears to be coherent, and then when switching from the first scene interface to the second scene interface, the switching of the two scene interfaces appears to be more coherent, thereby improving the visual display effect when switching interfaces.

[0110] Furthermore, since the display of the target virtual object in the first scene interface and the second scene interface is coherent, after switching to the second scene interface, it is easier for the user to locate the display position of the target virtual object.

[0111] Moreover, when switching between two-dimensional images and three-dimensional models, the display effect from static to dynamic is similar to the freeze-frame effect of a movie, enhancing the user's sense of immersion.

[0112] In the above embodiments, there is no restriction on the form in which the target virtual object is displayed. For example, the virtual object is displayed in the form of a two-dimensional image before the interface is switched, and is displayed in the form of a three-dimensional model after the interface is switched; or the target virtual object is displayed in the form of a three-dimensional model before the interface is switched, and is displayed in the form of a two-dimensional image after the interface is switched. The detailed switching process is shown in the following possible implementations:

[0113] In a possible implementation, the target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and the target virtual object in the switched second scene interface is displayed in the form of a two-dimensional image. Fig. 9 The flowchart of the interface display method shown in FIG. 1 comprises the following steps:

[0114] 901. The terminal displays a three-dimensional model in a first scene interface.

[0115] 902. The terminal detects an interface switching operation based on the first scene interface.

[0116] 903. In response to the interface switching operation, the terminal zooms in and out the first scene image in the first scene interface to move the three-dimensional model to the first target position in the first scene interface, and obtains a two-dimensional image corresponding to the three-dimensional model.

[0117] 904. When the zoom ratio of the first scene screen reaches the target zoom ratio and the three-dimensional model moves to the first target position, the terminal switches from the first scene interface to the second scene interface, and displays the two-dimensional image in the second scene interface at the same display position as the first target position.

[0118] For example, see above Figure 4 The object list interface 401 and Figure 5 In the object display interface 501 shown, when the first scene interface is the object display interface 501, two fingers slide inward in the object display interface 501 to gradually shrink the scene screen in the object display interface 501, that is, the object display interface presents: the three-dimensional model in the object display interface 501 gradually moves to the right, and the three-dimensional model gradually shrinks until the three-dimensional model moves to the first target position, and switches to the object list interface 402, which is the second scene interface.

[0119] The implementation of the above steps 901 to 904 is the same as the implementation of the above steps 301 to 304, and will not be repeated here.

[0120] In another possible implementation, the target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and the target virtual object in the switched second scene interface is displayed in the form of a three-dimensional model.

[0121] See also Fig.10 The flowchart of the interface display method shown in FIG. 1 comprises the following steps:

[0122] 1001. The terminal displays a two-dimensional image in a first scene interface.

[0123] 1002. The terminal detects an interface switching operation based on the first scene interface.

[0124] 1003. In response to the interface switching operation, the terminal zooms in and out the first scene image in the first scene interface to move the two-dimensional image to the first target position in the first scene interface, and obtains a three-dimensional model corresponding to the two-dimensional image.

[0125] 1004. When the zoom ratio of the first scene screen reaches the target zoom ratio and the two-dimensional image moves to the first target position, the terminal switches from the first scene interface to the second scene interface, and displays the three-dimensional model in the same display position as the first target position in the second scene interface.

[0126] In one possible implementation, the terminal also displays description information of the target virtual object in the second scene interface, and the description information is used to describe the target virtual object. The embodiment of the present application does not limit the content of the description information. For example, if the target virtual object is a virtual character in a game, the description information includes information such as the character level, star rating, physical strength, various attribute values, and skills carried by the character.

[0127] For example, see above Figure 4 The object list interface 401 and Figure 5 The object display interface 501 shown, the first scene interface is the object list interface 401, click on the two-dimensional image corresponding to the target virtual object A in the object list interface, and gradually enlarge the scene screen in the object list interface 401, that is, it is presented in the object list interface: the two-dimensional image in the object list interface 401 gradually moves to the left, and the two-dimensional image gradually enlarges until the two-dimensional image moves to the first target position, and switches to the object display interface 501, that is, the object display interface 501 is the second scene interface.

[0128] The implementation of the above steps 1001 to 1004 is the same as the implementation of the above steps 301 to 304, and will not be repeated here.

[0129] In addition, in a possible implementation, the terminal controls the virtual camera to move, and shoots the target virtual object during the movement, so that the user sees that the target virtual object moves. From the perspective of the virtual camera, see Fig.11 The flowchart of the interface display method shown in FIG. 1 comprises the following steps:

[0130] 1101. The terminal displays a first scene interface.

[0131] Taking the game scene as an example, the first scene interface includes multiple virtual objects displayed in the form of two-dimensional images, and the multiple virtual objects are virtual objects owned by the current user. Optionally, the multiple two-dimensional images are arranged in sequence in the first scene interface according to a certain order, such as in the order of quality corresponding to the virtual objects, or in the order of level size corresponding to the virtual objects.

[0132] 1102. The terminal detects a triggering operation on a two-dimensional image in the first scene interface based on the first scene interface.

[0133] When the user wants to view detailed information of the target virtual object, the user triggers the two-dimensional image corresponding to the target virtual object. After the terminal detects the triggering operation on the two-dimensional image, it can switch to the interface for introducing the target virtual object.

[0134] 1103. In response to the trigger operation, the terminal controls the virtual camera to move toward the second target position, controls the virtual camera to shoot the two-dimensional image, and loads the three-dimensional model.

[0135] 1104. When the virtual camera moves to the second target position, the terminal stops moving the virtual camera, hides the content in the first scene interface, and displays the second scene interface.

[0136] The terminal switches from the first scene interface to the second scene interface, and displays the target virtual object in the form of a three-dimensional model in the second scene interface. Optionally, the user clicks on the three-dimensional model, and the terminal responds to the click operation on the three-dimensional model by performing a target operation, such as playing a voice corresponding to the target virtual object, or controlling the three-dimensional model to perform a target action, etc.

[0137] Optionally, the second scene interface also includes description information of the target virtual object, which is used to introduce the details of the target object. For example, the description information includes information such as the level, physical strength, various attribute values, and skills possessed by the character corresponding to the target virtual object.

[0138] The interface switching process in the above steps 1103 and 1104 is the same as that in the above steps 303 and 304, and will not be repeated here.

[0139] It should be noted that the embodiment of the present application only takes the example of switching the target virtual object from a two-dimensional image to a three-dimensional model. In another embodiment, steps similar to the above steps 1101 to 1104 can be used to switch the target virtual object from a three-dimensional model to a two-dimensional image.

[0140] In addition, it should be noted that the above embodiment is only described by taking the game scene as an example. In another embodiment, the above interface switching method can also be applied in other scenarios, such as in an e-commerce shopping scenario, where multiple items (virtual objects) are displayed in the item list interface, and clicking on a target item among multiple items can switch to the details interface of the target item. When switching back to the item list interface from the details interface of the target item, the interface switching method provided in the embodiment of the present application can be used to scale the image corresponding to the target item in the details interface until the image is moved to the same position as the display position corresponding to the target item in the item list interface, and then switch back to the item list interface. For another example, it can be applied in a live broadcast viewing scenario or other scenarios involving interface switching.

[0141] Fig.12 is a schematic diagram of the structure of an interface display device provided in an embodiment of the present application. Fig.12 , the device comprises:

[0142] The interface display module 1201 is used to display a first scene interface, where the first scene interface includes a target virtual object;

[0143] The object movement module 1202 is used to control the target virtual object to move to a first target position in the first scene interface in response to an interface switching operation, wherein the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as the display position of the target virtual object in the second scene interface;

[0144] The interface switching module 1203 is used to switch from the first scene interface to the second scene interface when the target virtual object moves to the first target position.

[0145] The device provided in the embodiment of the present application, during the interface switching process, responds to the interface switching operation, does not directly switch the first scene interface to the second scene interface, but first moves the display position of the target virtual object in the first scene interface to move the target virtual object to the same position as the display position of the target virtual object in the second scene interface, so that the display of the target virtual object appears to be coherent, and then when switching from the first scene interface to the second scene interface, the switching of the two scene interfaces appears to be more coherent, thereby improving the visual display effect when switching interfaces.

[0146] Optionally, the object moving module 1202 is used to scale the first scene picture in the first scene interface so that the target virtual object moves to the first target position, and the first scene picture includes the target virtual object;

[0147] The interface switching module 1203 is used to switch from the first scene interface to the second scene interface when the zoom ratio of the first scene screen reaches the target zoom ratio and the target virtual object moves to the first target position.

[0148] Optionally, the first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the object moving module 1202 includes:

[0149] A position determination unit, configured to determine a second target position in response to an interface switching operation, so that in a scene interface obtained after the virtual camera shoots at the second target position, the target virtual object is located at the first target position;

[0150] The camera moving unit is used to control the virtual camera to move to the second target position, and control the virtual camera to shoot the target virtual object in the first virtual scene, and display the first scene interface based on the shot first scene picture.

[0151] Optionally, the object movement module 1202 further includes: a speed determination unit, configured to determine the movement speed and current shooting position of the virtual camera in response to the interface switching operation;

[0152] The camera moving unit is used to control the virtual camera to move from the current shooting position to the second target position according to the moving speed.

[0153] Optionally, the first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the interface switching module 1203 is used to:

[0154] The first scene interface is hidden, and the second scene interface is displayed, where the second scene interface is obtained by controlling the virtual camera to shoot the second virtual scene.

[0155] Optionally, the target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and the object movement module 1202 is used to control the three-dimensional model to move to the first target position in response to the interface switching operation, and obtain a two-dimensional image corresponding to the target virtual object;

[0156] The interface switching module 1203 is used to switch from the first scene interface to the second scene interface when the three-dimensional model moves to the first target position, and display the two-dimensional image at the same display position as the first target position in the second scene interface.

[0157] Optionally, the target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and the object moving module 1202 is used to control the two-dimensional image to move to the first target position in response to the interface switching operation, and obtain a three-dimensional model corresponding to the target virtual object;

[0158] The interface switching module 1203 is used to switch from the first scene interface to the second scene interface when the target virtual object moves to the first target position, and display the three-dimensional model at the same display position as the first target position in the second scene interface.

[0159] Optionally, the first scene interface includes multiple virtual objects, and the interface switching operation is a trigger operation on the virtual object; the device also includes: an operation detection module, which is used to detect a trigger operation on a target virtual object among the multiple virtual objects based on the first scene interface.

[0160] Optionally, the interface switching module 1203 is further configured to display description information of the target virtual object in the second scene interface.

[0161] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0162] It should be noted that: the interface display device provided in the above embodiment only uses the division of the above functional modules as an example when displaying the interface. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the interface display device provided in the above embodiment and the interface display method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0163] An embodiment of the present application also provides a terminal, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method of the above embodiment.

[0164] Fig.13 The terminal 1300 provided in the embodiment of the present application is a schematic diagram of the structure of the terminal 1300. The terminal 1300 includes: a processor 1301 and a memory 1302.

[0165] 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), and 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.

[0166] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one computer program, which is used to be executed by the processor 1301 to implement the interface display method provided in the method embodiment of the present application.

[0167] In some embodiments, the terminal 1300 may further optionally include: a peripheral device interface 1303 and at least one peripheral device. The processor 1301, the memory 1302 and the peripheral device interface 1303 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a display screen 1304, an audio circuit 1305 and a power supply 1306.

[0168] The peripheral device interface 1303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0169] The display screen 1304 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1304 is a touch display screen, the display screen 1304 also has the ability to collect touch signals on the surface or above the surface of the display screen 1304. The touch signal can be input to the processor 1301 as a control signal for processing. At this time, the display screen 1304 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1304 can be one, set on the front panel of the terminal 1300; in other embodiments, the display screen 1304 can be at least two, respectively set on different surfaces of the terminal 1300 or in a folding design; in other embodiments, the display screen 1304 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1300. Even, the display screen 1304 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1304 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0170] The audio circuit 1305 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1301 for processing, or input them into the radio frequency circuit to realize voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1300. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1305 may also include a headphone jack.

[0171] The power supply 1306 is used to power various components in the terminal 1300. The power supply 1306 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1306 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0172] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0173] Fig.14 1400 is a structural diagram of a server provided in an embodiment of the present application. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1401 and one or more memories 1402, wherein the memory 1402 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1401 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0174] An embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the interface display method of the above embodiment.

[0175] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the operations performed by the interface display method of the above embodiment are implemented.

[0176] In some embodiments, the computer program involved in the embodiments of the present application may be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected by a communication network. Multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.

[0177] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0178] The above are only optional embodiments of the embodiments of the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. An interface display method, characterized in that: The method comprises: Displaying a first scene interface, wherein the first scene interface includes a target virtual object; In response to an interface switching operation, scaling a first scene screen in the first scene interface so that the target virtual object moves to a first target position in the first scene interface, wherein the first scene screen includes the target virtual object, and the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as a display position of the target virtual object in the second scene interface; When the zoom ratio of the first scene screen reaches the target zoom ratio and the target virtual object moves to the first target position, the first scene interface is switched to the second scene interface.

2. The method according to claim 1, characterized in that The first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and in response to the interface switching operation, controlling the target virtual object to move to a first target position in the first scene interface includes: In response to the interface switching operation, determining a second target position so that in a scene interface obtained after the virtual camera shoots at the second target position, the target virtual object is located at the first target position; The virtual camera is controlled to move toward the second target position, and the virtual camera is controlled to shoot the target virtual object in the first virtual scene, and the first scene interface is displayed based on the shot first scene picture.

3. The method according to claim 2, characterized in that The method further comprises: In response to the interface switching operation, determining the moving speed and current shooting position of the virtual camera; The controlling the virtual camera to move toward the second target position includes: The virtual camera is controlled to move from the current shooting position to the second target position at the moving speed.

4. The method according to claim 1, characterized in that: The first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the switching from the first scene interface to the second scene interface includes: The first scene interface is hidden, and the second scene interface is displayed, where the second scene interface is obtained by controlling the virtual camera to shoot the second virtual scene.

5. The method according to any one of claims 1 to 4, characterized in that: The target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and in response to the interface switching operation, controlling the target virtual object to move to a first target position in the first scene interface includes: In response to the interface switching operation, controlling the three-dimensional model to move toward the first target position, and acquiring a two-dimensional image corresponding to the target virtual object; When the target virtual object moves to the first target position, switching from the first scene interface to the second scene interface includes: When the three-dimensional model moves to the first target position, the first scene interface is switched to the second scene interface, and the two-dimensional image is displayed at the same display position as the first target position in the second scene interface.

6. The method according to any one of claims 1 to 4, characterized in that: The target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and in response to the interface switching operation, controlling the target virtual object to move to a first target position in the first scene interface includes: In response to the interface switching operation, controlling the two-dimensional image to move toward the first target position, and acquiring a three-dimensional model corresponding to the target virtual object; When the target virtual object moves to the first target position, switching from the first scene interface to the second scene interface includes: When the target virtual object moves to the first target position, the first scene interface is switched to the second scene interface, and the three-dimensional model is displayed at the same display position as the first target position in the second scene interface.

7. The method according to any one of claims 1 to 4, characterized in that: The first scene interface includes a plurality of virtual objects, and the interface switching operation is a triggering operation on the virtual objects; Before controlling the target virtual object to move to a first target position in the first scene interface in response to the interface switching operation, the method further includes: Based on the first scene interface, a triggering operation on the target virtual object among the multiple virtual objects is detected.

8. The method according to any one of claims 1 to 4, characterized in that: After switching from the first scene interface to the second scene interface, the method further includes: The description information of the target virtual object is displayed in the second scene interface.

9. An interface display device, characterized in that: The device comprises: An interface display module, used to display a first scene interface, wherein the first scene interface includes a target virtual object; an object movement module, configured to scale a first scene screen in the first scene interface in response to an interface switching operation, so as to control the target virtual object to move to a first target position in the first scene interface, wherein the first scene screen includes the target virtual object, the interface switching operation indicates switching to a second scene interface including the target virtual object, and the first target position in the first scene interface is the same as a display position of the target virtual object in the second scene interface; An interface switching module is used to switch from the first scene interface to the second scene interface when the zoom ratio of the first scene screen reaches the target zoom ratio and the target virtual object moves to the first target position.

10. The device according to claim 9, characterized in that The first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the object moving module includes: a position determination unit, configured to determine a second target position in response to the interface switching operation, so that in a scene interface obtained after the virtual camera shoots at the second target position, the target virtual object is located at the first target position; A camera moving unit is used to control the virtual camera to move toward the second target position, and to control the virtual camera to shoot the target virtual object in the first virtual scene, and to display the first scene interface based on the shot first scene picture.

11. The device according to claim 10, characterized in that The object moving module further includes: A speed determination unit, used to determine the moving speed and current shooting position of the virtual camera in response to the interface switching operation; The camera moving unit is used to control the virtual camera to move from the current shooting position to the second target position at the moving speed.

12. The device according to claim 9, characterized in that The first scene interface is obtained by controlling a virtual camera to shoot a first virtual scene, and the interface switching module is used to: The first scene interface is hidden, and the second scene interface is displayed, where the second scene interface is obtained by controlling the virtual camera to shoot the second virtual scene.

13. The device according to any one of claims 9 to 12, characterized in that The target virtual object in the first scene interface is displayed in the form of a three-dimensional model, and the object movement module is used to control the three-dimensional model to move to the first target position in response to the interface switching operation, and obtain a two-dimensional image corresponding to the target virtual object; The interface switching module is used to switch from the first scene interface to the second scene interface when the three-dimensional model moves to the first target position, and display the two-dimensional image at the same display position as the first target position in the second scene interface.

14. The device according to any one of claims 9 to 12, characterized in that The target virtual object in the first scene interface is displayed in the form of a two-dimensional image, and the object movement module is used to control the two-dimensional image to move to the first target position in response to the interface switching operation, and obtain a three-dimensional model corresponding to the target virtual object; The interface switching module is used to switch from the first scene interface to the second scene interface when the target virtual object moves to the first target position, and display the three-dimensional model at the same display position as the first target position in the second scene interface.

15. The device according to any one of claims 9 to 12, characterized in that The first scene interface includes multiple virtual objects, and the interface switching operation is a trigger operation on the virtual objects; the device also includes: an operation detection module, which is used to detect a trigger operation on the target virtual object among the multiple virtual objects based on the first scene interface.

16. The device according to any one of claims 9 to 12, characterized in that The interface switching module is further used to display the description information of the target virtual object in the second scene interface.

17. A terminal, characterized in that: The terminal includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method according to any one of claims 1 to 8.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method according to any one of claims 1 to 8.

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the operations performed by the interface display method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Game interface switching method and device

    CN105373379A

  • Game scene conversion method and device and electronic equipment

    CN112494945A