CN115708956A - Game picture updating method and device, computer equipment and medium - Google Patents

Game picture updating method and device, computer equipment and medium Download PDF

Info

Publication number
CN115708956A
CN115708956A CN202211428877.1A CN202211428877A CN115708956A CN 115708956 A CN115708956 A CN 115708956A CN 202211428877 A CN202211428877 A CN 202211428877A CN 115708956 A CN115708956 A CN 115708956A
Authority
CN
China
Prior art keywords
game
visual angle
user interface
graphical user
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.)
Pending
Application number
CN202211428877.1A
Other languages
Chinese (zh)
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 CN202211428877.1A priority Critical patent/CN115708956A/en
Publication of CN115708956A publication Critical patent/CN115708956A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides an updating method, an updating device, computer equipment and a medium of a game picture, wherein the method comprises the following steps: responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen; and responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.

Description

Game picture updating method and device, computer equipment and medium
Technical Field
The present application relates to the field of game control, and in particular, to a method and an apparatus for updating a game screen, a computer device, and a medium.
Background
At present, among many network games, SLG (Game of the Game family) games are the choice of many players, and during the Game, the players need to adjust the switching of the presentation perspective of the Game scene through sliding operation. In a strategy game, a player needs to play a game through a battle layout, the battle layout needs the player to adjust the position or other aspects of a virtual object in a game scene, the player can select the virtual object in a click mode when selecting one virtual object, and when the player needs to select a plurality of virtual objects, the player needs to select a plurality of virtual objects in a selection frame set by sliding operation.
Disclosure of Invention
In view of the above, an object of the present application is to provide a game screen updating method, an updating apparatus, a computer device and a medium, which are used to solve the problem that in the game process of the prior art, when different function requirements need to be realized through a sliding operation, an incorrect operation is likely to occur.
In a first aspect, an embodiment of the present application provides a method for updating a game screen, which is applied to a terminal device, where the terminal device includes a curved screen, the curved screen is composed of a main screen and a side screen that are not in the same plane, the curved screen of the terminal device provides a graphical user interface, and the graphical user interface is used for displaying a game screen at a presentation angle of a game scene, and includes:
responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen;
and responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
In a second aspect, an embodiment of the present application provides an update apparatus for a game picture, which is applied to a terminal device, where the terminal device includes a curved screen, the curved screen is composed of a main screen and a side screen that are not in the same plane, the curved screen of the terminal device provides a graphical user interface, and the graphical user interface is used for displaying a game picture at a presentation view angle of a game scene, and includes:
the first response module is used for responding to a first touch operation aiming at a side screen of the graphical user interface and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen;
and the second response module is used for responding to the first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the steps of the above method.
According to the method for updating the game picture, firstly, responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen; then, responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
In some embodiments, a visual angle adjustment area is displayed in the graphical user interface through a first touch operation acting in the side screen, then adjustment of a rendering visual angle of a game scene is realized based on a first sliding operation acting in the visual angle adjustment area, and updating of a game picture in the graphical user interface is further realized, so that the sliding operation for adjusting the rendering visual angle can be separated from other sliding operations, the situation of misoperation is reduced, the manner for adjusting the rendering visual angle is better adapted to players with different hands, the game experience is increased, the loss of the players is reduced, and the resource idle consumption of the game server is reduced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart illustrating a method for updating a game screen according to an embodiment of the present disclosure;
FIG. 2 is a schematic view of a curved screen provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a first graphical user interface provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a second graphical user interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of a third graphical user interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a fourth graphical user interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a fifth graphical user interface provided by an embodiment of the present application;
FIG. 8 is a schematic illustration of a sixth graphical user interface provided by an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus for updating a game screen according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a seventh graphical user interface provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all 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 the game process, the visual angle change of the game scene is generally realized by using sliding operation, but in some games, the selection operation of the virtual object is also realized by using the sliding operation, so that a player cannot accurately distinguish two sliding operations in the game process, and further misoperation is caused.
Based on the above defects, an embodiment of the present application provides an update method of a game picture, as shown in fig. 1, which is applied to a terminal device, where the terminal device includes a curved screen, the curved screen is composed of a main screen and a side screen that are not in the same plane, the curved screen of the terminal device provides a graphical user interface, and the graphical user interface is used for displaying a game picture at a presentation view angle of a game scene, and the method includes the following steps:
s101, responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen;
s102, responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
The method for updating the game picture in the embodiment of the application can be operated on the terminal equipment or the server. The terminal device may be a local terminal device. When the updating method of the game picture is operated on the server, the game picture can be a cloud game.
In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the game picture updating method are completed on the cloud game server, and the terminal device is used for receiving and sending data and presenting the game picture, for example, the terminal device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the game data processing is a cloud game server in the cloud. When a game is played, a target player operates the terminal device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as a game picture and the like are coded and compressed, the data are returned to the terminal device through a network, and finally the data are decoded through the terminal device and the game picture is output.
In an alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the target player through a graphical user interface, namely, a game program is downloaded and installed and operated through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the target player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal device or provided to the target player through holographic projection. By way of example, the local terminal device may include a display screen for presenting a graphical user interface including a portion of a game scene and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
The application is described by operating a game picture updating method on a terminal device, wherein the terminal device is an electronic device with a touch function, such as a smart phone. The display screen of the terminal device in the application is a curved screen, the curved screen includes a main screen and a side screen which are connected together, the main screen and the side screen are not in the same plane, the main screen is located on the front side of the terminal device, the side screen is located on the side of the terminal device, the side screen is curved from the front side of the terminal device to the back side of the terminal device, the curved screen is in a round-trip transition from the main screen to the side screen between the main screen and the side screen, the curved screen can be a single-side curved screen (namely, an arc screen is arranged on only one side of the terminal device), or can be a double-side curved screen (namely, arc screens are arranged on two opposite sides of the terminal device), as shown in fig. 2, the application takes the double-side curved screen as an example, the double-side curved screen includes the main screen (as shown in fig. 2) and the side screen (as shown in fig. 2, and the main screen and the side screen are in a round-trip transition from the main screen to the side screen. The curved screen of the terminal equipment provides a graphical user interface, the graphical user interface can be provided by a main screen and a side screen in the curved screen together, or the graphical user interface can be provided only in the main screen, the graphical user interface refers to an interface which is rendered in the curved screen of the terminal equipment and is used for man-machine interaction, and man-machine interaction between a target player and the terminal equipment is realized in the graphical user interface through touch operation. The game comprises a game scene, the game scene comprises a target virtual object, and the content displayed in the graphical user interface can be a game picture of a part of the game scene. The terminal device may respond to a touch operation applied to the graphical user interface, and control the target virtual object to execute a virtual action in the game scene, for example, to move in the game scene, or to release a skill, or to share a virtual item. The game scene may include any one or more of the following game elements: landform, mountain rock, flowers and plants, river, building, virtual object, game props, etc. Generally, a virtual camera is arranged in a game scene, and a game picture displayed on a graphical user interface is part of game scene content shot by the virtual camera, that is, a visual angle shot by the virtual camera is a presentation visual angle of the game scene. For example, in a first person game, a virtual camera may be disposed on the head (e.g., eye position) of a target virtual object controlled by a player, the virtual camera moves following the movement of the target virtual object, and the orientation of the virtual camera rotates following the rotation of the virtual body, so that a game screen presented on a graphical user interface is a part of a game scene in front of the target virtual object by a preset range. As another example, in a third person game, a virtual camera may be disposed directly above or behind a player-controlled virtual character, and thus, a game screen presented on a graphical user interface is a part of a game scene including a target virtual object. And the account of the controlled virtual role is logged in the terminal equipment, and the target virtual object is controlled by the terminal equipment. A virtual object refers to a dynamic object that can be controlled in a virtual scene. Alternatively, the dynamic object may be a virtual character, a virtual animal, an animation character, or the like. The target virtual object is a Character controlled by a target Player through a terminal device, or an Artificial Intelligence (AI) set in a virtual environment battle by training, or a Non-Player Character (NPC) set in a virtual scene battle. Optionally, the target virtual object is a virtual character playing a game in a virtual scene. Wherein the target virtual object is a virtual object controlled by the current player through the terminal device.
S101, responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen.
In the above step S101, the first touch operation is an operation that acts on the side screen and is used to control the display of the viewing angle adjustment area in the graphical user interface, and the first touch operation may be any one of the following operations: single click operation, double click operation, slide operation, long press operation, and the like. The display duration of the visual angle adjustment area in the graphical user interface is controlled through the touch duration of the side screen through the sliding operation and the long-press operation, namely, the visual angle adjustment area is always displayed in the graphical user interface in the process that the touch points of the sliding operation and the long-press operation act on the side screen of the graphical user interface. The single-click operation and the double-click operation can control the display duration of the viewing angle adjustment region in the graphical user interface by determining an initial time and an end time of the display of the viewing angle adjustment region in the graphical user interface, for example, the initial time of the display of the viewing angle adjustment region in the graphical user interface is determined based on the time of the single-click operation and/or the double-click operation acting on the side screen when the viewing angle adjustment region is not displayed in the graphical user interface, and the end time of the display of the viewing angle adjustment region in the graphical user interface is determined based on the time of the single-click operation and/or the double-click operation acting on the side screen when the viewing angle adjustment region is displayed in the graphical user interface.
The view angle adjustment area is an area for controlling the game screen displayed by the graphical user interface update. The display position of the visual angle adjustment area in the graphical user interface may be determined according to a position of a touch point of a first touch operation in the side screen, and a connection line between the position of the touch point of the first touch operation and a center point position of the visual angle adjustment area is perpendicular to an interface line between the main screen and the side screen. As shown in fig. 3, the viewing angle adjustment area is displayed at a lower portion of the main screen with a first preset width and with a height smaller than the main screen; or, as shown in fig. 4, the viewing angle adjustment area is displayed in the main screen with a second preset width and with the same width as the main screen. The first preset height and the second preset height may be considered to be set, and the first preset width and the second preset width may be the same value or different values.
In a specific implementation, after the target player uses the first touch operation to act on the side screen in the graphical user interface, the viewing angle adjustment area is displayed at a response position in the main screen of the graphical user interface according to the position of the first touch operation in the side screen.
S102, responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
In step S102, the first sliding operation is an operation that acts on the viewing angle adjustment area, and the adjustment of the rendering viewing angle of the game scene can be realized only by the first sliding operation that acts on the viewing angle adjustment area. The sliding direction of the first sliding operation may be determined based on a relative direction between the current position and the initial position of the touch point of the first sliding operation.
In a specific implementation, when the target player applies the first sliding operation in the video adjustment area, the sliding direction of the first sliding operation is determined, and then the rendering angle of view of the game scene is adjusted according to the sliding direction, and the game picture displayed in the graphical user interface changes along with the change of the rendering angle of view of the game scene. And as long as the sliding operation acting in the video adjusting area is the first sliding operation, the display visual angle of the game scene can be adjusted, and in such a way, a target player does not need to independently find the visual angle adjusting control at a fixed position in a graphical user interface through fingers, so that the method is better adapted to players with different hands, the game experience of the player is improved, the loss of the player is reduced, and the resource idle consumption of a game server is reduced.
For example, if the sliding direction of the first sliding operation is rightward, the rendering angle of the game scene is also adjusted rightward, so that the graphical user interface displays the picture on the right side of the game picture before the first sliding operation.
According to the game picture updating method provided by the embodiment of the application, the visual angle adjusting area is displayed in the graphical user interface through the first touch operation acting in the side screen, then the adjustment of the displayed visual angle of the game scene is realized based on the first sliding operation acting in the visual angle adjusting area, and further the game picture in the graphical user interface is updated, so that the sliding operation for adjusting the displayed visual angle can be separated from other sliding operations, the condition of misoperation is reduced, the mode for adjusting the displayed visual angle is better adapted to players with different hands, the game experience is further improved, the loss of the players is reduced, and the resource idle consumption of the game server is reduced.
In a game, a player has different requirements for updating a game screen under different conditions, for example, when a target player controls a target virtual object to aim at the target virtual object, if a quasi-star is already located near an opponent virtual character, a slower updating speed of the game screen is required to aim the quasi-star at the opponent virtual character, and if the target player avoids the target player, in order to find an area suitable for avoiding the target player in the surrounding environment as quickly as possible, a faster updating speed of the game screen is required. Therefore, when updating the game screen, step S102 includes:
step 1021, responding to a first sliding operation acted on the visual angle adjusting area, determining an adjusting direction of a presenting visual angle of a game scene according to the sliding direction of the first sliding operation, determining an adjusting speed for adjusting the presenting visual angle of the game scene according to the sliding distance of the first sliding operation, adjusting the presenting visual angle of the game scene in the adjusting direction according to the adjusting speed, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
In step 1021, the adjustment direction is used to adjust the direction of the rendering angle of the game scene, for example, the adjustment direction is to the left, and the rendering angle of the game scene before adjustment is located at the right side of the rendering angle of the game scene after adjustment. The sliding distance is a distance between an initial position and a current position of the touch point of the first sliding operation. The adjustment speed is a speed for adjusting the rendering view angle of the game scene.
In specific implementation, when it is detected that the target player executes the first sliding operation in the visual angle adjusting area, the sliding direction and the sliding distance of the first sliding operation are determined, the adjusting direction of the presenting visual angle of the game scene is determined by using the sliding direction, the adjusting speed is determined by using the sliding distance, then the presenting visual angle of the game scene is continuously adjusted according to the adjusting speed in the adjusting direction, and then the game picture displayed in the graphical user interface is continuously updated based on the continuously adjusted presenting visual angle of the game scene.
For example, if the sliding direction of the first sliding operation is downward, the adjustment direction is also downward, the adjustment speed is determined according to the sliding speed of the first sliding operation, then the rendering angle of the game scene is continuously adjusted backward based on the adjustment speed, and the game picture that is continuously updated in the graphical user interface is a backward game picture, that is, a backward game picture is rendered in the graphical user interface.
The specific way of determining the adjustment speed by using the sliding distance may include the following steps: if the sliding distance is smaller than a first preset distance, the adjusting speed is a first preset speed; if the sliding distance is greater than or equal to a first preset distance, the adjusting speed is a second preset speed; the second preset speed is greater than the first preset speed.
In addition to the above-described manner of determining the adjustment speed using the sliding distance, the present application also provides another manner of determining the adjustment speed:
determining an adjustment speed for adjusting the rendering view angle of the game scene according to the sliding speed of the first sliding operation.
That is, the faster the sliding speed, the faster the adjustment speed, and the slower the sliding speed, the slower the adjustment speed. Wherein, the sliding speed and the adjusting speed can be called as an equal proportional relation.
The application also provides a visual angle adjusting control displayed in the graphical user interface, and the visual angle adjusting control is used as a reference, so that the target player can know the adjustment direction of the visual angle presented in the current game scene more clearly, and the accuracy of the visual angle adjustment presented in the game scene by the target player is improved, namely, the step S102 comprises the following steps:
step 1022, in response to the first sliding operation acting on the view angle adjusting area, determining a position of a view angle adjusting control according to the view angle adjusting area and the initial position of the touch point of the first sliding operation, adjusting a rendering view angle of the game scene according to the current position of the touch point of the first sliding operation and the position of the view angle adjusting control, and updating the game picture displayed in the graphical user interface according to the adjusted rendering view angle of the game scene.
In step 1022 described above, the perspective adjustment control is used to adjust the rendering perspective of the game scene.
In specific implementation, when the target player applies the first sliding operation to the view angle adjustment area, the position of the view angle adjustment control is determined according to the initial position of the touch point applied by the first sliding operation in the view angle adjustment area, that is, the initial position of the touch point applied by the first sliding operation in the view angle adjustment area can be used as the position of the view angle adjustment control, of course, the view angle adjustment control is not a point but a control with a relatively obvious area and a relatively large area, and the initial position of the touch point applied by the first sliding operation cannot completely display the entire view angle adjustment control, as shown in fig. 11, so the initial position of the touch point applied by the first sliding operation can be used as the central point of the view angle adjustment control, and the view angle adjustment control is displayed based on the central point. After the view angle adjustment control is displayed, according to the current position of the touch point of the first sliding operation and the position of the view angle adjustment control displayed in the graphical user interface, an adjustment direction for adjusting the rendering view angle of the game scene can be determined, then the rendering view angle of the game scene is adjusted based on the determined adjustment direction, and the game picture displayed in the graphical user interface is updated based on the adjusted rendering view angle of the game scene. And the adjustment speed for adjusting the rendering angle of view of the game scene in the embodiment can be determined by referring to the method for determining the adjustment speed. The visual angle adjusting control is determined according to the first sliding operation, and in such a mode, a target player does not need to find the visual angle adjusting control independently through fingers to a fixed position in a graphical user interface, so that the visual angle adjusting control is better adapted to players with different hand types, the game experience of the players is improved, the loss of the players is reduced, and the resource idle consumption of a game server is reduced.
In addition to adjusting the rendering perspective of the game scene by the first sliding operation, the virtual object is also selected by the sliding operation, that is, the updating method further includes:
103, in the process of displaying the visual angle adjusting control on the main screen of the graphical user interface, responding to a second sliding operation performed on an area not covered by the visual angle adjusting control, displaying a selection frame according to the touch point position of the second sliding operation, and selecting a target virtual object in the game scene by using the selection frame.
In step 103, the second sliding operation is an operation of acting on an area of the graphical user interface not covered by the perspective adjustment area to select a target virtual object in the game scene. The target virtual object may be an object that can be handled by a common player in a game scene, such as npc, a building, a mobile carrier, a virtual character controlled by a terminal device, and the like. The selection box is a selection area displayed in the graphical user interface for framing a target virtual object. The virtual objects located in the selection area are all target virtual objects.
In a specific implementation, in the process of displaying the view angle adjustment area in the main screen of the graphical user interface, the view angle adjustment area covers a partial area in the graphical user interface, and the sliding operation performed on the area not covered by the view angle adjustment area is an operation different from the first sliding operation, that is, the second sliding operation, a frame selection area of the selection frame in the game scene can be determined according to the position of a touch point of the second sliding operation in the graphical user interface, and then the virtual object in the frame selection area is determined as the target virtual object.
The above mentioned select area may be any one of the following shapes: rectangular, circular, oval, closed polygon, etc.
When the frame selection area is a rectangle, the initial position and the end position of the touch point of the second sliding operation may be determined, that is, as shown in fig. 5, the initial position of the touch point of the second sliding operation is taken as a first vertex of the rectangle area, the end position of the touch point of the second sliding operation is taken as a second vertex located on the same diagonal line with the first vertex of the rectangle area, and the rectangle area is formed based on the first vertex and the second vertex. When the frame area is a circle, the frame area may be determined based on the initial position and the end position of the touch point of the second sliding operation, that is, as shown in fig. 6, the initial position of the touch point of the second sliding operation is taken as a first vertex of the rectangular area, the end position of the touch point of the second sliding operation is taken as a second vertex located on the same diagonal line as the first vertex of the rectangular area, the rectangle is formed based on the first vertex and the second vertex, and the largest circular area located within the rectangle is determined according to the width of the rectangle within the rectangle. When the frame area is an ellipse, the frame area may be determined based on the initial position and the end position of the touch point of the second sliding operation, that is, as shown in fig. 7, the initial position of the touch point of the second sliding operation is taken as a first vertex of the rectangular area, the end position of the touch point of the second sliding operation is taken as a second vertex located on the same diagonal line as the first vertex of the rectangular area, a rectangle is formed based on the first vertex and the second vertex, the short radius of the largest ellipse located within the rectangle is determined according to the width of the rectangle within the rectangle, the long radius of the largest ellipse located within the rectangle is determined according to the length of the rectangle, and the elliptical area is determined based on the long radius and the short radius. When the frame area is a closed polygon, the initial position and the end position of the touch point of the second sliding operation may be automatically connected by the system to form a closed polygon area, that is, as shown in fig. 8, the initial position and the end position of the touch point of the second sliding operation may not coincide in the process of determining the polygon area by using the second sliding operation, which is based on the position of the touch point of the second sliding operation at each time in the graphical user interface.
The game picture updating scheme provided by the application can be applied to strategy games, and basically battles between two camps exist in the strategy games, namely, the updating method further comprises the following steps:
104, responding to an attack launching operation issued aiming at the target virtual object, and controlling the target virtual object to attack an adversary virtual object;
and 105, responding that the resources of the own virtual camp or the opposite virtual camp reach a target value, and settling the current game.
The game comprises two camps, namely own virtual camps and opposite virtual camps, a target virtual object belongs to the own virtual camps, an opponent virtual object belongs to the opposite virtual camps, the target virtual object and the opponent virtual object are in an opponent relationship, and the target virtual object and the opponent virtual object can attack each other in a game scene.
In the step 104, the attack operation is an operation that the target player controls the target virtual object to attack the enemy virtual object through the terminal device, and the attack operation may be any one or more of the following operations: the method comprises the steps of touch operation acting on an attack control, preset gestures, preset voice, preset characters and the like. The attack control is displayed in the user interface and used for controlling the target virtual object to execute the attack action. The preset gesture may be a gesture, such as an "OK" gesture, which is stroked by the target player and captured by the video capture unit of the terminal device. The preset voice may be a voice uttered by the target player, which is acquired by the voice acquisition unit of the terminal device, such as "attack start" that the target player yells. The preset character may be a character written by the third sliding operation by the preset region target player in the graphical user interface of the terminal device, for example, the character "S", although the preset region for inputting the third sliding operation is not overlapped with the viewing angle adjustment region and the region for inputting the second sliding operation.
In the step 105, the resource may be virtual data for determining whether the sponsor virtual formation and the counterpart virtual formation win the game, and the resource may be any one of the following: the amount of money held by the camp, the land area of the game scene occupied by the camp, the number of hostile virtual objects defeated by the camp, and the like. The target value is preset.
In the specific implementation, when the resources of one party in the own virtual camp or the other party virtual camp reach the target value, the game is ended, the current game is settled, and the camp with the resources reaching the target value is determined as the party for winning the game.
Based on the above-mentioned game picture updating method, an embodiment of the present application further provides a game picture updating apparatus, as shown in fig. 9, which is applied to a terminal device, where the terminal device includes a curved screen, the curved screen is composed of a main screen and a side screen that are not in the same plane, the curved screen of the terminal device provides a graphical user interface, and the graphical user interface is used for displaying a game picture in a presentation view angle of a game scene, and includes:
a first response module 901, configured to respond to a first touch operation on a side screen of a graphical user interface, and display a view angle adjustment area on a main screen of the graphical user interface according to a position of a touch point of the first touch operation on the side screen;
a second response module 902, configured to respond to the first sliding operation applied to the view angle adjustment area, adjust the rendering view angle of the game scene according to the sliding direction of the first sliding operation, and update the game picture displayed in the graphical user interface according to the adjusted rendering view angle of the game scene.
Optionally, the viewing angle adjusting area is displayed at the lower part of the main screen with a first preset width and with a height smaller than that of the main screen; or, the viewing angle adjustment area is displayed in the main screen with a second preset width and at the same height as the main screen.
Optionally, the second response module includes:
a first response unit, configured to, in response to a first sliding operation that is applied to the angle-of-view adjustment area, determine an adjustment direction of a rendering angle of a game scene according to a sliding direction of the first sliding operation, determine an adjustment speed at which the rendering angle of the game scene is adjusted according to a sliding distance of the first sliding operation, adjust the rendering angle of the game scene in the adjustment direction according to the adjustment speed, and update a game picture displayed in the graphical user interface according to the adjusted rendering angle of the game scene.
Optionally, the second response module includes:
and the second response unit is used for responding to the first sliding operation acted on the visual angle adjusting area, determining the position of a visual angle adjusting control according to the visual angle adjusting area and the initial position of the touch point of the first sliding operation, adjusting the presenting visual angle of the game scene according to the current position of the touch point of the first sliding operation and the position of the visual angle adjusting control, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
Optionally, the updating apparatus further includes:
in the process of displaying the visual angle adjusting area on the main screen of the graphical user interface, responding to a second sliding operation performed on an area which is not covered by the visual angle adjusting area, displaying a selection frame according to the position of a touch point of the second sliding operation, and selecting a target virtual object in the game scene by using the selection frame.
Optionally, a connection line between the position of the touch point of the first touch operation and the position of the center point of the view angle adjustment area is perpendicular to an interface line between the main screen and the side screen.
Optionally, the game scene includes own virtual camping and opposite virtual camping, the target virtual object belongs to the own virtual camping, and the enemy virtual object belongs to the opposite virtual camping; the updating apparatus further includes:
the attack module is used for responding to attack initiating operation issued aiming at the target virtual object and controlling the target virtual object to attack an adversary virtual object;
and the settlement module is used for responding that the resources of the own party virtual camp or the opposite party virtual camp reach a target value and settling the current game.
Optionally, the main screen and the side screen are in smooth transition from the main screen to the side screen.
Corresponding to the method for updating the game screen in fig. 1, an embodiment of the present application further provides a computer device 1000, as shown in fig. 10, the device includes a memory 1001, a processor 1002, and a computer program stored in the memory 1001 and executable on the processor 1002, where the processor 1002 implements the method for updating the game screen when executing the computer program, and the method for updating the game screen includes:
optionally, the viewing angle adjusting area is displayed at the lower part of the main screen with a first preset width and with a height smaller than that of the main screen; or, the viewing angle adjustment area is displayed in the main screen with a second preset width and at the same height as the main screen.
Optionally, in response to a first sliding operation performed on the view angle adjustment area, adjusting a rendering view angle of a game scene according to a sliding direction of the first sliding operation, and updating a game screen displayed in a graphical user interface according to the adjusted rendering view angle of the game scene, including:
responding to a first sliding operation acted on the visual angle adjusting area, determining an adjusting direction of a presenting visual angle of a game scene according to the sliding direction of the first sliding operation, determining an adjusting speed for adjusting the presenting visual angle of the game scene according to the sliding distance of the first sliding operation, adjusting the presenting visual angle of the game scene in the adjusting direction according to the adjusting speed, and updating a game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
Optionally, in response to a first sliding operation performed on the view angle adjustment area, adjusting a rendering view angle of a game scene according to a sliding direction of the first sliding operation, and updating a game screen displayed in a graphical user interface according to the adjusted rendering view angle of the game scene, including:
responding to a first sliding operation acted on the visual angle adjusting area, determining the position of a visual angle adjusting control according to the visual angle adjusting area and the initial position of the touch point of the first sliding operation, adjusting the presenting visual angle of the game scene according to the current position of the touch point of the first sliding operation and the position of the visual angle adjusting control, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
Optionally, the method further includes:
in the process of displaying the visual angle adjusting area on the main screen of the graphical user interface, responding to a second sliding operation performed on an area which is not covered by the visual angle adjusting area, displaying a selection frame according to the position of a touch point of the second sliding operation, and selecting a target virtual object in the game scene by using the selection frame.
Optionally, a connection line between the position of the touch point of the first touch operation and the position of the center point of the view angle adjustment area is perpendicular to an interface line between the main screen and the side screen.
Optionally, the game scene includes own virtual camping and opposite virtual camping, the target virtual object belongs to the own virtual camping, and the enemy virtual object belongs to the opposite virtual camping; the updating method further comprises the following steps:
responding to an attack initiating operation issued aiming at the target virtual object, and controlling the target virtual object to attack an adversary virtual object;
and responding that the resources of the own party virtual camp or the opposite party virtual camp reach a target numerical value, and settling the current game.
Optionally, the main screen and the side screen are in smooth transition from the main screen to the side screen.
Specifically, the memory 1001 and the processor 1002 can be general-purpose memory and processor, which are not limited in particular, and when the processor 1002 runs the computer program stored in the memory 1001, the method for updating the game screen can be executed, so that the problem that in the prior art, when different function requirements need to be realized through sliding operation in the game process, misoperation is easily caused is solved. According to the method and the device, the visual angle adjusting area is displayed in the graphical user interface through the first touch operation acting in the side screen, then the adjustment of the visual angle presented in the game scene is realized based on the first sliding operation acting in the visual angle adjusting area, and the updating of the game picture in the graphical user interface is further realized, so that the sliding operation for adjusting the visual angle presented can be separated from other sliding operations, the misoperation condition is reduced, the visual angle presenting mode is better adapted to players with different hand types, the game experience feeling is increased, the loss of the players is reduced, and the resource idle consumption of the game server is reduced.
Corresponding to the method for updating the game screen in fig. 1, 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 steps of the method for updating the game screen are executed, where the steps include:
optionally, the viewing angle adjusting area is displayed at the lower part of the main screen with a first preset width and with a height smaller than that of the main screen; or, the visual angle adjustment area is displayed in the main screen with a second preset width and at the same height as the main screen.
Optionally, in response to a first sliding operation that is performed on the view angle adjustment area, adjusting the rendering view angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted rendering view angle of the game scene, including:
responding to a first sliding operation acted on the visual angle adjusting area, determining an adjusting direction of a presenting visual angle of a game scene according to the sliding direction of the first sliding operation, determining an adjusting speed for adjusting the presenting visual angle of the game scene according to the sliding distance of the first sliding operation, adjusting the presenting visual angle of the game scene in the adjusting direction according to the adjusting speed, and updating a game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
Optionally, in response to a first sliding operation performed on the view angle adjustment area, adjusting a rendering view angle of a game scene according to a sliding direction of the first sliding operation, and updating a game screen displayed in a graphical user interface according to the adjusted rendering view angle of the game scene, including:
responding to a first sliding operation acted on the visual angle adjusting area, determining the position of a visual angle adjusting control according to the visual angle adjusting area and the initial position of the touch point of the first sliding operation, adjusting the presenting visual angle of the game scene according to the current position of the touch point of the first sliding operation and the position of the visual angle adjusting control, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
Optionally, the method further includes:
in the process of displaying the visual angle adjusting area on the main screen of the graphical user interface, responding to a second sliding operation performed on an area which is not covered by the visual angle adjusting area, displaying a selection frame according to the position of a touch point of the second sliding operation, and selecting a target virtual object in the game scene by using the selection frame.
Optionally, a connection line between the position of the touch point of the first touch operation and the position of the center point of the view angle adjustment area is perpendicular to an interface line between the main screen and the side screen.
Optionally, the game scene includes own virtual camping and opposite virtual camping, the target virtual object belongs to the own virtual camping, and the enemy virtual object belongs to the opposite virtual camping; the updating method further comprises the following steps:
responding to an attack initiating operation issued aiming at the target virtual object, and controlling the target virtual object to attack an adversary virtual object;
and responding that the resources of the own virtual camp or the opposite virtual camp reach the target value, and settling the current game.
Optionally, the main screen and the side screen are in smooth transition from the main screen to the side screen.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk and the like, when a computer program on the storage medium is run, the method for updating the game picture can be executed, and the problem that misoperation easily occurs when different function requirements need to be realized through sliding operation in the game process in the prior art is solved.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in 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 the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit the technical solutions, and the scope of the present application is not limited to the above-mentioned embodiments, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to 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 (11)

1. A method for updating game pictures is applied to a terminal device, the terminal device comprises a curved screen, the curved screen consists of a main screen and a side screen which are not in the same plane, the curved screen of the terminal device provides a graphical user interface, and the graphical user interface is used for displaying the game pictures under the presenting view angle of a game scene, and the method comprises the following steps:
responding to a first touch operation aiming at a side screen of a graphical user interface, and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen;
and responding to a first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
2. The updating method of claim 1, wherein the viewing angle adjustment area is displayed at a lower portion of the main screen at a first preset width and at a height smaller than the main screen; or, the viewing angle adjustment area is displayed in the main screen with a second preset width and at the same height as the main screen.
3. The updating method according to claim 1, wherein in response to a first sliding operation that acts on the view angle adjustment area, adjusting a rendering view angle of a game scene according to a sliding direction of the first sliding operation, and updating a game screen displayed in a graphical user interface according to the adjusted rendering view angle of the game scene, comprises:
responding to a first sliding operation acted on the visual angle adjusting area, determining an adjusting direction of a presenting visual angle of a game scene according to the sliding direction of the first sliding operation, determining an adjusting speed for adjusting the presenting visual angle of the game scene according to the sliding distance of the first sliding operation, adjusting the presenting visual angle of the game scene in the adjusting direction according to the adjusting speed, and updating a game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
4. The updating method according to claim 1, wherein in response to a first sliding operation that acts on the view angle adjustment area, adjusting a rendering view angle of a game scene according to a sliding direction of the first sliding operation, and updating a game screen displayed in a graphical user interface according to the adjusted rendering view angle of the game scene, comprises:
responding to a first sliding operation acted on the visual angle adjusting area, determining the position of a visual angle adjusting control according to the visual angle adjusting area and the initial position of the touch point of the first sliding operation, adjusting the presenting visual angle of the game scene according to the current position of the touch point of the first sliding operation and the position of the visual angle adjusting control, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
5. The updating method according to claim 1, further comprising:
in the process of displaying the visual angle adjusting area on the main screen of the graphical user interface, responding to a second sliding operation performed on an area which is not covered by the visual angle adjusting area, displaying a selection frame according to the position of a touch point of the second sliding operation, and selecting a target virtual object in the game scene by using the selection frame.
6. The updating method of claim 1, wherein a connection line between the position of the touch point of the first touch operation and the position of the center point of the viewing angle adjustment area is perpendicular to an interface line between the main screen and the side screen.
7. The updating method of claim 1, wherein the game scene comprises a self virtual camp and an opponent virtual camp, the target virtual object belongs to the self virtual camp, and the enemy virtual object belongs to the opponent virtual camp; the updating method further comprises the following steps:
responding to an attack initiating operation issued aiming at the target virtual object, and controlling the target virtual object to attack an adversary virtual object;
and responding that the resources of the own virtual camp or the opposite virtual camp reach the target value, and settling the current game.
8. The method of claim 1, wherein the transition between the main screen and the side screen is rounded from the main screen to the side screen.
9. An updating device of game pictures is applied to terminal equipment, the terminal equipment comprises a curved screen, the curved screen is composed of a main screen and a side screen which are not in the same plane, the curved screen of the terminal equipment provides a graphical user interface, and the graphical user interface is used for displaying the game pictures under the presenting view angle of a game scene, and the updating device comprises:
the first response module is used for responding to a first touch operation aiming at a side screen of the graphical user interface and displaying a visual angle adjusting area on a main screen of the graphical user interface according to the position of a touch point of the first touch operation on the side screen;
and the second response module is used for responding to the first sliding operation acted on the visual angle adjusting area, adjusting the presenting visual angle of the game scene according to the sliding direction of the first sliding operation, and updating the game picture displayed in the graphical user interface according to the adjusted presenting visual angle of the game scene.
10. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of the preceding claims 1-8 are implemented when the computer program is executed by the processor.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1 to 8.
CN202211428877.1A 2022-11-15 2022-11-15 Game picture updating method and device, computer equipment and medium Pending CN115708956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211428877.1A CN115708956A (en) 2022-11-15 2022-11-15 Game picture updating method and device, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211428877.1A CN115708956A (en) 2022-11-15 2022-11-15 Game picture updating method and device, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN115708956A true CN115708956A (en) 2023-02-24

Family

ID=85233285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211428877.1A Pending CN115708956A (en) 2022-11-15 2022-11-15 Game picture updating method and device, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN115708956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116450017A (en) * 2023-04-25 2023-07-18 北京优酷科技有限公司 Display method and device for display object, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116450017A (en) * 2023-04-25 2023-07-18 北京优酷科技有限公司 Display method and device for display object, electronic equipment and medium
CN116450017B (en) * 2023-04-25 2024-01-26 北京优酷科技有限公司 Display method and device for display object, electronic equipment and medium

Similar Documents

Publication Publication Date Title
WO2022151946A1 (en) Virtual character control method and apparatus, and electronic device, computer-readable storage medium and computer program product
CN110548288B (en) Virtual object hit prompting method and device, terminal and storage medium
JP7390400B2 (en) Virtual object control method, device, terminal and computer program thereof
JP7386360B2 (en) Information processing method, apparatus and terminal device
CN113398601B (en) Information transmission method, information transmission device, computer-readable medium, and apparatus
CN112619167A (en) Information processing method and device, computer equipment and medium
WO2022257653A1 (en) Virtual prop display method and apparatus, electronic device and storage medium
CN112843679B (en) Skill release method, device, equipment and medium for virtual object
CN114225416A (en) Game control method and device
CN112791410A (en) Game control method and device, electronic equipment and storage medium
CN111905363A (en) Virtual object control method, device, terminal and storage medium
CN114510184B (en) Target locking method and device, electronic equipment and readable storage medium
CN115708956A (en) Game picture updating method and device, computer equipment and medium
CN114377396A (en) Game data processing method and device, electronic equipment and storage medium
CN113476825A (en) Role control method, role control device, equipment and medium in game
CN113101669A (en) Refreshing method, refreshing device, equipment and medium for virtual object in game
CN115888112A (en) Control method, control device, equipment and medium for virtual role
WO2023245644A1 (en) Game control method, electronic device and computer-readable storage medium
CN115634450A (en) Control method, control device, equipment and medium for virtual role
EP3984608A1 (en) Method and apparatus for controlling virtual object, and terminal and storage medium
CN112057859B (en) Virtual object control method, device, terminal and storage medium
CN116531757A (en) Game operation control method and device and electronic equipment
CN116474362A (en) Method and device for controlling virtual character in game and electronic equipment
CN116764192A (en) Virtual character control method, device, electronic equipment and readable storage medium
CN116764193A (en) Virtual character control method, device, electronic equipment and readable 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