CN117398677A - Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium - Google Patents

Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117398677A
CN117398677A CN202311699150.1A CN202311699150A CN117398677A CN 117398677 A CN117398677 A CN 117398677A CN 202311699150 A CN202311699150 A CN 202311699150A CN 117398677 A CN117398677 A CN 117398677A
Authority
CN
China
Prior art keywords
game
interface
display area
touch
screen
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
CN202311699150.1A
Other languages
Chinese (zh)
Other versions
CN117398677B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311699150.1A priority Critical patent/CN117398677B/en
Publication of CN117398677A publication Critical patent/CN117398677A/en
Application granted granted Critical
Publication of CN117398677B publication Critical patent/CN117398677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Abstract

The application is applicable to the technical field of terminals and provides a game adaptation method, a game adaptation device, electronic equipment and a computer readable storage medium. In the game adaptation method, electronic equipment acquires a switching signal of a screen display state; in response to the switching signal, displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are displayed in an overlapping mode; and responding to a game mapping starting signal acquired in a second display area of the inner screen, and displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch control mapping with the game control area. According to the method and the device, the game interface and the actual control interface are displayed through the split screen, the adaptation of the third party game without the resolution adaptation large screen to the large screen can be achieved, the touch mapping of the operation control and the game control area is achieved while the content of the game interface is not reduced, the shielding of hands to the game visual field is avoided, and the game experience is improved.

