CN110339556B - Display control method and device in game - Google Patents

Display control method and device in game Download PDF

Info

Publication number
CN110339556B
CN110339556B CN201910631670.6A CN201910631670A CN110339556B CN 110339556 B CN110339556 B CN 110339556B CN 201910631670 A CN201910631670 A CN 201910631670A CN 110339556 B CN110339556 B CN 110339556B
Authority
CN
China
Prior art keywords
touch operation
switching
game
picture
touch
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.)
Active
Application number
CN201910631670.6A
Other languages
Chinese (zh)
Other versions
CN110339556A (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 Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910631670.6A priority Critical patent/CN110339556B/en
Publication of CN110339556A publication Critical patent/CN110339556A/en
Application granted granted Critical
Publication of CN110339556B publication Critical patent/CN110339556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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

Abstract

The application provides a display control method and device in a game, wherein the thumbnail can be switched on a display screen of an image user interface by using touch operation of a specific touch type, so that the displayed thumbnail can be used for realizing quick switching of the game screen, the thumbnail can be opened without depending on a specific function key or a specific area, and the technical problems of complicated operation and low switching efficiency of game screen switching in the prior art are solved. Meanwhile, the slow switching of the game picture can be realized through dragging on the graphical user interface by distinguishing the touch operation with the specific touch type. Therefore, the seamless connection between the quick switching and the slow switching of the game pictures is realized. In addition, the seamless connection between the quick switching and the slow switching of the game pictures is realized on the graphical user interface, and the smoothness of the game picture switching is favorably improved.

Description

Display control method and device in game
Technical Field
The application relates to the technical field of games, in particular to a display control method and device in a game.
Background
With the development of mobile intelligent terminals and the game industry, a large number of mobile terminal games with different themes emerge. In many types of games, a player needs to frequently observe elements such as friends and enemies on a game map, and therefore, the game screen needs to be frequently switched quickly and accurately.
Currently, switching game pictures includes two modes, namely fast switching and precise switching, namely slow switching. The slow switching can be generally realized by dragging a game picture, and the fast switching is generally realized by opening a thumbnail map of the game and clicking the thumbnail map.
However, although the fast switching mode can realize fast switching of the game screen, the operation is cumbersome, and operation errors are likely to occur, for example, in some games, a thumbnail map can be opened only by clicking a specific function key or a specific area, so as to realize fast switching of the game screen based on the thumbnail map. In this way, not only can the player not clearly remember the specific function key or area, which results in misoperation, but also the player needs to operate the game picture with both hands to complete the operation, which results in complicated operation mode and low efficiency of switching the game picture. In addition, in the prior art, the fast switching of the game pictures can be realized only by specific function keys, and the seamless connection between the fast switching and the slow switching of the game pictures cannot be realized.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a display control method and apparatus in a game, which can switch a thumbnail image by a touch operation of a specific touch type on a graphical user interface to realize a fast switching of a game screen, and can switch a game screen slowly by dragging by distinguishing the touch operation of the specific touch type from the above, thereby solving the technical problems of the prior art that the operation of switching a game screen is complicated, the switching efficiency is low, and a seamless connection between a fast switching and a slow switching of a game screen cannot be realized.
In a first aspect, the present application provides a display control method in a game, which is applied to a touch terminal, where a game screen is displayed in a graphical user interface of the touch terminal, and the game screen partially includes a game scene of the game, and the method includes:
acquiring a first touch operation acted on the graphical user interface;
if the touch type of the first touch operation is a first preset touch type, displaying a picture switching thumbnail on the graphical user interface, wherein the picture switching thumbnail is at least a partial area of the thumbnail of the game scene; determining a first target game picture based on a second touch operation acting on the picture switching thumbnail, and switching the current game picture to the first target game picture;
and if the touch type of the first touch operation is a second preset touch type, determining a second target game picture based on the first touch operation, and switching the current game picture into the second target game picture.
In a possible implementation manner, the displaying a screen switching thumbnail on the graphical user interface in the display control method includes:
determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation;
and displaying the picture switching thumbnail on the display area.
In a possible implementation manner, the display area in the display control method includes an action position of the first touch operation, the action position of the first touch operation is indicated on the screen switching thumbnail, and the action position of the first touch operation indicated on the screen switching thumbnail coincides with the action position of the first touch operation included in the display area.
In a possible implementation manner, the first preset touch type in the display control method is any one of the following types: double click operation type, heavy press operation type, long press operation type.
In one possible embodiment, the determining the first target game screen based on the second touch operation applied to the screen switching thumbnail in the display control method includes:
acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period;
determining the first target game screen based on the first position information.
In one possible embodiment, the determining the first target game screen based on the second touch operation applied to the screen switching thumbnail in the display control method includes:
if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail which is finally acted by the second touch operation;
and determining the first target game picture based on the second position information.
In one possible implementation manner, the determining a second target game screen based on the first touch operation in the display control method includes:
according to a second preset period, third position information of the first touch operation acting on the graphical user interface is obtained;
determining the second target game screen based on the third position information.
In one possible implementation, the first touch operation to the second touch operation in the above display control method is a continuous touch operation.
In one possible embodiment, after the screen switching thumbnail is displayed on the current game screen, the display control method further includes:
and closing the screen switching thumbnail if the second touch operation on the screen switching thumbnail is finished.
In a possible implementation manner, the first touch operation in the display control method is applied to a non-functional area of the graphical user interface.
In a second aspect, the present application provides a display control device in a game, which is applied to a touch terminal, a game screen is displayed in a graphical user interface of the touch terminal, the game screen partially includes a game scene of the game, and the display control device includes:
the acquisition module is used for acquiring a first touch operation acted on the graphical user interface;
the display switching module is used for displaying a picture switching thumbnail on the graphical user interface when the touch type of the first touch operation is a first preset touch type, determining a first target game picture based on a second touch operation acting on the picture switching thumbnail, and switching the current game picture into the first target game picture; the game system comprises a first touch operation module, a second touch operation module, a third touch operation module and a fourth touch operation module, wherein the first touch operation module is used for determining a first target game picture based on the first touch operation when the touch type of the first touch operation is a first preset touch type, and switching the current game picture into the first target game picture; wherein the picture switching thumbnail is at least a partial region of a thumbnail of the game scene.
In a possible embodiment, when the display switching module in the display control apparatus displays the frame switching thumbnail on the gui, the display switching module is specifically configured to:
determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation;
and displaying the picture switching thumbnail on the display area.
In one possible embodiment, the display area includes an application position of the first touch operation, the screen switching thumbnail is marked with the application position of the first touch operation, and the application position of the first touch operation marked on the screen switching thumbnail coincides with the application position of the first touch operation included in the display area.
In a possible implementation manner, the first preset touch type is any one of the following types: double click operation type, heavy press operation type, long press operation type.
In one possible embodiment, the display switching module in the display control device, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail, is specifically configured to:
acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period;
and determining the first target game picture based on the first position information.
In a possible embodiment, the display switching module in the display control device is specifically configured to, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail:
if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail which is finally acted by the second touch operation;
and determining the first target game picture based on the second position information.
In a possible implementation manner, when the display switching module in the display control apparatus determines the second target game screen based on the first touch operation, the display switching module is specifically configured to:
acquiring third position information of the first touch operation acting on the graphical user interface according to a second preset period;
determining the second target game screen based on the third position information.
In one possible embodiment, the first touch operation to the second touch operation is a continuous touch operation.
In a possible embodiment, after the display switching module in the display control apparatus displays the screen switching thumbnail on the current game screen, the display switching module is further configured to:
and closing the screen switching thumbnail if the second touch operation on the screen switching thumbnail is finished.
In a possible implementation, the first touch operation is applied to a non-functional area of the graphical user interface.
In a third aspect, an embodiment of the present application further provides an electronic device, including: the display control method comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the display control method in the game in any one of the possible implementation manners of the first aspect and the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps in the display control method in a game in any one of the possible implementation manners of the first aspect of the embodiment of the present application.
According to the display control method and device in the game, the thumbnail can be switched on the display screen of the image user interface through the touch operation of the specific touch type, so that the displayed screen switching thumbnail can be used for realizing quick switching of the game screen, the screen switching thumbnail can be opened without depending on specific function keys or specific areas, and the technical problems that the operation for switching the game screen is complicated and the switching efficiency is low in the prior art are solved. Meanwhile, the slow switching of the game pictures can be realized by dragging on the graphical user interface through the touch operation which is different from the specific touch type, and therefore the seamless connection between the fast switching and the slow switching of the game pictures can be realized. In addition, the seamless connection between the quick switching and the slow switching of the game pictures is realized on the graphical user interface, and the smoothness of the game picture switching is favorably improved.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed 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 those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a flow chart illustrating a method for controlling display in a game according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another method for controlling display in a game according to an embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of switching to a second target game screen in one possible embodiment of the present application;
FIG. 4 illustrates a schematic diagram of switching to a first target game screen in one possible embodiment of the present application;
FIG. 5 is a schematic structural diagram of a display control device in a game according to an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, 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 should be understood that the drawings in the present application are only for illustration and description purposes and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. 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. In addition, one skilled in the art, under the guidance of the present disclosure, may add one or more other operations to the flowchart, or may remove one or more operations from the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the 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, as presented in the figures, 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.
In order to enable those skilled in the art to use the present disclosure, the following embodiments are given in conjunction with a specific application scenario "switching game screen in mobile phone game". It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is primarily described in the context of the above-described application scenarios, it should be understood that this is merely one exemplary embodiment.
It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
During a game battle, a player may need to switch a game view, i.e., a game screen, to observe elements such as friends and enemies in the game. The switching of the game pictures comprises fast switching and precise switching, wherein the picture moving speed of the precise switching is low, the picture switching range is small, but the precise switching can accurately position the game pictures to the pictures and the positions to be switched; the fast switching picture has fast moving speed and wide picture switching range.
Before the scheme of the application is provided, the picture switching thumbnail can be opened only by depending on a specific function key, so that the game picture can be quickly switched based on the picture switching thumbnail, the operation is complex, the switching efficiency is low, the seamless connection between the quick game picture switching and the slow game picture switching cannot be realized, the requirements of quickness and accuracy of the game picture switching cannot be met, and the game picture switching smoothness is poor.
However, in many games, the mode of game picture switching needs to meet both the requirements of rapidness and precision, for example, in the tank battle, there is a tank called self-propelled gun, and such tank needs to observe the battlefield often at a bird's eye view and aim at the enemy. Because the scene of tank battle is very big, aim enemy unit and require very accurate again moreover, consequently, in the switching of the picture of playing in the tank battle of proper motion artillery, need compromise fast and accurate. Before the scheme of the application is provided, the requirements of rapidness and accuracy of game picture switching cannot be met at the same time.
Aiming at the requirement of game picture switching in game battles, the application provides a game picture switching method and a game picture switching device. Meanwhile, the method or the device can realize the slow switching of the game pictures through dragging on the graphical user interface by distinguishing the touch operation with the specific touch type, can realize the seamless connection between the fast switching and the slow switching of the game pictures, and can meet the requirements on speed and accuracy in the game picture switching process. In addition, the method or the device realizes seamless connection between the quick switching and the slow switching of the game pictures on the graphical user interface, and is favorable for improving the smoothness of the game picture switching.
The following describes a display control method in the game of application by some specific examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating a display control method in a game according to an embodiment of the present disclosure. The method is executed by a background server corresponding to the game.
As shown in fig. 1, the game screen switching method includes the steps of:
s101, obtaining a first touch operation acted on the graphical user interface.
The game screen is displayed in the graphical user interface of the touch terminal, and the game screen partially comprises a game scene of the game.
The game screen refers to a screen of a game displayed on a graphical user interface of the current touch terminal, and may also be called a game view. The game screen may include various function keys, friend units, enemy units, and the like. The game scene switching can be understood as that the game scene moves along with the visual angle of the player, the player can observe each part and corner in the game scene by moving the visual angle, and in the process, the main change after the game scene switching is the game scene switching.
The first touch operation may be a touch operation applied to a graphical user interface of the touch terminal, and since the graphical user interface has a touch function and a game screen is displayed on the graphical user interface of the touch terminal, the first touch operation applied to the graphical user interface may be considered to be a first touch operation applied to a current game screen displayed on a screen. Subsequently, all touch operations acting on the graphical user interface are touch operations corresponding to the game screen.
Because the graphical user interface of the touch terminal has a touch function, different functional areas in the game picture can be touch-controlled through touch operation, so that the game can be controlled through the functions corresponding to the different functional areas.
Because the graphical user interface area of the touch terminal is limited, the graphical user interface of the touch terminal cannot display the whole picture of the game, but only displays a part of the picture.
S102, if the touch type of the first touch operation is a first preset touch type, displaying a picture switching thumbnail on the graphical user interface, wherein the picture switching thumbnail is at least a partial area of a thumbnail of the game scene; and determining a first target game picture based on a second touch operation acted on the picture switching thumbnail, and switching the current game picture to the first target game picture.
The picture switching thumbnail can be at least a partial area of the thumbnail of the game scene, and can also be a thumbnail of a panorama of the game scene, and because of the influence of the size of the screen of the intelligent terminal and the playing experience, a player cannot be shown the whole game scene through the screen, and the player can only observe a small part of the panorama of the game on the screen.
Because the game picture included in the picture switching thumbnail is larger than the game picture displayed in the current graphical user interface, the picture switching speed realized by sliding on the picture switching thumbnail is larger than the picture switching speed realized by directly sliding in the current graphical user interface, namely, the fast switching of the game picture can be realized by switching the thumbnail on the picture.
Here, the touch type of the first touch operation may be one of a double-click operation type, a heavy-press operation type, and a long-press operation type, but the touch type of the first touch operation is not limited in the present application.
In this step, the second touch operation may be a sliding or dragging touch gesture that acts on the screen switching thumbnail, and during the sliding of the second touch operation, the position where the second touch operation acts on the screen switching thumbnail is determined in real time, and then the first target game screen may be determined according to the position where the second touch operation acts on the screen switching thumbnail. The step is a continuous process, that is, during the second touch operation, the game picture is kept switched due to the position change of the second touch operation, and if the second touch operation is kept at one position, the game picture is kept at the picture corresponding to the position. Of course, when the second touch operation is finished, the position on which the second touch operation has been finally applied may be determined, and the first target game screen may be determined based on the position on which the second touch operation has been finally applied.
The first touch operation to the second touch operation may be a continuous touch operation, i.e., the player's finger does not leave the graphical user interface between the first touch operation and the second touch operation. When the player starts the first touch operation, if the type of the first touch operation is the first preset touch type, the screen switching thumbnail can be displayed in the area around the position on which the first touch operation acts, at this time, the finger of the user still keeps in contact with the graphical user interface of the touch terminal, and the touch operation after the thumbnail is switched from the display screen is determined as the second touch operation.
Therefore, the player can perform the operations of calling out the picture switching thumbnail and quickly switching the game picture through a continuous touch operation, the operation of quickly switching the game picture is simplified, and the smoothness of the operation of the player is improved.
Of course, the interval time between the first touch operation and the second touch operation may not be 0, and in this case, the first touch operation and the second touch operation are not consecutive touch operations.
After the second touch operation is finished, the requirement for rapidly switching the game picture disappears, and at this time, the picture switching thumbnail can be closed.
S103, if the touch type of the first touch operation is a second preset touch type, determining a second target game picture based on the first touch operation, and switching the current game picture into the second target game picture.
In this step, after the first touch operation is acquired, if the touch type of the first touch operation is a second preset touch type, the screen switching thumbnail is not displayed, but a second target game screen is determined directly according to the touch operation of the first touch operation on the image user interface, and the current game screen is switched to the second target game screen. The steps realize the slow switching of the game pictures, namely the accurate switching of the game pictures.
Specifically, the second preset touch type may be dragging or sliding, for example, if the current game screen is dragged by the first touch operation to move the game screen, the game screen displayed on the graphical user interface may change, the moving direction and distance of the game screen are the same as or opposite to those of the first touch operation, and the game screen in the moved graphical interface is the second target game screen.
Therefore, the player can perform slow or accurate game picture switching on the graphical user interface, seamless switching between operations of quickly switching game pictures is achieved, and the smoothness of operation of the player is improved.
According to the game picture switching method, the picture switching thumbnail can be displayed by specific touch operation on the graphical user interface, then the game picture can be quickly switched by the picture switching thumbnail, and functional keys at other positions do not need to be touched and clicked, so that the process of quickly switching the game picture is simplified, and the picture switching efficiency is improved. In addition, the slow switching of the game picture can be realized on the graphical user interface through dragging by distinguishing the touch operation with the specific touch type, and the seamless connection between the fast switching and the slow switching of the game picture can be realized. In addition, the seamless connection between the quick switching and the slow switching of the game pictures is realized on the graphical user interface, and the smoothness of the game picture switching is favorably improved.
In an optional embodiment, the first touch operation may be performed multiple times, for example, the first touch operation with the touch type being the second preset touch type is performed first, and then the first touch operation with the touch type being the first preset touch type is performed, optionally, the two times of first touch operations are continuous touch operations, for example, the game screen may be switched in a first manner by the first touch operation with the touch type being the second preset touch type (for example, sliding), and the game screen may be switched in a second manner by receiving the first touch operation with the touch type being the first preset touch type (for example, pressing again) while keeping the touch medium (for example, a finger) from leaving the screen. Therefore, the fluency of the operation of the player is further improved, and the seamless switching of different game picture operation modes is better realized.
Referring to fig. 2, fig. 2 is a flowchart of another game display control method according to an embodiment of the present application. The method is also executed by a background server corresponding to the game.
As shown in fig. 2, the specific execution process of the display control method in the game is as follows:
s201, acquiring a first touch operation acted on the graphical user interface.
S202, if the touch type of the first touch operation is a first preset touch type, determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation; displaying the picture switching thumbnail on the display area, wherein the picture switching thumbnail is at least a partial area of the thumbnail of the game scene; and determining a first target game picture based on a second touch operation acted on the picture switching thumbnail, and switching the current game picture to the first target game picture.
In this step, when the touch type of the first touch operation is the first preset touch type, the action position of the first touch operation may be determined first, and then an area with a preset size around the action position may be used as the display area of the screen switching thumbnail. The preset size is preset according to the requirements of the actual application scene, for example, the size of the screen of the intelligent terminal device and the size of the game scene in the game can be factors influencing the preset size.
In a specific implementation, the display area includes an action position of a first touch operation, the action position of the first touch operation is indicated on the screen switching thumbnail, and the action position of the first touch operation indicated on the screen switching thumbnail coincides with the action position of the first touch operation included in the display area. In this way, the first touch operation of the finger directly acts at the position of the first touch operation of the screen switching thumbnail, and the player can directly perform the second touch operation on the screen switching thumbnail.
In the embodiment of the present application, the first touch operation and the second touch operation are continuous touch operations. In this way, after the thumbnail is switched on the display screen, the starting point of the second touch operation is the action position of the first touch operation, so that the game screen is not switched at the first moment after the thumbnail is switched on the display screen, and the game screen is not switched to a screen which is not expected by a player due to the switching of the thumbnail on the display screen.
And S203, if the touch type of the first touch operation is a second preset touch type, determining a second target game picture based on the first touch operation, and switching the current game picture into the second target game picture.
The descriptions of step S201 and step S203 may refer to the descriptions of step S101 and step S103, and the same technical effect may be achieved, which is not described herein again.
Referring to fig. 3, fig. 3 is a diagram illustrating an effect of switching to the second target game screen in one possible embodiment of the present application.
As shown in fig. 3, the touch operation of the finger in the figure is a first touch operation, the touch type of the first touch operation is a second preset touch type, and specifically, as shown in fig. 3, the first touch operation switches the game screen by dragging or sliding the game screen in the graphical user interface.
Referring to fig. 4, fig. 4 is a diagram illustrating an effect of switching to a first target game screen in one possible embodiment of the present application.
As shown in fig. 4, the touch operation of the finger in the figure is a first touch operation, the touch type of the first touch operation is a first preset touch type, and specifically, as shown in fig. 4, the first touch operation of the first preset touch type is executed on the graphical user interface, so that the screen switching thumbnail 401 is displayed on the graphical user interface. In the figure, a rectangle surrounding the finger is a picture switching thumbnail 401, namely a small map in the game, and the position of the current game picture in the picture thumbnail, namely the position shown in the picture 402, is indicated in the picture switching thumbnail 401 and is overlapped with the area where the finger is located. The player can call out the screen switching thumbnail 401 by the depressing operation, and the display position of the screen switching thumbnail is in the area around the operation of the depressing operation.
In a possible implementation manner, the first preset touch type in the display control method is any one of the following types: double click operation type, heavy press operation type, long press operation type.
The double-click operation type may include two consecutive clicks on the gui within a preset time interval, and when the continuous touch operation is performed from the first touch operation to the second touch operation, the second touch operation is directly performed without separating the finger of the player from the gui after the second click, and the game screen is switched by the screen switching thumbnail. The heavy pressure operation type can comprise touch operation with touch force larger than a preset threshold value, and the equipment is required to support a 3D-touch function; the long press operation type may include a touch operation in which the press time is longer than a preset time period.
As shown in fig. 4, the screen switching thumbnail is displayed in the area around the first touch operation position, and the display area of the screen switching thumbnail is not limited to the area around the first touch operation position, and may be another designated area in the current game screen.
In some embodiments, the determining the first target game screen based on the second touch operation applied to the screen switching thumbnail in the above display control method includes: acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period; and determining the first target game picture based on the first position information.
In the above steps, first position information of the second touch operation acting on the screen switching thumbnail may be periodically acquired, and the corresponding first target game screen may be determined and displayed according to the first position information corresponding to each first preset period. The first target game screen determined here may be constituted by a position in the game screen in which the distance between the positions corresponding to the first position information is smaller than a preset distance, centered on the position corresponding to the first position information.
In some embodiments of the application, the second touch operation may cause the slide-out of the screen switching thumbnail due to a slide error or the like, and in this case, the determining the first target game screen based on the second touch operation acting on the screen switching thumbnail may be specifically performed by:
step one, if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail which is finally acted by the second touch operation.
And step two, determining the first target game picture based on the second position information.
In this step, the action area of the second touch operation is limited to the screen switching thumbnail, and if the second touch operation slides out of the screen switching thumbnail, it may be determined that the second touch operation is ended, and at this time, the screen switching thumbnail is closed. When the second touch operation slides out of the screen switching thumbnail, it is possible to determine second position information at which the second touch operation last acted on the screen switching thumbnail, and determine a first target game screen based on the position information, wherein the first target game screen determined here is one edge game screen including a position corresponding to the position information at which the second touch operation last acted on the screen switching thumbnail. Here, the method for determining the first target game screen according to the second position information is the same as the above-mentioned method for determining the first target game screen according to the first position information, and is not described herein again.
In the above embodiment, when the second touch operation on the screen switching thumbnail is completed, the screen switching thumbnail is closed, and the player can immediately close the screen switching thumbnail after lifting his finger or sliding out of the screen switching thumbnail after quickly switching the game screen by the second touch operation. After that, the player can immediately input other operation types of touch operations according to the requirements, for example, the input operation type is the first touch operation of the second preset touch type, so that smooth, accurate and slow game picture switching is realized on the game picture, seamless switching between fast game picture switching and accurate game picture switching is realized, and the process of switching the game picture by the player is simplified.
In some embodiments, when the touch type of the first touch operation is the second preset touch type, determining the second target game screen based on the first touch operation may be implemented by:
step one, third position information of the first touch operation acting on the graphical user interface is obtained according to a second preset period.
And step two, determining the second target game picture based on the third position information.
The second preset period may be equal to or different from the first preset period, and both the first preset period and the second preset period are determined according to the requirements of the actual application scenario.
In this embodiment, if the touch type of the first touch operation is the second preset touch type, the user needs to perform slow and accurate game screen switching, at this time, third position information of the player on the graphical user plane is directly acquired, and the second target game screen to be switched is determined according to the acquired third position information. Here, the method of determining the second target game screen according to the third location information is the same as the above-described method of determining the first target game screen according to the first location information, and is not described herein again.
In some embodiments, the first touch operation may be a touch operation applied to a non-functional area of the graphical user interface. The non-functional area of the graphical user interface is an area where a function corresponding to a specific touch operation is not set, and the non-functional area of the graphical user interface where the function is not set is used for realizing fast switching or accurate switching of game pictures, and seamless connection of the fast switching and the accurate switching is realized according to different touch types.
In the graphical user interface of the existing game, the number of non-functional areas is large, and the area is large, so that the non-functional areas are utilized to realize the fast switching or the accurate switching of game pictures, the switching flexibility can be increased, and the switching efficiency can be improved.
In addition, the first touch operation may be a touch operation applied to one or some function areas of the graphical user interface, but since the function areas of the graphical user interface are already configured with functions that need to be implemented for some types of touch operations, when a fast switch or a slow switch of a game screen is implemented using the function areas of the graphical user interface, a new touch type and a function corresponding to the new touch type are added to the original touch operation type and the corresponding function.
Based on the same inventive concept, the embodiment of the present application further provides a display control device in a game corresponding to the display control method in the game, and as the principle of solving the problem of the device in the embodiment of the present application is similar to the game picture switching method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and repeated details are omitted.
Referring to fig. 5, fig. 5 is a structural diagram showing a display control apparatus in a game according to an embodiment of the present application. As shown in fig. 5, an in-game display control apparatus 500 is applied to a touch terminal, in which a game screen is displayed in a graphical user interface of the touch terminal, and the game screen partially includes a game scene of the game, and the display control apparatus 500 includes:
an obtaining module 501, configured to obtain a first touch operation acting on the graphical user interface;
a display switching module 502, configured to display a picture switching thumbnail on the graphical user interface when the touch type of the first touch operation is a first preset touch type, determine a first target game picture based on a second touch operation applied to the picture switching thumbnail, and switch a current game picture to the first target game picture; the game processing device is used for determining a second target game picture based on the first touch operation when the touch type of the first touch operation is a second preset touch type, and switching the current game picture into the second target game picture; wherein the picture switching thumbnail is at least a partial region of a thumbnail of the game scene.
In a possible embodiment, when the display switching module 502 in the display control apparatus 500 displays a screen switching thumbnail on the graphical user interface, the display switching module is specifically configured to:
determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation;
displaying the screen switching thumbnail on the display area.
In one possible embodiment, the display area includes an action position of a first touch operation, the action position of the first touch operation is indicated on the screen switching thumbnail, and the action position of the first touch operation indicated on the screen switching thumbnail coincides with the action position of the first touch operation included in the display area.
In a possible implementation, the first preset touch type is any one of the following types: double click operation type, heavy press operation type, long press operation type.
In a possible implementation manner, the display switching module 502 in the display control apparatus 500 is specifically configured to, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail:
acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period;
determining the first target game screen based on the first position information.
In one possible implementation, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail, the display switching module 502 in the display control device 500 is specifically configured to:
if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail acted by the second touch operation finally;
and determining the first target game picture based on the second position information.
In a possible implementation manner, the determining, by the display switching module 502 in the display control apparatus 500, the second target game screen based on the first touch operation includes:
acquiring third position information of the first touch operation acting on the graphical user interface according to a second preset period;
determining the second target game screen based on the third position information.
In one possible embodiment, the first touch operation to the second touch operation is a continuous touch operation.
In a possible implementation manner, after the display switching module 502 in the display control apparatus 500 displays the screen switching thumbnail on the current game screen, the display switching module is further configured to:
and closing the screen switching thumbnail if the second touch operation on the screen switching thumbnail is finished.
In a possible implementation manner, the first touch operation is applied to a non-functional area of the graphical user interface.
The embodiment of the application discloses an electronic device, as shown in fig. 6, including: a processor 601, a memory 602, and a bus 603, wherein the memory 602 stores machine-readable instructions executable by the processor 601, and when the electronic device is operated, the processor 601 and the memory 602 communicate with each other through the bus 603.
The machine readable instructions, when executed by the processor 601, perform the steps of the display control method in the following game:
acquiring a first touch operation acted on the graphical user interface;
if the touch type of the first touch operation is a first preset touch type, displaying a picture switching thumbnail on the graphical user interface, wherein the picture switching thumbnail is at least a partial area of the thumbnail of the game scene; determining a first target game picture based on a second touch operation acting on the picture switching thumbnail, and switching the current game picture to the first target game picture;
and if the touch type of the first touch operation is a second preset touch type, determining a second target game picture based on the first touch operation, and switching the current game picture into the second target game picture.
In some embodiments, the processor 601 is specifically configured to, when displaying the screen switching thumbnail on the graphical user interface:
determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation;
displaying the screen switching thumbnail on the display area.
In some embodiments, the display area includes an action position of the first touch operation, the action position of the first touch operation is indicated on the screen switching thumbnail, and the action position of the first touch operation indicated on the screen switching thumbnail coincides with the action position of the first touch operation included in the display area.
In some embodiments, the first preset touch type is any one of: double click operation type, heavy press operation type, long press operation type.
In some embodiments, the processor 601 is specifically configured to, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail:
acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period;
determining the first target game screen based on the first position information.
In some embodiments, the processor 601, when determining the first target game screen based on the second touch operation applied to the screen switching thumbnail, is specifically configured to perform:
if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail acted by the second touch operation finally;
and determining the first target game picture based on the second position information.
In some embodiments, when determining the second target game screen based on the first touch operation, the processor 601 is specifically configured to:
according to a second preset period, third position information of the first touch operation acting on the graphical user interface is obtained;
determining the second target game screen based on the third position information.
In some embodiments, the processor 601 performs the steps from the first touch operation to the second touch operation as a continuous touch operation.
In some embodiments, the processor 601 is further configured to perform, after displaying the screen switching thumbnail on the current game screen:
and closing the screen switching thumbnail if the second touch operation on the screen switching thumbnail is finished.
In some embodiments, the first touch operation in the steps performed by the processor 601 acts on a non-functional area of the graphical user interface.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the display control method in the game in any one of the above embodiments.
The embodiment of the present application further provides a computer program product, which includes a computer-readable storage medium storing a non-volatile program code executable by a processor, where instructions included in the program code may be used to execute the display control method in the game described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules 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 of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 functions, if implemented in software functional units and sold or used as a stand-alone product, may be stored in a non-transitory computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A display control method in a game is applied to a touch terminal, and is characterized in that a game picture is displayed in a graphical user interface of the touch terminal, and the game picture partially comprises a game scene of the game, and the method comprises the following steps:
acquiring a first touch operation acted on the graphical user interface;
if the touch type of the first touch operation is a first preset touch type, displaying a picture switching thumbnail on the graphical user interface, wherein the picture switching thumbnail is at least a partial area of the thumbnail of the game scene; determining a first target game picture based on a second touch operation acting on the picture switching thumbnail, and switching the current game picture to the first target game picture; wherein, during the second touch operation, the switched first target game picture changes along with the position acted by the second touch operation;
and if the touch type of the first touch operation is a second preset touch type, determining a second target game picture based on the first touch operation, and switching the current game picture into the second target game picture.
2. The method according to claim 1, wherein the displaying a screen switching thumbnail on the graphical user interface includes:
determining a display area of the picture switching thumbnail on the graphical user interface based on the action position of the first touch operation;
displaying the screen switching thumbnail on the display area.
3. The method according to claim 2, wherein the display area includes an action position of a first touch operation, the action position of the first touch operation is indicated on the screen switching thumbnail, and the action position of the first touch operation indicated on the screen switching thumbnail coincides with the action position of the first touch operation included in the display area.
4. The display control method according to claim 1, wherein the first preset touch type is any one of: double click operation type, heavy press operation type, long press operation type.
5. The method according to claim 1, wherein the determining the first target game screen based on the second touch operation applied to the screen switching thumbnail includes:
acquiring first position information of a second touch operation acting on the picture switching thumbnail according to a first preset period;
and determining the first target game picture based on the first position information.
6. The method according to claim 1, wherein the determining the first target game screen based on the second touch operation acting on the screen switching thumbnail includes:
if the second touch operation slides out of the picture switching thumbnail, determining second position information of the picture switching thumbnail acted by the second touch operation finally;
and determining the first target game picture based on the second position information.
7. The method according to claim 1, wherein the determining a second target game screen based on the first touch operation includes:
according to a second preset period, third position information of the first touch operation acting on the graphical user interface is obtained;
determining the second target game screen based on the third position information.
8. The display control method according to claim 1, wherein the first touch operation to the second touch operation are continuous touch operations.
9. The display control method according to claim 8, further comprising, after displaying the screen switching thumbnail on the current game screen:
and closing the screen switching thumbnail if the second touch operation on the screen switching thumbnail is finished.
10. The display control method according to claim 1, wherein the first touch operation acts on a non-functional area of the graphical user interface.
11. A display control device in a game is applied to a touch terminal, and is characterized in that a game picture is displayed in a graphical user interface of the touch terminal, wherein the game picture partially contains a game scene of the game, and the display control device comprises:
the acquisition module is used for acquiring a first touch operation acted on the graphical user interface;
the display switching module is used for displaying a picture switching thumbnail on the graphical user interface when the touch type of the first touch operation is a first preset touch type, determining a first target game picture based on a second touch operation acted on the picture switching thumbnail, and switching the current game picture into the first target game picture; the game processing device is used for determining a second target game picture based on the first touch operation when the touch type of the first touch operation is a second preset touch type, and switching the current game picture into the second target game picture; wherein the picture switching thumbnail is at least a partial region of a thumbnail of the game scene; and when the second touch operation is in progress, the switched first target game picture changes along with the position acted by the second touch operation.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the in-game display control method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, is adapted to carry out the steps of a method for controlling display in a game as claimed in any one of claims 1 to 10.
CN201910631670.6A 2019-07-12 2019-07-12 Display control method and device in game Active CN110339556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910631670.6A CN110339556B (en) 2019-07-12 2019-07-12 Display control method and device in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910631670.6A CN110339556B (en) 2019-07-12 2019-07-12 Display control method and device in game

Publications (2)

Publication Number Publication Date
CN110339556A CN110339556A (en) 2019-10-18
CN110339556B true CN110339556B (en) 2023-03-31

Family

ID=68175267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910631670.6A Active CN110339556B (en) 2019-07-12 2019-07-12 Display control method and device in game

Country Status (1)

Country Link
CN (1) CN110339556B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111803946B (en) * 2020-07-22 2024-02-09 网易(杭州)网络有限公司 Method and device for switching lenses in game and electronic equipment
CN111782108B (en) * 2020-07-30 2022-03-04 网易(杭州)网络有限公司 Interface switching control method, device, medium and equipment in game
CN114356193B (en) * 2021-12-31 2023-07-18 网易(杭州)网络有限公司 Method and device for switching pictures in game, electronic equipment and storage medium
CN115113780B (en) * 2022-06-13 2023-05-12 荣耀终端有限公司 Page switching method and device and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045420A (en) * 2017-04-27 2017-08-15 努比亚技术有限公司 Switching method and mobile terminal, the storage medium of application program
CN107899246A (en) * 2017-11-10 2018-04-13 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
JP2018064753A (en) * 2016-10-19 2018-04-26 任天堂株式会社 Information processing program, information processing device, information processing system, and information processing method
CN108153475A (en) * 2016-12-06 2018-06-12 腾讯科技(深圳)有限公司 A kind of object's position switching method and mobile terminal
CN108499104A (en) * 2018-04-17 2018-09-07 腾讯科技(深圳)有限公司 Direction display method, device, electronic device in virtual scene and medium
CN108854068A (en) * 2018-06-27 2018-11-23 网易(杭州)网络有限公司 Display control method and device, storage medium and terminal in game
CN109857354A (en) * 2018-12-25 2019-06-07 维沃移动通信有限公司 A kind of interface display method and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6334125B2 (en) * 2013-10-11 2018-05-30 任天堂株式会社 Display control program, display control device, display control system, and display control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018064753A (en) * 2016-10-19 2018-04-26 任天堂株式会社 Information processing program, information processing device, information processing system, and information processing method
CN108153475A (en) * 2016-12-06 2018-06-12 腾讯科技(深圳)有限公司 A kind of object's position switching method and mobile terminal
CN107045420A (en) * 2017-04-27 2017-08-15 努比亚技术有限公司 Switching method and mobile terminal, the storage medium of application program
CN107899246A (en) * 2017-11-10 2018-04-13 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN108499104A (en) * 2018-04-17 2018-09-07 腾讯科技(深圳)有限公司 Direction display method, device, electronic device in virtual scene and medium
CN108854068A (en) * 2018-06-27 2018-11-23 网易(杭州)网络有限公司 Display control method and device, storage medium and terminal in game
CN109857354A (en) * 2018-12-25 2019-06-07 维沃移动通信有限公司 A kind of interface display method and terminal device

Also Published As

Publication number Publication date
CN110339556A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN110339556B (en) Display control method and device in game
CN109982756B (en) Information processing program, information processing method, and information processing apparatus
JP6529659B2 (en) Information processing method, terminal and computer storage medium
CN110354506B (en) Game operation method and device
JP6078684B1 (en) Program, control method, and information processing apparatus
CN110448904B (en) Game view angle control method and device, storage medium and electronic device
CN111888766B (en) Information processing method and device in game, electronic equipment and storage medium
JPWO2018216078A1 (en) Game program, information processing apparatus, information processing system, and game processing method
CN113318447B (en) Game scene processing method and device, storage medium and electronic equipment
CN112619137A (en) Game picture switching method and device, electronic equipment and storage medium
CN110665225A (en) Control method and device in game
CN110404257B (en) Formation control method and device, computer equipment and storage medium
CN114377383A (en) Information processing method, device, equipment and storage medium
CN114344903A (en) Method, terminal and storage medium for controlling virtual object to pick up virtual item
CN108635850B (en) Information processing method, device and storage medium
CN113900570B (en) Game control method, device, equipment and storage medium
JP2018057869A (en) Program, control method, and information processing device
CN111905371B (en) Method and device for controlling target virtual character in game
JP2016095716A (en) Information processing apparatus, information processing method, and program
WO2024007675A1 (en) Virtual object switching method and apparatus, storage medium, and electronic apparatus
CN113694514A (en) Object control method and device
CN115120979A (en) Display control method and device of virtual object, storage medium and electronic device
CN113457157A (en) Method and device for switching virtual props in game and touch terminal
CN114217711A (en) Virtual role control method, terminal, electronic device and storage medium
CN113908544A (en) Information interaction method and device and electronic equipment

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
GR01 Patent grant