Image display method and device in virtual scene, electronic equipment, storage medium and program product
By displaying the projection window in the graphical user interface and displaying the game screen obscured by the control, the control occlusion problem is solved, the interaction of the obstructed area is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202510413678.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-04-02
AI Technical Summary
In applications such as electronic games, controls often obscur other contents of the graphical user interface, causing users to be unable to interact with the obstructed content and easily touch the controls by mistake.
By responding to the trigger operation in the graphical user interface, the operation position is determined, and when the operation position coincides with the interactive control, a projection window is displayed to display the game screen blocked by the control, thereby realizing interaction with the obstructed area.
It effectively solves the problem of control occlusion, allows users to interact with the obstructed area, and improves the user experience.
Smart Images

Figure CN120022594A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic computers and Internet technology, and in particular to a method, device, electronic device, storage medium and program product for displaying images in a virtual scene. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] In an application program implemented based on electronic computers and Internet technologies, such as an electronic game, controls are usually displayed in a graphical user interface, and these controls are used to display information or interact with the user.
[0004] However, since controls are usually displayed at an upper layer of the graphical user interface, in some cases, controls will block other content in the graphical user interface. When users want to interact with the content blocked by the controls, the interaction is usually not possible and they are prone to accidentally touching the controls. Summary of the invention
[0005] In view of this, the purpose of the present disclosure is to propose a method, device, electronic device, storage medium and program product for displaying images in a virtual scene, which at least solve one of the technical problems in the related art to a certain extent.
[0006] Based on the above purpose, the first aspect of the exemplary embodiment of the present disclosure provides a method for displaying a screen in a virtual scene, wherein a graphical user interface is provided by a terminal device, and an interactive control and a first game screen formed by at least part of the virtual scene are displayed on the graphical user interface, and the method includes:
[0007] In response to a first trigger operation applied to the graphical user interface, determining an operation position corresponding to the first trigger operation;
[0008] In response to the operation position at least partially overlapping 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 blocked by the interactive control is displayed in the projection window.
[0009] Based on the same inventive concept, a second aspect of the exemplary embodiment of the present disclosure provides a screen display device in a virtual scene, wherein a graphical user interface is provided through a terminal device, and an interactive control and a first game screen formed by at least part of the virtual scene are displayed on the graphical user interface, and the device includes:
[0010] a framing position determination module, configured to respond to a first trigger operation applied to the graphical user interface and determine an 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 overlapping with the interactive control, and to display a second game screen determined from the first game screen and blocked by the interactive control in the projection window.
[0012] Based on the same inventive concept, a third aspect of the exemplary embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect is implemented.
[0013] Based on the same inventive concept, a fourth aspect of the exemplary embodiments of the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.
[0014] Based on the same inventive concept, a fifth aspect of the exemplary embodiments of the present disclosure provides a computer program product, including computer program instructions. When the computer program instructions are executed on a computer, the computer executes the method described in the first aspect.
[0015] From the above, it can be seen that the screen display method, device, electronic device, storage medium and program product in the virtual scene provided by the embodiment of the present disclosure provide a graphical user interface through a terminal device, and display interactive controls and a first game screen formed by at least part of the virtual scene on the graphical user interface. The method includes: responding to a first trigger operation acting on the graphical user interface, determining the operation position corresponding to the first trigger operation; in response to the operation position at least partially overlapping with the interactive control, displaying a projection window on the first game screen, and displaying the second game screen determined from the first game screen and blocked by the interactive control in the projection window. Through the present disclosure, the area blocked by the interactive control is projected to other areas, thereby realizing the interaction with the area blocked by the interactive control. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic diagram of an application scenario of a method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of a flow chart of a method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0020] Figure 4 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0021] Figure 5 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0022] Figure 6 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0023] Figure 7 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0024] Figure 8 A schematic diagram of another application scenario of the method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0025] Fig. 9 A schematic diagram of a structure of a picture display device in a virtual scene provided by an exemplary embodiment of the present disclosure;
[0026] Fig.10 A schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, usage scenarios, etc. of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0028] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present application according to the prompt message.
[0029] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0030] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of the present application. Other methods that meet the relevant laws and regulations may also be applied to the implementation method of the present application.
[0031] It is understandable 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 relevant provisions.
[0032] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, the principles and spirit of the present disclosure will be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0033] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0034] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connecting" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly. The article "one" or "a" before an element does not exclude the existence of multiple such elements.
[0035] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.
[0036] refer to Figure 1 , which is a schematic diagram of an application scenario of the image display method in a virtual scene provided by an exemplary embodiment of the present disclosure.
[0037] This application scenario includes a terminal device 110, a server 120 and a data storage system 130. The terminal device 110, the server 120 and the data storage system 130 may be connected via a wired or wireless communication network to achieve data interaction.
[0038] The terminal device 110 may be an electronic device with data transmission and multimedia input / output functions close to the user side, including but not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA) or other electronic devices capable of implementing the above functions. The electronic device may include a processor and a display screen with a touch input function, the display screen is used to present a graphical user interface, the graphical user interface can display an application interface, and the processor is used to process application data, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0039] The server 120 and the data storage system 130 can both be independent physical servers, or a server cluster or distributed system composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0040] In some exemplary embodiments, the method for displaying a picture in a virtual scene may be executed on the terminal device 110 or the server 120 .
[0041] When the method for displaying a screen in a virtual scene is run on a terminal device 110, the terminal device 110 may include a display screen and a processor. A client is installed in the terminal device 110, and a graphical user interface is provided through the client. The interactive controls and a first game screen formed by at least part of the virtual scene are displayed on the graphical user interface. The terminal device 110 responds to a first trigger operation acting on the graphical user interface and determines an operation position corresponding to the first trigger operation; in response to the operation position at least partially overlapping 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 blocked by the interactive control is displayed in the projection window.
[0042] In specific implementation, when the screen display method in the virtual scene runs on the terminal device 110, taking the 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, the game program is downloaded and installed and run by the conventional electronic device. The terminal device may provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through a holographic projection. For example, the terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a 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 picture in a virtual scene is described by taking the case where the method is run on the terminal device 110 as an example; however, the present disclosure is not limited thereto. In some exemplary embodiments, the method for displaying a picture in a virtual scene may also be run on the server 120 .
[0044] When the method for displaying a picture in a virtual scene runs on the server 120, the server 120 is used to provide a user of the terminal device 110 with a picture display service in the virtual scene. The terminal device 110 is installed with a client that communicates with the server 120. A graphical user interface is provided through the client, and interactive controls and a first game screen formed by at least part of the virtual scene are displayed on the graphical user interface. The server 120 responds to a first trigger operation acting on the graphical user interface, determines an operation position corresponding to the first trigger operation; in response to the operation position at least partially overlapping with the interactive control, displays a projection window on the first game screen, and displays a second game screen determined from the first game screen and blocked by the interactive control in the projection window.
[0045] In specific implementation, when the image display method in the virtual scene runs on the server 120, the method can be implemented and executed based on the cloud interaction system.
[0046] Among them, the cloud interaction system includes client devices and cloud game servers.
[0047] In some exemplary embodiments, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operation subject of the game program and the game screen presentation subject are separated. The storage and operation of the control method of the state in the game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud executes the screen display method in the virtual scene. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. 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] Combine the following Figure 1 The method for displaying a picture in a virtual scene according to an exemplary embodiment of the present disclosure is described by using an application scenario. It should be noted that the above application scenario is only shown to facilitate understanding of the spirit and principle of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.
[0050] refer to Figure 2 , which is a schematic diagram of another application scenario of the image display method in a virtual scene provided by an exemplary embodiment of the present disclosure.
[0051] A graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface.
[0052] First, the names involved in the embodiments of the present application are briefly introduced:
[0053] The terminal device involved in the embodiments of the present application mainly refers to a terminal for providing a graphical user interface and capable of controlling a controlled virtual object. Among them, the terminal device may be a local terminal device mentioned below, or a client device in a cloud interaction system. The terminal device may include, but is not limited to, any of the following devices: a smart phone, a tablet computer, a PDA, a personal digital assistant (PDA), etc. An application that supports games is installed and running in the terminal device, such as an application that supports three-dimensional games or two-dimensional games. In the embodiments of the present application, the application is introduced as a game application. Optionally, the application may be a stand-alone application, such as a stand-alone 3D game program, or a network-connected application.
[0054] The graphical user interface includes a user interface (UI) and a game screen, wherein the UI interface is a medium for human-computer interaction and information exchange between the system and the user. The UI interface can present system information in a form acceptable to humans, so that users can conveniently and efficiently operate the computer to achieve two-way human-computer interaction. The user interface can be composed of visual elements such as controls, text, graphics, images, icons, input boxes, etc. In an optional embodiment, the user interface may include acquisition controls, research controls, expedition controls, etc. In an optional embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device, and the game screen may include controlled virtual objects that execute game logic in the virtual scene, etc.
[0055] As an example, the interactive control 102 is taken 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 important tools for communication between players. They enable players to communicate, collaborate or compete in real time, greatly enhancing the interactivity and sociality of the game. Chats can be classified into text chat, voice chat, or emoticons and actions. Text chat: players can enter text to communicate with other players, including team collaboration, tactical discussions, trade negotiations, etc. Voice chat: players can communicate in real time through microphones and headphones, which is particularly suitable for games that require quick response and close coordination, such as multiplayer online tactical competitive games; Emoticons and actions: provide preset emoticons or actions, allowing players to quickly express emotions or intentions, even in fast-paced games or games where detailed text cannot be entered. Chat types include global chat, team chat, private chat or trade chat, among which global chat: an open chat channel that all players can participate in, suitable for publishing public information or communicating with other players casually; team chat: a private chat limited to team members, which is convenient for tactical discussions and collaboration within the team without being known by the enemy; private chat: a one-on-one private chat between players, used for more private communication, such as transaction details or the establishment of personal friendships; trade chat: a chat channel specifically used for trading items or resources between players, making the transaction process more convenient and standardized.
[0057] Since the chat controls contain more content, they occupy a larger area on the graphical user interface 101 provided by the terminal device, and the chat controls are usually displayed on an upper layer of the graphical user interface. In some cases, the chat controls will block other content in the graphical user interface. When the user wants to interact with the content blocked by the chat controls, the interaction is usually not possible and the chat controls are easily touched by mistake.
[0058] The following is an example of shielding a virtual object 103 in a virtual scene when the interactive control 102 is a chat control:
[0059] A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal or server, that is, a scene used in a normal game process. In other words, a virtual scene refers to a virtual game control that carries a virtual object during the game process. The virtual object can be controlled by the user (i.e., the player) to the terminal device in the virtual scene to move, confront, and other actions. Optionally, the virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. Among them, the virtual scene is a scene in which the user controls the virtual object to execute the complete game logic. Optionally, the virtual scene can also be used for a virtual battle between at least two virtual objects, and there are virtual resources in the virtual scene that can be collected by multiple virtual objects. Exemplarily, the virtual scene can include any one or more of the following elements: game background elements, game character elements, game prop elements, and game material elements.
[0060] As an example, the virtual object 103 is taken as a controlled virtual object for description.
[0061] A controlled virtual object refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual object, etc. The controlled virtual object is an object controlled by a user through an input device, or an artificial intelligence (AI) set in a virtual environment through training. In a possible implementation, the user can control the controlled virtual object to move in the virtual scene, for example, control the controlled virtual object to navigate or collect virtual resources, etc., and can also control the controlled virtual object to upgrade and develop on the building object created by itself, and can also control the controlled virtual object to fight with virtual objects of other camps. Optionally, the controlled virtual object can have multiple functions, such as not only having the function of collecting virtual resources, but also having the function of fighting. Optionally, when the virtual environment is a three-dimensional virtual environment, the controlled virtual object can be a three-dimensional virtual model, each controlled virtual object has its own shape and volume in the three-dimensional virtual environment, and occupies a part of the space in the three-dimensional virtual environment. Optionally, the three-dimensional virtual object is a three-dimensional character built based on three-dimensional skeleton technology, and the controlled virtual object realizes different external images through wearable technology. In some implementations, the controlled virtual object may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present application.
[0062] In the above exemplary embodiments, the virtual object 103 in the virtual scene blocked by the interactive control 102 is taken as an example to be described as a controlled virtual object. However, in some exemplary embodiments, the virtual object 103 in the virtual scene blocked by the interactive control 102 may also be a resource base and a virtual resource, etc. Specifically:
[0063] Resource points are map points used to provide virtual resources. For example, resource points can be map points such as virtual metal mines, virtual crystal mines, virtual heavy hydrogen mines, virtual special mines, etc. Optionally, several resource points are distributed in the virtual scene, and correspondingly, several identifiers corresponding to the several resource points distributed in the virtual scene are also provided in the virtual map (since the identifiers in the virtual map are reduced versions of the resource points, the whole text is uniformly described as resource points in the virtual map), so that users can collect virtual resources at the resource points to upgrade and develop the building objects they created. The resource points in the virtual scene can be refreshed, usually by refreshing each resource point in the virtual scene at predetermined time intervals, so that users can collect virtual resources at the resource points at regular intervals by dispatching controlled virtual objects on the building objects. Optionally, the building object is a map point used to manufacture, station and / or train controlled virtual objects, for example, the building object is a "base".
[0064] Virtual resources: The virtual resources of each resource base in the embodiment of the present application may include but are not limited to: metals, crystals, heavy hydrogen, special ore bodies, wood, stone, food, land, etc. For each virtual resource, it may include multiple resource levels. For example, taking metal as an example, the metal level may include: primary metal, secondary metal, and tertiary metal, among which the primary metal has the highest level and its corresponding resistance is weaker, and the tertiary metal has the highest level and its corresponding resistance is stronger. In the actual game scene, a ship built with tertiary metal will have better stability and stronger resistance than a ship built with primary metal. Optionally, the virtual resources on each resource base correspond to one or more resource levels, and the resource levels of virtual resources on different resource bases may be the same or different, and the embodiment of the present application does not specifically limit this. Among them, the resource parameters of the virtual resources include at least one of the following: the category of virtual resources, the number of resources, and the resource level.
[0065] In the above exemplary embodiments, interactive controls 102 such as chat controls are usually displayed at an upper layer of the graphical user interface 101. In some cases, interactive controls 102 such as chat controls may block virtual objects 103 such as controlled virtual objects in the graphical user interface. When a user wants to interact with a virtual object 103 such as a controlled virtual object that is blocked by interactive controls 102 such as chat controls, the interaction is usually not possible and the user may easily accidentally touch the interactive controls 102 such as chat controls.
[0066] In order to solve the above problems, the present disclosure provides a screen display solution in a virtual scene, specifically including: providing a graphical user interface through a terminal device, displaying interactive controls and a first game screen formed by at least part of the virtual scene in the graphical user interface, the method including: responding to a first trigger operation acting on the graphical user interface, determining an operation position corresponding to the first trigger operation; in response to the operation position at least partially overlapping with the interactive control, 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 control in the projection window.
[0067] Through the present disclosure, the area blocked by the interactive control is projected to other areas, thereby realizing the interaction with the area blocked by the interactive control.
[0068] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
[0069] refer to Figure 3 , which is a flow chart of a method for displaying a picture in a virtual scene provided by an exemplary embodiment of the present disclosure.
[0070] A method for displaying a screen in a virtual scene, providing a graphical user interface through a terminal device, displaying an interactive control and a first game screen formed by at least part of the virtual scene on 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 an operation position corresponding to the first trigger operation.
[0072] In some exemplary embodiments, the first trigger operation may be a single click, a double click, a long press, a hard press, or a slide, etc. For example, for a long press, the duration that the user needs to maintain the long press may be set accordingly according to specific implementation needs, such as 1 second, 2 seconds, etc.; and for a single click, a double click, or a hard press, the specific parameters such as the duration of action, the operation interval, and the pressing force may be set accordingly according to the specific hardware and software parameters of the client device to which the method of this embodiment is applied, and the above specific settings are not specifically limited in this embodiment.
[0073] In specific implementation, the first trigger operation may also be any feasible trigger operation other than the aforementioned examples, which is simple and different from the trigger operation in the prior art.
[0074] Step S220: In response to the operation position at least partially overlapping with the interaction control, a projection window is displayed on the first game screen, and a second game screen determined from the first game screen and occluded by the interaction control is displayed in the projection window.
[0075] In specific implementation, the second game screen changes with the change of the operation position. Specifically:
[0076] In some exemplary embodiments, the method further includes:
[0077] In response to the operation position remaining at least partially overlapping with the interaction 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 interaction control, it is determined whether the operation position at least partially overlaps with the interaction control. Specifically:
[0079] In some exemplary embodiments, the response to the operation position at least partially overlapping with the interaction control includes:
[0080] In response to the operation position at least partially overlapping with the display area of the interaction control.
[0081] In specific implementation, the present disclosure provides the following multiple ways to determine the second game screen. Specifically:
[0082] In some exemplary embodiments, the displaying in the projection window the second game screen determined from the first game screen and occluded by the interaction control includes:
[0083] Cut out the part of the first game screen that is occluded by the interaction control at the operation position to obtain the second game screen;
[0084] Display the second game screen in the projection window.
[0085] In specific implementation, the first game screen is formed by at least part of the virtual scene and does not include the interaction control. Therefore, by cutting the first game screen, a second game screen that is not occluded by the interaction control can be obtained.
[0086] In some exemplary embodiments, the displaying in the projection window the second game screen determined from the first game screen and occluded by the interaction control includes:
[0087] Configure a virtual camera at the operation position, and based on the virtual camera, photograph the virtual scene to obtain the second game screen;
[0088] The second game screen is displayed in the projection window.
[0089] During specific implementation, the virtual camera takes the operation position as a shooting center and shoots the virtual scene within a specified shooting range to obtain the second game screen.
[0090] In a specific implementation, the designated shooting range may be determined based on a preset size, or may be determined based on the size of the interactive control that blocks the first game screen. The designated shooting range may be the same as or slightly larger than the size of the interactive control.
[0091] In some exemplary embodiments, displaying in the projection window a second game screen determined from the first game screen and blocked by the interactive control includes:
[0092] Displaying a viewfinder control at the operation position, acquiring a picture of the virtual scene within the range of the viewfinder control, and obtaining the second game picture;
[0093] The second game screen is displayed in the projection window.
[0094] In a specific implementation, the size of the framing control may be determined based on a preset size, or may be determined based on the size of the interactive control that blocks the first game screen. The size of the framing control may be the same as or slightly larger than the size of the interactive control.
[0095] As an example, see Figure 4 , wherein a graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface 101.
[0096] Take the interactive control 102 as a chat control as an example for description. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0097] Taking the virtual object 103 as an example of a controlled virtual object, it should be noted that the virtual object 103 in the virtual scene blocked by the interactive control 102 can also be a resource base and virtual resources.
[0098] The following is an example in which the interactive control 102 is a chat control and the virtual object 103 in the blocked virtual scene is a controlled virtual object:
[0099] Interactive controls 102, such as chat controls, are usually displayed at an upper layer of the graphical user interface 101, such as Figure 4As shown, the interactive control 102, such as the chat control, may block the virtual object 103, such as the controlled virtual object, in the graphical user interface. When the user wants to interact with the virtual object 103, such as the controlled virtual object, which is blocked by the interactive control 102, such as the chat control, the interaction is usually not achieved, and the interactive control 102, such as the chat control, may be easily touched by mistake.
[0100] In response to a first trigger operation applied to the graphical user interface 101 , determining an operation position 104 corresponding to the first trigger operation;
[0101] In response to the operation position 104 at least partially overlapping 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] Displaying the viewfinder control 105 at the operation position 104, acquiring the picture of the virtual scene within the range of the viewfinder control 105, recorded as the original picture 1051, and processing the original picture 1051 to obtain the second game picture 1061;
[0103] The second game screen 1061 is displayed in the projection window 106, such as Figure 4 As shown, a projection 1062 of the virtual object 103 blocked 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, the present disclosure provides a variety of ways to determine the second game screen. The following will introduce the way in which the second game screen changes with the change of the operation position in each way, specifically:
[0105] In some exemplary embodiments, the method further comprises:
[0106] In response to the change in the operation position, a portion of the first game screen where the operation position after the change is blocked by the interactive control is cut 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 comprises:
[0109] In response to a change in the operation position, the virtual camera is moved to the changed operation position, and the virtual scene is photographed 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 comprises:
[0112] In response to the change of the operation position, the viewfinder control is moved to the changed operation position, and the picture of the virtual scene within the range of the viewfinder control is acquired to obtain the second game picture;
[0113] The second game screen is displayed in the projection window.
[0114] As an example, see Figure 5 , wherein a graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface 101.
[0115] Take the interactive control 102 as a chat control as an example for description. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0116] Taking the virtual object 103 as an example of a controlled virtual object, it should be noted that the virtual object 103 in the virtual scene blocked by the interactive control 102 can also be a resource base and virtual resources.
[0117] The following is an example in which the interactive control 102 is a chat control and the virtual object 103 in the blocked virtual scene is a controlled virtual object:
[0118] In the above exemplary embodiment, since the range of the viewfinder control 105 only includes the part of the virtual object 103 blocked 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 control 105 is moved downward until the range of the viewfinder control 105 includes the entire virtual object 103 blocked by the interactive control 102, in this case, the projection 1062 of the virtual object 103 in the second game screen 1061 is also complete, which is convenient for users to interact with it.
[0119] In the above exemplary embodiments, a method of projecting the area blocked by the interactive control to other areas is introduced, so that interaction with the area blocked by the interactive control can be achieved. Specifically:
[0120] In some exemplary embodiments, the method further comprises:
[0121] In response to an interactive operation on a projection of a target virtual object in the virtual scene in the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
[0122] During specific implementation, the interactive operation on the projection of the target virtual object acts on the target virtual object itself.
[0123] In some exemplary embodiments, the method further comprises:
[0124] In response to the first trigger operation being completed, the projection window is undisplayed on the first game screen.
[0125] In some exemplary embodiments, the method further comprises:
[0126] Displaying a mobile sub-control on the projection window;
[0127] In response to a trigger operation on the mobile sub-control, a position of the projection window on the first game screen is adjusted based on the trigger operation.
[0128] As an example, see Figure 6 , wherein a graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface 101.
[0129] Take the interactive control 102 as a chat control as an example for description. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0130] Taking the virtual object 103 as an example of a controlled virtual object, it should be noted that the virtual object 103 in the virtual scene blocked by the interactive control 102 can also be a resource base and virtual resources.
[0131] The following is an example in which the interactive control 102 is a chat control and the virtual object 103 in the blocked virtual scene is a controlled virtual object:
[0132] In response to a first trigger operation applied to the graphical user interface 101 , determining an operation position 104 corresponding to the first trigger operation;
[0133] In response to the operation position 104 at least partially overlapping 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] Displaying the viewfinder control 105 at the operation position 104, acquiring the picture of the virtual scene within the range of the viewfinder control 105, recorded as the original picture 1051, and processing the original picture 1051 to obtain the second game picture 1061;
[0135] The second game screen 1061 is displayed in the projection window 106, such as Figure 6 As shown, a projection 1062 of the virtual object 103 blocked by the interactive control 102 is displayed in the second game screen 1061, and the user can interact with it.
[0136] Displaying a mobile sub-control 1063 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 comprises:
[0139] Displaying a fixed sub-control 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, and in response to the first trigger operation ending, the projection window is not cancelled from the first game screen.
[0141] As an example, see Figure 7 , wherein a graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface 101.
[0142] Take the interactive control 102 as a chat control as an example for description. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0143] Taking the virtual object 103 as an example of a controlled virtual object, it should be noted that the virtual object 103 in the virtual scene blocked by the interactive control 102 can also be a resource base and virtual resources.
[0144] The following is an example in which the interactive control 102 is a chat control and the virtual object 103 in the blocked virtual scene is a controlled virtual object:
[0145] In response to a first trigger operation applied to the graphical user interface 101 , determining an operation position 104 corresponding to the first trigger operation;
[0146] In response to the operation position 104 at least partially overlapping 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] Displaying the viewfinder control 105 at the operation position 104, acquiring the picture of the virtual scene within the range of the viewfinder control 105, recorded as the original picture 1051, and processing the original picture 1051 to obtain the second game picture 1061;
[0148] The second game screen 1061 is displayed in the projection window 106, such as Figure 4 As shown, a projection 1062 of the virtual object 103 blocked by the interactive control 102 is displayed in the second game screen 1061, and the user can interact with it.
[0149] Displaying a fixed sub-control 1064 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, and in response to the first trigger operation ending, the projection window 106 is not cancelled from the first game screen.
[0151] In some exemplary embodiments, the method further comprises:
[0152] Displaying a zoom subcontrol on the projection window;
[0153] In response to a trigger operation on the zoom subcontrol, adjusting a size of the projection window based on the trigger operation;
[0154] The size of the viewfinder control is adjusted based on the size of the projection window.
[0155] As an example, see Figure 8 , wherein a graphical user interface 101 is provided by a terminal device, and an interactive control 102 and at least a part of a virtual scene are displayed on the graphical user interface 101.
[0156] Take the interactive control 102 as a chat control as an example for description. When the interactive control 102 is a chat control, it includes an input control 1021 and chat information 1022.
[0157] Taking the virtual object 103 as an example of a controlled virtual object, it should be noted that the virtual object 103 in the virtual scene blocked by the interactive control 102 can also be a resource base and virtual resources.
[0158] The following is an example in which the interactive control 102 is a chat control and the virtual object 103 in the blocked virtual scene is a controlled virtual object:
[0159] In response to a first trigger operation applied to the graphical user interface 101 , determining an operation position 104 corresponding to the first trigger operation;
[0160] In response to the operation position 104 at least partially overlapping 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] Displaying the viewfinder control 105 at the operation position 104, acquiring the picture of the virtual scene within the range of the viewfinder control 105, recorded as the original picture 1051, and processing the original picture 1051 to obtain the second game picture 1061;
[0162] The second game screen 1061 is displayed in the projection window 106, such as Figure 4 As shown, a projection 1062 of the virtual object 103 blocked by the interactive control 102 is displayed in the second game screen 1061, and the user can interact with it.
[0163] Displaying a zoom subcontrol 1065 on the projection window 106;
[0164] In response to a trigger operation on the zoom subcontrol 1065, adjusting the size of the projection window 106 based on the trigger operation;
[0165] The size of the viewfinder control 105 is adjusted based on the size of the projection window 106 .
[0166] From the above, it can be seen that the screen display method in the virtual scene provided by the embodiment of the present disclosure provides a graphical user interface through a terminal device, and displays interactive controls and a first game screen formed by at least part of the virtual scene on 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; in response to the operation position at least partially overlapping with the interactive control, displaying a projection window on the first game screen, and displaying a second game screen determined from the first game screen and blocked by the interactive control in the projection window.
[0167] Through the present disclosure, the area blocked by the interactive control is projected to other areas, thereby realizing the interaction with the area blocked by the interactive control.
[0168] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0169] It should be noted that the above describes some embodiments of the present 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 an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. 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-mentioned embodiment methods, the present disclosure also provides a screen display device in a virtual scene.
[0171] refer to Fig. 9 , which is a structural schematic diagram of a picture 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 through a terminal device, and displays interactive controls and a first game screen formed by at least part of the virtual scene on the graphical user interface, wherein the device includes 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 an 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 overlapping 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 operating 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] Cut out the portion of the first game screen where the operation position is blocked by the interactive control 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] Disposing a virtual camera at the operation position, and photographing the virtual scene based on 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, a portion of the first game screen where the operation position after the change is blocked by the interactive control is cut 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 operation position, the virtual camera is moved to the changed operation position, and the virtual scene is photographed 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] Displaying a viewfinder control at the operation position, acquiring a picture of the virtual scene within the range of the viewfinder control, and obtaining the second game picture;
[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 of the operation position, the viewfinder control is moved to the changed operation position, and the picture of the virtual scene within the range of the viewfinder control is acquired to obtain the second game picture;
[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 a projection of a target virtual object in the virtual scene in 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 first trigger operation being completed, the projection window is undisplayed on the first game screen.
[0201] In some exemplary embodiments, the projection module 920 is configured to:
[0202] Displaying a mobile sub-control on the projection window;
[0203] In response to a trigger operation on the mobile sub-control, a 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] Displaying a fixed sub-control 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, and in response to the first trigger operation ending, the projection window is not cancelled from the first game screen.
[0207] In some exemplary embodiments, the projection module 920 is configured to:
[0208] Displaying a zoom subcontrol on the projection window;
[0209] In response to a trigger operation on the zoom subcontrol, adjusting a size of the projection window based on the trigger operation;
[0210] The size of the viewfinder control is adjusted based on the size of the projection window.
[0211] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0212] The device of the above embodiment is used to implement the image display method in the corresponding virtual scene in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0213] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present 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 when the processor executes the program, the screen display method in the virtual scene described in any of the above embodiments is implemented.
[0214] Fig.10 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0215] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an 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 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0217] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0218] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0219] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0220] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0221] The electronic device of the above embodiment is used to implement the image display method in the corresponding virtual scene in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, 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, so that the processor 1010 executes the following instructions when running:
[0223] In response to a first trigger operation applied to the graphical user interface, determining an operation position corresponding to the first trigger operation;
[0224] In response to the operation position at least partially overlapping 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 blocked by the interactive control is displayed in the projection window.
[0225] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[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 a possible implementation, in the instructions executed by the processor 1010, the response to the operation position at least partially overlapping with the interactive control includes:
[0228] In response to the operating position at least partially overlapping with the display area of the interactive control.
[0229] In a possible implementation, among the instructions executed by the processor 1010, the displaying, in the projection window, of the second game screen determined from the first game screen and blocked by the interaction control includes:
[0230] Cut out the part of the first game screen blocked by the interaction control at the operation position to obtain the second game screen;
[0231] Display the second game screen in the projection window.
[0232] In a possible implementation, among the instructions executed by the processor 1010, the displaying, in the projection window, of the second game screen determined from the first game screen and blocked by the interaction control includes:
[0233] Configure a virtual camera at the operation position, and capture the virtual scene based on the virtual camera to obtain the second game screen;
[0234] Display the second game screen in the projection window.
[0235] In a possible implementation, among the instructions executed by the processor 1010, the method further includes:
[0236] In response to a change in the operation position, cut out the part of the transformed operation position in the first game screen blocked by the interaction control to obtain the second game screen;
[0237] Display the second game screen in the projection window.
[0238] In a possible implementation, among the instructions executed by the processor 1010, the method further includes:
[0239] In response to a change in the operation position, move the virtual camera to the changed operation position, and capture the virtual scene based on the virtual camera to obtain the second game screen;
[0240] Display the second game screen in the projection window.
[0241] In a possible implementation, among the instructions executed by the processor 1010, the displaying, in the projection window, of the second game screen determined from the first game screen and blocked by the interaction control includes:
[0242] Display a viewfinder control at the operation position, and obtain the screen of the virtual scene within the range of the viewfinder control to obtain the second game screen;
[0243] Display the second game screen in the projection window.
[0244] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0245] In response to the change of the operation position, the viewfinder control is moved to the changed operation position, and the picture of the virtual scene within the range of the viewfinder control is acquired to obtain the second game picture;
[0246] The second game screen is displayed in the projection window.
[0247] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0248] In response to an interactive operation on a projection of a target virtual object in the virtual scene in the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
[0249] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0250] In response to the first trigger operation being completed, the projection window is undisplayed on the first game screen.
[0251] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0252] Displaying a mobile sub-control on the projection window;
[0253] In response to a trigger operation on the mobile sub-control, a position of the projection window on the first game screen is adjusted based on the trigger operation.
[0254] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0255] Displaying a fixed sub-control 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, and in response to the end of the first trigger operation, the projection window is not cancelled from the first game screen.
[0257] In a possible implementation manner, in the instruction executed by the processor 1010, the method further includes:
[0258] Displaying a zoom subcontrol on the projection window;
[0259] In response to a trigger operation on the zoom subcontrol, adjusting a size of the projection window based on the trigger operation;
[0260] The size of the viewfinder control is adjusted based on the size of the projection window.
[0261] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the screen display method in the virtual scene 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, modules of programs, 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 technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0263] The above-mentioned non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0264] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the image display method in the virtual scene described in any embodiment in the above exemplary method part, and have the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0265] Based on the same inventive concept, corresponding to the method for displaying a picture in a virtual scene described in any of the above embodiments, the present 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 so that the computer and / or the processor execute the method for displaying a picture in the virtual scene. Corresponding to the execution subject of each step in each embodiment of the method for displaying a picture in the virtual scene, the processor for executing the corresponding step can belong to the corresponding execution subject.
[0266] The computer program product of the above embodiment is used to make the computer and / or the processor execute the method for displaying a picture in a virtual scene described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0267] Those skilled in the art know that the embodiments of the present disclosure can be implemented as a system, a method or a computer program product. Therefore, the present disclosure can be specifically implemented in the following forms: completely hardware, completely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to as "circuit", "module" or "system" in this article. In addition, in some embodiments, the present disclosure can also be implemented in the form of a computer program product in one or more computer-readable media, which contain computer-readable program codes.
[0268] Any combination of one or more computer-readable media can be adopted. The computer-readable media can be computer-readable signal media or computer-readable storage media. The computer-readable storage media can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive examples) of the computer-readable storage media can include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage media can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, device or component.
[0269] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0270] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0271] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0272] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the 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, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified in the boxes in 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 device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0274] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0275] In addition, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0276] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0277] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being 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 illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0279] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0280] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, 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 use the embodiments discussed.
[0281] The embodiments of the present 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 the present application should be included in the scope of protection of the present application.
[0282] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.
Claims
1. A method for displaying a picture in a virtual scene, characterized in that: Providing a graphical user interface through a terminal device, displaying an interactive control and a first game screen formed by at least a portion of a virtual scene on the graphical user interface, the method comprising: In response to a first trigger operation applied to the graphical user interface, determining an operation position corresponding to the first trigger operation; In response to the operation position at least partially overlapping 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 blocked by the interactive control is displayed in the projection window.
2. The method according to claim 1, characterized in that: The method further comprises: 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 In response to the operation position at least partially coinciding with the interactive control, the method comprises: In response to the operating position at least partially overlapping with the display area of the interactive control.
4. The method according to claim 1, characterized in that: The step of displaying in the projection window a second game screen determined from the first game screen and blocked by the interactive control comprises: Cut out the portion of the first game screen where the operation position is blocked by the interactive control 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 The step of displaying in the projection window the second game screen determined from the first game screen and blocked by the interactive control comprises: Disposing a virtual camera at the operation position, and photographing the virtual scene based on 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 comprises: In response to the change in the operation position, a portion of the first game screen where the operation position after the change is blocked by the interactive control is cut 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 comprises: In response to a change in the operation position, the virtual camera is moved to the changed operation position, and the virtual scene is photographed 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 1, characterized in that: The step of displaying in the projection window the second game screen determined from the first game screen and blocked by the interactive control comprises: Displaying a viewfinder control at the operation position, acquiring a picture of the virtual scene within the range of the viewfinder control, and obtaining the second game picture; The second game screen is displayed in the projection window.
9. The method according to claim 8, characterized in that The method further comprises: In response to the change of the operation position, the viewfinder control is moved to the changed operation position, and the picture of the virtual scene within the range of the viewfinder control is acquired to obtain the second game picture; The second game screen is displayed in the projection window.
10. The method according to claim 1, characterized in that The method further comprises: In response to an interactive operation on a projection of a target virtual object in the virtual scene in the second game screen, the interactive operation is performed on the target virtual object in the virtual scene.
11. The method according to claim 1, characterized in that The method further comprises: In response to the first trigger operation being completed, the projection window is undisplayed on the first game screen.
12. The method according to claim 1, characterized in that The method further comprises: Displaying a mobile sub-control on the projection window; In response to a trigger operation on the mobile sub-control, a position of the projection window on the first game screen is adjusted based on the trigger operation.
13. The method according to claim 1, characterized in that The method further comprises: Displaying a fixed sub-control 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, and in response to the first trigger operation ending, the projection window is not cancelled from the first game screen.
14. The method according to claim 8, characterized in that The method further comprises: Displaying a zoom subcontrol on the projection window; In response to a trigger operation on the zoom subcontrol, adjusting a size of the projection window based on the trigger operation; The size of the viewfinder control is adjusted based on the size of the projection window.
15. A device for displaying a picture in a virtual scene, characterized in that: A graphical user interface is provided through a terminal device, and an interactive control and a first game screen formed by at least a part of a virtual scene are displayed on the graphical user interface, wherein the apparatus comprises: a framing position determination module, configured to respond to a first trigger operation applied to the graphical user interface and determine an operation position corresponding to the first trigger operation; The projection module is configured to display a projection window on the first game screen in response to the operation position at least partially overlapping with the interactive control, and to display a second game screen determined from the first game screen and blocked by the interactive control in the projection window.
16. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 14 is implemented.
17. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method of any one of claims 1 to 14.
18. A computer program product, characterized in that The method comprises computer program instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Control adjusting method and device and electronic equipment
CN119025196A
Display of occluded display elements on a computer display
US6760048B1