Description

Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a game adaptation method, a game adaptation device, an electronic device, and a computer readable storage medium.
Background
With the development of terminal technology, electronic games are widely popularized and applied to mobile devices such as mobile phones. Currently, aiming at a folding screen mobile phone, when a game is played by using an inner screen of a folding screen, a plurality of games are not subjected to resolution adaptation, so that the content of the game displayed by a large screen after the folding screen is unfolded is reduced; most of the game visual field area of the electronic game is overlapped with the game control area, and fingers can also block the game visual field when the inner screen is operated, so that the game experience is poor.
Disclosure of Invention
The application provides a game adaptation method, a game adaptation device, electronic equipment and a computer readable storage medium, which can solve the problems that game content is reduced through an inner screen display and a finger blocks a game field of view when the inner screen is operated in a game scene.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a game adaptation method is provided, which may include:
the electronic equipment acquires a switching signal of a screen display state, wherein the switching signal of the screen display state is a touch signal for switching from a full screen display state of an inner screen to a split screen display state under the unfolding state of a folding screen of the electronic equipment; in response to the switching signal, displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are displayed in an overlapping mode; responding to a game mapping starting signal acquired in a second display area of the inner screen, and displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch control mapping with the game control area; the operation control is used for controlling the game interface based on touch mapping, and the first display area and the second display area are two areas which are displayed on the inner screen in a non-overlapping mode.
Through the mode, the electronic equipment displays the game interface and the actual control interface through the split screen, so that the third party game without resolution adaptation of the large screen can be adapted to the large screen, the game is controlled through the touch mapping of the operation control and the game control area while the content of the game interface is not reduced, the shielding of hands to the game field during the operation of the game interface is avoided, and the game experience is improved.
In a possible implementation manner of the first aspect, after the displaying of the game interface in the first display area of the inner screen in response to the switching signal, the method further includes:
responding to the configuration signal acquired in the second display area of the inner screen, configuring an operation control corresponding to the game interface in the second display area, and displaying prompt information for establishing touch control mapping; based on the prompt information, in response to a touch selection signal acquired in the game control area, establishing a touch mapping of the operation control and the game control area.
For example, after the electronic device identifies that the current system scene is a game scene, the operation control of the actual control interface may selectively configure the operation control of the second display area based on the user requirement, for example, the acquired configuration signal.
Because different game types can be displayed in different modes, the mode of the required operation control can be used for carrying out configuration and touch mapping of an actual control interface based on the user requirement according to the opened game scene type, so that the method can be suitable for various games which are not subjected to large-screen resolution adaptation on the premise of not changing a game development kit; meanwhile, based on the selective opening of the actual control interface, more flexible selection is provided for the user when the user enters the actual game scene.
In a possible implementation manner of the first aspect, in response to a configuration signal acquired in a second display area of the internal screen, configuring an operation control corresponding to the game interface in the second display area, including:
responding to the configuration signal, and determining a layout mode of the actual control interface in the second display area; and determining the number and the positions of the operation controls corresponding to the game interface in the second display area based on the layout mode.
By way of example, based on the configuration of the actual control interface, one or more layout modes of the actual control interface can be configured for one game, for example, different roles in one game can correspond to operation controls in different layout modes, so that flexible adaptation of the actual control interface can be performed according to an actual game scene of a user.
Through the mode, the number and the position of the operation controls in the second display area are selected, the actual control interface matched with the operation controls is set based on the type of the game scene, and the more flexible selection of the layout mode of the operation controls of the actual control interface and the more flexible adaptation of the game interface are realized.
In a possible implementation manner of the first aspect, in response to a touch selection signal acquired in the game control area, establishing a touch mapping between the operation control and the game control area includes:
and establishing a touch mapping of the position coordinates of the operation control and the position coordinates of the touch icons based on the touch icons of the game control area corresponding to the touch selection signals.
The electronic device may determine, based on the layout mode selected by the user, position coordinates corresponding to each operation control in the second display area, where the position coordinates may be coordinates of one point or a coordinate range of one position area; the electronic device may establish, for each operation control, a touch mapping between the operation control and the touch icon based on the touch selection signal input by the user, where the touch mapping may be a coordinate mapping between the operation control and the touch icon, that is, when a touch signal of the operation control of the user touching the second display area is received, a touch signal of the touch icon of the first display area is generated based on the coordinate mapping.
By the mode, the electronic equipment can control the game interface of the first display area through the operation control of the second display area by establishing the touch mapping between the operation control of the second display area and the touch icon of the first display area, and under the condition that large-screen resolution adaptation is not needed to be carried out on a game, the control of the game without shielding is realized, and the experience of game operation is greatly improved.
In a possible implementation manner of the first aspect, in response to a configuration signal acquired in a second display area of the internal screen, configuring an operation control corresponding to the game interface in the second display area, including:
and moving, adding or deleting an operation control corresponding to the game interface in the second display area based on the configuration signal.
For example, in the process of configuring the actual manipulation interface, the position of the operation control may be moved, and the operation control may be newly added or deleted based on the operation habit of the user.
By the mode, the layout mode of the actual control interface is flexibly adapted to the game scene, and meanwhile, the operation of moving, adding or deleting the operation control can be supported, so that the layout mode of the operation control is more in line with the operation habit of a user, and the game experience is improved while the configuration flexibility is realized.
In a possible implementation manner of the first aspect, after the displaying of the game interface in the first display area of the inner screen in response to the switching signal, the method further includes:
and responding to the configuration signal acquired in the second display area of the inner screen, displaying a default actual operation interface in the second display area, wherein the default actual operation interface comprises fixed operation controls for controlling the game interface.
For some simple games, the rapid adaptation with the games is realized through a default actual operation interface, namely, an operation control with a fixed position is arranged under the default actual operation interface, and the operations of adding, deleting or moving the operation control are not needed, so that an actual operation interface which is rapid in adaptation with the games is provided; the operation control in the default actual operation interface and the game interface establish a default coordinate mapping relation, and a user can directly control the game interface through the operation control of the default actual operation interface.
By means of the method, aiming at different game scene types, a rapid-adaptation actual control interface is provided for the game scene types, game adaptation flexibility is improved, and meanwhile game experience is improved.
In a possible implementation manner of the first aspect, the method further includes:
based on the currently opened game package name, saving configuration information of operation controls in a configured actual control interface associated with the game package name, wherein the configuration information is used for calling the associated operation controls when the game package name is started next time.
For example, after the configuration of the actual control interface is performed on a game, configuration information may be saved, that is, the game package name and the configuration information may be saved in an associated manner, where the saved configuration information may include one or more layout modes, so that when the game is started next time, the configured actual control interface is invoked and displayed based on the association relationship between the game package name and the configuration information. After the configuration information is changed, the changed configuration information can be saved.
By the mode, the electronic equipment stores the configuration information configured for the actual control interface of the game, so that the configuration information of the actual control interface can be started and called quickly when the game is started next time, the configuration of operation controls is not required to be performed when the game is started every time, the user operation is facilitated, and the game experience is improved.
In a possible implementation manner of the first aspect, the method further includes:
And displaying a chat popup window or an input method popup window in a second display area of the inner screen under the game scene.
By the mode, the chatting popup window or the input method popup window in the game scene is displayed in the second display area, shielding of the popup window to the game interface can be avoided, visibility of a game field is ensured, and game experience is improved.
In a second aspect, a game adapting device is provided, which may comprise:
the electronic equipment comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a switching signal of a screen display state, wherein the switching signal of the screen display state is a touch signal for switching from a full screen display state of an inner screen to a split screen display state under a folding screen unfolding state of the electronic equipment;
the first processing unit is used for responding to the switching signal, displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are displayed in an overlapping mode;
the second processing unit is used for responding to the game mapping starting signal acquired in the second display area of the inner screen, displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch control mapping with the game control area; the operation control is used for controlling the game interface based on touch mapping, and the first display area and the second display area are two areas which are displayed on the inner screen in a non-overlapping mode.
In a third aspect, an electronic device is provided, the electronic device comprising a memory, a processor, the memory having stored thereon a computer program executable on the processor, the processor implementing the method as provided in the first aspect or any possible implementation of the first aspect, when the computer program is executed.
In a fourth aspect, there is provided a computer readable storage medium comprising: a computer program is stored which, when executed by a processor, implements the method as provided in the first aspect or any possible implementation of the first aspect.
In a fifth aspect, there is provided a computer program product for, when run on an electronic device, causing the electronic device to perform the method provided in the first aspect or any of the possible implementations of the first aspect.
It will be appreciated that the advantages of the second to fifth aspects described above may be referred to in the description related to the first aspect, and will not be described here again.
Drawings
Fig. 1 is a schematic diagram of a scenario where a game adaptation method provided in an embodiment of the present application is applicable;
fig. 2 is a schematic flow chart of a configuration actual control interface provided in an embodiment of the present application;
Fig. 3 is a schematic diagram of a flow of establishing a touch map according to an embodiment of the present application;
FIG. 4 is an interface schematic diagram of a configuration actual manipulation interface layout mode according to an embodiment of the present application;
fig. 5 is an interface schematic diagram for establishing a touch map according to an embodiment of the present application;
FIG. 6 is an interface schematic diagram of a default actual manipulation interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of an interface for invoking game touch mapping provided in an embodiment of the present application;
fig. 8 is a schematic view of a screen expansion state of a game scene provided in an embodiment of the present application;
FIG. 9 is a schematic flow chart of a game adaptation method provided in an embodiment of the present application;
FIG. 10 is a block diagram of a game adapting device according to an embodiment of the present application;
fig. 11 is a hardware system architecture diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a software system of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical solutions described in the present application, the following description is made by specific examples.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
At present, aiming at the game scene of the electronic equipment, for example, when the internal screen of the folding screen mobile phone is used for playing games, most games are not subjected to resolution adaptation, so that the display content of the large screen is reduced; the game with the adaptation is also required to shield the vision of the game from more than one game to ensure balance, and the game experience of the large-screen user is not optimized; the external screen mobile phone is very serious in heating, and can not continuously play games; in addition, when the fingers are used for interaction such as character operation or typing on the inner screen, the fingers can also shield the game view, and part of game players can even disturb the sequence of operation buttons (or touch icons) in order to obtain better game view, so that the game operation experience is poor.
Aiming at the problems, the embodiment of the application provides a game adaptation method, which aims at using a large-screen game scene, particularly a scene which is not subjected to game resolution adaptation (can be a game which is adaptive to the external screen size proportion of a folding screen mobile phone and is not subjected to complete machine adaptation), and can solve the problems that the game resolution is not adapted or the game display mode is not changed, so that the game content displayed on the large screen is reduced and the game view is blocked by fingers when the internal screen is operated; can be applied to third party games without resolution adaptation, and does not need to process or change the data package of the game itself.
For easy understanding, the game adaptation method provided in the embodiments of the present application is specifically explained below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view of a scenario where the game adaptation method provided in the embodiment of the present application is applicable. As shown in fig. 1, the game adaptation method provided in the embodiment of the present application is mainly aimed at a game application scenario of a large-screen device, and in the case that the game does not make large-screen resolution adaptation, data of a game display mode is not required to be changed, and through screen separation and touch mapping establishment, game operation and control are achieved under the condition that a game view is not blocked and content in the game view is not reduced, so that experience of a user game is improved. The implementation process of the game adaptation method is described below by taking a folding screen mobile phone as an example.
As shown in fig. 1 (a), the screen of the folding-screen mobile phone is displayed in a large screen mode in an opened state; as shown in fig. 1 (b), in the game scene, the game interface may be displayed in a first display area of the internal screen, and the actual manipulation interface may be displayed in a second display area of the internal screen. The game interface may include a game field of view area and a game control area that are displayed in an overlapping manner, that is, an original display manner of the game; the actual control interface may include an operation control that establishes a touch map with a game control area of the game interface, and control of the game interface is achieved through the operation control and the established touch map.
It should be noted that, the size of the first display area and the size of the second display area are not limited specifically, and the display range of the first display area on the inner screen may be determined according to the size ratio originally adapted to the game. The dividing manner of the first display area and the second display area on the inner screen is not particularly limited, but the condition that the first display area and the second display area are not overlapped is satisfied; for example, the first display area and the second display area may be divided into two areas, i.e., an upper area and a lower area, in a screen direction (referred to as a vertical screen direction) as shown in fig. 1 (a), or may be divided into two areas, i.e., an upper area and a lower area, based on a screen direction (referred to as a horizontal screen direction) rotated by 90 ° as shown in fig. 1 (a).
In addition, the control area on the game interface shown in the diagram (b) in fig. 1 is only illustrated by way of example, and may further include other types of control areas, such as a display interface like a small map, where the range covered by the specific control area on the game interface is not limited, and may be determined for different game scenarios.
As shown in fig. 8, in a game scene in which split display is performed in a horizontal screen direction, an operation of a game may be performed based on a user's selection of an opening angle of a folding screen, which may be determined based on the user's selection, and may be, for example, any angle from 90 ° to 180 °.
Through the split screen mode and the establishment of the touch control mapping between the operation control and the game control area in the actual operation interface, the problems that the content of the game displayed on the inner screen is reduced and the game view is blocked by fingers during the operation of the inner screen can be solved, the original game package data do not need to be processed, the split screen type split screen game control device is applicable to games which are not subjected to large-screen resolution adaptation and application scenes which are subjected to the adaptation but are blocked by the games, the games are controlled through the operation control of the actual operation interface, the blocking of the hands to the game view during the operation of the game interface is avoided, and the game experience is improved.
The implementation process of the touch map configuration is specifically explained below with reference to the accompanying drawings.
As shown in fig. 2, a flow chart for configuring an actual control interface according to an embodiment of the present application includes the following steps:
s21, identifying a system scene.
S22, whether the game scene is the game scene or not.
In the embodiment of the application, when the electronic device starts an application program, an application package name corresponding to the application program is reported; and the electronic equipment determines whether the current application scene is a game scene according to whether the reported application package name is a preset game package name.
For example, the electronic device may set a game white list, that is, if there is a game package name in the white list that matches the currently started application package name, it is determined that the application scenario of the current system is a game scenario.
As shown in fig. 4, the configuration provided in the embodiment of the present application actually controls the interface layout mode. In the unfolded state of the folding screen of the electronic device, the current application scene of the system is a game scene, and the electronic device displays a game interface in a full screen mode (or a large screen mode), such as interface 41 shown in the diagram (a) in fig. 4; the game interface displayed by the interface 41 may be an interface with reduced content of the game field, or a display interface with partially blocked game interface, that is, a display state where the game is not adapted to the resolution of the large screen. Receiving a screen display state switching signal input by a user at the interface 41, as shown in fig. 4 (a), when the user touches icons of the upper and lower split screens in the control 411, the electronic device switches from a full screen display state to a split screen display state shown in fig. 4 (b), as shown in fig. 4 (b), a game interface is displayed at a first display area of the interface 42, the size of the first display area is a display range adapted to resolution of the game, and controls of search applications, recommended applications and applications supporting the split screens can be displayed at a second display area of the interface 42; for example, a game mapping application 421 for configuring touch mapping may be included in the recommendation application, and the game mapping application 421 may also be searched through a search application control.
It should be noted that, the display interface shown in fig. 4 (b) is merely illustrative, and after the split screen operation is performed, the game mapping application 421 in the second display area in the interface 42 may also be embodied in other forms, for example, the second display area may send out the prompt information about whether to configure the game mapping directly through a pop-up window.
S23, whether to start the game mapping. If yes, executing S24; if not, S25 is performed.
S24, configuring an actual control interface adapted to the current game scene in the second display area.
S25, using the touch icon of the game control area of the current game scene.
As shown in fig. 4 (b), the electronic device determines whether to start the process of game map configuration by acquiring a configuration signal input by the user in the second display area. The configuration signal may be a touch signal of the user clicking the game mapping application 421 in the second display area of the interface 42, and after the electronic device receives the touch signal, an operation control corresponding to the game interface is configured in the second display area based on the touch signal, so as to establish a touch mapping between the operation control and the game control area of the game interface. If the electronic device does not receive the configuration signal, for example, does not receive a touch signal that the user clicks the game mapping application 421, or does not receive a response signal that the user responds to whether to configure the game mapping, the electronic device continues to use the touch icon of the game control area of the current scene, that is, controls the game through the touch icon of the game itself.
As shown in fig. 3, a schematic diagram of a flow for establishing a touch map according to an embodiment of the present application includes the following steps:
s241, the number and the positions of the operation controls are determined based on the layout mode.
S242, establishing touch mapping of the operation control and the touch icon of the game interface.
S243, saving the game package name and the corresponding matching information, and starting the game.
In the embodiment of the application, in response to a configuration signal acquired in a second display area of the inner screen, configuring an operation control corresponding to the game interface in the second display area, and displaying prompt information for establishing touch mapping; based on the prompt information, in response to a touch selection signal acquired in the game control area, establishing a touch mapping of the operation control and the game control area.
The layout mode is an exemplary layout mode of each operation control in the actual operation interface, such as a sparse mode, a compact mode, a default layout mode, and the like; the number or location of the operational controls corresponding to the different modes may be different.
As in interface 43 shown in fig. 4 (c), a control 431 to add the configuration map may be displayed in a second display area of interface 43 on the display interface entered into game map application 421. The electronic device receives a touch signal input by clicking the control 431 by a user, enters an interface 44 shown in a (d) diagram in fig. 4, and gives a plurality of selectable layout modes, such as a layout mode 1, a layout mode 2, a default layout mode and the like, in a second display area of the interface 44; each layout mode may also support flexible selection of the number of operational controls.
For example, in response to the configuration signal, determining a layout mode of the actual manipulation interface in the second display area; and determining the number and the positions of the operation controls corresponding to the game interface in the second display area based on the layout mode. As shown in fig. 4 (d), in the second display area of the interface 44, after receiving a touch signal from the user clicking the layout mode control, the electronic device may display a preview interface 441 of the actual control interface corresponding to the selected layout mode, that is, preview the position and number of the operation controls in the layout mode, so as to provide a visual reference for the user, thereby intuitively selecting the actual control interface that better conforms to the current game scene.
It should be noted that, the display style of the actual manipulation interface and the display style (or icon type) of the operation control in the actual operation interface corresponding to each layout mode are only exemplary and are not limited specifically.
Illustratively, an operation control corresponding to the game interface is moved, added or deleted in the second display area based on the configuration signal. As shown in fig. 4 (e), each layout mode also supports a function of custom options that support operation controls in the second display area moving, adding or deleting layout modes. In the second display area of the interface 45, the electronic device receives a touch signal input by clicking the custom option control by the user, and enters the interface 46 shown in (f) in fig. 4; icons which can be added or deleted for the operation controls, such as an icon 462 for the operation control added and an icon 463 for the operation control deleted, are included in the interface 46, and meanwhile, the position of each operation control can be arbitrarily dragged in the second display area, such as an operation 461 (the operation direction is only illustrated by way of example) in the interface 46, and can be moved in any direction, such as receiving a touch signal of a user pressing the operation control for a long time, and changing the position of the operation control based on a dragging signal for the operation control input by the user.
It should be noted that, the above operation prompting manners of moving, adding and deleting the operation control in the second display area are only illustrated by way of example, and other interface display manners may also be used to support the function of the custom option, for example, after receiving the touch signal of the operation control selected by the user, displaying the deletion identifier, receiving the touch signal input by the user clicking the deletion identifier, deleting the operation control, and so on.
In addition, the layout mode after the moving, adding or deleting operation is only adapted to the current game scene, and when other games are configured, the number and the positions of the operation controls corresponding to the layout mode 1 are still the original supported layout mode in the mode, namely, the format supported by the original layout mode in the game mapping application program cannot be changed when the game scene is subjected to the changing operation in the specific configuration process. The number of operation controls of the actual operation interface is generally the same as the touch icons of the game operation area of the game interface.
In some embodiments, a touch map of the position coordinates of the operation control and the position coordinates of the touch icon is established based on the touch icon of the game manipulation area corresponding to the touch selection signal.
For example, the touch mapping may be a coordinate mapping between an operation control in an actual operation interface and a touch icon in a game control area, that is, when a touch signal input by a user clicking the operation control in the actual operation interface is received, a trigger signal corresponding to the touch icon of the game control area with the coordinate mapping established by the operation control is generated in response to the touch signal, for example, a level trigger signal is sent to the touch signal through a circuit connection, or a corresponding trigger signal is generated based on software coordinate mapping processing, where the trigger signal is a signal for controlling the game interface.
As shown in fig. 5, an interface schematic diagram for establishing a touch map according to an embodiment of the present application is provided. After determining the layout mode of the actual operation interface, establishing touch mapping for each operation control; as shown in fig. 5 (a), in the second display area in the interface 51, each operation control may send out a prompt message for establishing a touch mapping by flashing or highlighting, or send out a prompt message for requesting to select a touch icon to be mapped after the user selects the operation control; the electronic device receives a touch selection signal input by a user based on the prompt information, determines a touch icon in the game interface for establishing a touch mapping based on the touch selection signal, for example, in a second display area of the interface 51, operates the control 511 to send out the prompt information in a highlighting or blinking manner, then receives a touch signal input by the user clicking the touch icon 512 in the first display area, and then establishes a touch mapping of the two controls.
As shown in fig. 5 (b), based on the same implementation principle, a touch mapping between each pair of operation controls and the touch icon is sequentially established, for example, in the interface 52, a touch mapping between the operation control 521 and the touch icon 522 is established until all touch mappings are completed, and then the save control is clicked, so that configuration information of the touch mapping corresponding to the current game scene is saved.
In some embodiments, after determining the layout of the operation controls in the second display area, the electronic device may obtain a position coordinate of each operation control, or a position coordinate range corresponding to each operation control; after receiving a touch selection signal input by a user for a touch icon of a first display area, the position coordinates or the position coordinate ranges of the touch icon can be obtained, and then a touch mapping relation of the two position coordinates or the position coordinate ranges is established.
For example, the position coordinate may be a point coordinate, and the position coordinate range may be an area coordinate, for example, all areas in a whole circle with a certain circle center and r as a radius belong to a touch area of the operation control or the touch icon.
It should be noted that, the specific representation mode corresponding to the position coordinates or the position coordinate ranges corresponding to each operation control or the touch icon is only illustrated by way of example, and is not limited to specific limitation, for example, the touch area corresponding to the position coordinate ranges is represented by the point coordinates in the form of an array.
In some embodiments, in response to the configuration signal acquired in the second display area of the internal screen, a default actual operation interface is displayed in the second display area, the default actual operation interface including fixed operation controls for manipulating the game interface.
As shown in fig. 6, an interface schematic diagram of a default actual manipulation interface is provided in the embodiment of the present application. In order to adapt to different types of games, the embodiment of the application also supports an actual control interface corresponding to a default layout mode, such as a palm mode; as shown in fig. 6 (a), at the interface 61 of the configuration map, a touch signal input by the user clicking the default layout mode control is received, and the operation jumps to the interface 62 shown in fig. 6 (b), in which interface 62, fixed operation controls are configured, that is, the positions and the number of the operation controls may be fixed and adapted to the game, and the whole second display area in the interface 62 may be an area for playing the game, and may include each fixed touch icon 621 and the screen touch area 622, which are equivalent to buttons.
In some embodiments, based on the currently opened game package name, configuration information of operation controls in the configured actual control interface associated with the game package name is saved, and the configuration information is used for calling the associated operation controls when the game package name is started next time.
The stored configuration information may be information such as the position and the number of each operation control after the user further moves, adds or deletes the operation control based on the layout mode, or may be information such as the position and the number of the operation control corresponding to the selected layout mode.
As shown in fig. 7, after the configuration information and the corresponding game package name are saved, the interface schematic diagram for calling the game touch map provided in the embodiment of the present application may pop up the prompt about whether to start the game map when the game is started next time, and jump to the interface displayed by the split screen when the user clicks yes. As shown in fig. 7 (a), a prompt message indicating whether to start the game map is sent out in the second display area of the interface 71, the electronic device invokes the configuration information of the configured touch map when receiving the touch signal that the user clicks to input, jumps to the interface 72 shown in fig. 7 (b), displays the game interface in the first display area of the interface 72, and displays the actual control interface in the second display area of the interface.
For example, each game may be configured with an actual operation interface with multiple layout modes, and when the game is restarted, the multiple layout modes configured may be provided for the user to select, for example, based on different characters in the game scene corresponding to different layout modes, and when multiple characters exist, multiple correspondingly adapted layout modes may also be configured.
After the game is started, if the game is configured with the touch mapping, the game interface can be displayed in a large screen mode, after a touch signal displayed in a split screen mode is received, the game interface is displayed in a first display area, and prompt information about whether to start the touch mapping is sent out in a second display area; or after the game is started, the game can be automatically jumped to a split screen display state, a game interface is displayed in a first display area, and whether touch mapping prompt information is started or not is sent out in a second display area; if the touch signal of opening is received by the user input, the actual operation interface is directly displayed in the second display area, and if the touch signal of non-opening is received by the user input, the game interface can be continuously displayed in a split screen mode or the game interface is restored to be displayed in a large screen mode.
In some embodiments, in order to avoid shielding of the game view by the chat popup or the input method popup, the chat popup or the input method popup in the game scene is displayed in the second display area, so that the visibility of the game view is ensured, and the game experience sense is improved.
Illustratively, the layout patterns supported in the game map APP may be updated continuously with the supported game packages.
The above exemplary embodiments of the present invention are not limited to the above-described embodiments, and the specific embodiments of the present invention may be implemented by using other interface display manners to layout the operation controls of the actual control interface and to create the touch map of the operation controls and the game control area.
Referring to fig. 9, fig. 9 is a schematic flow chart of a game adaptation method according to an embodiment of the present application; the execution main body of the method can be an electronic device, such as a folding screen mobile phone, and based on the same implementation principle as the above, the description is omitted here; as shown in fig. 9, the method may include the steps of:
s91, acquiring a switching signal of a screen display state, wherein the switching signal of the screen display state is a touch signal for switching from a full screen display state of an inner screen to a split screen display state under an unfolding state of a folding screen of the electronic equipment.
The switching signal may be, for example, a touch signal that receives an icon input of a user clicking on an upper and lower split screen in the control 411 as shown in fig. 4 (a).
S92, in response to the switching signal, displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are overlapped and displayed.
S93, responding to a game mapping starting signal acquired in a second display area of the inner screen, and displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch control mapping with the game control area.
The operation control is used for controlling the game interface based on touch mapping, and the first display area and the second display area are two areas which are not overlapped and displayed on the inner screen.
Through the embodiment of the application, the electronic equipment displays the game interface and the actual control interface through the split screen, so that the third party game which is not subjected to resolution adaptation to the large screen can be adapted to the large screen, the game is controlled through the touch mapping of the operation control and the game control area while the content of the game interface is not reduced, the shielding of hands to the game field during the operation of the game interface is avoided, and the game experience is improved; the method can be adapted to various games which are not subjected to large-screen resolution adaptation on the premise of not changing a game development package, and development of complete machine adaptation on a third party game is not required; meanwhile, based on the selective opening of the actual control interface, more flexible selection is provided for a user when entering an actual game scene; through the selection of the layout modes of the number and the positions of the operation controls in the second display area, the actual control interface matched with the operation controls is set based on the types of the game scenes, and the more flexible selection of the layout modes of the operation controls of the actual control interface and the more flexible adaptation of the game interface are realized.
Corresponding to the game adaptation method provided in the above embodiments, fig. 10 shows a schematic structural diagram of the game adaptation device provided in the embodiments of the present application, and for convenience of explanation, only the portions relevant to the embodiments of the present application are shown.
Referring to fig. 10, the game adapting device includes:
an obtaining unit 101, configured to obtain a switching signal of a screen display state, where the switching signal of the screen display state is a touch signal that is switched from a full screen display state of an internal screen to a split screen display state in a folded screen unfolded state of the electronic device;
a first processing unit 102, configured to display a game interface in a first display area of the internal screen in response to the switching signal, where the game interface includes a game field area and a game control area that are displayed in an overlapping manner;
the second processing unit 103 is configured to respond to a game mapping start signal acquired in a second display area of the internal screen, and display an actual control interface in the second display area, where the actual control interface includes an operation control with a touch map in the game control area; the operation control is used for controlling the game interface based on touch mapping, and the first display area and the second display area are two areas which are displayed on the inner screen in a non-overlapping mode.
In a possible implementation manner, the second processing unit 103 is further configured to configure an operation control corresponding to the game interface in the second display area in response to the configuration signal acquired in the second display area of the internal screen, and display prompt information for establishing the touch mapping; based on the prompt information, in response to a touch selection signal acquired in the game control area, establishing a touch mapping of the operation control and the game control area.
In a possible implementation manner, the second processing unit 103 is further configured to determine, in response to a configuration signal, a layout mode of the actual manipulation interface in the second display area; and determining the number and the positions of the operation controls corresponding to the game interface in the second display area based on the layout mode.
In a possible implementation manner, the second processing unit 103 is further configured to establish a touch mapping between the position coordinates of the operation control and the position coordinates of the touch icon based on the touch icon of the game control area corresponding to the touch selection signal.
In a possible implementation manner, the second processing unit 103 is further configured to move, add, or delete an operation control corresponding to the game interface in the second display area based on the configuration signal.
In a possible implementation manner, the second processing unit 103 is further configured to display a default actual operation interface in the second display area in response to the configuration signal acquired in the second display area of the internal screen, where the default actual operation interface includes a fixed operation control for controlling the game interface.
In one possible implementation, the apparatus further includes: the storage unit is used for storing configuration information of the operation control in the configured actual control interface associated with the game package name based on the currently opened game package name, wherein the configuration information is used for calling the associated operation control when the game package name is started next time.
In one possible implementation, the apparatus further includes: and the popup window control unit is used for displaying a chat popup window or an input method popup window in a second display area of the inner screen under the game scene.
According to the embodiment of the application, the game interface and the actual control interface are displayed through the split screen, so that the third party game without resolution adaptation of the large screen can be adapted to the large screen, the game is controlled through the touch mapping of the operation control and the game control area while the content of the game interface is not reduced, the shielding of hands to the game field when the game interface is controlled is avoided, and the game experience is improved; the method can be adapted to various games which are not subjected to large-screen resolution adaptation on the premise of not changing a game development package, and development of complete machine adaptation on a third party game is not required; meanwhile, based on the selective opening of the actual control interface, more flexible selection is provided for a user when entering an actual game scene; through the selection of the layout modes of the number and the positions of the operation controls in the second display area, the actual control interface matched with the operation controls is set based on the types of the game scenes, and the more flexible selection of the layout modes of the operation controls of the actual control interface and the more flexible adaptation of the game interface are realized.
Fig. 11 shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100. For example, in a game scene, a game interface is manipulated through a touch map established with a game manipulation area based on a touch signal input by a user on a screen.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1. For example, a folding screen mobile phone includes an outer screen and an inner screen, and in a folding screen open state, the inner screen can display an image in a large screen mode; under the condition that the game is not matched with the resolution of the large screen in the large screen mode, the game interface can be controlled through the split screen mode and the established touch control mapping, and the shielding of the game view in the game control process is avoided.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a folding screen phone, the electronic device 100 may detect the folding and unfolding states of the screen according to the magnetic sensor 180D. And then according to the detected opening and closing state of the screen, the characteristics of automatically unlocking the inner screen by opening the folding screen are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications. For example, in a folding state of a screen, the display state of a horizontal screen or a vertical screen of the outer screen can be controlled by detecting the size and the direction of the gravity of the mobile phone, and in an opening state of the folding screen, the display state of the inner screen in a large screen or a split screen mode can be controlled by detecting the size and the direction of the gravity of the mobile phone.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. For example, in some embodiments, a folding screen mobile phone is in an open state, an internal screen is in a game scene in a split screen mode, a touch mapping between a first touch position and a second touch position on the screen is established, a touch operation on the first touch position is performed, the touch mapping with the second touch position is performed, and a touch signal of the second touch position is generated.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 12 is a software configuration block diagram of the electronic device 100 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 12, the application package may include applications for game 1, game 2, game mapping, and conversations, videos, and the like.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a resource manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen, split the screen operation and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include configuration information of a touch map configured for a game, etc.; for example, when a game is started, the configuration information of the game touch map may be called based on the game package name, and the game touch map function may be started.
The resource manager provides various resources to the application program, such as configuration information of a touch map configured for the game in a game scene, and the like.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (Media Libraries), etc.
The surface manager is used for managing the display subsystem.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like.
The kernel layer is a layer between hardware and software. The kernel layer at least contains display drivers and sensor drivers.
The workflow of the electronic device 100 software and hardware is illustrated below in connection with a scenario where game adaptation is achieved based on the folded-screen cell phone operating the game with the inner screen in an open state.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates or touch coordinate changes). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the game interface control based on touch mapping as an example, the touch operation generates a touch signal on the actual control interface after screen separation, based on the touch signal, the application program framework layer obtains touch coordinates corresponding to the touch operation from the inner core layer, identifies target position coordinates with the touch coordinates in touch mapping, generates the touch signal of the target position coordinates, then obtains the target position coordinates from the inner core layer, identifies icons of the game interface corresponding to the input event, and realizes game interface control through touch mapping.
According to the method and the device, the game interface and the actual control interface are displayed through the split screen, the adaptation of the third party game without the resolution adaptation large screen to the large screen can be achieved, the touch mapping of the operation control and the game control area is achieved while the content of the game interface is not reduced, the shielding of hands to the game visual field is avoided, and the game experience is improved.
The present embodiment also provides a computer storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the method in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the methods in the above method embodiments.
The electronic device (such as a mobile phone) provided in this embodiment, the computer storage medium, the computer program product or the chip are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A game adaptation method, comprising:
acquiring a switching signal of a screen display state, wherein the switching signal of the screen display state is a touch signal for switching from a full screen display state of an inner screen to a split screen display state under a folding screen unfolding state of the electronic equipment;
responding to the switching signal, displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are displayed in an overlapping mode;
responding to a game mapping starting signal acquired in a second display area of the inner screen, and displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch mapping with the game control area;
The operation control is used for controlling the game interface based on the touch mapping, and the first display area and the second display area are two areas which are not overlapped and displayed on the inner screen.
2. The method of claim 1, wherein the responding to the switching signal, after displaying a game interface on the first display area of the inner screen, the method further comprises:
responding to a configuration signal acquired in a second display area of the inner screen, configuring an operation control corresponding to the game interface in the second display area, and displaying prompt information for establishing touch mapping;
and based on the prompt information, establishing touch mapping between the operation control and the game control area in response to a touch selection signal acquired from the game control area.
3. The method of claim 2, wherein the configuring, in response to the configuration signal acquired in the second display area of the inner screen, the operation control corresponding to the game interface in the second display area includes:
responding to the configuration signal, and determining a layout mode of the actual control interface in the second display area;
And determining the number and the positions of the operation controls corresponding to the game interface in the second display area based on the layout mode.
4. The method of claim 2, wherein the establishing a touch map of the operation control and the game manipulation area in response to the touch selection signal acquired in the game manipulation area comprises:
and establishing a touch mapping of the position coordinates of the operation control and the position coordinates of the touch icon based on the touch icon of the game control area corresponding to the touch selection signal.
5. The method of claim 2, wherein the configuring, in response to the configuration signal acquired in the second display area of the inner screen, the operation control corresponding to the game interface in the second display area includes:
and moving, adding or deleting an operation control corresponding to the game interface in the second display area based on the configuration signal.
6. The method of claim 1, wherein the responding to the switching signal, after displaying a game interface on the first display area of the inner screen, the method further comprises:
And responding to the configuration signal acquired in the second display area of the inner screen, and displaying a default actual operation interface in the second display area, wherein the default actual operation interface comprises a fixed operation control for controlling a game interface.
7. The method according to any one of claims 1 to 6, further comprising:
based on the currently opened game package name, saving configuration information of operation controls in a configured actual control interface associated with the game package name, wherein the configuration information is used for calling the associated operation controls when the game package name is started next time.
8. The method according to any one of claims 1 to 6, further comprising:
and displaying a chat popup window or an input method popup window in the second display area of the inner screen under the game scene.
9. A game adapting device, comprising:
the electronic equipment comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a switching signal of a screen display state, wherein the switching signal of the screen display state is a touch signal for switching from a full screen display state of an inner screen to a split screen display state under the unfolded state of a folding screen of the electronic equipment;
the first processing unit is used for responding to the switching signal and displaying a game interface in a first display area of the inner screen, wherein the game interface comprises a game visual field area and a game control area which are displayed in an overlapping mode;
The second processing unit is used for responding to a game mapping starting signal acquired in a second display area of the inner screen, displaying an actual control interface in the second display area, wherein the actual control interface comprises an operation control with touch mapping with the game control area;
the operation control is used for controlling the game interface based on the touch mapping, and the first display area and the second display area are two areas which are not overlapped and displayed on the inner screen.
10. An electronic device comprising a memory storing a computer program and a processor implementing the method of any one of claims 1 to 8 when the computer program is executed by the processor.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any one of claims 1 to 8.
CN202311699150.1A 2023-12-12 2023-12-12 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium Active CN117398677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311699150.1A CN117398677B (en) 2023-12-12 2023-12-12 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311699150.1A CN117398677B (en) 2023-12-12 2023-12-12 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN117398677A true CN117398677A (en) 2024-01-16
CN117398677B CN117398677B (en) 2024-05-07

