Information display control method and device, terminal equipment and storage medium
By limiting the trigger range and target reference position in the virtual scene, the problem of incomplete display of the guide controls is solved, improving user experience and immersion.
Patent Information
- Application Number
- CN202510846575.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2025-08-01
AI Technical Summary
In a virtual scene, when the virtual object deviates from the center of the screen, the boot control may move out of the edge of the screen, resulting in incomplete display and affecting the user experience.
By limiting the trigger range and target reference position, determine the display position of the guide control, ensure that the guide control is displayed when operating within the preset trigger range, avoid frequent display interfering with the user experience, and avoid incomplete display when operating outside the preset trigger range.
Improves the user experience, ensures that the information of the guide control is fully displayed, reduces frequent display interference in non-essential scenes, and improves the immersion and fluency of the game or video.
Smart Images

Figure CN120393403A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game technologies, and in particular, to a method, device, terminal device, and storage medium for controlling the display of information. Background Art
[0002] In a virtual scene, there are usually a large number of virtual objects. To improve the user experience, guiding controls are often set for different objects to guide the user to further understand the object or provide interactive information for the object, etc.
[0003] In the related art, the guiding control is usually locked at the corresponding position of the virtual object by a fixed anchor point mounting method, where the position between the guiding control and the virtual object is relatively fixed.
[0004] However, when the virtual object deviates from the center position of the screen, the guiding control may move out of the outer edge of the screen accordingly, resulting in incomplete display of the guiding control and affecting the user experience. Summary of the Invention
[0005] In view of this, the embodiments of this application provide a method, device, terminal device, and storage medium for controlling the display of information to solve the problem that when the virtual object deviates from the center position of the screen, the guiding control may move out of the outer edge of the screen accordingly, resulting in incomplete display of the guiding control and affecting the user experience.
[0006] In a first aspect, the embodiments of this application provide a method for controlling the display of information. A graphical user interface is provided through a terminal device, and at least part of the virtual scene is displayed in the graphical user interface. The method includes:
[0007] Responding to a touch operation on the graphical user interface, determining a target object selected by the touch operation from the virtual scene, and obtaining the position of the touch point corresponding to the touch operation;
[0008] Judging whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point;
[0009] If the touch point is within the preset trigger range, determining a target reference position from the graphical user interface;
[0010] Determining a target reference direction of the guiding control of the target object according to the target reference position;
[0011] Displaying a guiding control for the target object in the graphical user interface according to the target reference position and the target reference direction.
[0012] Second aspect, an embodiment of the present application further provides a display control device for information. A graphical user interface is provided through a terminal device, and at least part of a virtual scene is displayed in the graphical user interface. The device includes:
[0013] A determination module, configured to respond to a touch operation on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation;
[0014] A judgment module, configured to judge whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point;
[0015] The determination module is further configured to determine a target reference position from the graphical user interface if the touch point is within the preset trigger range;
[0016] The determination module is further configured to determine a target reference direction of a guiding control for the target object according to the target reference position;
[0017] A display module, configured to display a guiding control for the target object in the graphical user interface according to the target reference position and the target reference direction.
[0018] Third aspect, an embodiment of the present application further provides a terminal device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to execute the method according to any one of the first aspect.
[0019] Fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the method according to any one of the first aspect.
[0020] The present application provides a method, apparatus, terminal device, and storage medium for display control of information. A graphical user interface is provided by the terminal device, and at least part of a virtual scene is displayed in the graphical user interface. The method includes: in response to a touch operation on the graphical user interface, determining a target object selected by the touch operation from the virtual scene, and obtaining the position of the touch point corresponding to the touch operation; determining whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point; if the touch point is within the preset trigger range, determining a target reference position from the graphical user interface, determining a target reference direction of a guiding control of the target object according to the target reference position, and displaying the guiding control in the graphical user interface according to the target reference position and the target reference direction. By defining the trigger range, frequent display and incomplete display of the guiding control are avoided, and the guiding control is displayed based on the target reference position and the target reference direction, accurately setting the display position of the guiding control, further avoiding incomplete display of the guiding control, and improving the user experience. Description of the Drawings
[0021] To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 Flow schematic of the information display control method provided by the embodiments of the present application Figure 1 ;
[0023] Figure 2 Schematic of the graphical user interface provided by the embodiments of the present application Figure 1 ;
[0024] Figure 3 Schematic of the graphical user interface provided by the embodiments of the present application Figure 2 ;
[0025] Figure 4 Flow schematic of the information display control method provided by the embodiments of the present application Figure 2 ;
[0026] Figure 5 Schematic of the graphical user interface provided by the embodiments of the present application Figure 3 ;
[0027] Figure 6 Schematic of the graphical user interface provided by the embodiments of the present application Figure 4 ;
[0028] Figure 7Schematic diagram of the graphical user interface provided by the embodiments of the present application Figure 5 ;
[0029] Figure 8 Schematic diagram of the graphical user interface provided by the embodiments of the present application Figure 6 ;
[0030] Figure 9 Schematic diagram of the graphical user interface provided by the embodiments of the present application Figure 7 ;
[0031] Figure 10 Schematic flowchart of the information display control method provided by the embodiments of the present application Figure 3 ;
[0032] Figure 11 Schematic flowchart of the information display control method provided by the embodiments of the present application Figure 4 ;
[0033] Figure 12 Schematic diagram of the graphical user interface provided by the embodiments of the present application Figure 8 ;
[0034] Figure 13 Schematic flowchart of the information display control method provided by the embodiments of the present application Figure 5 ;
[0035] Figure 14 Schematic structural diagram of the information display control device provided by the embodiments of the present application;
[0036] Figure 15 Schematic structural diagram of the terminal device provided by the embodiments of the present application. Detailed implementation manners
[0037] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part rather than all of the embodiments of the present application. Usually, the components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents the selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0038] For some virtual scenes, such as game scenes and animation scenes, some detailed introduction information, task prompts, character dialogues, etc. of the virtual object are usually displayed in the guide control of the virtual object. Among them, the guide control of the virtual object usually adopts a fixed anchor point mounting method to lock the guide control to the corresponding position of the virtual object. When the virtual object is located at the center of the screen, the guide control can be fully displayed on the screen to ensure that the user can clearly view the information content in the guide control. When the virtual object deviates from the center of the screen, due to the relatively fixed position between the guide control and the virtual object, the guide control may move out of the edge of the screen and the information content in the guide control cannot be fully displayed. For users, it not only hinders the acquisition of information, but also destroys the immersion of the game or video to a certain extent, which has an adverse impact on the user experience.
[0039] Based on this, this application limits the trigger range to ensure that the guide controls will only be displayed when the user operates within the preset trigger range, avoiding frequent display of the guide controls that interfere with the user experience. It can also avoid the guide controls appearing but not fully displayed when operating outside the preset trigger range. The guide controls are displayed based on the target reference position and target reference direction, and the display position of the guide controls is accurately set to further avoid incomplete display of the guide controls, thereby improving the user experience.
[0040] In one embodiment of the present application, the information display control method can be run on a local terminal device or a server. When the information display control method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0041] In an optional embodiment, 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 gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information display control method 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, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, 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.
[0042] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is used to present game scenes. The local terminal device is used to interact with players through a graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The ways for the local terminal device to provide the graphical user interface to players can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to players through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, and the graphical user interface includes game scenes. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0043] In a possible embodiment, an embodiment of the present invention provides a method for controlling the display of information. A graphical user interface is provided through a terminal device, where the terminal device can be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system.
[0044] Figure 1 Schematic flow of the method for controlling the display of information provided by the embodiments of this application Figure 1 In this embodiment, the execution subject can be a terminal device, such as a mobile phone, a tablet, etc. A graphical user interface is provided through the terminal device, and at least part of a virtual scene is displayed in the graphical user interface. The virtual scene can be, for example, a game scene, a video scene, etc.
[0045] As Figure 1 shown, the method can include:
[0046] S101. In response to a touch operation on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation.
[0047] The user inputs a touch operation on the graphical user interface. The touch operation can be, for example, any one of a click operation, a long-press operation, and a swipe operation. This embodiment does not make special limitations on this.
[0048] In response to the touch operation input on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation. Among them, the target object can be any one of a virtual character, a virtual animal, and a virtual building. This embodiment does not make special limitations on this. The position of the touch point corresponding to the touch operation can be the position of the touch point in the graphical user interface.
[0049] Among them, since the touch point acts on the target object, the position of the touch point is the position of the target object in the graphical user interface.
[0050] S102. Determine whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point.
[0051] Among them, the preset trigger range is a pre-set area range in the graphical user interface. Obtain the position range of the preset trigger range in the graphical user interface. If the position of the touch point is within this position range, it is determined that the touch point is within the preset trigger range. If the position of the touch point is not within this position range, it is determined that the touch point is not within the preset trigger range.
[0052] Taking the position of the touch point as (x, y) as an example, Figure 2 is a schematic diagram of the graphical user interface provided by an embodiment of the present application Figure 1 , Figure 3 is a schematic diagram of the graphical user interface provided by an embodiment of the present application Figure 2 , such as Figure 2 shown, the touch point is outside the preset trigger range, such as Figure 3 shown, the touch point is within the preset trigger range.
[0053] It should be noted that, in order to accurately control the display of the guiding control, the touch point is limited within the preset trigger range. The preset trigger range can be set according to the core interaction scenario and the user operation hot zone. For example, taking the center of the graphical user interface as a reference, a certain size is extended around as the preset trigger range. The preset trigger range can be, for example, a rectangle, a square, or a circle. This embodiment does not make special limitations on this.
[0054] Such a setting can ensure that the guiding control will appear in a timely manner when the user is performing a key operation or in an important game scenario, avoiding the frequent display of the guiding control caused by misoperation or unnecessary scene switching, which interferes with the user experience. Moreover, it can also avoid the situation where the guiding control appears but is not fully displayed when operating outside the preset trigger range.
[0055] S103. If the touch point is within the preset trigger range, determine a target reference position from the graphical user interface.
[0056] If the touch point is within the preset trigger range, determine a target reference position from the graphical user interface. Among them, the target reference position can be the position where the touch point is located, or any position within the preset range of the touch point.
[0057] S104. Determine the target reference direction of the guiding control of the target object according to the target reference position.
[0058] In a possible application scenario, the virtual scenario is a game scenario, and the target object is a virtual object in the game scenario. Then, the guiding control for the target object can be used to display guiding information for the target object. The guiding information may include, for example, detailed introduction information, task tips, character dialogues, etc. For example, if the target object is a virtual character, the guiding control is used to display the detailed introduction information of the virtual character, task tips for the virtual character (i.e., tips for the game tasks to be executed by the virtual character), and dialogue information related to the virtual character.
[0059] In another possible application scenario, the virtual scenario is an animation scenario, and the target object is a virtual object in the animation scenario. Then, the guiding control for the target object can be used to display the detailed introduction information and interaction operation information of the target object. For example, if the target object is a virtual building, the guiding control is used to display the detailed introduction information and interaction operation information of the virtual building. Among them, the interaction operation information refers to the interaction operation information of the user for the virtual building. For example, when clicking on a local area of the virtual building, an enlarged view or a 3D view of the local area is displayed.
[0060] Among them, the reference position and the reference direction have a corresponding relationship. Based on this corresponding relationship, the reference direction corresponding to the target reference direction can be determined as the target reference direction of the guiding control for the target object according to the target reference direction.
[0061] S105. Display the guiding control in the graphical user interface according to the target reference position and the target reference direction.
[0062] In an optional implementation manner, with the target reference position as the reference, along the target reference direction, the guiding control is displayed in the graphical user interface. Among them, the guiding control is located in the target reference direction with the target reference position as the reference.
[0063] For example, if the target reference position is position A and the target reference direction is the upward reference direction, the guiding control is displayed above position A. Another example is that if the target reference direction is the left reference direction, the guiding control is displayed to the left of position A.
[0064] In the information display control method provided in this embodiment, by limiting the trigger range, it is ensured that the guiding control will only be displayed when the user operates within the preset trigger range, avoiding the frequent display of the guiding control from interfering with the user experience. It also avoids the situation where the guiding control appears but is not fully displayed when operating outside the preset trigger range. And the guiding control is displayed based on the target reference position and the target reference direction, accurately setting the display position of the guiding control, further avoiding the incomplete display of the guiding control and improving the user experience.
[0065] For a game scenario, the preset trigger range can be the game's core interaction area and the player operation hot zone. By limiting the bubble trigger range and setting the display area based on the game's core interaction scenario and the player operation hot zone, the timing of the appearance of the guiding control can be precisely controlled, avoiding frequent display in non-essential scenarios, reducing interference with the player's game operation, enabling the player to focus on the core gameplay of the game, and enhancing the game's fluency and immersion.
[0066] In an alternative embodiment, step S105 above, displaying the guiding control in the graphical user interface according to the target reference position and the target reference direction, may include:
[0067] Display the guiding control in the graphical user interface starting from the target reference position along the target reference direction.
[0068] Use the target reference position as the starting point of the guiding control and display the guiding control in the graphical user interface along the target reference direction. For example, if the guiding control is a rectangle, use the target reference position as the starting point of the rectangle (such as the left vertex) to display the rectangular guiding control. Another example is that if the guiding control is a circle, use the target reference position as the starting point of the circle to display the circular guiding control.
[0069] In an alternative embodiment, the guiding control is a functional control with a guiding arrow. Use the target reference position as the hanging point of the guiding arrow in the graphical user interface and display the functional control along the target reference direction.
[0070] Among them, the functional control is used to display the guiding information of the target object. The functional control can be any one of a rectangle, a square, and a circle with a guiding arrow. This embodiment does not make special limitations in this regard. The functional control with a guiding arrow can be understood as a display bubble with a guiding arrow.
[0071] It should be noted that the target reference position can be the position of the target object in the graphical user interface. By using the target reference position as the hanging point of the guiding arrow, the relevance between the target object and the guiding information displayed by the guiding control can be ensured, facilitating the user to accurately obtain the guiding information for the target object.
[0072] See Figure 3 , the guiding control is a functional control with a guiding arrow. The functional control can be a rectangle with a guiding arrow, and the information displayed inside the functional control is indicated as "xxxxxxx".
[0073] Figure 4 This is the flowchart illustration of the information display control method provided by the embodiments of the present application Figure 2 , as Figure 4As shown, in an optional embodiment, the above step S104, determining the target reference direction of the guide control of the target object according to the target reference position, may include:
[0074] S201 : Divide the screen space of the graphical user interface into quadrants to obtain a plurality of quadrant areas.
[0075] S202: If the target reference position is in a target quadrant area among the multiple quadrant areas, determine a direction away from the target quadrant area as the target reference direction.
[0076] The screen space of the graphical user interface is the space occupied by the graphical user interface on the display screen.
[0077] The screen space is divided into quadrants based on the horizontal and vertical central axes of the screen space of the graphical user interface to obtain multiple quadrant areas. Then, the quadrant area where the target reference position is located is determined from the multiple quadrant areas as the target quadrant area, and the direction away from the target quadrant area is determined as the target reference direction. That is, based on the target reference position, the guide control is displayed along the away direction of the target quadrant area.
[0078] In an optional implementation, the multiple quadrant areas include: a left quadrant area close to the left boundary of the screen space, and a right quadrant area close to the right boundary of the screen space.
[0079] If the target reference position is in a target quadrant area among the multiple quadrant areas, determining a direction away from the target quadrant area as the target reference direction includes:
[0080] If the target quadrant area is the left quadrant area, the right reference direction is determined as the target reference direction;
[0081] If the target quadrant area is the right quadrant area, the left reference direction is determined as the target reference direction.
[0082] In another optional embodiment, the multiple quadrant areas include: an upper-middle quadrant area between the left quadrant area and the right quadrant area and close to the upper boundary of the screen space, and a lower-middle quadrant area between the left quadrant area and the right quadrant area and close to the lower boundary of the screen space.
[0083] If the target reference position is in a target quadrant area among the multiple quadrant areas, determining a direction away from the target quadrant area as the target reference direction includes:
[0084] If the target quadrant area is the upper-middle quadrant area, the downward reference direction is determined as the target reference direction;
[0085] If the target quadrant area is the middle-lower quadrant area, the upward reference direction is determined as the target reference direction.
[0086] Among them, taking the horizontal central axis and the vertical central axis of the screen space as the benchmarks, the screen space is divided into a left quadrant area close to the left boundary of the screen space, a right quadrant area close to the right boundary of the screen space, a middle-upper quadrant area between the left quadrant area and the right quadrant area and close to the upper boundary, and a middle-lower quadrant area between the left quadrant area and the right quadrant area and close to the lower boundary.
[0087] Figure 5 It is a schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 3 , such as Figure 5 shown, the width of the screen space of the graphical user interface is 1334 pixels, the height is 750 pixels, the width of the middle-upper quadrant area (filled with blue) is m pixels, the height of the middle-upper quadrant area is 750 / 2 pixels, the width of the middle-lower quadrant area (filled with purple) is m pixels, the height of the middle-lower quadrant area is 750 / 2 pixels, the width of the left quadrant area (filled with red) is (1334 - m) / 2, the height of the left quadrant area is 750 pixels, the width of the right quadrant area (filled with green) is (1334 - m) / 2, and the height of the right quadrant area is 750 pixels.
[0088] Among them, m can be any value from 0 to 1334 pixels, such as 100 pixels, and this embodiment does not make special limitations on this.
[0089] See Figure 5 , taking the center of the screen space as the benchmark, the right reference direction is the opposite direction of the direction where the left quadrant area is located, the left reference direction is the opposite direction of the direction where the right quadrant area is located, the downward reference direction is the opposite direction of the direction where the middle-upper quadrant area is located, and the upward reference direction is the opposite direction of the direction where the middle-lower quadrant area is located.
[0090] Taking the guiding control as a functional control with a guiding arrow as an example, Figure 6 It is a schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 4 , such as Figure 6 shown, if the target quadrant area is the left quadrant area, then determine the right reference direction as the target reference direction, use the target reference position O as the hanging point of the guiding arrow, and display the functional control along the right reference direction.
[0091] Among them, the target reference position can be the touch point, that is, the position where the target object is located. Then the functional control appears on the right side of the target object, the arrow direction points to the target object, and the functional control is displayed in the right reference direction away from the left quadrant area, so as to avoid the functional control exceeding the boundary of the left quadrant area.
[0092] Figure 7 It is a schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 5, as Figure 7 shown, if the target quadrant area is the right quadrant area, then determine the left reference direction as the target reference direction, use the target reference position O as the hanging point of the guiding arrow, and display the function control along the left reference direction.
[0093] Among them, the target reference position can be the touch point, that is, the position where the target object is located. Then the function control appears on the left side of the target object, the arrow direction points to the target object, and the function control is displayed in the left reference direction away from the right quadrant area, avoiding the function control exceeding the boundary of the right quadrant area.
[0094] Figure 8 Schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 6 , as Figure 8 shown, if the target quadrant area is the upper-middle quadrant area, then determine the downward reference direction as the target reference direction, use the target reference position O as the hanging point of the guiding arrow, and display the function control along the downward reference direction.
[0095] Among them, the target reference position can be the touch point, that is, the position where the target object is located. Then the function control appears on the lower side of the target object, the arrow direction points to the target object, and the function control is displayed in the downward reference direction away from the upper-middle quadrant area, avoiding the function control exceeding the boundary of the upper-middle quadrant area.
[0096] Figure 9 Schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 7 , as Figure 9 shown, if the target quadrant area is the lower-middle quadrant area, then determine the upward reference direction as the target reference direction, use the target reference position O as the hanging point of the guiding arrow, and display the function control along the upward reference direction.
[0097] Among them, the target reference position can be the touch point, that is, the position where the target object is located. Then the function control appears on the upper side of the target object, the arrow direction points to the target object, and the function control is displayed in the upward reference direction away from the lower-middle quadrant area, avoiding the function control exceeding the boundary of the lower-middle quadrant area.
[0098] In the information display control method provided in this embodiment, by dividing the screen space into four quadrant areas, determining the direction away from the target quadrant area as the target reference direction, and displaying the guiding control along the target reference direction based on the target reference position, so as to avoid displaying the guiding control along the direction towards the target quadrant area based on the target reference position, which may cause the guiding control to be displayed at the screen edge and may not be fully displayed, and avoid exceeding the screen boundary or being blocked by other elements, ensuring the complete display of the guiding information, providing clear and definite information guidance for users, and improving the information interaction efficiency and user experience.
[0099] For a game scenario, while ensuring the complete presentation of information, by reasonably arranging the guiding controls at appropriate positions that do not interfere with the player's field of view, the core functions of information transmission and interactive guidance are exerted, enhancing the professionalism and fluency of the game interaction experience.
[0100] Figure 10 Flow schematic of the information display control method provided by the embodiments of the present application Figure 3 As Figure 10 shown, in an optional embodiment, in the graphical user interface, using the target reference position as the hanging point of the guiding arrow, and displaying function controls along the target reference direction may include:
[0101] S301. Determine the center position of the function control according to the target reference position.
[0102] Referring to Figure 6 , the horizontal central axis corresponds to the x-axis, the vertical central axis corresponds to the y-axis, and the center of the screen is the coordinate origin. If the target quadrant area is the left quadrant area, the y-coordinate of the center position P of the function control is the same as the y-coordinate of the target reference position, and the x-coordinate of the center position of the function control can be set to the x-coordinate of the center position plus half of the width of the function control.
[0103] Referring to Figure 7 , if the target quadrant area is the right quadrant area, the y-coordinate of the center position P of the function control is the same as the y-coordinate of the target reference position, and the x-coordinate of the center position of the function control can be set to the x-coordinate of the center position minus half of the width of the function control.
[0104] Referring to Figure 8 , if the target quadrant area is the upper-middle quadrant area, the x-coordinate of the center position P of the function control is the same as the x-coordinate of the target reference position, and the y-coordinate of the center position of the function control can be set to the y-coordinate of the target reference position minus half of the height of the function control.
[0105] Referring to Figure 9 , if the target quadrant area is the lower-middle quadrant area, the x-coordinate of the center position P of the function control is the same as the x-coordinate of the target reference position, and the y-coordinate of the center position of the function control can be set to the y-coordinate of the target reference position plus half of the height of the function control.
[0106] S302. According to the center position, in the graphical user interface, using the target reference position as the hanging point of the guiding arrow, display the function control along the target reference direction.
[0107] Referring to Figures 6 - 9 , in the graphical user interface, using the target reference position as the hanging point of the guiding arrow, according to this center position, display the function control along the target reference direction.
[0108] In the information display control method provided in this embodiment, by determining the center position of the function control according to the target reference position to display the function control, the relevance between the target object and the guiding information displayed by the guiding control can be ensured, making the target object and the guiding control more matched in display and improving the aesthetics of the screen layout.
[0109] Figure 11 Flow schematic of the information display control method provided in the embodiments of the present application Figure 4 , such as Figure 11 shown, in an alternative embodiment, taking the target reference position as the hanging point of the guiding arrow in the graphical user interface and displaying the function control along the target reference direction may include:
[0110] S401. Determine the size of the function control according to the screen size of the graphical user interface.
[0111] Wherein, the screen size of the graphical user interface is the size of the screen space of the graphical user interface, including width and height. To avoid incomplete display of the guiding information due to an overly large function control, the size of the function control can be determined according to the screen size of the graphical user interface.
[0112] S402. Display the function control along the target reference direction with the target reference position as the hanging point of the guiding arrow in the graphical user interface according to the size of the function control.
[0113] Display the function control along the target reference direction with the target reference position as the hanging point of the guiding arrow in the graphical user interface according to the size of the function control. Among them, the guiding information is displayed within the function control. If the content of the guiding information is too much, the font of the guiding information can be adjusted to display all the guiding information within the function control.
[0114] In an alternative embodiment, in step S401 above, determining the size of the function control according to the screen size of the graphical user interface may include:
[0115] Determine the upper limit of the control width and the upper limit of the control height according to the screen size;
[0116] Determine the width and height of the function control according to the upper limit of the control width and the upper limit of the control height respectively.
[0117] The screen size includes width and height. The width can be, for example, 1334 pixels, and the height can be, for example, 750 pixels. To avoid incomplete display of the guiding information due to an overly large function control, the width and height of the function control can be strictly defined. Determine the upper limit of the control width according to the screen width, and determine the upper limit of the control height according to the screen height. Among them, the upper limit of the control width is less than or equal to the screen width, and the upper limit of the control height is less than or equal to the screen height.
[0118] In some embodiments, the width of the function control is determined to be the upper limit of the control width, and the height of the function control is determined to be the upper limit of the control height.
[0119] In some embodiments, the width of the function control is less than the upper limit of the control width, and the height of the function control is less than the upper limit of the control height. That is to say, a value is selected as the width of the function control from 0 to the upper limit of the control width, and a value is selected as the height of the function control from 0 to the upper limit of the control height.
[0120] In some embodiments, if the target reference position is in the left quadrant area or the right quadrant area, the upper limit of the control width of the function control is half of the screen width, and the upper limit of the control height is the screen height.
[0121] In some embodiments, if the target reference position is in the upper middle quadrant area or the lower middle quadrant area, the upper limit of the control width of the function control is the screen width, and the upper limit of the control height is half of the screen height.
[0122] In some embodiments, if the target reference position is in any one of the left quadrant area, the right quadrant area, the upper middle quadrant area, and the lower middle quadrant area, the upper limit of the control width of the function control is half of the screen width, and the upper limit of the control height is half of the screen height.
[0123] Taking the height and width in pixels and the target quadrant area being the right quadrant area as an example, Figure 12 Schematic diagram of the graphical user interface provided by the embodiment of the present application Figure 8 the upper limit of the control width is 1334 / 2, the value range of the control width of the function control is ≤1334 / 2, the upper limit of the control height is 750 / 2, and the value range of the control width of the function control is ≤750 / 2.
[0124] In the information display control method provided in this embodiment, according to the screen size, the size of the function control is determined to display the function control, so as to avoid incomplete display of the guiding information caused by the over-large function control, and ensure the rationalization of information presentation and interface layout.
[0125] Figure 13 Flow schematic diagram of the information display control method provided by the embodiment of the present application Figure 5 as Figure 13 shown, in an optional implementation manner, according to the upper limit of the control width and the upper limit of the control height, determining the width and height of the function control respectively may include:
[0126] S501. Determine the height of the information to be displayed according to the preset number of display lines and the font size of the information to be displayed in the function control.
[0127] Among them, the information to be displayed in the function control is guiding information. The font size of the information to be displayed can be the default font size or a manually set font size, such as No. 4 or No. 5. The preset number of display lines can be, for example, 3 lines or 4 lines, indicating 3 lines or 4 lines of information to be displayed.
[0128] The font size of the information to be displayed includes the font height. According to the preset number of display lines and the font size of the information to be displayed in the function control, the height of the information to be displayed can be determined. The height of the information to be displayed is the product of the font height and the preset number of display lines.
[0129] S502. Determine the height of the function control according to the upper limit of the control height and the height of the information to be displayed.
[0130] Among them, the height of the function control does not exceed the upper limit of the control height, so as to completely display the information in terms of height and avoid incomplete information display. The height of the function control is greater than or equal to the height of the information to be displayed, so as to avoid affecting the aesthetics by displaying the information outside the function control in terms of height.
[0131] S503. Determine the width of the information to be displayed according to the preset number of display lines, the font size of the information to be displayed, and the total number of characters.
[0132] Among them, the font size of the information to be displayed includes the font width.
[0133] Determine the number of characters displayed per line according to the ratio of the total number of characters of the information to be displayed to the preset number of display lines, and then determine the width of the information to be displayed according to the number of characters displayed per line and the font width of the information to be displayed. Among them, the width of the information to be displayed is the product of the number of characters displayed per line and the font width of the information to be displayed.
[0134] S504. Determine the width of the function control according to the upper limit of the control width and the width of the information to be displayed.
[0135] Among them, the width of the function control does not exceed the upper limit of the control width, so as to completely display the information in terms of width and avoid incomplete information display. The width of the function control is greater than or equal to the width of the information to be displayed, so as to avoid affecting the aesthetics by displaying the information outside the function control in terms of width.
[0136] For example, the height of the function control fluctuates between 10% and 30% of the screen width, and the width of the function control does not exceed 20% of the screen width.
[0137] In the information display control method provided in this embodiment, by determining the height and width of the function control, it is ensured that long text information can be displayed completely and will not affect the aesthetics and rationality of the screen layout due to being too long or too short. In addition, by setting the preset number of display lines, it is avoided that the function control is too wide, resulting in excessive screen space occupation, or too narrow, resulting in unnatural line breaks and affecting reading, thereby ensuring that the information is presented clearly, beautifully and efficiently, and making the information presentation and layout reasonable.
[0138] Figure 14 This is a structural diagram of an information display control device provided in an embodiment of the present application, which can be integrated into a terminal device.
[0139] like Figure 14 As shown, the device may include:
[0140] A determination module 601 is configured to respond to a touch operation on a graphical user interface, determine a target object selected by the touch operation from a virtual scene, and obtain a position of a touch point corresponding to the touch operation;
[0141] A determination module 602 is configured to determine whether the touch point is within a preset trigger range in the graphical user interface based on the position of the touch point;
[0142] The determination module 601 is further configured to determine a target reference position from the graphical user interface if the touch point is within a preset trigger range;
[0143] The determination module 601 is further configured to determine a target reference direction of the guide control of the target object according to the target reference position;
[0144] The display module 603 is configured to display a guide control for the target object in a graphical user interface according to the target reference position and the target reference direction.
[0145] In an optional implementation, the display module 603 is specifically configured to:
[0146] A guidance control is displayed in a graphical user interface along a target reference direction starting from the target reference position.
[0147] In an optional implementation, the determination module 601 is specifically configured to:
[0148] Divide the screen space of the graphical user interface into quadrants to obtain a plurality of quadrant areas;
[0149] If the target reference position is in a target quadrant area among the multiple quadrant areas, a direction away from the target quadrant area is determined as the target reference direction.
[0150] In an optional implementation, the determination module 601 is specifically configured to:
[0151] If the target quadrant area is the left quadrant area, determine the right reference direction as the target reference direction;
[0152] If the target quadrant area is the right quadrant area, determine the left reference direction as the target reference direction.
[0153] In an alternative embodiment, the determining module 601 is specifically configured to:
[0154] If the target quadrant area is the upper-middle quadrant area, determine the downward reference direction as the target reference direction;
[0155] If the target quadrant area is the lower-middle quadrant area, determine the upward reference direction as the target reference direction.
[0156] In an alternative embodiment, the display module 603 is specifically configured to:
[0157] In the graphical user interface, using the target reference position as the hanging point of the guiding arrow, display the function controls along the target reference direction.
[0158] In an alternative embodiment, the display module 603 is specifically configured to:
[0159] Determine the size of the function controls according to the screen size of the graphical user interface;
[0160] According to the size of the function controls, in the graphical user interface, using the target reference position as the hanging point of the guiding arrow, display the function controls along the target reference direction.
[0161] In an alternative embodiment, the display module 603 is specifically configured to:
[0162] Determine the upper limit of the control width and the upper limit of the control height according to the screen size;
[0163] Determine the width and height of the function controls respectively according to the upper limit of the control width and the upper limit of the control height.
[0164] In an alternative embodiment, the display module 603 is specifically configured to:
[0165] Determine the height of the information to be displayed according to the preset number of display lines and the font size of the information to be displayed within the function controls;
[0166] Determine the height of the function controls according to the upper limit of the control height and the height of the information to be displayed;
[0167] Determine the width of the information to be displayed according to the preset number of display lines, the font size of the information to be displayed, and the total number of characters;
[0168] Determine the width of the function controls according to the upper limit of the control width and the width of the information to be displayed.
[0169] In an optional embodiment, the display module 603 is specifically configured to:
[0170] Determine the center position of the function control according to the target reference position;
[0171] According to the center position, display the function control in the graphical user interface with the target reference position as the hanging point of the guiding arrow along the target reference direction.
[0172] In the information display control device provided in this embodiment, a determination module is configured to respond to a touch operation on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation. A judgment module is configured to judge whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point. The determination module is further configured to, if the touch point is within the preset trigger range, determine a target reference position from the graphical user interface. The determination module is further configured to determine the target reference direction of the guiding control of the target object according to the target reference position. The display module is configured to display the guiding control for the target object in the graphical user interface according to the target reference position and the target reference direction. By defining the trigger range, frequent display and incomplete display of the guiding control are avoided, and the guiding control is displayed based on the target reference position and the target reference direction, accurately setting the display position of the guiding control, further avoiding incomplete display of the guiding control and improving the user experience.
[0173] Figure 15 The structural schematic diagram of the terminal device provided in the embodiment of the present application is shown as Figure 15 shown. The device may include: a processor 701, a memory 702, and a bus 703. The memory 702 stores machine-readable instructions executable by the processor 701. When the terminal device runs, the processor 701 communicates with the memory 702 through the bus 703. The processor 701 executes the machine-readable instructions to perform the following steps:
[0174] Respond to a touch operation on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation;
[0175] Judge whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point;
[0176] If the touch point is within the preset trigger range, determine a target reference position from the graphical user interface;
[0177] Determine the target reference direction of the guiding control of the target object according to the target reference position;
[0178] Display the guiding control in the graphical user interface according to the target reference position and the target reference direction.
[0179] In an alternative embodiment, a guiding control is displayed in a graphical user interface according to a target reference position and a target reference direction, including:
[0180] Displaying the guiding control in the graphical user interface starting from the target reference position along the target reference direction.
[0181] In an alternative embodiment, determining a target reference direction of a guiding control of a target object according to the target reference position includes:
[0182] Dividing a screen space of the graphical user interface into a plurality of quadrant regions;
[0183] If the target reference position is in a target quadrant region among the plurality of quadrant regions, determining a direction away from the target quadrant region as the target reference direction.
[0184] In an alternative embodiment, the plurality of quadrant regions include a left quadrant region close to a left boundary of the screen space and a right quadrant region close to a right boundary of the screen space;
[0185] If the target reference position is in a target quadrant region among the plurality of quadrant regions, determining a direction away from the target quadrant region as the target reference direction includes:
[0186] If the target quadrant region is the left quadrant region, determining a right reference direction as the target reference direction;
[0187] If the target quadrant region is the right quadrant region, determining a left reference direction as the target reference direction.
[0188] In an alternative embodiment, the plurality of quadrant regions include an upper middle quadrant region between the left quadrant region and the right quadrant region and close to an upper boundary, and a lower middle quadrant region between the left quadrant region and the right quadrant region and close to a lower boundary;
[0189] If the target reference position is in a target quadrant region among the plurality of quadrant regions, determining a direction away from the target quadrant region as the target reference direction includes:
[0190] If the target quadrant region is the upper middle quadrant region, determining a downward reference direction as the target reference direction;
[0191] If the target quadrant region is the lower middle quadrant region, determining an upward reference direction as the target reference direction.
[0192] In an alternative embodiment, the guiding control is a functional control with a guiding arrow, and displaying the guiding control in the graphical user interface starting from the target reference position along the target reference direction includes:
[0193] At the attachment point of the guiding arrow at the target reference position in the graphical user interface, function controls are displayed along the target reference direction.
[0194] In an alternative embodiment, displaying function controls along the target reference direction at the attachment point of the guiding arrow at the target reference position in the graphical user interface includes:
[0195] Determine the size of the function controls according to the screen size of the graphical user interface;
[0196] According to the size of the function controls, display the function controls along the target reference direction at the attachment point of the guiding arrow at the target reference position in the graphical user interface.
[0197] In an alternative embodiment, determining the size of the function controls according to the screen size of the graphical user interface includes:
[0198] Determine the upper limit of the control width and the upper limit of the control height according to the screen size;
[0199] Determine the width and height of the function controls respectively according to the upper limit of the control width and the upper limit of the control height.
[0200] In an alternative embodiment, determining the width and height of the function controls respectively according to the upper limit of the control width and the upper limit of the control height includes:
[0201] Determine the height of the information to be displayed according to the preset number of display lines and the font size of the information to be displayed within the function controls;
[0202] Determine the height of the function controls according to the upper limit of the control height and the height of the information to be displayed;
[0203] Determine the width of the information to be displayed according to the preset number of display lines, the font size of the information to be displayed, and the total number of characters;
[0204] Determine the width of the function controls according to the upper limit of the control width and the width of the information to be displayed.
[0205] In an alternative embodiment, displaying function controls along the target reference direction at the attachment point of the guiding arrow at the target reference position in the graphical user interface includes:
[0206] Determine the center position of the function controls according to the target reference position;
[0207] According to the center position, display the function controls along the target reference direction at the attachment point of the guiding arrow at the target reference position in the graphical user interface.
[0208] In the terminal device provided in this embodiment, the processor executes machine-readable instructions to perform the following operations in response to a touch operation on the graphical user interface: determine a target object selected by the touch operation from a virtual scene, obtain the position of the touch point corresponding to the touch operation, and determine whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point. If the touch point is within the preset trigger range, determine a target reference position from the graphical user interface, determine a target reference direction of a guiding control of the target object according to the target reference position, and display the guiding control in the graphical user interface according to the target reference position and the target reference direction. By defining the trigger range, frequent display and incomplete display of the guiding control are avoided, and by displaying the guiding control based on the target reference position and the target reference direction, the display position of the guiding control is accurately set, further avoiding incomplete display of the guiding control and improving the user experience.
[0209] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the following steps are performed:
[0210] In response to a touch operation on the graphical user interface, determine a target object selected by the touch operation from a virtual scene, and obtain the position of the touch point corresponding to the touch operation;
[0211] Determine whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point;
[0212] If the touch point is within the preset trigger range, determine a target reference position from the graphical user interface;
[0213] Determine a target reference direction of a guiding control of the target object according to the target reference position;
[0214] Display the guiding control in the graphical user interface according to the target reference position and the target reference direction.
[0215] In an optional implementation manner, displaying the guiding control in the graphical user interface according to the target reference position and the target reference direction includes:
[0216] Display the guiding control starting from the target reference position along the target reference direction in the graphical user interface.
[0217] In an optional implementation manner, determining a target reference direction of a guiding control of the target object according to the target reference position includes:
[0218] Divide the screen space of the graphical user interface into multiple quadrant regions;
[0219] If the target reference position is in the target quadrant area among multiple quadrant areas, determine the direction away from the target quadrant area as the target reference direction.
[0220] In an optional implementation, the multiple quadrant areas include: a left quadrant area near the left boundary of the screen space, and a right quadrant area near the right boundary of the screen space;
[0221] If the target reference position is in the target quadrant area among multiple quadrant areas, determining the direction away from the target quadrant area as the target reference direction includes:
[0222] If the target quadrant area is the left quadrant area, determine the right reference direction as the target reference direction;
[0223] If the target quadrant area is the right quadrant area, determine the left reference direction as the target reference direction.
[0224] In an optional implementation, the multiple quadrant areas include: a middle - upper quadrant area between the left quadrant area and the right quadrant area and near the upper boundary, and a middle - lower quadrant area between the left quadrant area and the right quadrant area and near the lower boundary;
[0225] If the target reference position is in the target quadrant area among multiple quadrant areas, determining the direction away from the target quadrant area as the target reference direction includes:
[0226] If the target quadrant area is the middle - upper quadrant area, determine the downward reference direction as the target reference direction;
[0227] If the target quadrant area is the middle - lower quadrant area, determine the upward reference direction as the target reference direction.
[0228] In an optional implementation, the guiding control is a functional control with a guiding arrow, and in the graphical user interface, the guiding control is displayed along the target reference direction with the target reference position as the starting point, including:
[0229] In the graphical user interface, use the target reference position as the attachment point of the guiding arrow, and display the functional control along the target reference direction.
[0230] In an optional implementation, in the graphical user interface, using the target reference position as the attachment point of the guiding arrow and displaying the functional control along the target reference direction includes:
[0231] Determine the size of the functional control according to the screen size of the graphical user interface;
[0232] According to the size of the functional control, in the graphical user interface, use the target reference position as the attachment point of the guiding arrow and display the functional control along the target reference direction.
[0233] In an alternative embodiment, determining the size of a function control according to the screen size of a graphical user interface includes:
[0234] Determining an upper limit of the control width and an upper limit of the control height according to the screen size;
[0235] Determining the width and height of the function control according to the upper limit of the control width and the upper limit of the control height respectively.
[0236] In an alternative embodiment, determining the width and height of the function control according to the upper limit of the control width and the upper limit of the control height respectively includes:
[0237] Determining the height of the information to be displayed according to the preset number of display lines and the font size of the information to be displayed within the function control;
[0238] Determining the height of the function control according to the upper limit of the control height and the height of the information to be displayed;
[0239] Determining the width of the information to be displayed according to the preset number of display lines, the font size of the information to be displayed, and the total number of characters;
[0240] Determining the width of the function control according to the upper limit of the control width and the width of the information to be displayed.
[0241] In an alternative embodiment, displaying a function control in a graphical user interface along a target reference direction with a hooking point of a guiding arrow at a target reference position includes:
[0242] Determining the center position of the function control according to the target reference position;
[0243] Displaying the function control in the graphical user interface along the target reference direction with the hooking point of the guiding arrow at the target reference position according to the center position.
[0244] In the computer-readable storage medium provided in this embodiment, a computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, it responds to a touch operation on the graphical user interface, determines a target object selected by the touch operation from a virtual scene, and obtains the position of the touch point corresponding to the touch operation. According to the position of the touch point, it is determined whether the touch point is within a preset trigger range in the graphical user interface. If the touch point is within the preset trigger range, a target reference position is determined from the graphical user interface. According to the target reference position, a target reference direction of a guiding control of the target object is determined. According to the target reference position and the target reference direction, the guiding control is displayed in the graphical user interface. By limiting the trigger range, the frequent display and incomplete display of the guiding control are avoided, and the guiding control is displayed based on the target reference position and the target reference direction, accurately setting the display position of the guiding control, further avoiding the incomplete display of the guiding control, and improving the user experience.
[0245] In the embodiments of the present application, when the computer program is run by a processor, it may also execute other machine-readable instructions to execute the methods described in other parts of the embodiments. For the specific method steps and principles, refer to the descriptions in the embodiments, and they will not be elaborated here in detail.
[0246] In the embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0247] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0248] In addition, each functional unit in the embodiments provided by the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0249] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0250] It should be noted that like reference numerals and letters denote like items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used for descriptive distinction and should not be construed as indicating or implying relative importance.
[0251] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for displaying and controlling information, characterized in that, Providing a graphical user interface by a terminal device, wherein at least a portion of a virtual scene is displayed in the graphical user interface, the method comprising: In response to a touch operation on the graphical user interface, determining a target object selected by the touch operation from the virtual scene, and obtaining a position of a touch point corresponding to the touch operation; determining, based on the position of the touch point, whether the touch point is within a preset trigger range in the graphical user interface; If the touch point is within the preset trigger range, determining a target reference position from the graphical user interface; determining a target reference direction of a guide control of the target object according to the target reference position; The guidance control is displayed in the graphical user interface according to the target reference position and the target reference direction.
2. The method according to claim 1, characterized in that The displaying the guidance control in the graphical user interface according to the target reference position and the target reference direction includes: The guidance control is displayed in the graphical user interface along the target reference direction with the target reference position as a starting point.
3. The method according to claim 2, wherein Determining a target reference direction of a guide control of the target object according to the target reference position includes: Dividing the screen space of the graphical user interface into quadrants to obtain a plurality of quadrant areas; If the target reference position is in a target quadrant area among the multiple quadrant areas, a direction away from the target quadrant area is determined as the target reference direction.
4. The method according to claim 3, characterized in that, The multiple quadrant areas include: a left quadrant area close to the left boundary of the screen space, and a right quadrant area close to the right boundary of the screen space; If the target reference position is in a target quadrant area among the multiple quadrant areas, determining a direction away from the target quadrant area as the target reference direction includes: If the target quadrant area is the left quadrant area, determining the right reference direction as the target reference direction; If the target quadrant area is the right quadrant area, the left reference direction is determined as the target reference direction.
5. The method according to claim 4, wherein The plurality of quadrant areas include: an upper-middle quadrant area located between the left quadrant area and the right quadrant area and close to the upper boundary, and a lower-middle quadrant area located between the left quadrant area and the right quadrant area and close to the lower boundary; If the target reference position is in a target quadrant area among the multiple quadrant areas, determining a direction away from the target quadrant area as the target reference direction includes: If the target quadrant area is the upper-middle quadrant area, determining the downward reference direction as the target reference direction; If the target quadrant area is the lower-middle quadrant area, the upward reference direction is determined as the target reference direction.
6. The method according to claim 2, wherein The guide control is a functional control having a guide arrow, and displaying the guide control along the target reference direction with the target reference position as a starting point in the graphical user interface includes: In the graphical user interface, the target reference position is used as the attachment point of the guide arrow, and the function control is displayed along the target reference direction.
7. The method according to claim 6, wherein In the graphical user interface, using the target reference position as the attachment point of the guiding arrow, and displaying the function control along the target reference direction, includes: Determining the size of the function control according to the screen size of the graphical user interface; In the graphical user interface, using the target reference position as the attachment point of the guiding arrow, and displaying the function control along the target reference direction according to the size of the function control.
8. The method according to claim 7, wherein The determining the size of the function control according to the screen size of the graphical user interface includes: Determining the upper limit of the control width and the upper limit of the control height according to the screen size; Determining the width and height of the function control according to the upper limit of the control width and the upper limit of the control height, respectively.
9. The method according to claim 8, wherein The determining the width and height of the function control according to the upper limit of the control width and the upper limit of the control height, respectively, includes: Determining the height of the information to be displayed according to the preset number of display lines and the font size of the information to be displayed in the function control; Determining the height of the function control according to the upper limit of the control height and the height of the information to be displayed; Determining the width of the information to be displayed according to the preset number of display lines, the font size of the information to be displayed, and the total number of characters; Determining the width of the function control according to the upper limit of the control width and the width of the information to be displayed.
10. The method according to claim 6, characterized in that, In the graphical user interface, using the target reference position as the attachment point of the guiding arrow, and displaying the function control along the target reference direction, includes: Determining the center position of the function control according to the target reference position; In the graphical user interface, using the target reference position as the attachment point of the guiding arrow, and displaying the function control along the target reference direction according to the center position.
11. A display control device for information, characterized in that, Providing a graphical user interface through a terminal device, where at least part of a virtual scene is displayed in the graphical user interface, the device includes: A determining module, configured to, in response to a touch operation on the graphical user interface, determine a target object selected by the touch operation from the virtual scene, and obtain the position of the touch point corresponding to the touch operation; A judging module, configured to judge whether the touch point is within a preset trigger range in the graphical user interface according to the position of the touch point; The determining module is further configured to, if the touch point is within the preset trigger range, determine a target reference position from the graphical user interface; The determining module is further configured to determine a target reference direction of a guiding control of the target object according to the target reference position; A display module, configured to display a guiding control for the target object in the graphical user interface according to the target reference position and the target reference direction.
12. A terminal device, characterized in that, Includes: A processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor. When the terminal device runs, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to perform the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, it executes the method according to any one of claims 1 to 10.