Picture display method and device, electronic equipment and storage medium
By setting up target items in multiplayer online tactical battle games and displaying their field of vision on a second electronic device, the problem of users frequently switching between viewing options is solved, resulting in richer game information acquisition and an improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2022-12-27
- Publication Date
- 2026-06-16
AI Technical Summary
In multiplayer online tactical battle royale games, once a user leaves a certain distance from a ward placement point, they can only view the scene within the ward's field of vision via the minimap, leading to frequent switching and impacting the gaming experience.
By setting a target item on the first electronic device and displaying a screen with a preset range centered on the target item on the second electronic device, the user's field of vision is increased, allowing observation of the enemy character's game movements, and the screen content is adjusted according to changes in posture and speed.
It enhances the user's gaming experience by allowing them to observe enemy movements even after they have gone beyond the target item's range using a second electronic device. This reduces the need for frequent switching and increases the fun and controllability of the interaction.
Smart Images

Figure CN116115996B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more specifically, to a screen display method, apparatus, electronic device, and storage medium. Background Technology
[0002] "Warding" is a term in Multiplayer Online Battle Arena (MOBA) games. It refers to a user placing a "ward" item at a point on the virtual map. Through the "ward," the user can observe scene content outside their own character's field of vision and can also help the user observe the movements of enemy characters.
[0003] Normally, once a user moves a certain distance away from the ward placement point, they can only view the scene within the ward's field of vision through the minimap in the game interface. This forces users to frequently switch between the minimap and the game interface, thus affecting their gaming experience. Summary of the Invention
[0004] This disclosure provides at least one screen display method, apparatus, electronic device, and storage medium, which helps to improve the user's gaming experience.
[0005] This disclosure provides a screen display method, including:
[0006] A first target screen is displayed via a first electronic device; the first target screen includes a virtual scene and target prop controls displayed on the virtual scene, the virtual scene including at least one virtual object;
[0007] In response to a trigger operation received by the first electronic device for the target prop control, a target location is determined in the virtual scene, and a target prop is set at the target location; the target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene;
[0008] The second electronic device displays a second target image within a second preset range centered on the target prop.
[0009] In this embodiment of the disclosure, by displaying a second target screen with a second preset range centered on the target item on the second electronic device, the user's field of vision can be increased. That is, even if the user character leaves the target item and exceeds a certain range, the user can still observe the enemy character's game movements through the screen displayed on the second electronic device, which makes it easier for the user to obtain more game battle information and improves the user's game experience.
[0010] In an optional implementation, after the second electronic device displays a second target image with a second preset range centered on the target prop, the method further includes:
[0011] In response to the appearance of a target virtual object within the field of view corresponding to the target prop, the second electronic device generates a prompt message.
[0012] In this embodiment of the present disclosure, if a target virtual object appears within the field of vision corresponding to the target prop, the second electronic device generates a prompt message. In this way, the user can be given an intuitive prompt, and the user can accurately know the game movement of the target virtual object based on the prompt message, thereby improving the user's game experience.
[0013] In an optional implementation, after the second electronic device displays a second target image with a second preset range centered on the target prop, the method further includes:
[0014] Obtain the attitude information of the second electronic device;
[0015] In response to the posture information meeting preset conditions, the current display content in the display screen of the second electronic device is adjusted based on the posture information, so as to move at least part of the screen content that does not belong to the field of view corresponding to the target prop into the display screen of the second electronic device, while moving part of the screen content in the field of view corresponding to the target prop out of the display screen of the second electronic device.
[0016] In this embodiment of the disclosure, based on the posture information of the second electronic device, the current display content of the second electronic device is adjusted. Specifically, at least some of the screen content that does not belong to the field of view corresponding to the target prop is moved into the display screen, while some of the screen content in the field of view corresponding to the target prop is moved out of the display screen. In this way, the user can observe other content beyond the range corresponding to the current display content by tilting the second electronic device, so that the user can obtain richer screen content.
[0017] In one optional implementation, the attitude information includes a pitch angle; the step of adjusting the current display content in the display screen of the second electronic device based on the attitude information in response to the attitude information meeting preset conditions includes:
[0018] If the pitch angle is greater than a preset angle, the portion of the screen content corresponding to the field of view of the target prop is moved out of the display screen of the second electronic device along a direction associated with the pitch angle.
[0019] In this embodiment of the disclosure, if the pitch angle is greater than a preset angle, the portion of the screen content corresponding to the field of view of the target prop is moved out of the display screen along the direction associated with the pitch angle. In this way, when the user tilts the second device, the user can experience the interaction process with the second electronic device, thereby improving the user's operating experience.
[0020] In one optional implementation, the method further includes:
[0021] In response to the disappearance of the current target item, a portion of the content of the first target screen from the first electronic device is displayed on the second electronic device; or...
[0022] In response to the disappearance of the current target prop, the content of the screen currently displayed in the second electronic device is kept unchanged.
[0023] In this embodiment of the disclosure, if the current target prop disappears, a portion of the content of the first target screen can be displayed on the second electronic device, or the content of the screen currently displayed on the second electronic device can be controlled to remain unchanged. In this way, the selectivity of the display screen of the second electronic device can be improved.
[0024] In one optional implementation, the target props are multiple, and the method further includes:
[0025] Obtain the rate of change of speed of the second electronic device;
[0026] In response to the speed change rate being greater than a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0027] In this embodiment of the disclosure, if the rate of change of the speed of the second electronic device is greater than a preset threshold, for example, if the user shakes the second electronic device quickly, the second electronic device can switch the display content corresponding to other target props, which helps to enhance the fun of the interaction.
[0028] In one optional implementation, in response to the rate of change of speed exceeding a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props, including:
[0029] In response to the rate of change of speed being greater than the preset threshold, the direction of movement of the second electronic device is obtained;
[0030] Based on the movement direction and the relationship between the preset switching method and the preset movement direction, a switching method matching the movement direction is determined; the switching method indicates the switching order between the screen content within the field of view corresponding to the multiple target props respectively;
[0031] Based on the switching method, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0032] In this embodiment of the disclosure, a switching method matching the movement direction is determined based on the movement direction of the second electronic device and a preset switching method, thereby ensuring the regularity and controllability of the switching.
[0033] In one optional implementation, the switching order between the screen content within the field of view corresponding to the plurality of target props is determined by the placement time of the plurality of target props.
[0034] In this embodiment, the switching order is determined by the placement time of multiple target props. This links the switching order to the placement time of the target props, which helps to further enhance the regularity and interest of the screen content switching.
[0035] This disclosure also provides a screen display device, including:
[0036] A first display module is configured to display a first target screen via a first electronic device; the first target screen includes a virtual scene and target prop controls displayed on the virtual scene, wherein the virtual scene includes at least one virtual object;
[0037] The prop setting module is used to respond to a trigger operation received by the first electronic device for the target prop control, determine a target location in the virtual scene, and set a target prop at the target location; the target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene;
[0038] The second display module is used to display a second target image with the target prop at a second preset range on the second electronic device.
[0039] In one optional embodiment, the device further includes an information generation module, the information generation module being used for:
[0040] In response to the appearance of a target virtual object within the field of view corresponding to the target prop, the second electronic device generates a prompt message.
[0041] In one optional embodiment, the device further includes a content adjustment module, the content adjustment module being used for:
[0042] Obtain the attitude information of the second electronic device;
[0043] In response to the posture information meeting preset conditions, the current display content in the display screen of the second electronic device is adjusted based on the posture information, so as to move at least part of the screen content that does not belong to the field of view corresponding to the target prop into the display screen of the second electronic device, while moving part of the screen content in the field of view corresponding to the target prop out of the display screen of the second electronic device.
[0044] In one optional implementation, the content adjustment module is specifically used for:
[0045] If the pitch angle is greater than a preset angle, the portion of the screen content corresponding to the field of view of the target prop is moved out of the display screen of the second electronic device along a direction associated with the pitch angle.
[0046] In one optional implementation, the target items are multiple, and the content adjustment module is further configured to:
[0047] In response to the disappearance of the current target item, a portion of the first target screen content from the first electronic device is displayed on the second electronic device; or...
[0048] In response to the disappearance of the current target prop, the content of the screen currently displayed in the second electronic device is kept unchanged.
[0049] In one optional implementation, the content adjustment module is further configured to:
[0050] Obtain the rate of change of speed of the second electronic device;
[0051] In response to the speed change rate being greater than a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0052] In one optional implementation, the content adjustment module is specifically used for:
[0053] In response to the rate of change of speed being greater than the preset threshold, the direction of movement of the second electronic device is obtained;
[0054] Based on the movement direction and the relationship between the preset switching method and the preset movement direction, a switching method matching the movement direction is determined; the switching method indicates the switching order between the screen content within the field of view corresponding to the multiple target props respectively;
[0055] Based on the switching method, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0056] In one optional implementation, the switching order between the screen content within the field of view corresponding to the plurality of target props is determined by the placement time of the plurality of target props.
[0057] This disclosure also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the screen display method described in any of the above possible embodiments are performed.
[0058] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the screen display method described in any of the possible embodiments above.
[0059] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0060] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.
[0061] Figure 1 A flowchart illustrating a screen display method provided in some embodiments of this disclosure is shown;
[0062] Figure 2 A schematic diagram of a first target screen provided by some embodiments of this disclosure is shown;
[0063] Figure 3 A schematic diagram of a target prop provided in some embodiments of this disclosure is shown;
[0064] Figure 4 A flowchart is shown illustrating another screen display method provided by some embodiments of this disclosure;
[0065] Figure 5(a) shows a schematic diagram of a second target screen provided in some embodiments of this disclosure;
[0066] Figure 5(b) shows a schematic diagram of adjusting the second target image based on downward attitude information provided in some embodiments of the present disclosure;
[0067] Figure 5(c) shows a schematic diagram of adjusting the second target screen based on upward posture information provided in some embodiments of this disclosure;
[0068] Figure 5(d) shows a schematic diagram of adjusting the second target screen based on leftward posture information provided in some embodiments of this disclosure;
[0069] Figure 5(e) shows a schematic diagram of adjusting the second target screen based on rightward posture information provided in some embodiments of this disclosure;
[0070] Figure 6 A schematic diagram of a screen display device provided in some embodiments of the present disclosure is shown;
[0071] Figure 7 A schematic diagram of another screen display device provided by some embodiments of the present disclosure is shown;
[0072] Figure 8 A schematic diagram of an electronic device provided in some embodiments of the present disclosure is shown. Detailed Implementation
[0073] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0074] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0075] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0076] Multiplayer Online Battle Arena (MOBA), also known as Action Real-Time Strategy (ARTS), uses the term "warding" to refer to the act of placing a "ward" item at a point on the virtual map. This allows players to observe scenes outside their own character's field of vision and helps them monitor enemy movements.
[0077] Normally, once a user moves a certain distance away from the ward placement point, they can only view the scene within the ward's field of vision through the minimap in the game interface. This forces users to frequently switch between the minimap and the game interface, thus affecting their gaming experience.
[0078] Based on the above research, this disclosure provides a screen display method, apparatus, device, and storage medium. The screen display method can display a first target screen through a first electronic device. The first target screen includes a virtual scene and a target prop control displayed on the virtual scene. The virtual scene includes at least one virtual object. Then, in response to a trigger operation received by the first electronic device for the target prop control, a target position is determined in the virtual scene, and a target prop is set at the target position. The target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene. Subsequently, a second target screen with a second preset range centered on the target prop is displayed on a second electronic device.
[0079] In this embodiment of the disclosure, by displaying a second target screen with a second preset range centered on the target item on the second electronic device, the user's field of vision can be increased. That is, even if the user character leaves the target item and exceeds a certain range, the user can still observe the enemy character's game movements through the screen displayed on the second electronic device, which makes it easier for the user to obtain more game battle information and improves the user's game experience.
[0080] To facilitate understanding of this embodiment, a screen display method disclosed in this disclosure will first be described in detail. The execution subject of the screen display method provided in this disclosure is generally an electronic device with a certain computing power. This electronic device may include, for example, a terminal device or other processing device. The terminal device may be a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, wearable device, etc. In some possible implementations, the screen display method can be implemented by a processor calling computer-readable instructions stored in memory.
[0081] In other embodiments, the electronic device can also be a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, big data, and artificial intelligence platforms. In some embodiments, the method can also be applied to an implementation environment consisting of a terminal and a server. The above-described screen display method is described below with the terminal device as the executing entity.
[0082] See Figure 1 The diagram shows a flowchart of a screen display method provided in some embodiments of this disclosure. The method includes steps S101 to S103, wherein:
[0083] S101, a first target screen is displayed through a first electronic device; the first target screen includes a virtual scene and a target prop control displayed on the virtual scene, the virtual scene including at least one virtual object.
[0084] The first electronic device may be a smartphone, desktop computer, laptop computer, or tablet computer, etc., and there is no limitation on it.
[0085] For example, please see Figure 2This is a schematic diagram of a first target screen provided in some embodiments of this disclosure. In this embodiment, the first target screen can be a game screen of a game application. Optionally, the virtual scene can be a simulation environment of the real world, a semi-simulated virtual environment, or a purely virtual environment. The virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. In addition, the virtual scene can be any of two-dimensional (2D) virtual scenes and three-dimensional (3D) virtual scenes. For example, for 2D or 3D multiplayer online battle arena (MOBA) games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. For example, the virtual scene can include elements such as canyon-style mountains, routes, rivers, dungeons, and instances.
[0086] like Figure 2 As shown, the game screen may include a virtual scene 20, which includes a first virtual object 21 and a second virtual object 22. The first virtual object 21 is a dynamic object that can be controlled by the user in the virtual scene. The second virtual object 22 can be an object controlled by other users or an NPC (non-player character), without specific limitations. In this embodiment, the first virtual object 21 and the second virtual object 22 are in an adversarial relationship, that is, the first virtual object 21 and the second virtual object 22 can attack and damage each other. In other embodiments, the first virtual object 21 and the second virtual object 22 can also be teammates, fighting together to attack a common enemy.
[0087] Optionally, the first virtual object 21 can be a virtual character, virtual animal, anime character, etc. This virtual object is a character controlled by the user through an input device. In one possible implementation, the user can control the first virtual object 21 to move within the virtual scene, for example, to run, jump, crawl, etc., and can also control the first virtual object 21 to use skills and virtual items provided by the application to fight against other virtual objects (such as the second virtual object 22).
[0088] To enable control over the first virtual object 21, the display interface also shows a normal attack control 23 and multiple skill controls 24 corresponding to the first virtual object 21. Optionally, the normal attack control 23 and multiple skill controls 24 can be displayed on the virtual scene.
[0089] The target item control refers to the control in the game screen used to place target items. The target item control can be one of the multiple skill controls 24, or it can be an independent control other than the skill controls 24. It is used to set target items in the virtual scene. In this embodiment, the target item refers to the warding item.
[0090] Optionally, the user can control the first virtual object 21 to launch an attack through the ordinary attack control 23. For example, an attack command can be triggered by a trigger operation applied to the ordinary attack control 23, and the first virtual object 21 can be controlled to perform an attack operation in a virtual scene according to the attack command. The specific attack behavior is related to the type of trigger operation, which includes, but is not limited to, single-click trigger operation, double-click trigger operation, long-press trigger operation, and swipe trigger operation.
[0091] Here, users can observe the virtual scene in the game screen through the first electronic device and operate the target prop controls displayed on the virtual scene.
[0092] S102, in response to the trigger operation received by the first electronic device for the target prop control, a target location is determined in the virtual scene, and a target prop is set at the target location; the target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene.
[0093] The target location can be determined based on the position of the user's character in the game. For example, the current position of the user's character in the virtual scene can be determined as the target location, or the user can choose any location in the virtual scene as the target location. There is no limitation here.
[0094] For example, please see Figure 3 The above is a schematic diagram of the target prop provided in some embodiments of this disclosure, such as... Figure 3 As shown, a user can perform a trigger operation (e.g., click, swipe, etc.) on a target item control (e.g., skill 3) in the first target screen of the first electronic device. In response to this trigger operation, the position of the first virtual object 21 in the virtual scene is determined, and the position of the first virtual object 21 is set as the target position. A target item (i.e., a warding item) is then placed at the target position. Thus, a target item 25 can be placed at the location of the first virtual object 21. This target item 25 can provide a first preset range centered on the target item in the virtual scene (e.g., ...). Figure 3 The view within the dotted hollow circle 26 shown in the diagram allows the user to easily observe the virtual scene within that view. For example, when an enemy character enters the view, the user can observe the enemy character's game movements.
[0095] The first preset range can be set according to actual needs. For example, it can be a range of 3 meters centered on the target prop in a virtual scene. In other embodiments, it can be other ranges.
[0096] S103, the second electronic device displays a second target image with the target prop at a second preset range.
[0097] In this embodiment, the second electronic device may be a wearable device such as a smartwatch or a smart bracelet, and the smartwatch (or bracelet) has a display function.
[0098] The second preset range can be set according to actual needs. It can be the same as the first preset range or different from the first preset range. No limitation is made here.
[0099] In this step, after setting the target prop at the target location, the second target screen with the target prop as the center can be displayed on the second electronic device. In order to help users better understand the current game environment, the second preset range can be set to be the same as the first preset range, so that the game scene within the field of view corresponding to the target prop can be observed.
[0100] Optionally, the second electronic device can also generate corresponding prompt information in response to the appearance of a target virtual object within the field of view corresponding to the target prop. The target virtual object can be an enemy virtual object, and the prompt information can be haptic information (such as vibration), sound information, text information, etc. For example, if a target virtual object appears within the field of view corresponding to the target prop, the second electronic device can vibrate to prompt the user. In this way, the user can understand the enemy's movements in time and improve the user's gaming experience.
[0101] Please see Figure 4 This is a flowchart illustrating another screen display method provided in some embodiments of this disclosure. Figure 1 The difference between the screen display methods shown is that the following steps S104 to S105 are also included:
[0102] S104, Obtain the attitude information of the second electronic device.
[0103] S105, in response to the posture information meeting the preset conditions, based on the posture information, the current display content in the display screen of the second electronic device is adjusted so as to move at least part of the screen content that does not belong to the field of view corresponding to the target prop into the display screen of the second electronic device, while moving part of the screen content in the field of view corresponding to the target prop out of the display screen of the second electronic device.
[0104] The attitude information of the second electronic device can be obtained through a gyroscope installed on the second electronic device.
[0105] The preset conditions can be set according to actual needs. For example, the preset conditions can be set by angle. For instance, the posture information meeting the preset conditions can mean that the pitch angle of the second electronic device reaches a preset angle (e.g., 15 degrees). When the pitch angle is greater than the preset angle, the part of the screen content in the field of view corresponding to the target prop is moved out of the display screen of the second electronic device along the direction associated with the pitch angle.
[0106] For example, please also see Figures 5(a) to 5(e) Figure 5(a) is a schematic diagram of the second target screen provided in some embodiments of this disclosure. Figures 5(b) to 5(e) Figure 5(a) illustrates the adjustment of the second target screen based on different posture information according to some embodiments of this disclosure. The second target screen 51 of the second electronic device 50 displays screen content within a second preset range centered on the target prop 52. The user can change the posture information of the second electronic device by tilting (e.g., tilting downwards) one side. Thus, when the posture information meets preset conditions, the second electronic device adjusts the current display content based on the posture information. Specifically, at least a portion of the screen content not belonging to the field of view corresponding to the target prop is moved into the display screen, while a portion of the screen content within the field of view corresponding to the target prop is moved out of the display screen. That is, when the second electronic device is not tilted, the center position of the target prop is also at the center point of the display screen. When one side of the second electronic device is tilted downwards, the center position of the target prop deviates upwards from the center point of the display screen (as shown in Figure 5(b)). At the same time, the content in the display screen also changes. For example, part of the content of the virtual object 53 in the virtual scene moves out of the display screen. Similarly, when one side of the second electronic device is tilted upwards, the center position of the target prop will deviate downwards from the center point of the display screen (as shown in Figure 5(c)). When one side of the second electronic device is tilted to the left, the center position of the target prop will deviate to the right from the center point of the display screen (as shown in Figure 5(d)). When one side of the second electronic device is tilted to the right, the center position of the target prop will deviate to the left from the center point of the display screen (as shown in Figure 5(e)). At this time, part of the content of the virtual object 53 moves out of the display screen from the left side of the screen.
[0107] In some implementations, the second electronic device may also respond to the disappearance of the current target item (e.g., the target item is destroyed by an enemy character) by displaying part of the first target screen content of the first electronic device. For example, the second electronic device may display screen content including the location of the user character in the virtual scene, or screen content showing the location of other characters in the same team, etc., without limitation.
[0108] In other embodiments, the second electronic device may also respond to the disappearance of the current target prop by controlling the content of its currently displayed screen to remain unchanged, that is, still displaying the content of the screen within a second preset range centered on the target prop. It should be noted that at this time, since the target prop has disappeared, the target prop cannot provide the corresponding field of view function. That is, even if the enemy character appears at the current position, the user cannot observe the enemy character through the target prop.
[0109] Optionally, users can also zoom in or out on the screen of the second electronic device by dragging or double-clicking. Specifically, users can drag with two fingers to the sides or double-click with one finger to zoom in, or drag with two fingers inward or double-click to zoom out to the original screen.
[0110] It is understandable that users often need to set target items in important locations (such as bushes) during the game to expand their field of vision. In this embodiment, when there are multiple target items, the speed change rate of the second electronic device can be obtained, and in response to the speed change rate being greater than a preset threshold, the screen content currently displayed with the target item as the center of the second preset range can be switched to screen content with other target items as the center of other preset ranges.
[0111] The preset threshold can be set according to actual needs. For example, the preset threshold can be 15 meters per second or 20 meters per second, and is not limited to any particular value.
[0112] Specifically, users can quickly shake the second electronic device to change its speed. If the rate of change of speed is greater than a preset threshold, the second electronic device will switch the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props. For example, if there are three target props, including target prop 1, target prop 2, and target prop 3, and the second electronic device is currently displaying screen content within the second preset range centered on target prop 1, then when the rate of change of speed is greater than the preset threshold, the second electronic device can display screen content within another preset range centered on target prop 2. This increases the interactive fun between the user and the second electronic device.
[0113] It should be noted that the size of other preset ranges can be the same as or different from the second preset range, and the preset ranges corresponding to different target items can also be different, which is not limited here.
[0114] Optionally, when the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on another target prop in response to the speed change rate exceeding a preset threshold, the following steps may be included:
[0115] (1) In response to the rate of change of speed being greater than the preset threshold, the moving direction of the second electronic device is obtained.
[0116] The direction of movement of the second electronic device can be the direction of movement of the second electronic device in the world coordinate system, that is, the direction of movement of the second electronic device when the user shakes the second electronic device rapidly.
[0117] (2) Based on the movement direction and the relationship between the preset switching method and the preset movement direction, determine the switching method that matches the movement direction; the switching method indicates the switching order between the screen content within the field of view corresponding to the multiple target props respectively.
[0118] Optionally, the switching order among the screen content within the field of view corresponding to each of the multiple target props is determined by the placement time of the multiple target props. For example, if the placement times of target props 1-5 are in ascending order, the switching order can be determined based on the placement time of each target prop.
[0119] In other implementations, the switching order between the screen content within the field of view corresponding to the multiple target props can be set randomly, or set according to the preset range corresponding to each target prop, etc., which is not limited here.
[0120] (3) Based on the switching method, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0121] It is understandable that different preset switching methods correspond to different preset movement directions. For example, if the current display of the second electronic device is the screen content within a second preset range centered on the target prop 3, when the user shakes the second electronic device inward (towards the user), the corresponding preset switching method could be target prop 3->target prop 4->target prop 5->target prop 1->target prop 2->target prop 3; when the user shakes the second electronic device outward (towards the user), the corresponding preset switching method could be target prop 3->target prop 2->target prop 1->target prop 5->target prop 4->target prop 3. In this way, the corresponding switching method can be determined according to the movement direction of the second electronic device, and the screen content displayed by the second electronic device can be switched based on the switching method.
[0122] In other embodiments, the preset switching method can also be to switch from the target prop with the earliest setting time. For example, regardless of which target prop is currently displayed on the target screen within the second preset range, and if the rate of change of speed within a preset time (e.g., within 1 second) meets the preset threshold, the switching will be performed from target prop 1. Alternatively, the preset switching method can be to switch from the target prop with the latest setting time (e.g., target prop 5), which is not limited here.
[0123] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0124] Based on the same inventive concept, this disclosure also provides a screen display device corresponding to the screen display method. Since the principle of the device in this disclosure for solving the problem is similar to the screen display method described above, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0125] Reference Figure 6 The diagram shown is a schematic representation of a screen display device 600 provided in some embodiments of this disclosure. The device includes:
[0126] The first display module 601 is used to display a first target screen through a first electronic device; the first target screen includes a virtual scene and target prop controls displayed on the virtual scene, the virtual scene including at least one virtual object;
[0127] The prop setting module 602 is used to respond to a trigger operation received by the first electronic device for the target prop control, determine a target location in the virtual scene, and set a target prop at the target location; the target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene;
[0128] The second display module 603 is used to display a second target image with the target prop as the center of a second preset range on the second electronic device.
[0129] Reference Figure 7 The diagram shown is a schematic of another screen display device 600 provided in some embodiments of this disclosure. The device further includes an information generation module 604, which is used for:
[0130] In response to the appearance of a target virtual object within the field of view corresponding to the target prop, the second electronic device generates a prompt message.
[0131] In an optional embodiment, the device further includes a content adjustment module 605, the content adjustment module 605 being used for:
[0132] Obtain the attitude information of the second electronic device;
[0133] In response to the posture information meeting preset conditions, the current display content in the display screen of the second electronic device is adjusted based on the posture information, so as to move at least part of the screen content that does not belong to the field of view corresponding to the target prop into the display screen of the second electronic device, while moving part of the screen content in the field of view corresponding to the target prop out of the display screen of the second electronic device.
[0134] In one optional implementation, the content adjustment module 605 is specifically used for:
[0135] If the pitch angle is greater than a preset angle, the portion of the screen content corresponding to the field of view of the target prop is moved out of the display screen of the second electronic device along a direction associated with the pitch angle.
[0136] In one optional implementation, the target props are multiple, and the content adjustment module 605 is further configured to:
[0137] In response to the disappearance of the current target item, a portion of the first target screen content from the first electronic device is displayed on the second electronic device; or...
[0138] In response to the disappearance of the current target prop, the content of the screen currently displayed in the second electronic device is kept unchanged.
[0139] In an optional implementation, the content adjustment module 605 is further configured to:
[0140] Obtain the rate of change of speed of the second electronic device;
[0141] In response to the speed change rate being greater than a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0142] In one optional implementation, the content adjustment module 605 is specifically used for:
[0143] In response to the rate of change of speed being greater than the preset threshold, the direction of movement of the second electronic device is obtained;
[0144] Based on the movement direction and the relationship between the preset switching method and the preset movement direction, a switching method matching the movement direction is determined; the switching method indicates the switching order between the screen content within the field of view corresponding to the multiple target props respectively;
[0145] Based on the switching method, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
[0146] In one optional implementation, the switching order between the screen content within the field of view corresponding to the plurality of target props is determined by the placement time of the plurality of target props.
[0147] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0148] Based on the same technical concept, this disclosure also provides an electronic device. (See also...) Figure 8 The diagram shown is a structural schematic of an electronic device 800 provided in some embodiments of this disclosure, including a processor 801, a memory 802, and a bus 803. The memory 802 is used to store execution instructions and includes a main memory 8021 and an external memory 8022. The main memory 8021, also called internal memory, is used to temporarily store computational data in the processor 801, as well as data exchanged with external memory 8022 such as a hard disk. The processor 801 exchanges data with the external memory 8022 through the main memory 8021.
[0149] In this embodiment, the memory 802 is specifically used to store application code that executes the solution of this application, and its execution is controlled by the processor 801. That is, when the electronic device 800 is running, the processor 801 communicates with the memory 802 through the bus 803, so that the processor 801 executes the application code stored in the memory 802, and then executes the method described in any of the foregoing embodiments.
[0150] The memory 802 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0151] Processor 801 may be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor.
[0152] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 800. In other embodiments of this application, the electronic device 800 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0153] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the screen display steps described in the above method embodiments. The storage medium can be either volatile or non-volatile computer-readable storage.
[0154] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the screen display steps in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0155] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0156] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0157] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0158] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0159] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0160] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A method for displaying a screen, characterized in that, The method includes: A first target screen is displayed via a first electronic device; the first target screen includes a virtual scene and target prop controls displayed on the virtual scene, the virtual scene including at least one virtual object; In response to a trigger operation received by the first electronic device for the target prop control, a target location is determined in the virtual scene, and a target prop is set at the target location; the target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene; The second electronic device displays a second target image within a second preset range centered on the target prop.
2. The method according to claim 1, characterized in that, After the second electronic device displays a second target image with a second preset range centered on the target prop, the method further includes: In response to the appearance of a target virtual object within the field of view corresponding to the target prop, the second electronic device generates a prompt message.
3. The method according to claim 1, characterized in that, After the second electronic device displays a second target image with a second preset range centered on the target prop, the method further includes: Obtain the attitude information of the second electronic device; In response to the posture information meeting preset conditions, the current display content in the display screen of the second electronic device is adjusted based on the posture information, so as to move at least part of the screen content that does not belong to the field of view corresponding to the target prop into the display screen of the second electronic device, while moving part of the screen content in the field of view corresponding to the target prop out of the display screen of the second electronic device.
4. The method according to claim 3, characterized in that, The attitude information includes a pitch angle; the step of adjusting the current display content in the display screen of the second electronic device based on the attitude information in response to the attitude information meeting preset conditions includes: If the pitch angle is greater than a preset angle, the portion of the screen content corresponding to the field of view of the target prop is moved out of the display screen of the second electronic device along a direction associated with the pitch angle.
5. The method according to claim 1, characterized in that, The method further includes: In response to the disappearance of the current target item, a portion of the first target screen content from the first electronic device is displayed on the second electronic device; or... In response to the disappearance of the current target prop, the content of the screen currently displayed in the second electronic device is kept unchanged.
6. The method according to claim 1, characterized in that, The target items are multiple, and the method further includes: Obtain the rate of change of speed of the second electronic device; In response to the speed change rate being greater than a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
7. The method according to claim 6, characterized in that, In response to the rate of change of speed exceeding a preset threshold, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props, including: In response to the rate of change of speed being greater than the preset threshold, the direction of movement of the second electronic device is obtained; Based on the movement direction and the relationship between the preset switching method and the preset movement direction, a switching method matching the movement direction is determined; the switching method indicates the switching order between the screen content within the field of view corresponding to the multiple target props respectively; Based on the switching method, the second electronic device switches the currently displayed screen content within a second preset range centered on the target prop to screen content within another preset range centered on other target props.
8. The method according to claim 7, characterized in that, The switching order of the screen content within the field of view corresponding to the multiple target props is determined by the placement time of the multiple target props.
9. A screen display device, characterized in that, include: The first display module is used to display the first target image through the first electronic device; The first target screen includes a virtual scene and target prop controls displayed on the virtual scene, wherein the virtual scene includes at least one virtual object; The prop setting module is used to respond to the trigger operation received by the first electronic device for the target prop control, determine the target location in the virtual scene, and set the target prop at the target location; The target prop is used to provide a field of view within a first preset range centered on the target prop in the virtual scene; The second display module is used to display a second target image with the target prop at a second preset range on the second electronic device.
10. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the screen display method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the screen display method as described in any one of claims 1 to 8.