Information processing method, apparatus and electronic device
Patent Information
- Application Number
- CN202311301974.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-09
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2043-10-09
AI Technical Summary
[0002]随着智能手机的发展,竖屏手游已经成为了一个非常重要的游戏类型,但是由于竖屏手游的游戏视野是竖长形状的,玩家可以看到的视野左右范围有限,导致玩家角色的左右方向有敌方角色攻击时,玩家无法及时防御敌方角色,从而影响玩家游戏体验感
[0009] This invention provides an information processing method, apparatus, and electronic device. First, a first scene image formed by capturing a game scene through a virtual camera is displayed in a graphical user interface (GUI). Then, in response to a sliding operation on the GUI, the camera height of the virtual camera is adjusted to a preset height, and a second scene image formed by capturing the game scene through the height-adjusted virtual camera is displayed in the GUI. The second scene image encompasses a larger area of the game scene than the first scene image. In this method, when the player performs a sliding operation on the GUI, the camera position of the virtual camera capturing the game scene automatically rises to the preset height, thereby displaying a wider field of view in the game within the GUI, which helps improve the timeliness of player alerts and the player's gaming experience.
Smart Images

Figure CN117547814B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of game interaction design technology, and in particular to an information processing method, apparatus and electronic device. Background Technology
[0002] With the development of smartphones, vertical screen mobile games have become a very important game type. However, because the field of view in vertical screen mobile games is vertically elongated, the player's field of view is limited to the left and right. This makes it difficult for the player to defend against enemy attacks from the left and right, thus affecting the player's gaming experience. Summary of the Invention
[0003] The purpose of this invention is to provide an information processing method, apparatus, and electronic device that automatically raises the position of the virtual camera when the player performs a swiping operation on the graphical user interface, thereby allowing the player to view a wider range of game fields of view, improving the timeliness of player warnings and the player's gaming experience.
[0004] In a first aspect, the present invention provides an information processing method, which provides a graphical user interface through a terminal device; the method includes: displaying a first scene image formed by capturing a game scene through a virtual camera in the graphical user interface; responding to a sliding operation acting on the graphical user interface, controlling the camera height of the virtual camera to adjust to a preset height, and displaying a second scene image formed by capturing a game scene through the virtual camera after the height adjustment in the graphical user interface; wherein the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image.
[0005] Secondly, the present invention provides an information processing apparatus that provides a graphical user interface via a terminal device; the apparatus includes: a screen display module for displaying a first scene image formed by capturing a game scene through a virtual camera in the graphical user interface; and a camera elevation module for responding to a sliding operation acting on the graphical user interface, controlling the camera height of the virtual camera to adjust to a preset height value, and displaying a second scene image formed by capturing a game scene through the virtual camera after the height adjustment in the graphical user interface; wherein the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image.
[0006] Thirdly, the present invention provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-described information processing method.
[0007] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the aforementioned information processing method.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] This invention provides an information processing method, apparatus, and electronic device. First, a first scene image formed by capturing a game scene through a virtual camera is displayed in a graphical user interface (GUI). Then, in response to a sliding operation on the GUI, the camera height of the virtual camera is adjusted to a preset height, and a second scene image formed by capturing the game scene through the height-adjusted virtual camera is displayed in the GUI. The second scene image encompasses a larger area of the game scene than the first scene image. In this method, when the player performs a sliding operation on the GUI, the camera position of the virtual camera capturing the game scene automatically rises to the preset height, thereby displaying a wider field of view in the game within the GUI, which helps improve the timeliness of player alerts and the player's gaming experience.
[0010] Other features and advantages of the invention will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the techniques described above.
[0011] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0012] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 A flowchart of an information processing method provided in an embodiment of the present invention;
[0014] Figure 2 A comparison diagram of a first scene and a second scene provided for an embodiment of the present invention;
[0015] Figure 3 A flowchart of another information processing method provided in an embodiment of the present invention;
[0016] Figure 4 This is a schematic diagram of the structure of an information processing device provided in an embodiment of the present invention;
[0017] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0019] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0020] With the development of smartphones, portrait-oriented mobile games have become a very important game genre. However, because the field of view in portrait-oriented mobile games is vertically elongated, converting a horizontal mobile game to portrait mode limits the player's horizontal field of view. This makes it difficult for the player to defend against enemy attacks from the left or right, and also hinders the prediction of danger. Therefore, players need to frequently swipe the screen to check their surroundings, but the narrow horizontal field of view in portrait-oriented games results in low player efficiency.
[0021] To address the aforementioned issues, embodiments of the present invention provide an information processing method, apparatus, and electronic device. This technology can be applied to any game scenario, whether in landscape or portrait mode, particularly in scenarios involving virtual camera control within portrait-mode games.
[0022] In one embodiment of this disclosure, the information processing method can run on a local terminal device or a server. When the information processing method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0023] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of information processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0024] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0025] In one possible implementation, embodiments of the present invention provide an information processing method that provides a graphical user interface through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. Figure 1 As shown, the method includes the following specific steps:
[0026] Step S102: Display the first scene image formed by capturing the game scene through a virtual camera in the graphical user interface.
[0027] When the player does not perform any swiping operations in the graphical user interface, the virtual camera in the game scene captures the game scene based on default camera parameters to form the first scene image. These default camera parameters are preset by the system and are usually not modifiable by the player. These default camera parameters include, but are not limited to: position parameters, orientation parameters, focal length parameters, and camera field of view. Among them, the position parameter determines the virtual camera's position in the game scene, the orientation parameter determines the virtual camera's orientation in the game scene, the focal length parameter determines the relative distance between the virtual camera and the shooting position, and the camera field of view determines the size of the virtual camera's field of view.
[0028] In practice, the graphical user interface can display controlled virtual objects within the game scene. Players can manipulate these controlled virtual objects via their terminal devices. These controlled virtual objects can be any game character selected by the player, or virtual vehicles or weapons controlled by the player. The virtual camera in the game scene follows the controlled virtual objects, meaning that as the virtual camera captures the game scene, it moves along with the controlled virtual objects.
[0029] Step S104: In response to the sliding operation applied to the graphical user interface, the camera height of the virtual camera is adjusted to a preset height, and the second scene image formed by capturing the game scene through the virtual camera after the height adjustment is displayed in the graphical user interface; wherein, the scene range of the game scene contained in the second scene image is larger than the scene range of the game scene contained in the first scene image.
[0030] The aforementioned swiping operation typically involves the player sliding their finger across a blank area in the graphical user interface (GUI). This blank area is usually a region in the GUI where no controls or virtual objects are displayed. This swiping operation controls the position of the virtual camera, thus altering the scene displayed in the GUI. When the player initiates the swiping operation, the virtual camera's height is raised to a preset height. This preset height can be determined based on development needs or player settings, and is usually higher than the initial camera height when capturing the first scene. Therefore, when the virtual camera captures the game scene after height adjustment, the scene range captured is larger than that captured before height adjustment. This can be understood as a wider field of view for the player. By raising the camera height, a larger scene range is displayed in the GUI, helping the player observe the environment around controlled virtual objects and provide timely warnings of danger.
[0031] This invention provides an information processing method that first displays a first scene image of a game scene captured by a virtual camera in a graphical user interface (GUI); then, in response to a sliding operation on the GUI, the camera height of the virtual camera is adjusted to a preset height, and a second scene image of the game scene captured by the height-adjusted virtual camera is displayed in the GUI; wherein the scene range of the game scene included in the second scene image is larger than that included in the first scene image. In this method, when the player performs a sliding operation on the GUI, the camera position of the virtual camera capturing the game scene automatically rises to the preset height, thereby displaying a wider field of view of the game in the GUI, which helps to improve the timeliness of player alerts and the player's gaming experience.
[0032] The following preferred embodiments describe how the virtual camera is adjusted.
[0033] Specifically, in response to a swipe operation applied to the graphical user interface, the camera height of the virtual camera is adjusted to a preset height, and the camera position of the virtual camera moves in the direction of the swipe operation. That is, when the swipe operation is to the right, the camera position of the virtual camera will also move to the right; when the swipe operation is to the left, the camera position of the virtual camera will also move to the left; and the distance the camera position moves matches the distance of the swipe operation.
[0034] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the virtual camera's movement speed is greater than the movement speed of the sliding operation. This method can improve the efficiency of virtual camera movement, allowing the virtual camera to move a greater range and facilitating more efficient and effortless control of the virtual camera through operation.
[0035] In another optional embodiment, as the virtual camera's position moves in the direction of the swipe operation, the swipe operation moves a unit distance on the graphical user interface, and the virtual camera's position moves by a specified multiple of that unit distance. This specified multiple can be determined based on development needs or player settings, and can be less than or greater than 1. In some embodiments, to improve the efficiency of the virtual camera's movement, it is typically necessary to set the specified multiple to be greater than 1. For example, the relative ratio of the swipe distance A to the virtual camera's movement distance B is not necessarily 1:1.2 or 1:10, etc. The distance value corresponding to the aforementioned unit distance can be determined based on development needs; for example, the unit distance can be 1 pixel or 10 pixels, etc.
[0036] Specifically, as the virtual camera's position moves in the direction of the swipe gesture, for every unit distance the player swipes in the graphical user interface, the virtual camera's position will move by a specified multiple of that unit distance. For example, if the player's finger moves 10 pixels in the graphical user interface, the virtual camera's position will move 100 pixels. This method also solves the problem of low operational efficiency when players adjust the game's field of view using swipe gestures in portrait-oriented games.
[0037] In practical applications, when a player begins a swipe operation in the graphical user interface, the virtual camera's height immediately rises to a preset height. Then, the adjusted virtual camera position moves in the direction of the swipe, thus displaying a second scene captured from the game scene during this movement of the adjusted virtual camera in the graphical user interface. For example... Figure 2 The image shown is a comparison of the first scene and the second scene provided in an embodiment of the present invention. Figure 2 The image on the left shows the first scene, in which the small human model is a controlled virtual object. Figure 2 The image on the right shows the second scene, in which the little figure is the controlled virtual object. However, due to the elevation of the virtual camera, the size of the controlled virtual object displayed in the second scene is smaller than that displayed in the first scene. Furthermore, the game scene range displayed in the second scene is larger than that displayed in the first scene, and the display size of the game scene in the first scene is smaller than that of the game scene in the first scene.
[0038] The above method is applicable to any mobile game in both portrait and landscape modes, such as MOBA (Multiplayer Online Battle Arena) games, SLG (Simulation Game) games, and RPG (Role-playing Game) games; it can also solve problems such as narrow field of view and low camera operation efficiency in portrait games, thus giving players a more efficient and intuitive gaming experience.
[0039] This invention also provides another information processing method, which is implemented based on the above embodiments. This method focuses on describing the specific process of adjusting the camera height of the virtual camera (specifically implemented through steps S304-S308 below); such as Figure 3 As shown, the method includes the following specific steps:
[0040] Step S302: Display the first scene image formed by capturing the game scene through the virtual camera in the graphical user interface.
[0041] Step S304: In response to a press operation applied to a specified area in the graphical user interface, control the virtual camera's camera height to be adjusted to a preset height.
[0042] The aforementioned pressing action is the player's finger touching a blank area in the graphical user interface, and it is also the player's initiation of a swipe. When the player begins to swipe, if a pressing action is detected in the graphical user interface, the virtual camera's height is immediately raised, adjusting it to the preset height.
[0043] In practice, the aforementioned preset height can be a fixed value set by the system or a height value set by the player according to their needs. Setting the height value by the player increases the player's freedom in the game and meets their needs. Specifically, the system can respond to settings related to the preset height and determine the corresponding height value based on these settings. This setting operation can be the player inputting a specific height value; or it can be the player selecting one of the preset options provided by the system. Each preset option corresponds to a height value. For example, there may be three preset options, corresponding to high, medium, and low preset heights for the player to choose from.
[0044] Step S306: In response to the sliding operation that is continuous with the pressing operation, the camera position of the height-adjusted virtual camera is controlled to move in the sliding direction of the sliding operation, and during the movement of the height-adjusted virtual camera, a second scene image formed by capturing the game scene through the height-adjusted virtual camera is displayed in the graphical user interface; wherein, the scene range of the game scene contained in the second scene image is larger than the scene range of the game scene contained in the first scene image.
[0045] In practice, after the virtual camera's height is increased, the sliding operation can control the movement of the virtual camera's position after the camera height is increased.
[0046] In step S308, in response to the end of the sliding operation, the camera height of the virtual camera after the height adjustment is adjusted to the default height, and the third scene image formed by the virtual camera with the camera height adjusted to the default height is displayed in the graphical user interface; wherein, the scene range of the game scene contained in the third scene image matches the size of the scene range of the game scene contained in the first scene image.
[0047] In practice, the aforementioned default height is the same as the virtual camera height when the first scene is formed. This default camera height is actually a camera parameter set by the system. In the third scene, which is formed by the virtual camera capturing the game scene at the default camera height, the display size and display range of the game scene, as well as the display size of the controlled virtual objects, are the same as in the first scene. That is, the first and third scene scenes are captured by the virtual camera based on the same camera parameters, but the camera position and orientation of the virtual camera may be different.
[0048] In this method, when a player swipes on the graphical user interface, the virtual camera capturing the game scene automatically rises to a preset height, thus displaying a wider field of view within the graphical user interface. When the player ends the swipe, the virtual camera's height is adjusted back to capture the game scene using default camera parameters. This method helps improve the timeliness of player alerts and the overall gaming experience.
[0049] In addition to the above-described method embodiments, this invention also provides an information processing device that provides a graphical user interface via a terminal device; such as Figure 4 As shown, the device includes:
[0050] The screen display module 40 is used to display the first scene image formed by capturing the game scene through a virtual camera in the graphical user interface.
[0051] The camera elevation module 41 is used to respond to the sliding operation on the graphical user interface, control the camera height of the virtual camera to adjust to a preset height value, and display the second scene image formed by the game scene captured by the virtual camera after the height adjustment in the graphical user interface; wherein, the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image.
[0052] The aforementioned information processing device first displays a first scene image formed by capturing the game scene through a virtual camera in the graphical user interface; in response to a sliding operation on the graphical user interface, it controls the camera height of the virtual camera to adjust to a preset height, and displays a second scene image formed by capturing the game scene through the height-adjusted virtual camera in the graphical user interface; wherein, the scene range of the game scene included in the second scene image is larger than that included in the first scene image. In this method, when the player performs a sliding operation on the graphical user interface, the camera position of the virtual camera capturing the game scene automatically rises to the preset height, thereby displaying a wider range of game field of view in the graphical user interface, which helps to improve the timeliness of player warnings and the player's gaming experience.
[0053] Specifically, the device further includes a camera position adjustment module, used to: respond to a sliding operation applied to the graphical user interface, and control the camera position of the virtual camera to move in the direction of the sliding operation.
[0054] Furthermore, as the virtual camera's position moves in the direction of the sliding operation, the virtual camera's movement speed is greater than the movement speed of the sliding operation.
[0055] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the sliding operation moves a unit distance on the graphical user interface, and the virtual camera's position moves a specified multiple of that unit distance.
[0056] Furthermore, the aforementioned device also includes a camera callback module, used to: in response to the end of the sliding operation, control the camera height of the virtual camera after height adjustment to adjust to the default height, and display a third scene image formed by the virtual camera capturing the game scene through the camera height adjusted to the default height in the graphical user interface; wherein, the scene range of the game scene included in the third scene image matches the size of the scene range of the game scene included in the first scene image.
[0057] Furthermore, the camera raising module 41 is also used to: control the camera height of the virtual camera to be adjusted to a preset height in response to a pressing operation applied to a specified area in the graphical user interface; and control the camera position of the virtual camera after height adjustment to move in the sliding direction of the sliding operation in response to a sliding operation that is continuous with the pressing operation.
[0058] In a specific implementation, the above device also includes a height setting module, which is used to: respond to a setting operation for a preset height and determine the height value corresponding to the preset height based on the setting operation.
[0059] The information processing device provided in this embodiment of the invention has the same implementation principle and technical effects as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0060] This invention also provides an electronic device, such as... Figure 5 As shown, the electronic device includes a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor, which executes the machine-executable instructions to implement the aforementioned information processing method.
[0061] Specifically, a graphical user interface is provided through a terminal device. The above information processing method includes: displaying a first scene image formed by capturing a game scene through a virtual camera in the graphical user interface; responding to a sliding operation on the graphical user interface, controlling the camera height of the virtual camera to adjust to a preset height, and displaying a second scene image formed by capturing a game scene through the virtual camera after the height adjustment in the graphical user interface; wherein the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image.
[0062] In the above information processing method, when the player performs a swipe operation on the graphical user interface, the camera position of the virtual camera that captures the game scene will automatically rise to a preset height, thereby displaying a wider range of game field of view in the graphical user interface, which helps to improve the timeliness of player warnings and the player's gaming experience.
[0063] In an optional embodiment, the method further includes: responding to a sliding operation applied to the graphical user interface, controlling the camera position of the virtual camera to move in the direction of the sliding operation.
[0064] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the virtual camera's movement speed is greater than the movement speed of the sliding operation.
[0065] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the sliding operation moves a unit distance on the graphical user interface, and the virtual camera's position moves a specified multiple of that unit distance.
[0066] In an optional embodiment, the method further includes: in response to the end of the sliding operation, controlling the camera height of the virtual camera after height adjustment to adjust to the default height, and displaying a third scene image formed by the virtual camera with the camera height adjusted to the default height capturing the game scene in the graphical user interface; wherein the scene range of the game scene included in the third scene image matches the size of the scene range of the game scene included in the first scene image.
[0067] In an optional embodiment, the method further includes: in response to a press operation applied to a designated area in the graphical user interface, controlling the camera height of the virtual camera to be adjusted to a preset height; and in response to a sliding operation that is continuous with the press operation, controlling the camera position of the height-adjusted virtual camera to move in the sliding direction of the sliding operation.
[0068] In an optional embodiment, the method further includes: responding to a setting operation for a preset height, and determining a height value corresponding to the preset height based on the setting operation.
[0069] Furthermore, Figure 5The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 101, communication interface 103 and memory 100 connected via the bus 102.
[0070] The memory 100 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0071] Processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 101 or by instructions in software form. Processor 101 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 100, and processor 101 reads information from memory 100 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0072] This invention also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor, they cause the processor to implement the aforementioned information processing method. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0073] Specifically, a graphical user interface is provided through a terminal device. The above information processing method includes: displaying a first scene image formed by capturing a game scene through a virtual camera in the graphical user interface; responding to a sliding operation on the graphical user interface, controlling the camera height of the virtual camera to adjust to a preset height, and displaying a second scene image formed by capturing a game scene through the virtual camera after the height adjustment in the graphical user interface; wherein the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image.
[0074] In the above information processing method, when the player performs a swipe operation on the graphical user interface, the camera position of the virtual camera that captures the game scene will automatically rise to a preset height, thereby displaying a wider range of game field of view in the graphical user interface, which helps to improve the timeliness of player warnings and the player's gaming experience.
[0075] In an optional embodiment, the method further includes: responding to a sliding operation applied to the graphical user interface, controlling the camera position of the virtual camera to move in the direction of the sliding operation.
[0076] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the virtual camera's movement speed is greater than the movement speed of the sliding operation.
[0077] In an optional embodiment, as the virtual camera's position moves in the direction of the sliding operation, the sliding operation moves a unit distance on the graphical user interface, and the virtual camera's position moves a specified multiple of that unit distance.
[0078] In an optional embodiment, the method further includes: in response to the end of the sliding operation, controlling the camera height of the virtual camera after height adjustment to adjust to the default height, and displaying a third scene image formed by the virtual camera with the camera height adjusted to the default height capturing the game scene in the graphical user interface; wherein the scene range of the game scene included in the third scene image matches the size of the scene range of the game scene included in the first scene image.
[0079] In an optional embodiment, the method further includes: in response to a press operation applied to a designated area in the graphical user interface, controlling the camera height of the virtual camera to be adjusted to a preset height; and in response to a sliding operation that is continuous with the press operation, controlling the camera position of the height-adjusted virtual camera to move in the sliding direction of the sliding operation.
[0080] In an optional embodiment, the method further includes: responding to a setting operation for a preset height, and determining a height value corresponding to the preset height based on the setting operation.
[0081] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal device, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0082] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0083] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. An information processing method characterized by comprising: The method includes providing a graphical user interface via a terminal device; the method includes: The graphical user interface displays a first scene image formed by capturing the game scene through a virtual camera; In response to a sliding operation applied to the graphical user interface, the system controls the camera position of the virtual camera to move in the direction of the sliding operation, and controls the camera height of the virtual camera to be adjusted to a preset height. The system then displays a second scene image formed by the virtual camera capturing the game scene after the height adjustment in the graphical user interface. The second scene image contains a larger scene range of the game scene than the first scene image contains. Specifically, during the process of the virtual camera's position moving in the direction of the sliding operation, the virtual camera's moving speed is greater than the moving speed of the sliding operation.
2. The method according to claim 1, characterized in that, As the virtual camera's position moves in the direction of the sliding operation, the sliding operation moves a unit distance on the graphical user interface, and the virtual camera's position moves by a specified multiple of that unit distance.
3. The method according to claim 2, characterized in that, The method further includes: In response to the end of the sliding operation, the camera height of the virtual camera after the height adjustment is controlled to be adjusted to the default height, and a third scene image formed by the virtual camera with the camera height adjusted to the default height is displayed in the graphical user interface; wherein, the scene range of the game scene included in the third scene image matches the size of the scene range of the game scene included in the first scene image.
4. The method according to claim 1, characterized in that, The method further includes: In response to a press operation applied to a specified area in the graphical user interface, the camera height of the virtual camera is adjusted to a preset height. In response to a sliding operation that occurs consecutively with the pressing operation, the camera position of the virtual camera after height adjustment is controlled to move in the sliding direction of the sliding operation.
5. The method according to claim 1, characterized in that, The method further includes: In response to a setting operation for the preset height, a height value corresponding to the preset height is determined based on the setting operation.
6. An information processing device, characterized in that, A graphical user interface is provided via a terminal device; the device includes: The screen display module is used to display a first scene image formed by capturing the game scene through a virtual camera in the graphical user interface; A camera elevation module is used to respond to a sliding operation applied to the graphical user interface, control the camera position of the virtual camera to move in the direction of the sliding operation, and control the camera height of the virtual camera to adjust to a preset height value, and display a second scene image formed by the virtual camera capturing the game scene after the height adjustment in the graphical user interface; wherein, the scene range of the game scene included in the second scene image is larger than the scene range of the game scene included in the first scene image; Specifically, during the process of the virtual camera's position moving in the direction of the sliding operation, the virtual camera's moving speed is greater than the moving speed of the sliding operation.
7. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the information processing method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the information processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Virtual scene display method and device, computer equipment and storage medium
CN112717381A
Game control method and device, electronic equipment and storage medium
CN112791410A