Family

ID=89498305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311699150.1A Active CN117398677B (en) 2023-12-12 2023-12-12 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117398677B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130084980A1 (en) * 2011-10-04 2013-04-04 Microsoft Corporation Game controller on mobile touch-enabled devices
CN108628521A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of screen operating method and mobile terminal
CN109925711A (en) * 2019-02-28 2019-06-25 Oppo广东移动通信有限公司 Application control method, apparatus, terminal device and computer-readable storage medium
CN110064197A (en) * 2019-05-24 2019-07-30 网易(杭州)网络有限公司 Game control method, device, equipment and storage medium
CN110064192A (en) * 2019-04-08 2019-07-30 努比亚技术有限公司 Interface control method, mobile terminal and computer readable storage medium
CN110825294A (en) * 2019-10-31 2020-02-21 华勤通讯技术有限公司 Display method, electronic device, and computer-readable storage medium
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
US20210373602A1 (en) * 2016-09-22 2021-12-02 Sang Kyu MIN Foldable virtual reality device
CN113877197A (en) * 2021-08-25 2022-01-04 深圳市松冠科技有限公司 Game mapping control method, device, equipment and storage medium
CN114887323A (en) * 2019-09-18 2022-08-12 华为技术有限公司 Electronic equipment control method and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130084980A1 (en) * 2011-10-04 2013-04-04 Microsoft Corporation Game controller on mobile touch-enabled devices
US20210373602A1 (en) * 2016-09-22 2021-12-02 Sang Kyu MIN Foldable virtual reality device
CN108628521A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of screen operating method and mobile terminal
CN109925711A (en) * 2019-02-28 2019-06-25 Oppo广东移动通信有限公司 Application control method, apparatus, terminal device and computer-readable storage medium
CN110064192A (en) * 2019-04-08 2019-07-30 努比亚技术有限公司 Interface control method, mobile terminal and computer readable storage medium
CN110064197A (en) * 2019-05-24 2019-07-30 网易(杭州)网络有限公司 Game control method, device, equipment and storage medium
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN115297200A (en) * 2019-08-30 2022-11-04 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN114887323A (en) * 2019-09-18 2022-08-12 华为技术有限公司 Electronic equipment control method and electronic equipment
CN110825294A (en) * 2019-10-31 2020-02-21 华勤通讯技术有限公司 Display method, electronic device, and computer-readable storage medium
CN113877197A (en) * 2021-08-25 2022-01-04 深圳市松冠科技有限公司 Game mapping control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN117398677B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US11429276B2 (en) Method for displaying graphical user interface and mobile terminal
EP4177725A1 (en) Cross-device object dragging method and device
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US20220357845A1 (en) Split-screen display method and electronic device
CN111782102B (en) Window display method and related device
CN108205430B (en) Double-screen mobile terminal, corresponding control method and storage medium
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN110839096B (en) Touch method of equipment with folding screen and folding screen equipment
US8542185B2 (en) Method and apparatus for operating mobile terminal
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
US20230075464A1 (en) Touch Operation Method and Device
CN108491149A (en) A kind of multi-screen display method and terminal
CN108646958A (en) A kind of application program launching method and terminal
CN109901976A (en) A kind of management method and terminal device of application program
CN115877995A (en) Application icon display method, electronic device and readable storage medium
CN112835495B (en) Method and device for opening application program and terminal equipment
CN117398677B (en) Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium
CN113961115A (en) Object editing method, electronic device, medium, and program product
EP4310648A1 (en) Service card processing method, and electronic device
CN111782298B (en) Application management method and device, storage medium and electronic equipment
CN116661670B (en) Method for managing gesture navigation window, electronic device and storage medium
WO2024032037A1 (en) Method for processing unread-message notification, and electronic device and storage medium
CN116301416B (en) Touch scanning method, touch screen and electronic equipment
CN113127130A (en) Page jump method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant