Movatterモバイル変換


[0]ホーム

URL:


CN114225394A - Interface conversion method, device, equipment and storage medium in game - Google Patents

Interface conversion method, device, equipment and storage medium in game
Download PDF

Info

Publication number
CN114225394A
CN114225394ACN202111483784.4ACN202111483784ACN114225394ACN 114225394 ACN114225394 ACN 114225394ACN 202111483784 ACN202111483784 ACN 202111483784ACN 114225394 ACN114225394 ACN 114225394A
Authority
CN
China
Prior art keywords
preset
interface
edge side
function
functional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111483784.4A
Other languages
Chinese (zh)
Other versions
CN114225394B (en
Inventor
樊晓晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202111483784.4ApriorityCriticalpatent/CN114225394B/en
Publication of CN114225394ApublicationCriticalpatent/CN114225394A/en
Application grantedgrantedCritical
Publication of CN114225394BpublicationCriticalpatent/CN114225394B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提供一种游戏中的界面转换方法、装置、设备及存储介质,涉及游戏技术领域。该方法包括:在所述图形用户界面上提供一功能界面,并在所述功能界面内显示所述功能界面对应的预设画面;其中,所述预设画面中包括至少一个元素;响应于针对所述功能界面的第一操作,控制将所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩,直至将所述预设画面的尺寸压缩为第一预设尺寸;以及,控制所述第一操作对应的功能子界面从所述功能界面上的预设边缘侧的对侧展开,直至将所述功能子界面的尺寸展开为第二预设尺寸。相对于现有技术,避免了跳转过程非常突兀的问题。

Figure 202111483784

The present application provides an interface conversion method, device, device and storage medium in a game, and relates to the technical field of games. The method includes: providing a functional interface on the graphical user interface, and displaying a preset picture corresponding to the functional interface in the functional interface; wherein, the preset picture includes at least one element; The first operation of the functional interface controls to compress each element in the preset image to the preset edge side of the functional interface until the size of the preset image is compressed to a first preset size; And, the function sub-interface corresponding to the first operation is controlled to be expanded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is expanded to a second preset size. Compared with the prior art, the problem that the jumping process is very obtrusive is avoided.

Figure 202111483784

Description

Interface conversion method, device, equipment and storage medium in game
Technical Field
The present application relates to the field of game technologies, and in particular, to a method, an apparatus, a device, and a storage medium for interface conversion in a game.
Background
With the continuous development of internet technology, the proportion of games in leisure and entertainment of people's life is getting larger, so how to optimize the game experience of users when playing games is a problem that needs to pay continuous attention in the game development process.
In the current game, before an interface is opened in the game, an entry publicity picture corresponding to the interface is displayed on a graphical user interface in a full screen mode, and then after a player clicks any position or a preset position of the entry publicity picture, a skip operation is triggered to directly enter the interface corresponding to the entry publicity picture.
However, the jumping mode triggers that the entrance publicity picture directly disappears after jumping, and the problem that the jumping process is very abrupt exists.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device and a storage medium for interface conversion in a game, so as to solve the problem that the jumping process is very abrupt in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an interface conversion method in a game, where a graphical user interface is displayed by a terminal device, and the method includes:
providing a function interface on the graphical user interface, and displaying a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
responding to a first operation aiming at the functional interface, and controlling each element in the preset picture to be compressed to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, the step of controlling, in response to the first operation on the functional interface, each element in the preset screen to be compressed to a preset edge side of the functional interface includes:
responding to a first operation aiming at the functional interface, and determining a target element from a preset picture displayed on the functional interface;
and determining the preset edge side from the edge sides according to the distance between the target element and the edge side of the functional interface, and controlling each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, the step of controlling to compress each element in the preset picture to a preset edge side of the functional interface includes:
and carrying out equal-proportion compression on each element in the preset picture, and rearranging the display positions of the compressed elements in the preset picture.
Optionally, the step of performing equal-proportion compression on each element in the preset picture, and rearranging the display positions of the compressed elements in the preset picture includes:
and determining a rotation origin from the preset picture according to the position of the preset edge side, and controlling each element in the preset picture to rotate around the rotation origin and compress towards the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the functional interface, the functional sub-interface is a content introduction interface related to the element;
and when the first operation is a trigger operation acting on a control displayed on the functional interface, the functional sub-interface is a game interactive interface corresponding to the control.
Optionally, the method further comprises:
and responding to the expansion operation of the compressed preset picture, and controlling the expansion of each element in the preset picture to the size before the compression on the functional interface.
Optionally, the step of controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface includes:
and controlling the function sub-interface to be unfolded from partial display to full display on the opposite side of the preset edge side on the graphical user interface at a preset unfolding speed.
Optionally, the preset screen further includes: background map, the method further comprising:
and controlling the background base map to compress to the preset edge side at a second preset compression rate.
Optionally, the step of controlling compression of each element in the preset picture to a preset edge side of the functional interface includes:
and controlling each element in the preset picture to compress to a preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the controlling of compressing each element in the preset picture to the preset edge side includes:
controlling each element in the preset picture to compress towards the preset edge side by taking the center of the target element as a rotation origin according to a preset rotation rate and a preset compression rule; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
In a second aspect, another embodiment of the present application provides an interface conversion apparatus in a game, the apparatus including: display module and control module, wherein:
the display module is used for providing a function interface on the graphical user interface and displaying a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
the control module is used for responding to a first operation aiming at the functional interface, and controlling each element in the preset picture to be compressed to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, the apparatus further comprises: the determining module is used for responding to a first operation aiming at the functional interface and determining a target element from a preset picture displayed on the functional interface;
the control module is specifically configured to determine the preset edge side from the edge sides according to a distance between the target element and the edge side of the functional interface, and control each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, the control module is specifically configured to perform equal-proportion compression on each element in the preset picture, and rearrange display positions of the compressed elements in the preset picture.
Optionally, the control module is specifically configured to determine a rotation origin from the preset image according to the position of the preset edge side, and control each element in the preset image to rotate around the rotation origin and compress toward the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the functional interface, the functional sub-interface is a content introduction interface related to the element;
and when the first operation is a trigger operation acting on a control displayed on the functional interface, the functional sub-interface is a game interactive interface corresponding to the control.
Optionally, the control module is specifically configured to, in response to an expansion operation for the compressed preset screen, control to expand each element in the preset screen to a size before compression on the functional interface.
Optionally, the control module is specifically configured to control the function sub-interface to be entirely displayed by partially displaying and expanding on the opposite side of the preset edge side on the graphical user interface at a preset expansion rate.
Optionally, the control module is specifically configured to control the background base map to be compressed to the preset edge side at a second preset compression rate.
Optionally, the control module is specifically configured to control each element in the preset picture to compress a preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the preset frame includes a left main element, a middle main element and a right main element, and the control module is specifically configured to control each element in the preset frame to compress to the preset edge side according to a preset rotation rate and a preset compression rule with a center of a target element as a rotation origin; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
In a third aspect, another embodiment of the present application provides an interface conversion apparatus in a game, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an interface conversion device in a game runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the above first aspects.
The beneficial effect of this application is: by adopting the interface conversion method in the game, after responding to the first operation, each element in the preset picture is compressed to the preset edge side of the function interface, and the function sub-interface corresponding to the first operation is unfolded from the opposite side of the preset edge side on the function interface, so that the function sub-interface comprising the preset picture with the first function size and the function sub-interface with the second preset size can be displayed on the final function interface at the same time, a user can smoothly enter the function sub-interface from the preset picture, the whole process is smooth, and the problem of jumping among different parts is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic flow chart illustrating an interface conversion method in a game according to an embodiment of the present disclosure;
FIG. 2 is a schematic interface diagram of a graphical user interface provided by an embodiment of the present application;
FIG. 3 is a schematic interface diagram of a graphical user interface provided in another embodiment of the present application;
FIG. 4 is a schematic interface diagram of a graphical user interface provided in another embodiment of the present application;
FIG. 5 is a flowchart illustrating an interface conversion method in a game according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an interface conversion apparatus in a game according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Additionally, the flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
The following explains an interface conversion method in a game provided by the embodiment of the present application with reference to a plurality of specific application examples. Fig. 1 is a schematic flowchart of an interface conversion method in a game according to an embodiment of the present application, in which a graphical user interface is displayed by a terminal device, as shown in fig. 1, the method includes:
s101: and providing a function interface on the graphical user interface, and displaying a preset picture corresponding to the function interface in the function interface.
Wherein the preset picture comprises at least one element; in some possible embodiments, the preset picture may be, for example, a preset animation, a preset still picture, or the like, and the content included in the specific preset picture may be flexibly adjusted according to the user requirement, which is not limited to the foregoing embodiments.
Fig. 2 is an interface schematic diagram of a graphical user interface provided in an embodiment of the present application, and as shown in fig. 2, a preset screen may include, for example, three elements, which are a left main element B, a middle main element C, and a right main element D; it should be understood that the above embodiments are only exemplary, and the number and position of the elements included in the specific graphical user interface can be flexibly adjusted according to the user's needs, and are not limited to the above embodiments.
S102: responding to a first operation aiming at the function interface, and controlling each element in the preset picture to be compressed to the preset edge side of the function interface until the size of the preset picture is compressed to be a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
For example, in some possible embodiments, as still shown in fig. 2 for example, a control, which may be an entry control, may also be displayed in the functional interface, and in response to a triggering operation applied to the entry control, a first operation is triggered; when the first operation is a trigger operation acting on a control displayed on the function interface, the function sub-interface is a game interaction interface corresponding to the control.
Or, the first operation may be triggered by a trigger operation acting on an element displayed on the functional interface, that is, a click operation of a preset element in at least one element displayed on the functional interface, where when the first operation is the trigger operation acting on the element displayed on the functional interface, after different preset elements are clicked, the function sub-interfaces may be different, that is, different preset elements may correspond to different function sub-interfaces, for example, the function sub-interface corresponding to each preset element is a content introduction interface related to the current element, or a display interface for the current preset element, and the like; it should be understood that the above embodiments are only exemplary, and the specific manner of triggering the first operation, and the display manner and the display content of the different function sub-interfaces may be flexibly adjusted according to the user's needs, and are not limited to the embodiments described above.
In the embodiment of the application, the control unit is configured to control each element in the preset picture to be compressed to a preset edge side of the function interface, for example, may be configured to control each element to be compressed to a preset edge side corresponding to a first operation, for example, if the current first operation is a first operation for a left preset element, the control unit may control each preset element to be compressed to a left edge on the function interface, and control the function sub-interface corresponding to the first operation to be expanded from a right edge on the graphical user interface; or, if the first operation is a first operation for the right preset element, the preset elements may be controlled to be compressed to the right edge on the functional interface, and the functional sub-interface corresponding to the first operation is controlled to be expanded from the left edge on the graphical user interface.
Or, according to the distance between the first operation and the edge side of the function interface, it may be determined that the edge side closest to the first operation is the preset edge side, for example, when the current first operation is closest to the right edge of the function interface, it may be determined that the right edge of the function interface is the preset edge side, or when the current first operation is closest to the upper edge of the function interface, it may be determined that the upper edge of the function interface is the preset edge side, then each preset element is controlled to be expanded to the preset edge side on the function interface, and the function sub-interface corresponding to the first operation is controlled to be expanded from the opposite side of the preset edge side on the graphical user interface.
Or, if the first operation is a first operation for the entry control, the preset elements may be controlled to be deployed to a preset edge side on the function interface, where the preset edge may be, for example, a left side, a right side, or an upper side or a lower side, and the function sub-interface corresponding to the first operation is controlled to be deployed from an opposite side of the preset edge side on the graphical user interface; it should be understood that the above embodiments are only exemplary, and the correspondence between the specific preset edge and the first operation may be flexibly adjusted according to the user's needs, and is not limited to the above embodiments.
Fig. 3 is a schematic interface diagram of a graphical user interface according to another embodiment of the present application, and as shown in fig. 3, a preset screen and a function sub-interface are displayed on the graphical user interface in a non-overlapping display manner; for example, at this time, the preset edge side is the left side of the function interface, after each element in the preset screen is controlled to be compressed towards the left side of the function interface, the sub-function interface is controlled to be expanded from the right side of the function interface, finally, the compressed preset screen is displayed at the left side of the function interface in the first preset size, and the sub-function interface is displayed at the right side of the function interface in the second preset size, so that the screen conversion from the preset screen to the sub-function interface is completed.
By adopting the interface conversion method in the game, after responding to the first operation, each element in the preset picture is compressed to the preset edge side of the function interface, and the function sub-interface corresponding to the first operation is unfolded from the opposite side of the preset edge side on the function interface, so that the function sub-interface comprising the preset picture with the first function size and the function sub-interface with the second preset size can be displayed on the final function interface at the same time, a user can smoothly enter the function sub-interface from the preset picture, the whole process is smooth, and the problem of jumping among different parts is avoided.
For example, in an embodiment of the present application, the manner of controlling each element in the preset screen to compress to the preset edge of the functional interface may be, for example: responding to a first operation aiming at the functional interface, and determining a target element from a preset picture displayed on the functional interface; the determining manner may be determined according to an operation position of the first operation, for example, if the operation position of the first operation is within an element range of a certain element, the certain element is determined to be a target element; or if the operation positions of the first operation are not in the element range of each element, but the distance from one element is the shortest, determining the element with the shortest distance as a target element; it should be understood that the above manner for determining a target element according to the first operation is only an exemplary illustration, and the manner for determining the target element may be flexibly adjusted according to the user's needs, and is not limited to the above embodiment.
Then, according to the distance between the target element and the edge side of the functional interface, determining a preset edge side from the edge side; determining the edge side closest to the target element as a preset edge side according to the distance between the target element and the edge side of each functional interface; and controlling each element in the preset picture to compress towards the preset edge side.
In some possible embodiments, when determining the distance between the target element and the edge side of each functional interface, for example, only the distance between the target element and a preset comparison edge side may be determined, for example, the preset comparison edge side may be only the left edge side and the right edge side, when determining the distance, only the distance between the target element and the left edge side and the right edge side, respectively, is determined, and the preset edge side is determined between the left edge side and the right edge side; if the preset comparison edge side includes a left edge side and an upper edge side, when determining the distance, only the distance between the target element and each of the left edge side and the upper edge side is determined, and the preset edge side is determined among the left edge side and the upper edge side.
During compression, for example, each element in the preset picture may be compressed in equal proportion, and the display positions of the compressed elements in the preset picture may be rearranged.
In some possible embodiments, a rotation origin may be determined from the predetermined frame according to the position of the predetermined edge, and each element in the predetermined frame may be controlled to rotate around the rotation origin and compress toward the predetermined edge.
For example, in an embodiment of the present application, the rotation origin may be determined by: controlling each element in a preset picture to compress towards a preset edge side by taking the center of a target element as a rotation origin according to a preset rotation rate and a preset compression rule; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
For example, the elements on the functional interface including the left main element, the middle main element and the right main element are still used as an example for description; for example, after the target element is determined as the left main element, the preset edge side is determined as the left edge of the functional interface, the rotation origin is determined as the left main element, and at this time, each element in the preset screen is controlled to rotate around the left main element and compress while rotating.
Fig. 4 is a schematic interface diagram of a graphical user interface according to another embodiment of the present application, as shown in fig. 2, fig. 3, and fig. 4, fig. 2 is a schematic display diagram when the function interface does not trigger the first operation, and at this time, the coordinates of the left main element B are (B, B), the coordinates of the middle main element C are (C, C), and the coordinates of the right main element D are (D, B) for example; fig. 4 is a schematic diagram showing that the first operation is triggered by the functional interface and is performed halfway, it can be seen that the horizontal and vertical coordinates of the left main element B (B, B) are kept unchanged, the angle rotates 45 degrees counterclockwise with the point B as the center of a circle, and the area is reduced to 50% -90% with the point B as the center of a circle; the abscissa of the middle main element C (C-x, C) is moved by x to the left, the ordinate is kept unchanged (wherein x is a self-defined variable, for example, one third of the width of a functional interface can be taken as a reference), the angle is rotated by 45 degrees counterclockwise, and the area is reduced to 50% -90% by taking the point B as the center of a circle; the abscissa of the right main element D (D-x, b + x) moves x leftwards, the ordinate moves x upwards, the angle rotates 45 degrees anticlockwise, and meanwhile the area is reduced to 50% -90% by taking the point D as the center of a circle.
Fig. 3 is a schematic diagram showing a case where the first operation is triggered and the execution of the first operation is finished, and it can be seen that the horizontal and vertical coordinates of the left main element B (B, B) are kept unchanged, the angle is rotated by 90 ° counterclockwise around the point B, and the area is reduced to 50% around the point B; c: the abscissa of the middle main element C (B, C) is moved to B, the ordinate is kept unchanged, and the area is reduced to 50% by taking the point B as the center of a circle; d: the abscissa of the right main element D (b, D) is shifted to b, the ordinate is shifted to D, and the area is reduced to 50% around the point D.
In some possible embodiments, for example, each element in the preset screen may be controlled to compress to the preset edge side on the graphical user interface at the first preset compression rate and the preset compression rule, it should be understood that the above embodiments are only exemplary illustrations, and the specific compression manner, the manner of determining the rotation origin, the compression rate, and the like may be flexibly adjusted according to the user needs, and are not limited to the examples given above.
In some possible embodiments, the preset screen further includes, for example: a background base map, which is described by taking fig. 2, fig. 3, and fig. 4 as an example, in the compression process, the background base map is further controlled to be compressed to the preset edge side at a second preset compression rate, where the background base map a in fig. 2 is a base map of a normal size before compression, the background base map in fig. 4 is a display diagram when the first operation is triggered and executed by half, that is, the first operation is compressed to the preset edge side of the functional interface at the second preset compression rate, and the compression time is exceeded by half, and at this time, the width of the background base map a is reduced to 60% of the normal size; fig. 3 is a display diagram when the first operation is triggered, and the first operation is finished, that is, the first operation is compressed to the preset edge side of the functional interface at the second preset compression rate, and the compression time is finished, and at this time, the width of the background map a is reduced to 20% of the normal size; it should be understood that the foregoing embodiments are merely exemplary, and since the sizes of the elements in the preset pictures are different, and the sizes of the background maps are different, in order to ensure that the entire preset picture is compressed at a uniform preset compression rate, that is, during the process of compressing the entire preset picture to the first preset size at the same time, the compression rates of the elements in the preset picture and the background maps are not necessarily the same, that is, the second compression rate may be the same as the first compression rate, or may be different, and is specifically determined according to the ratio between the sizes of the elements, the size of the background maps, and the first preset size, and the application is not limited herein.
In some possible embodiments, the manner of controlling the functional sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the functional interface may be, for example: the control function sub-interface is unfolded from partial display to full display on the opposite side of a preset edge side on the graphical user interface at a preset unfolding rate; the preset expansion rate needs to be consistent with the preset compression rate of the preset picture, and it is ensured that the function sub-interface is expanded at the same rate in the compression process of the preset picture, so that the integrity of the content displayed on the graphical user interface in the expansion process of the function sub-interface is ensured.
Optionally, on the basis of the above embodiments, an interface conversion method in a game may also be provided in the embodiments of the present application, and an implementation process of the above method is described as follows with reference to the accompanying drawings. Fig. 5 is a schematic flowchart of an interface conversion method in a game according to another embodiment of the present application, and as shown in fig. 5, the method may further include:
s103: and in response to the expansion operation of the compressed preset picture, controlling the expansion of each element in the preset picture to the size before the compression on the functional interface.
For example, in the embodiment of the present application, while controlling each element in the preset screen to expand, the sub-function interface is controlled to be compressed to disappear on the function interface, and the expanded preset screen may still be as shown in fig. 2, for example.
In some possible embodiments, the expansion operation may be triggered in response to a click operation on any position in the compressed preset screen, or in response to a click operation on an expansion control, or in response to a trigger operation on a preset expansion shortcut key, or a preset shortcut gesture, for example, it should be understood that the above embodiments are merely illustrative, and the triggering manner of a specific expansion operation may be flexibly adjusted according to the needs of a user, and is not limited to the above embodiments.
By adopting the interface conversion method in the game, after responding to the first operation, the target element, the rotation origin and the preset edge side are determined, each element in the preset picture is controlled to be compressed to the preset edge side of the functional interface by the rotation origin, and the functional sub-interface corresponding to the first operation is controlled to be expanded from the opposite side of the preset edge side on the functional interface, wherein the expansion rate and the compression rate are the same, so that in the jumping process, the functional interface can keep displaying the preset picture comprising the first functional size and the functional sub-interface comprising the second functional size simultaneously, a user can smoothly enter the functional sub-interface from the preset picture, the whole process is smooth, and the problem of jumping is avoided.
The following explains an interface conversion device in a game provided by the present application with reference to the accompanying drawings, where the interface conversion device in the game can execute the interface conversion method in any one of the games shown in fig. 1 to 5, and specific implementation and beneficial effects of the interface conversion device in the game refer to the above descriptions, and are not described again below.
Fig. 6 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application, and as shown in fig. 6, the interface conversion device includes: a display module 201 and acontrol module 202, wherein:
the display module 201 is configured to provide a function interface on the graphical user interface, and display a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
thecontrol module 202 is configured to, in response to a first operation on the functional interface, control to compress each element in the preset picture to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, on the basis of the above embodiment, an interface conversion device in a game may also be provided in the embodiment of the present application, and an implementation process of the device given in fig. 6 above is described as follows with reference to the accompanying drawings. Fig. 7 is a schematic structural diagram of an interface conversion device in a game according to another embodiment of the present application, and as shown in fig. 7, the device further includes: the determiningmodule 203 is configured to determine, in response to a first operation on the functional interface, a target element from a preset screen displayed on the functional interface;
thecontrol module 202 is specifically configured to determine a preset edge side from the edge sides according to a distance between the target element and the edge side of the functional interface, and control each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, thecontrol module 202 is specifically configured to perform equal-ratio compression on each element in the preset picture, and rearrange display positions of the compressed elements in the preset picture.
Optionally, thecontrol module 202 is specifically configured to determine a rotation origin from the preset frame according to the position of the preset edge side, and control each element in the preset frame to rotate around the rotation origin and compress toward the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the function interface, the function sub-interface is a content introduction interface related to the element;
when the first operation is a trigger operation acting on a control displayed on the function interface, the function sub-interface is a game interaction interface corresponding to the control.
Optionally, thecontrol module 202 is specifically configured to, in response to an expansion operation for the compressed preset screen, control to expand each element in the preset screen to a size before compression on the functional interface.
Optionally, thecontrol module 202 is specifically configured to control the function sub-interface to be expanded from a partial display to a full display on the opposite side of the preset edge side on the graphical user interface at the preset expansion rate.
Optionally, thecontrol module 202 is specifically configured to control the background base map to be compressed to the preset edge side at a second preset compression rate.
Optionally, thecontrol module 202 is specifically configured to control each element in the preset picture to compress the preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the preset frame includes a left main element, a middle main element and a right main element, and thecontrol module 202 is specifically configured to control each element in the preset frame to compress to a preset edge side according to a preset rotation rate and a preset compression rule with a center of the target element as a rotation origin; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application, where the interface conversion device in the game may be integrated in a terminal device or a chip of the terminal device.
As shown in fig. 8, the interface converting apparatus in the game includes: aprocessor 501, astorage medium 502, and abus 503.
Theprocessor 501 is used for storing a program, and theprocessor 501 calls the program stored in thestorage medium 502 to execute the method embodiment corresponding to fig. 1-5. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (15)

Translated fromChinese
1.一种游戏中的界面转换方法,其特征在于,通过终端设备显示图形用户界面,所述方法包括:1. an interface conversion method in a game, it is characterized in that, by terminal equipment displaying graphical user interface, described method comprises:在所述图形用户界面上提供一功能界面,并在所述功能界面内显示所述功能界面对应的预设画面;其中,所述预设画面中包括至少一个元素;providing a functional interface on the graphical user interface, and displaying a preset image corresponding to the functional interface in the functional interface; wherein, the preset image includes at least one element;响应于针对所述功能界面的第一操作,控制将所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩,直至将所述预设画面的尺寸压缩为第一预设尺寸;以及,控制所述第一操作对应的功能子界面从所述功能界面上的预设边缘侧的对侧展开,直至将所述功能子界面的尺寸展开为第二预设尺寸。In response to the first operation on the functional interface, control to compress each element in the preset image to the preset edge side of the functional interface until the size of the preset image is compressed to the first preset size. setting the size; and controlling the function sub-interface corresponding to the first operation to expand from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is expanded to a second preset size.2.如权利要求1所述的方法,其特征在于,所述响应于针对所述功能界面的第一操作,控制所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩的步骤,包括:2 . The method according to claim 1 , wherein, in response to the first operation on the functional interface, controlling each element in the preset image to proceed to a preset edge side of the functional interface. 3 . The steps of compression include:响应于针对所述功能界面的第一操作,从所述功能界面上显示的预设画面中确定一目标元素;In response to a first operation on the functional interface, determining a target element from a preset screen displayed on the functional interface;根据所述目标元素与所述功能界面边缘侧的距离,从所述边缘侧中确定所述预设边缘侧,并控制所述预设画面中的各元素向该预设边缘侧进行压缩。According to the distance between the target element and the edge side of the function interface, the preset edge side is determined from the edge sides, and each element in the preset screen is controlled to be compressed toward the preset edge side.3.如权利要求1所述的方法,其特征在于,所述预设画面和所述功能子界面以不重叠显示的方式显示于在所述图形用户界面上。3 . The method of claim 1 , wherein the preset screen and the function sub-interface are displayed on the GUI in a non-overlapping manner. 4 .4.如权利要求1所述的方法,其特征在于,所述控制将所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩的步骤,包括:4. The method according to claim 1, wherein the step of controlling to compress each element in the preset screen to a preset edge side of the function interface comprises:将所述预设画面中的各元素进行等比例压缩,并重新排布压缩后的各元素在所述预设画面中的显示位置。The elements in the preset picture are compressed in equal proportions, and the display positions of the compressed elements in the preset picture are rearranged.5.如权利要求4所述的方法,其特征在于,所述将所述预设画面中的各元素进行等比例压缩,并重新排布压缩后的各元素在所述预设画面中的显示位置的步骤,包括:5 . The method according to claim 4 , wherein the elements in the preset picture are compressed in equal proportions, and the display of the compressed elements in the preset picture is rearranged. 6 . Location steps, including:根据所述预设边缘侧的位置从所述预设画面中确定一旋转原点,以及控制所述预设画面中的各元素围绕所述旋转原点进行旋转并朝向所述预设边缘侧进行压缩。A rotation origin is determined from the preset image according to the position of the preset edge side, and each element in the preset image is controlled to be rotated around the rotation origin and compressed toward the preset edge side.6.如权利要求1所述的方法,其特征在于,所述第一操作包括作用于所述功能界面上显示的元素的触发操作,或作用于所述功能界面上一控件的触发操作。6 . The method of claim 1 , wherein the first operation comprises a trigger operation acting on an element displayed on the function interface, or a trigger operation acting on a control on the function interface. 7 .7.如权利要求6所述的方法,其特征在于,当所述第一操作为作用于所述功能界面上显示的元素的触发操作时,所述功能子界面为与所述元素相关的内容介绍界面;7 . The method according to claim 6 , wherein when the first operation is a trigger operation acting on an element displayed on the function interface, the function sub-interface is content related to the element. 8 . introduction interface;当所述第一操作为作用于所述功能界面上显示的控件的触发操作时,所述功能子界面为对应于所述控件的游戏交互界面。When the first operation is a triggering operation acting on a control displayed on the functional interface, the functional sub-interface is a game interaction interface corresponding to the control.8.如权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:8. The method of any one of claims 1-7, wherein the method further comprises:响应于针对压缩后的预设画面的展开操作,控制将所述预设画面中的各元素在所述功能界面上展开至压缩前的尺寸。In response to the expansion operation on the compressed preset picture, controlling to expand each element in the preset picture to the size before compression on the functional interface.9.如权利要求1所述的方法,其特征在于,所述控制所述第一操作对应的功能子界面从所述功能界面上的预设边缘侧的对侧展开的步骤,包括:9. The method according to claim 1, wherein the step of controlling the function sub-interface corresponding to the first operation to expand from a side opposite to a preset edge side on the function interface comprises:控制所述功能子界面以预设展开速率在所述图形用户界面上的预设边缘侧的对侧由部分显示展开为全部显示。The function sub-interface is controlled to be expanded from partial display to full display on the opposite side of the preset edge side on the graphical user interface at a preset expansion rate.10.如权利要求1所述的方法,其特征在于,所述预设画面中还包括:背景底图,所述方法还包括:10. The method of claim 1, wherein the preset picture further comprises: a background image, and the method further comprises:控制所述背景底图以第二预设压缩速率向所述预设边缘侧进行压缩。The background base image is controlled to be compressed toward the preset edge side at a second preset compression rate.11.如权利要求1所述的方法,其特征在于,控制将所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩的步骤,包括:11. The method according to claim 1, wherein the step of controlling each element in the preset screen to be compressed to a preset edge side of the function interface comprises:控制所述预设画面中的各所述元素以第一预设压缩速率和预设压缩规则向所述图形用户界面上的预设边缘侧进行压缩。Controlling each of the elements in the preset picture to compress to a preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.12.如权利要求2所述的方法,其特征在于,所述预设画面中包括左侧主元素,中侧主元素和右侧主元素,所述控制所述预设画面中的各元素向该预设边缘侧进行压缩,包括:12. The method according to claim 2, wherein the preset picture includes a left main element, a middle main element and a right main element, and the control of each element in the preset picture to the The preset edge-side compression includes:以目标元素的中心为旋转原点,根据预设旋转速率和预设压缩规则,控制所述预设画面中的各元素向所述预设边缘侧进行压缩;压缩后的各元素以第一预设尺寸显示在所述功能界面的预设边缘侧。Taking the center of the target element as the rotation origin, and according to the preset rotation rate and the preset compression rule, control each element in the preset image to be compressed toward the preset edge side; the compressed elements are based on the first preset The size is displayed on the preset edge side of the function interface.13.一种游戏中的界面转换装置,其特征在于,所述装置包括:显示装置和控制装置,其中:13. An interface conversion device in a game, wherein the device comprises: a display device and a control device, wherein:所述显示装置,用于在所述图形用户界面上提供一功能界面,并在所述功能界面内显示所述功能界面对应的预设画面;其中,所述预设画面中包括至少一个元素;The display device is configured to provide a functional interface on the graphical user interface, and display a preset image corresponding to the functional interface in the functional interface; wherein the preset image includes at least one element;所述控制装置,用于响应于针对所述功能界面的第一操作,控制将所述预设画面中的各元素向所述功能界面的预设边缘侧进行压缩,直至将所述预设画面的尺寸压缩为第一预设尺寸;以及,控制所述第一操作对应的功能子界面从所述功能界面上的预设边缘侧的对侧展开,直至将所述功能子界面的尺寸展开为第二预设尺寸。The control device is configured to, in response to a first operation on the functional interface, control to compress each element in the preset image to a preset edge side of the functional interface until the preset image is compressed. The size of the function interface is compressed to the first preset size; and the function sub-interface corresponding to the first operation is controlled to expand from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is expanded to The second preset size.14.一种游戏中的界面转换设备,其特征在于,所述设备包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当所述游戏中的界面转换设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行上述权利要求1-12任一项所述的方法。14. An interface conversion device in a game, characterized in that the device comprises: a processor, a storage medium, and a bus, and the storage medium stores machine-readable instructions executable by the processor. When the interface conversion device in the device is running, the processor communicates with the storage medium through a bus, and the processor executes the machine-readable instruction to execute the method according to any one of claims 1-12. .15.一种存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述权利要求1-12任一项所述的方法。15. A storage medium, wherein a computer program is stored on the storage medium, and the computer program executes the method according to any one of the preceding claims 1-12 when the computer program is run by a processor.
CN202111483784.4A2021-12-072021-12-07 Interface conversion method, device, equipment and storage medium in gameActiveCN114225394B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111483784.4ACN114225394B (en)2021-12-072021-12-07 Interface conversion method, device, equipment and storage medium in game

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111483784.4ACN114225394B (en)2021-12-072021-12-07 Interface conversion method, device, equipment and storage medium in game

Publications (2)

Publication NumberPublication Date
CN114225394Atrue CN114225394A (en)2022-03-25
CN114225394B CN114225394B (en)2025-02-14

Family

ID=80753624

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111483784.4AActiveCN114225394B (en)2021-12-072021-12-07 Interface conversion method, device, equipment and storage medium in game

Country Status (1)

CountryLink
CN (1)CN114225394B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5938530A (en)*1995-12-071999-08-17Kabushiki Kaisha Sega EnterprisesImage processing device and image processing method
US9798443B1 (en)*2013-09-102017-10-24Amazon Technologies, Inc.Approaches for seamlessly launching applications
CN110308845A (en)*2019-05-162019-10-08珠海格力电器股份有限公司Interaction method and device for application program control interface
CN112121415A (en)*2020-09-302020-12-25腾讯科技(深圳)有限公司Method, device and equipment for controlling interface display and storage medium
WO2021017783A1 (en)*2019-07-262021-02-04腾讯科技(深圳)有限公司Viewing angle rotation method, device, apparatus, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5938530A (en)*1995-12-071999-08-17Kabushiki Kaisha Sega EnterprisesImage processing device and image processing method
US9798443B1 (en)*2013-09-102017-10-24Amazon Technologies, Inc.Approaches for seamlessly launching applications
CN110308845A (en)*2019-05-162019-10-08珠海格力电器股份有限公司Interaction method and device for application program control interface
WO2021017783A1 (en)*2019-07-262021-02-04腾讯科技(深圳)有限公司Viewing angle rotation method, device, apparatus, and storage medium
CN112121415A (en)*2020-09-302020-12-25腾讯科技(深圳)有限公司Method, device and equipment for controlling interface display and storage medium

Also Published As

Publication numberPublication date
CN114225394B (en)2025-02-14

Similar Documents

PublicationPublication DateTitle
US11341706B2 (en)Virtual scene display method and apparatus, and storage medium
CN113069759A (en)Scene processing method and device in game and electronic equipment
JP7587063B2 (en) Application page display method, device and equipment
WO2017054465A1 (en)Information processing method, terminal and computer storage medium
WO2017054464A1 (en)Information processing method, terminal and computer storage medium
JP6470845B2 (en) Method and terminal for performing virtual character turn
CN112363658B (en) Interactive method and device for video call
CN113630615A (en)Live broadcast room virtual gift display method and device
CN104991733A (en)Picture processing method and mobile terminal
CN112965780A (en)Image display method, apparatus, device and medium
WO2014036857A1 (en)Animation playing method, device and apparatus
CN116471438A (en)Special effect processing method, device, processing equipment and storage medium
CN114225394A (en)Interface conversion method, device, equipment and storage medium in game
CN113304477A (en)Game interface display method, device, equipment and medium
CN115382210B (en) Game skill release method, device, electronic device and storage medium
CN110719493A (en)Barrage display method and device, electronic equipment and readable storage medium
CN113559503B (en)Video generation method, device and computer readable medium
CN108933958B (en)Method, storage medium, equipment and system for realizing microphone connection preview at user side
CN116943180A (en)Control interaction method and related device
CN110800308A (en) Methods, systems and media for presenting user interfaces in wearable devices
CN113893531A (en)Game role creating method and device, storage medium and computer equipment
CN110276817B (en)Picture making method and device and electronic equipment
CN111367598B (en) Action instruction processing method, device, electronic equipment and computer-readable storage medium
CN114405000A (en) Game data synchronization method, device, computer equipment and storage medium
CN113318444B (en)Role rendering method and device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp