Picture display method and device in virtual scene, electronic equipment, storage medium and program product
By responding to triggered actions in the graphical user interface, a projection window is displayed to show the obscured game screen, solving the interaction problem of interactive controls obscuring the area and improving the user interaction experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2025-04-02
- Publication Date
- 2026-07-21
AI Technical Summary
In graphical user interfaces, when interactive controls obscure other content, users are unable to interact with them and are prone to accidental touches, which affects the user experience.
By responding to the trigger operation of the graphical user interface, the operation position is determined, and a projection window is displayed on the first game screen to show the second game screen that is obscured by the interactive control, so as to realize the interaction with the obscured area.
It effectively solves the interaction problem of interactive controls obscuring the area, improves the user interaction experience, and avoids accidental touches.
Smart Images

Figure CN120022594B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of electronic computers and the Internet, and in particular to a method, apparatus, electronic device, storage medium and program product for displaying images in a virtual scene. Background Technology
[0002] This section is intended to provide background or context for the embodiments of this disclosure as set forth in the claims. The description herein is not intended to be a prior art simply because it is included in this section.
[0003] In applications based on computer and internet technologies, such as video games, graphical user interfaces typically display controls used to display information or interact with the user.
[0004] However, since controls are usually displayed on top of layers in a graphical user interface, in some cases they can obscure other content in the graphical user interface. When users want to interact with content obscured by controls, they usually cannot do so and are prone to accidentally touching controls. Summary of the Invention
[0005] In view of this, the purpose of this disclosure is to provide a method, device, electronic device, storage medium and program product for displaying images in a virtual scene, which at least to some extent solves one of the technical problems in the related art.
[0006] To achieve the above objectives, an exemplary embodiment of this disclosure provides a method for displaying a screen in a virtual scene, wherein a graphical user interface is provided through a terminal device, and interactive controls and a first game screen formed by at least a portion of the virtual scene are displayed in the graphical user interface, the method comprising:
[0007] In response to a first trigger operation applied to the graphical user interface, determine the operation position corresponding to the first trigger operation;
[0008] In response to the operation position at least partially coinciding with the interactive control, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and obscured by the interactive control is displayed in the projection window.
[0009] Based on the same inventive concept, a second aspect of the exemplary embodiments of this disclosure provides a screen display device in a virtual scene, which provides a graphical user interface through a terminal device, displaying interactive controls and a first game screen formed by at least a portion of the virtual scene in the graphical user interface, the device comprising:
[0010] The framing position determination module is configured to respond to a first trigger operation applied to the graphical user interface and determine the operation position corresponding to the first trigger operation.
[0011] The projection module is configured to display a projection window on the first game screen in response to the operation position at least partially coinciding with the interactive control, and to display a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window.
[0012] Based on the same inventive concept, a third aspect of the exemplary embodiments of this disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method as described in the first aspect.
[0013] Based on the same inventive concept, a fourth aspect of the exemplary embodiments of this disclosure provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as described in the first aspect.
[0014] Based on the same inventive concept, a fifth aspect of the exemplary embodiments of this disclosure provides a computer program product including computer program instructions that, when run on a computer, cause the computer to perform the method as described in the first aspect.
[0015] As can be seen from the above description, the virtual scene display method, apparatus, electronic device, storage medium, and program product provided in this disclosure provide a graphical user interface through a terminal device. The graphical user interface displays interactive controls and a first game screen formed by at least a portion of the virtual scene. The method includes: responding to a first trigger operation acting on the graphical user interface, determining an operation position corresponding to the first trigger operation; responding to the operation position at least partially coinciding with the interactive controls, displaying a projection window on the first game screen, and displaying a second game screen, determined from the first game screen and obscured by the interactive controls, in the projection window. Through this disclosure, the area obscured by the interactive controls is projected onto other areas, thereby enabling interaction with the area obscured by the interactive controls. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic diagram illustrating an application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0018] Figure 2 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0019] Figure 3 A flowchart illustrating a method for displaying a screen in a virtual scene, provided as an exemplary embodiment of this disclosure;
[0020] Figure 4 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0021] Figure 5 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0022] Figure 6 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0023] Figure 7 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0024] Figure 8 A schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided as an exemplary embodiment of this disclosure;
[0025] Figure 9 A schematic diagram of a screen display device in a virtual scene provided as an exemplary embodiment of the present disclosure;
[0026] Figure 10 A schematic diagram of the structure of an electronic device provided as an exemplary embodiment of the present disclosure. Detailed Implementation
[0027] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0028] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this application's technical solution, based on the prompt message.
[0029] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0030] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this application. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this application.
[0031] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0032] To make the objectives, technical solutions, and advantages of this disclosure clearer, the principles and spirit of this disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement this disclosure, and are not intended to limit the scope of this disclosure in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0033] In this article, it is important to understand that any number of elements in the accompanying figures is for illustrative purposes and not for limitation, and any naming is for distinction only and has no limiting meaning.
[0034] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly. The article "a" or "an" preceding an element does not exclude the existence of multiple such elements.
[0035] The principles and spirit of this disclosure will be explained in detail below with reference to several representative embodiments.
[0036] refer to Figure 1 This is a schematic diagram of an application scenario of the screen display method in a virtual scene provided by the exemplary embodiments of this disclosure.
[0037] This application scenario includes a terminal device 110, a server 120, and a data storage system 130. The terminal device 110, server 120, and data storage system 130 can all be connected via wired or wireless communication networks to achieve data interaction.
[0038] Terminal device 110 may be an electronic device located close to the user side, possessing data transmission and multimedia input / output functions, including but not limited to desktop computers, mobile phones, portable computers, tablet computers, media players, smart wearable devices, personal digital assistants (PDAs), or other electronic devices capable of performing the aforementioned functions. This electronic device may include a processor and a display screen with touch input functionality. The display screen is used to present a graphical user interface (GUI), which can display an application interface. The processor is used to process application data, generate the GUI, and control the display of the GUI on the screen.
[0039] Both server 120 and data storage system 130 can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0040] In some exemplary embodiments, the method for displaying images in a virtual scene can run on terminal device 110 or server 120.
[0041] When the virtual scene display method is implemented on terminal device 110, terminal device 110 may include a display screen and a processor. A client is installed on terminal device 110, providing a graphical user interface (GUI). The GUI displays interactive controls and a first game screen formed by at least a portion of the virtual scene. Terminal device 110 responds to a first trigger operation acting on the GUI, determining the operation position corresponding to the first trigger operation. In response to the operation position at least partially coinciding with the interactive controls, a projection window is displayed on the first game screen, and a second game screen, determined from the first game screen and obscured by the interactive controls, is displayed in the projection window.
[0042] In specific implementation, when the screen display method in the virtual scene runs on terminal device 110, taking a game as an example, the terminal device stores the game program and is used to present the game screen. The terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading, installing, and running the game program via an electronic device. The terminal device can provide the graphical user interface to the player in various ways, such as rendering it on the terminal's display screen, or providing it to the player through holographic projection. For example, the terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, which includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0043] In the above exemplary embodiments, the method for displaying a screen in a virtual scene is described as running on a terminal device 110. However, this disclosure is not limited thereto. In some exemplary embodiments, the method for displaying a screen in a virtual scene can also run on a server 120.
[0044] When the virtual scene display method is running on server 120, server 120 provides virtual scene display services to users of terminal device 110. Terminal device 110 has a client installed that communicates with server 120. The client provides a graphical user interface, which displays interactive controls and a first game screen formed by at least a portion of the virtual scene. Server 120 responds to a first trigger operation acting on the graphical user interface and determines the operation position corresponding to the first trigger operation. In response to the operation position at least partially coinciding with the interactive controls, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and obscured by the interactive controls is displayed in the projection window.
[0045] In practice, when the screen display method in the virtual scene runs on server 120, the method can be implemented and executed based on the cloud interaction system.
[0046] The cloud interaction system includes client devices and cloud gaming servers.
[0047] In some exemplary embodiments, 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 operation mode, the main body running the game program and the main body displaying the game screen are separated. The storage and operation of the control methods for the game state are completed on the cloud gaming server. The role of the client device is to receive and send data and display the game screen. For example, the client device can be a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, or PDA; however, the method of displaying the screen in the virtual scene is executed 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 through the network, and finally, the client device decodes and outputs the game screen.
[0048] The data storage system 130 is used to assist the terminal device 110 and the server 120 in data storage.
[0049] The following is combined Figure 1 The above application scenarios are used to describe the screen display method in a virtual scene according to exemplary embodiments of this disclosure. It should be noted that the above application scenarios are shown only to facilitate understanding of the spirit and principles of this disclosure, and the embodiments of this disclosure are not limited in any way. Rather, the embodiments of this disclosure can be applied to any applicable scenario.
[0050] refer to Figure 2 This is a schematic diagram illustrating another application scenario of the screen display method in a virtual scene provided by the exemplary embodiments of this disclosure.
[0051] The terminal device provides a graphical user interface 101, which displays interactive controls 102 and at least a portion of the virtual scene.
[0052] First, a brief introduction to the names involved in the embodiments of this application:
[0053] The terminal device involved in this application mainly refers to a terminal used to provide a graphical user interface and to control virtual objects. The terminal device can be a local terminal device as mentioned below, or a client device in a cloud interaction system. This terminal device can be any of the following devices, including but not limited to: smartphones, tablets, handheld computers, personal digital assistants (PDAs), etc. The terminal device has a game-supporting application installed and running, such as an application supporting 3D or 2D games. In this application embodiment, the application is described as a game application; optionally, the application can be a standalone application, such as a standalone 3D game program, or a network-connected application.
[0054] A graphical user interface (GUI) includes a user interface (UI) and a game screen. The UI serves as the medium for human-computer interaction and information exchange between the system and the user. The UI presents system information in a human-readable format, enabling users to operate the computer conveniently and efficiently, achieving two-way human-computer interaction. The UI can consist of visual elements such as controls, text, graphics, images, icons, and input boxes. In optional implementations, the UI may include data collection controls, research controls, and deployment controls. In optional implementations, the game screen is the display screen corresponding to the virtual scene shown on the terminal device. The game screen may include controlled virtual objects executing game logic within the virtual scene.
[0055] As an example, let's take the interactive control 102 as a chat control. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0056] Chat controls are essential tools for communication between players, enabling real-time communication, collaboration, or competition, greatly enhancing the interactivity and social aspects of games. Chat methods can be categorized as text chat, voice chat, or emoticons and actions. Text chat allows players to input text to communicate with each other, including teamwork, tactical discussions, and trade negotiations. Voice chat allows players to communicate in real-time via microphone and headset, particularly suitable for games requiring fast-paced reactions and close teamwork, such as multiplayer online battle arena (MOBA) games. Emoticons and actions provide preset emoticons and actions, allowing players to quickly express emotions or intentions, even in fast-paced games or those where detailed text input is limited. Chat can be categorized by type, including global chat, team chat, private chat, and trade chat. Global chat is an open channel accessible to all players, suitable for posting public information or freely communicating with other players. Team chat is a private chat only between team members, facilitating tactical discussions and collaboration within the team without being detected by the enemy. Private chat is a one-on-one private chat between players, used for more private communication, such as trade details or building personal friendships. Trade chat is a dedicated channel for players to trade items or resources, making the trading process more convenient and standardized.
[0057] Because the chat control contains a lot of content, it occupies a large area on the graphical user interface 101 provided by the terminal device. In addition, the chat control is usually displayed on the upper layer of the graphical user interface layer. In some cases, the chat control will obscure other content in the graphical user interface. When the user wants to interact with the content obscured by the chat control, the interaction is usually impossible, and the chat control is easily accidentally touched.
[0058] The following explanation uses the example of an interactive control 102 obscuring a virtual object 103 in a virtual scene when it is used as a chat control:
[0059] A virtual scene is a virtual environment displayed (or provided) by an application while it is running on a terminal or server; that is, the scene used during normal gameplay. In other words, a virtual scene refers to virtual game controls that carry virtual objects during gameplay. These virtual objects can move, fight, and perform other actions within the virtual scene under the control of user (i.e., player) commands issued to the terminal device. Optionally, a virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. A virtual scene can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual scene. The virtual scene is the scene where the user controls virtual objects to execute complete game logic. Optionally, a virtual scene can also be used for virtual battles between at least two virtual objects, and the virtual scene has virtual resources that can be collected by multiple virtual objects. For example, a virtual scene can include any one or more of the following elements: game background elements, game character elements, game item elements, and game resource elements.
[0060] As an example, we will use virtual object 103 as a controlled virtual object for illustration.
[0061] A controlled virtual object refers to a dynamic object that can be controlled within a virtual scene. Optionally, this dynamic object can be a virtual character, virtual object, etc. The controlled virtual object is controlled by the user through an input device, or it can be artificial intelligence (AI) trained and set up in the virtual environment. In one possible implementation, the user can control the controlled virtual object to move within the virtual scene, for example, controlling its navigation or resource gathering, upgrading and developing its own created structures, and engaging in combat with virtual objects from other factions. Optionally, the controlled virtual object can have multiple functions, such as not only gathering virtual resources but also engaging in combat. Optionally, when the virtual environment is a three-dimensional environment, the controlled virtual object can be a three-dimensional virtual model, each with its own shape and volume, occupying a portion of the space within the three-dimensional virtual environment. Optionally, the three-dimensional virtual object is a three-dimensional character constructed based on three-dimensional skeletal technology, and the controlled virtual object achieves different appearances through wearable technology. In some implementations, the controlled virtual object can also be implemented using a 2.5-dimensional or 2-dimensional model, and the embodiments of this application do not limit this.
[0062] In the above exemplary embodiments, the virtual object 103 in the virtual scene obscured by the interactive control 102 is used as an example of a controlled virtual object. However, in some example embodiments, the virtual object 103 in the virtual scene obscured by the interactive control 102 can also be a resource point or a virtual resource, etc. Specifically:
[0063] Resource outposts are map points used to provide virtual resources. For example, resource outposts can be map points for virtual metal mines, virtual crystal mines, virtual deuterium mines, virtual special mines, etc. Optionally, several resource outposts are distributed in the virtual scene, and correspondingly, several identifiers are provided in the virtual map corresponding to these resource outposts (since the identifiers in the virtual map are scaled-down versions of the resource outposts, they are uniformly described as resource outposts in the virtual map throughout this document), allowing users to collect virtual resources at the resource outposts to upgrade and develop their created building objects. Resource outposts in the virtual scene can be refreshed, typically by refreshing each resource outpost at predetermined time intervals, allowing users to collect virtual resources at the resource outposts by dispatching controlled virtual objects on building objects at regular intervals. Optionally, building objects are map points used to create, station, and / or train controlled virtual objects; for example, a building object may be a "base".
[0064] Virtual Resources: In this embodiment, the virtual resources of each resource outpost may include, but are not limited to, metals, crystals, deuterium, special mineral bodies, wood, stone, food, and land. Each virtual resource may include multiple resource levels. For example, taking metal as an example, metal levels may include: Level 1 metal, Level 2 metal, and Level 3 metal. Level 1 metal is the lowest level and has the weakest corresponding defensive capabilities, while Level 3 metal is the highest level and has the strongest corresponding defensive capabilities. In actual game scenarios, ships constructed with Level 3 metal will have better stability and stronger defensive capabilities than ships constructed with Level 1 metal. Optionally, the virtual resources at each resource outpost correspond to one or more resource levels. The resource levels of virtual resources at different resource outposts may be the same or different; this embodiment does not specifically limit this. The resource parameters of the virtual resources include at least one of the following: the type of virtual resource, the quantity of the resource, and the resource level.
[0065] In the exemplary embodiments described above, interactive controls 102, such as chat controls, are typically displayed on the upper layer of the graphical user interface 101. In some cases, interactive controls 102, such as chat controls, may obscure virtual objects 103, such as controlled virtual objects, in the graphical user interface. When a user wants to interact with the virtual object 103, such as the controlled virtual object, which is obscured by the interactive controls 102, such as chat controls, the interaction is usually not possible, and accidental touches of the interactive controls 102, such as chat controls, are likely.
[0066] To address the aforementioned issues, this disclosure provides a screen display scheme in a virtual scene, specifically comprising: providing a graphical user interface through a terminal device, displaying interactive controls and a first game screen formed by at least a portion of a virtual scene in the graphical user interface, the method comprising: responding to a first trigger operation acting on the graphical user interface, determining an operation position corresponding to the first trigger operation; responding to the operation position at least partially coinciding with the interactive controls, displaying a projection window on the first game screen, and displaying a second game screen determined from the first game screen and obscured by the interactive controls in the projection window.
[0067] This disclosure projects the area obscured by the interactive control onto other areas, thereby enabling interaction with the area obscured by the interactive control.
[0068] After introducing the basic principles of this disclosure, various non-limiting embodiments of this disclosure will be described in detail below.
[0069] refer to Figure 3 This is a flowchart illustrating a method for displaying images in a virtual scene provided by an exemplary embodiment of the present disclosure.
[0070] A method for displaying a screen in a virtual scene, comprising providing a graphical user interface through a terminal device, wherein interactive controls and a first game screen formed by at least a portion of the virtual scene are displayed in the graphical user interface, the method comprising the following steps:
[0071] Step S210: In response to a first trigger operation applied to the graphical user interface, determine the operation position corresponding to the first trigger operation.
[0072] In some exemplary embodiments, the first triggering operation can be a single click, double click, long press, hard press, or swipe. For example, for a long press, the duration for which the user needs to hold the long press can be set according to specific implementation needs, such as 1 second, 2 seconds, etc.; while for a single click, double click, or hard press, the specific parameters such as the duration of action, operation interval, and pressure can be set according to the specific hardware and software parameters of the client device to which the method of this embodiment is applied. The specific settings mentioned above are not specifically limited in this embodiment.
[0073] In specific implementation, the first triggering operation can also be any simple and feasible triggering operation other than those listed above, which is different from the triggering operations in the prior art.
[0074] Step S220: In response to the operation position at least partially coinciding with the interactive control, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and obscured by the interactive control is displayed in the projection window.
[0075] In practice, the second game screen changes as the user's position changes. Specifically:
[0076] In some exemplary embodiments, the method further includes:
[0077] In response to the operation position maintaining at least partial overlap with the interactive control, and the operation position changing, the second game screen displayed in the projection window is updated based on the changed operation position.
[0078] In specific implementation, based on the display area of the interactive control, it is determined whether the operation position and the interactive control at least partially overlap. Specifically:
[0079] In some exemplary embodiments, the response to the operation position at least partially coinciding with the interactive control includes:
[0080] In response to the operation position at least partially overlapping with the display area of the interactive control.
[0081] In specific implementation, this disclosure provides the following multiple methods for determining the second game screen, specifically:
[0082] In some exemplary embodiments, displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0083] The portion of the operation location in the first game screen that is obscured by the interactive control is cropped out to obtain the second game screen;
[0084] The second game screen is displayed in the projection window.
[0085] In practice, the first game screen is formed by at least a portion of a virtual scene, which does not contain interactive controls. Therefore, by cropping the first game screen, a second game screen that is not obscured by the interactive controls can be obtained.
[0086] In some exemplary embodiments, displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0087] A virtual camera is configured at the operation location, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0088] The second game screen is displayed in the projection window.
[0089] In practice, the virtual camera takes the operation position as the shooting center and shoots the virtual scene within a specified shooting range to obtain the second game screen.
[0090] In practice, the specified shooting range can be determined based on a preset size or based on the size of the interactive control that obscures the first game screen. The specified shooting range can be the same as or slightly larger than the size of the interactive control.
[0091] In some exemplary embodiments, displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0092] A viewfinder is displayed at the operation position to capture the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0093] The second game screen is displayed in the projection window.
[0094] In practice, the size of the viewfinder control can be determined based on a preset size or based on the size of the interactive control that obscures the first game screen. The size of the viewfinder control can be the same as or slightly larger than the size of the interactive control.
[0095] As an example, see reference Figure 4 The graphical user interface 101 is provided through a terminal device, and interactive controls 102 and at least part of the virtual scene are displayed in the graphical user interface 101.
[0096] Taking the interactive control 102 as a chat control as an example, when the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0097] Taking virtual object 103 as an example of a controlled virtual object, it should be noted that virtual object 103 in a virtual scene that is obscured by interactive control 102 can also be a resource base or a virtual resource.
[0098] The following explanation uses the example of interactive control 102 as a chat control and virtual object 103 in the virtual scene being a controlled virtual object as an example:
[0099] Interactive controls 102, such as chat controls, are typically displayed on a higher layer of the graphical user interface 101, such as... Figure 4As shown, interactive controls 102, such as chat controls, can obscure virtual objects 103, such as controlled virtual objects, in the graphical user interface. When a user wants to interact with the virtual object 103, such as the controlled virtual object, which is obscured by the interactive control 102, such as chat controls, the interaction is usually not possible, and the interactive control 102, such as chat controls, is easily accidentally touched.
[0100] In response to a first trigger operation applied to the graphical user interface 101, the operation position 104 corresponding to the first trigger operation is determined;
[0101] In response to the operation position 104 at least partially coinciding with the interactive control 102, a projection window 106 is displayed on the first game screen, and a second game screen 1061, determined from the first game screen and obscured by the interactive control 102, is displayed in the projection window 106.
[0102] A viewfinder control 105 is displayed at the operation position 104 to capture the image of the virtual scene within the range of the viewfinder control 105, which is recorded as the original image 1051. The original image 1051 is processed to obtain the second game image 1061.
[0103] The second game screen 1061 is displayed in the projection window 106, such as... Figure 4 As shown, the projection 1062 of the virtual object 103, which is obscured by the interactive control 102, is displayed in the second game screen 1061, and the user can interact with it.
[0104] In the above exemplary embodiments, this disclosure provides multiple methods for determining the second game screen. The following describes how the second game screen changes with the operation position in each method:
[0105] In some exemplary embodiments, the method further includes:
[0106] In response to the change in the operation position, the part of the first game screen whose changed operation position is obscured by the interactive control is cropped out to obtain the second game screen;
[0107] The second game screen is displayed in the projection window.
[0108] In some exemplary embodiments, the method further includes:
[0109] In response to a change in the operating position, the virtual camera is moved to the changed operating position, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0110] The second game screen is displayed in the projection window.
[0111] In some exemplary embodiments, the method further includes:
[0112] In response to the change in the operation position, the viewfinder is moved to the changed operation position to obtain the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0113] The second game screen is displayed in the projection window.
[0114] As an example, see reference Figure 5 The graphical user interface 101 is provided through a terminal device, and interactive controls 102 and at least part of the virtual scene are displayed in the graphical user interface 101.
[0115] Taking the interactive control 102 as a chat control as an example, when the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0116] Taking virtual object 103 as an example of a controlled virtual object, it should be noted that virtual object 103 in a virtual scene that is obscured by interactive control 102 can also be a resource base or a virtual resource.
[0117] The following explanation uses the example of interactive control 102 as a chat control and virtual object 103 in the virtual scene being a controlled virtual object as an example:
[0118] In the above exemplary embodiment, since the viewfinder 105 only includes a portion of the virtual object 103 obscured by the interactive control 102, the projection 1062 of the virtual object 103 in the second game screen 1061 is also partial. When the viewfinder 105 is moved down until the viewfinder 105 includes the entire virtual object 103 obscured by the interactive control 102, the projection 1062 of the virtual object 103 in the second game screen 1061 is also the entirety, which facilitates user interaction with it.
[0119] In the above exemplary embodiment, a method is described for projecting the area obscured by the interactive control onto other areas, thereby enabling interaction with the area obscured by the interactive control. Specifically:
[0120] In some exemplary embodiments, the method further includes:
[0121] In response to an interactive operation on the projection of a target virtual object in the virtual scene of the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
[0122] In practice, interactive operations on the projection of the target virtual object act on the target virtual object itself.
[0123] In some exemplary embodiments, the method further includes:
[0124] In response to the end of the first triggering operation, the projection window is de-displayed on the first game screen.
[0125] In some exemplary embodiments, the method further includes:
[0126] The move sub-control is displayed on the projection window;
[0127] In response to a trigger operation on the moving sub-control, the position of the projection window on the first game screen is adjusted based on the trigger operation.
[0128] As an example, see reference Figure 6 The graphical user interface 101 is provided through a terminal device, and interactive controls 102 and at least part of the virtual scene are displayed in the graphical user interface 101.
[0129] Taking the interactive control 102 as a chat control as an example, when the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0130] Taking virtual object 103 as an example of a controlled virtual object, it should be noted that virtual object 103 in a virtual scene that is obscured by interactive control 102 can also be a resource base or a virtual resource.
[0131] The following explanation uses the example of interactive control 102 as a chat control and virtual object 103 in the virtual scene being a controlled virtual object as an example:
[0132] In response to a first trigger operation applied to the graphical user interface 101, the operation position 104 corresponding to the first trigger operation is determined;
[0133] In response to the operation position 104 at least partially coinciding with the interactive control 102, a projection window 106 is displayed on the first game screen, and a second game screen 1061, determined from the first game screen and obscured by the interactive control 102, is displayed in the projection window 106.
[0134] A viewfinder control 105 is displayed at the operation position 104 to capture the image of the virtual scene within the range of the viewfinder control 105, which is recorded as the original image 1051. The original image 1051 is processed to obtain the second game image 1061.
[0135] The second game screen 1061 is displayed in the projection window 106, such as... Figure 6 As shown, the projection 1062 of the virtual object 103, which is obscured by the interactive control 102, is displayed in the second game screen 1061, and the user can interact with it.
[0136] The motion sub-control 1063 is displayed on the projection window 106;
[0137] In response to a trigger operation on the moving sub-control 1063, the position of the projection window 106 on the first game screen is adjusted based on the trigger operation.
[0138] In some exemplary embodiments, the method further includes:
[0139] A fixed sub-control is displayed on the projection window;
[0140] In response to a trigger operation on the fixed sub-control, the projection window is fixedly displayed on the first game screen; in response to the end of the first trigger operation, the projection window is not canceled from display on the first game screen.
[0141] As an example, see reference Figure 7 The graphical user interface 101 is provided through a terminal device, and interactive controls 102 and at least part of the virtual scene are displayed in the graphical user interface 101.
[0142] Taking the interactive control 102 as a chat control as an example, when the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0143] Taking virtual object 103 as an example of a controlled virtual object, it should be noted that virtual object 103 in a virtual scene that is obscured by interactive control 102 can also be a resource base or a virtual resource.
[0144] The following explanation uses the example of interactive control 102 as a chat control and virtual object 103 in the virtual scene being a controlled virtual object as an example:
[0145] In response to a first trigger operation applied to the graphical user interface 101, the operation position 104 corresponding to the first trigger operation is determined;
[0146] In response to the operation position 104 at least partially coinciding with the interactive control 102, a projection window 106 is displayed on the first game screen, and a second game screen 1061, determined from the first game screen and obscured by the interactive control 102, is displayed in the projection window 106.
[0147] A viewfinder control 105 is displayed at the operation position 104 to capture the image of the virtual scene within the range of the viewfinder control 105, which is recorded as the original image 1051. The original image 1051 is processed to obtain the second game image 1061.
[0148] The second game screen 1061 is displayed in the projection window 106, such as... Figure 4 As shown, the projection 1062 of the virtual object 103, which is obscured by the interactive control 102, is displayed in the second game screen 1061, and the user can interact with it.
[0149] A fixed sub-control 1064 is displayed on the projection window 106;
[0150] In response to a trigger operation on the fixed sub-control 1064, the projection window 106 is fixedly displayed on the first game screen; in response to the end of the first trigger operation, the projection window 106 is not canceled from display on the first game screen.
[0151] In some exemplary embodiments, the method further includes:
[0152] A scaling sub-control is displayed on the projection window;
[0153] In response to a trigger operation on the scaling sub-control, the size of the projection window is adjusted based on the trigger operation;
[0154] Adjust the size of the framing control based on the size of the projection window.
[0155] As an example, see reference Figure 8 The graphical user interface 101 is provided through a terminal device, and interactive controls 102 and at least part of the virtual scene are displayed in the graphical user interface 101.
[0156] Taking the interactive control 102 as a chat control as an example, when the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0157] Taking virtual object 103 as an example of a controlled virtual object, it should be noted that virtual object 103 in a virtual scene that is obscured by interactive control 102 can also be a resource base or a virtual resource.
[0158] The following explanation uses the example of interactive control 102 as a chat control and virtual object 103 in the virtual scene being a controlled virtual object as an example:
[0159] In response to a first trigger operation applied to the graphical user interface 101, the operation position 104 corresponding to the first trigger operation is determined;
[0160] In response to the operation position 104 at least partially coinciding with the interactive control 102, a projection window 106 is displayed on the first game screen, and a second game screen 1061, determined from the first game screen and obscured by the interactive control 102, is displayed in the projection window 106.
[0161] A viewfinder control 105 is displayed at the operation position 104 to capture the image of the virtual scene within the range of the viewfinder control 105, which is recorded as the original image 1051. The original image 1051 is processed to obtain the second game image 1061.
[0162] The second game screen 1061 is displayed in the projection window 106, such as... Figure 4 As shown, the projection 1062 of the virtual object 103, which is obscured by the interactive control 102, is displayed in the second game screen 1061, and the user can interact with it.
[0163] A scaling sub-control 1065 is displayed on the projection window 106;
[0164] In response to a trigger operation on the scaling sub-control 1065, the size of the projection window 106 is adjusted based on the trigger operation;
[0165] Adjust the size of the viewfinder control 105 based on the size of the projection window 106.
[0166] As can be seen from the above, the virtual scene display method provided in this disclosure provides a graphical user interface through a terminal device, displays interactive controls and a first game screen formed by at least a portion of the virtual scene in the graphical user interface, the method includes: responding to a first trigger operation acting on the graphical user interface, determining an operation position corresponding to the first trigger operation; responding to the operation position at least partially coinciding with the interactive controls, displaying a projection window on the first game screen, and displaying a second game screen determined from the first game screen and obscured by the interactive controls in the projection window.
[0167] This disclosure projects the area obscured by the interactive control onto other areas, thereby enabling interaction with the area obscured by the interactive control.
[0168] It should be noted that the method of this disclosure embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this disclosure embodiment, and the multiple devices will interact with each other to complete the method described.
[0169] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0170] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a screen display device in a virtual scene.
[0171] refer to Figure 9 This is a schematic diagram of a screen display device in a virtual scene provided by an exemplary embodiment of the present disclosure.
[0172] A screen display device in a virtual scene provides a graphical user interface via a terminal device, displaying interactive controls and a first game screen formed by at least a portion of the virtual scene in the graphical user interface, the device comprising the following modules:
[0173] The framing position determination module 910 is configured to respond to a first trigger operation applied to the graphical user interface and determine the operation position corresponding to the first trigger operation.
[0174] The projection module 920 is configured to display a projection window on the first game screen in response to the operation position at least partially coinciding with the interactive control, and to display a second game screen determined from the first game screen and obscured by the interactive control in the projection window.
[0175] In some exemplary embodiments, the projection module 920 is configured to:
[0176] In response to the operation position maintaining at least partial overlap with the interactive control, and the operation position changing, the second game screen displayed in the projection window is updated based on the changed operation position.
[0177] In some exemplary embodiments, the projection module 920 is configured to:
[0178] In response to the operation position at least partially overlapping with the display area of the interactive control.
[0179] In some exemplary embodiments, the projection module 920 is configured to:
[0180] The portion of the operation location in the first game screen that is obscured by the interactive control is cropped out to obtain the second game screen;
[0181] The second game screen is displayed in the projection window.
[0182] In some exemplary embodiments, the projection module 920 is configured to:
[0183] A virtual camera is configured at the operation location, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0184] The second game screen is displayed in the projection window.
[0185] In some exemplary embodiments, the projection module 920 is configured to:
[0186] In response to the change in the operation position, the part of the first game screen whose changed operation position is obscured by the interactive control is cropped out to obtain the second game screen;
[0187] The second game screen is displayed in the projection window.
[0188] In some exemplary embodiments, the projection module 920 is configured to:
[0189] In response to a change in the operating position, the virtual camera is moved to the changed operating position, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0190] The second game screen is displayed in the projection window.
[0191] In some exemplary embodiments, the projection module 920 is configured to:
[0192] A viewfinder is displayed at the operation position to capture the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0193] The second game screen is displayed in the projection window.
[0194] In some exemplary embodiments, the projection module 920 is configured to:
[0195] In response to the change in the operation position, the viewfinder is moved to the changed operation position to obtain the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0196] The second game screen is displayed in the projection window.
[0197] In some exemplary embodiments, the projection module 920 is configured to:
[0198] In response to an interactive operation on the projection of a target virtual object in the virtual scene of the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
[0199] In some exemplary embodiments, the projection module 920 is configured to:
[0200] In response to the end of the first triggering operation, the projection window is de-displayed on the first game screen.
[0201] In some exemplary embodiments, the projection module 920 is configured to:
[0202] The move sub-control is displayed on the projection window;
[0203] In response to a trigger operation on the moving sub-control, the position of the projection window on the first game screen is adjusted based on the trigger operation.
[0204] In some exemplary embodiments, the projection module 920 is configured to:
[0205] A fixed sub-control is displayed on the projection window;
[0206] In response to a trigger operation on the fixed sub-control, the projection window is fixedly displayed on the first game screen; in response to the end of the first trigger operation, the projection window is not canceled from display on the first game screen.
[0207] In some exemplary embodiments, the projection module 920 is configured to:
[0208] A scaling sub-control is displayed on the projection window;
[0209] In response to a trigger operation on the scaling sub-control, the size of the projection window is adjusted based on the trigger operation;
[0210] Adjust the size of the framing control based on the size of the projection window.
[0211] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.
[0212] The apparatus described above is used to implement the screen display method in the corresponding virtual scene in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0213] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the screen display method in the virtual scene described in any of the above embodiments.
[0214] Figure 10 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0215] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0216] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0217] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0218] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0219] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0220] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0221] The electronic devices described above are used to implement the screen display method in the corresponding virtual scene in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0222] The memory 1020 stores machine-readable instructions executable by the processor 1010. When the electronic device is running, the processor 1010 communicates with the memory 1020 via the bus 1030, causing the processor 1010 to execute the following instructions during operation:
[0223] In response to a first trigger operation applied to the graphical user interface, determine the operation position corresponding to the first trigger operation;
[0224] In response to the operation position at least partially coinciding with the interactive control, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and obscured by the interactive control is displayed in the projection window.
[0225] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0226] In response to the operation position maintaining at least partial overlap with the interactive control, and the operation position changing, the second game screen displayed in the projection window is updated based on the changed operation position.
[0227] In one possible implementation, the instructions executed by the processor 1010, wherein the response to the operation location at least partially coinciding with the interactive control, include:
[0228] In response to the operation position at least partially overlapping with the display area of the interactive control.
[0229] In one possible implementation, the instructions executed by processor 1010, wherein displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0230] The portion of the operation location in the first game screen that is obscured by the interactive control is cropped out to obtain the second game screen;
[0231] The second game screen is displayed in the projection window.
[0232] In one possible implementation, the instructions executed by processor 1010, wherein displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0233] A virtual camera is configured at the operation location, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0234] The second game screen is displayed in the projection window.
[0235] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0236] In response to the change in the operation position, the part of the first game screen whose changed operation position is obscured by the interactive control is cropped out to obtain the second game screen;
[0237] The second game screen is displayed in the projection window.
[0238] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0239] In response to a change in the operating position, the virtual camera is moved to the changed operating position, and the virtual scene is captured by the virtual camera to obtain the second game screen;
[0240] The second game screen is displayed in the projection window.
[0241] In one possible implementation, the instructions executed by processor 1010, wherein displaying a second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes:
[0242] A viewfinder is displayed at the operation position to capture the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0243] The second game screen is displayed in the projection window.
[0244] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0245] In response to the change in the operation position, the viewfinder is moved to the changed operation position to obtain the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen;
[0246] The second game screen is displayed in the projection window.
[0247] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0248] In response to an interactive operation on the projection of a target virtual object in the virtual scene of the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
[0249] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0250] In response to the end of the first triggering operation, the projection window is de-displayed on the first game screen.
[0251] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0252] The move sub-control is displayed on the projection window;
[0253] In response to a trigger operation on the moving sub-control, the position of the projection window on the first game screen is adjusted based on the trigger operation.
[0254] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0255] A fixed sub-control is displayed on the projection window;
[0256] In response to a trigger operation on the fixed sub-control, the projection window is fixedly displayed on the first game screen; in response to the end of the first trigger operation, the projection window is not canceled from display on the first game screen.
[0257] In one possible implementation, the method further includes the following instructions executed by the processor 1010:
[0258] A scaling sub-control is displayed on the projection window;
[0259] In response to a trigger operation on the scaling sub-control, the size of the projection window is adjusted based on the trigger operation;
[0260] Adjust the size of the framing control based on the size of the projection window.
[0261] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the screen display method in the virtual scene as described in any of the above embodiments.
[0262] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0263] The aforementioned non-transitory computer-readable storage media can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0264] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the screen display method in the virtual scene as described in any of the embodiments of the exemplary method section above, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0265] Based on the same inventive concept, corresponding to the screen display method in the virtual scene described in any of the above embodiments, this disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer to cause the computer and / or the processor to perform the screen display method in the virtual scene. Corresponding to the execution entity for each step in each embodiment of the screen display method in the virtual scene, the processor executing the corresponding step can belong to the corresponding execution entity.
[0266] The computer program product of the above embodiments is used to cause the computer and / or the processor to execute the screen display method in the virtual scene as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0267] Those skilled in the art will recognize that embodiments of this disclosure can be implemented as a system, method, or computer program product. Therefore, this disclosure can be implemented as entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this disclosure can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0268] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (not exhaustive) of a computer-readable storage medium may include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0269] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0270] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0271] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network (including a local area network (LAN) or a wide area network (WAN)), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0272] It should be understood that each block of a flowchart and / or block diagram, as well as combinations of blocks in a flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine that, when executed by a computer or other programmable data processing device, creates means for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.
[0273] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce a product comprising an instruction apparatus that implements the functions / operations specified in the boxes of a flowchart and / or block diagram.
[0274] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, such that the instructions that execute on the computer or other programmable apparatus can provide a process for implementing the functions / operations specified in the boxes of a flowchart and / or block diagram.
[0275] Furthermore, although the operations of the methods of this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Rather, the steps depicted in the flowcharts may be executed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0276] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0277] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0278] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0279] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0280] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0281] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
[0282] While the spirit and principles of this disclosure have been described with reference to several specific embodiments, it should be understood that this disclosure is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be interpreted in the broadest sense, thereby encompassing all such modifications and equivalent structures and functions.
Claims
1. A method for displaying images in a virtual scene, characterized in that, The method includes providing a graphical user interface via a terminal device, displaying interactive controls and a first game screen formed by at least a portion of a virtual scene within the graphical user interface: In response to a first trigger operation applied to the graphical user interface, determine the operation position corresponding to the first trigger operation; In response to the operation position at least partially coinciding with the interactive control, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and obscured by the interactive control is displayed in the projection window; including: displaying a viewfinder control at the operation position, acquiring the image of the virtual scene within the range of the viewfinder control, and obtaining the second game screen; The second game screen is displayed in the projection window, and A scaling sub-control is displayed on the projection window; In response to a trigger operation on the scaling sub-control, the size of the projection window is adjusted based on the trigger operation; Adjust the size of the framing control based on the size of the projection window.
2. The method according to claim 1, characterized in that, The method further includes: In response to the operation position maintaining at least partial overlap with the interactive control, and the operation position changing, the second game screen displayed in the projection window is updated based on the changed operation position.
3. The method according to claim 1, characterized in that, The response to the operation position at least partially coinciding with the interactive control includes: In response to the operation position at least partially overlapping with the display area of the interactive control.
4. The method according to claim 1, characterized in that, Displaying the second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes: The portion of the operation location in the first game screen that is obscured by the interactive control is cropped out to obtain the second game screen; The second game screen is displayed in the projection window.
5. The method according to claim 1, characterized in that, Displaying the second game screen, determined from the first game screen and obscured by the interactive control, in the projection window includes: A virtual camera is configured at the operation location, and the virtual scene is captured by the virtual camera to obtain the second game screen; The second game screen is displayed in the projection window.
6. The method according to claim 4, characterized in that, The method further includes: In response to the change in the operation position, the part of the first game screen whose changed operation position is obscured by the interactive control is cropped out to obtain the second game screen; The second game screen is displayed in the projection window.
7. The method according to claim 5, characterized in that, The method further includes: In response to a change in the operating position, the virtual camera is moved to the changed operating position, and the virtual scene is captured by the virtual camera to obtain the second game screen; The second game screen is displayed in the projection window.
8. The method according to claim 7, characterized in that, The method further includes: In response to the change in the operation position, the viewfinder is moved to the changed operation position to obtain the view of the virtual scene within the range of the viewfinder, thus obtaining the second game screen; The second game screen is displayed in the projection window.
9. The method according to claim 1, characterized in that, The method further includes: In response to an interactive operation on the projection of a target virtual object in the virtual scene of the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
10. The method according to claim 1, characterized in that, The method further includes: In response to the end of the first triggering operation, the projection window is de-displayed on the first game screen.
11. The method according to claim 1, characterized in that, The method further includes: The move sub-control is displayed on the projection window; In response to a trigger operation on the moving sub-control, the position of the projection window on the first game screen is adjusted based on the trigger operation.
12. The method according to claim 1, characterized in that, The method further includes: A fixed sub-control is displayed on the projection window; In response to a trigger operation on the fixed sub-control, the projection window is fixedly displayed on the first game screen; in response to the end of the first trigger operation, the projection window is not canceled from display on the first game screen.
13. A screen display device in a virtual scene, characterized in that, The device provides a graphical user interface via a terminal device, displaying interactive controls and a first game screen formed by at least a portion of a virtual scene, the device comprising: The framing position determination module is configured to respond to a first trigger operation applied to the graphical user interface and determine the operation position corresponding to the first trigger operation. A projection module is configured to, in response to the operation position at least partially coinciding with the interactive control, display a projection window on the first game screen and display a second game screen determined from the first game screen and obscured by the interactive control in the projection window; including: displaying a framing control at the operation position, acquiring a view of the virtual scene within the range of the framing control, and obtaining the second game screen; The second game screen is displayed in the projection window, and A scaling sub-control is displayed on the projection window; In response to a trigger operation on the scaling sub-control, the size of the projection window is adjusted based on the trigger operation; Adjust the size of the framing control based on the size of the projection window.
14. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1 to 12.
15. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing a computer to perform the method of any one of claims 1 to 12.
16. A computer program product, characterized in that, It includes computer program instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 12.