Search

JP-2026514277-A - Game screen display methods, devices, equipment, and computer programs

JP2026514277AJP 2026514277 AJP2026514277 AJP 2026514277AJP-2026514277-A

Abstract

This application discloses a method, apparatus, device, and computer-readable storage medium for displaying a game screen, and belongs to the field of computer technology. The method includes the steps of: displaying a first game screen, the first game screen comprising a first scene screen, a sighting scope, and a conversion control component, wherein the sighting scope is in an off state and the conversion control component is used to perform a state conversion on the sighting scope; processing the first scene screen based on the magnification of the sighting scope in response to a trigger operation on a scope-on control component to obtain a reference scene screen; and displaying a second game screen, the second game screen comprising a sighting scope, the sighting scope being in an on state, the screen in the sighting scope being a reference scene screen, the screen out of the sighting scope being obtained based on the first scene screen, and the size of objects included in the screen out of the sighting scope being smaller than the size of objects included in the reference scene screen.

Inventors

  • ▲盧▼ ▲風▼儒
  • 胡 昊
  • ▲張▼ ▲凱▼▲華▼
  • 王 俊宏

Assignees

  • ▲騰▼▲訊▼科技(深▲セン▼)有限公司

Dates

Publication Date
20260508
Application Date
20240115
Priority Date
20230307

Claims (20)

  1. A method for displaying a game screen, wherein the method is performed by a terminal device, and the method is A step of displaying a first game screen, wherein the first game screen includes a first scene screen, a sighting mirror, and a conversion control component, wherein the sighting mirror is in an off state, and the conversion control component is used to perform a state conversion on the sighting mirror. The steps include: In response to a trigger operation on the conversion control component, processing the first scene screen based on the magnification of the aiming scope to obtain a reference scene screen; A method for displaying a game screen, comprising the step of displaying a second game screen, wherein the second game screen includes the aiming mirror, the aiming mirror is in an ON state, the screen in the mirror of the aiming mirror includes the reference scene screen, the screen outside the mirror of the aiming mirror is obtained based on the first scene screen, and the size of the objects included in the screen outside the mirror of the aiming mirror is smaller than the size of the objects included in the reference scene screen.
  2. The step of processing the first scene screen and obtaining a reference scene screen based on the magnification of the aiming scope in response to a trigger operation on the conversion control component is as follows: A step of adjusting the first scene screen in response to a trigger operation on the conversion control component to obtain a third scene screen, wherein the size of the objects included in the third scene screen is larger than the size of the objects included in the first scene screen. The method according to claim 1, comprising the steps of processing a fourth scene screen corresponding to the aiming mirror in the third scene screen based on the magnification of the aiming mirror to obtain a reference scene screen, wherein the size of the objects included in the reference scene screen is greater than the size of the objects included in the fourth scene screen, and the screen outside the aiming mirror is a screen in the third scene screen other than the fourth scene screen.
  3. The step of processing the fourth scene screen corresponding to the aiming scope in the third scene screen based on the magnification of the aiming scope, and obtaining the reference scene screen, is: A step of determining a reference magnification based on the magnification of the aiming scope, wherein the reference magnification is the magnification of the reference scene screen relative to the fourth scene screen. The steps include obtaining the first image coordinates of the center point of the aiming mirror and the second image coordinates of each pixel point in the fourth scene screen, The method according to claim 2, comprising the step of adjusting the pixel information of each pixel point based on the reference magnification, the first image coordinates, and the second image coordinates of each pixel point to obtain the reference scene screen.
  4. The step of adjusting the pixel information of each pixel point based on the reference magnification, the first image coordinates, and the second image coordinates of each pixel point to obtain the reference scene screen is as follows: A step of determining the offset third image coordinate of each pixel point based on the reference magnification, the first image coordinate, and the second image coordinate of each pixel point, The method according to claim 3, comprising the steps of: adjusting the pixel information of a reference pixel point to the pixel information of any of the pixel points based on the existence of a reference pixel point among the plurality of pixel points whose third image coordinates are the same as those of any of the pixel points after an offset; traversing the plurality of pixel points; and obtaining the reference scene screen.
  5. The step of determining the offset third image coordinate of each pixel point based on the reference magnification, the first image coordinate, and the second image coordinate of each pixel point is as follows: A step of determining a target offset vector for any of the plurality of pixel points based on the reference magnification, the first image coordinate, and the second image coordinate of the pixel point, wherein the target offset vector for the pixel point is used to indicate the offset between the second image coordinate of the pixel point and the image coordinate after the pixel point has been magnified according to the reference magnification, and the target offset vector for the pixel point includes a first offset value in a first direction and a second offset value in a second direction of the pixel point. The method according to claim 4, comprising the step of determining a third image coordinate after offsetting the pixel point based on the second image coordinate of any of the pixel points, a first offset value of any of the pixel points in a first direction, and a second offset value in a second direction.
  6. The step of determining the target offset vector of any of the pixel points based on the reference magnification, the first image coordinates, and the second image coordinates of any of the pixel points is as follows: A step of determining the reference offset vector of any of the pixel points based on the reference magnification, the first image coordinates, and the second image coordinates of any of the pixel points, Based on the reference offset vector of any of the aforementioned pixel points, A method in which the reference offset vector of any of the aforementioned pixel points is used as the target offset vector of any of the aforementioned pixel points. The method according to claim 5, comprising the step of determining the target offset vector of any of the pixel points according to any of the methods, or a method of determining the target offset vector of any of the pixel points based on the reference offset vector of any of the pixel points.
  7. The step of determining the target offset vector of any of the pixel points based on the reference offset vector of any of the pixel points is: A step of determining an encoded intermediate vector for any of the pixel points based on the reference offset vector of any of the pixel points, and determining a target offset vector for any of the pixel points based on the encoded intermediate vector of any of the pixel points, wherein the encoded intermediate vector is a vector obtained by normalizing the reference offset vector. The method according to claim 6, further comprising the step of determining a target offset vector for any of the pixel points based on a fifth offset value and a sixth offset value included in the reference offset vector of any of the pixel points, wherein the fifth offset value is an offset value in a first direction of any of the pixel points, and the sixth offset value is an offset value in a second direction of any of the pixel points.
  8. The encoded intermediate vector of any of the aforementioned pixel points includes a third offset value in the first direction and a fourth offset value in the second direction of any of the aforementioned pixel points. The step of determining the target offset vector of any of the pixel points based on the encoded intermediate vector of any of the pixel points is: A step of performing an encoding process on the third offset value to obtain a first binary number, and a step of performing an encoding process on the fourth offset value to obtain a second binary number, wherein the number of digits of the first binary number and the second binary number are the same. The steps include obtaining a third binary number and a fourth binary number based on the first binary number, and obtaining a fifth binary number and a sixth binary number based on the second binary number, The method according to claim 7, comprising the step of determining a target offset vector for any of the pixel points based on the third binary value, the fourth binary value, the fifth binary value, and the sixth binary value.
  9. The step of determining the target offset vector of any of the pixel points based on the third binary value, the fourth binary value, the fifth binary value, and the sixth binary value is: The steps include: decrypting the third binary number to obtain the first number; decrypting the fourth binary number to obtain the second number; decrypting the fifth binary number to obtain the third number; and decrypting the sixth binary number to obtain the fourth number. The method according to claim 8, comprising the step of determining a target offset vector for any of the pixel points based on the first numerical value, the second numerical value, the third numerical value, and the fourth numerical value.
  10. The step of processing the fourth scene screen corresponding to the aiming scope in the third scene screen based on the magnification of the aiming scope, and obtaining the reference scene screen, is: A step of determining a reference magnification based on the magnification of the aiming scope, wherein the reference magnification is the magnification of the reference scene screen relative to the fourth scene screen. A step of stretching the fourth scene screen based on the aforementioned reference magnification ratio to obtain a first target scene screen, wherein the size of the first target scene screen is the reference magnification ratio of the size of the fourth scene screen, The method according to claim 2, comprising the step of cropping the first target scene screen to obtain the reference scene screen, wherein the center point of the reference scene screen is the center point of the first target scene screen, and the size of the reference scene screen is the same as the size of the screen in the mirror of the aiming scope.
  11. The step of extracting the first target scene screen to obtain the reference scene screen is: A step of determining a target area with the center point of the first target scene screen as the center and the target length as the radius, wherein the target length is the radius of the aiming scope, The method according to claim 10, comprising the step of making the scene screen covered by the target region in the first target scene screen the reference scene screen.
  12. Before the step of processing the fourth scene screen corresponding to the aiming scope in the third scene screen based on the magnification of the aiming scope and obtaining the reference scene screen, the method: A step of determining a reference area with the center point of the third scene screen as the center and the target length as the radius, wherein the target length is the radius of the aiming scope, The method according to any one of claims 2 to 11, further comprising the step of making the scene screen covered by the reference region in the third scene screen the fourth scene screen.
  13. The step of adjusting the first scene screen to obtain the third scene screen is, The steps include obtaining a first viewpoint corresponding to the first scene screen and the magnification of the aiming scope, A step of determining a second viewpoint based on the first viewpoint and the magnification of the aiming scope, The method according to any one of claims 2 to 11, comprising the step of adjusting the first scene screen based on the second viewpoint to obtain the third scene screen.
  14. The step of determining a second viewpoint based on the first viewpoint and the magnification of the aiming scope is: A step of determining a target magnification corresponding to the magnification of the aiming scope, wherein the target magnification is the magnification of the third scene screen relative to the first scene screen; Based on the first perspective described above, the steps are to determine the reference value and A step of determining a target value based on the aforementioned reference value and the aforementioned target magnification factor, The method according to claim 13, comprising the step of determining the second viewpoint based on the target numerical value.
  15. The step of adjusting the first scene screen to obtain the third scene screen is, A step of determining a target magnification corresponding to the magnification of the aiming scope, wherein the target magnification is the magnification of the third scene screen relative to the first scene screen. A step of stretching the first scene screen based on the target magnification ratio to obtain a second target scene screen, wherein the size of the second target scene screen is the target magnification ratio of the size of the first scene screen, The method according to any one of claims 2 to 11, comprising the step of cropping the second target scene screen to obtain the third scene screen, wherein the center point of the third scene screen is the center point of the second target scene screen.
  16. The step of processing the first scene screen and obtaining a reference scene screen based on the magnification of the aiming scope in response to a trigger operation on the conversion control component is as follows: In response to a trigger operation on the conversion control component, the pixel information of each pixel point in the second scene screen is adjusted based on the magnification of the aiming mirror, the first image coordinate of the center point of the aiming mirror, and the fourth image coordinate of each pixel point in the second scene screen, thereby obtaining the reference scene screen. Alternatively, the process includes the steps of responding to a trigger operation on the conversion control component, stretching the second scene screen based on the magnification of the aiming scope to obtain a third target scene screen, cropping the third target scene screen to obtain the reference scene screen, The method according to claim 1, wherein the second scene screen is a scene screen corresponding to the aiming mirror in the first scene screen, and the screen outside the aiming mirror is a screen other than the second scene screen in the first scene screen.
  17. A method for displaying a game screen, wherein the method is performed by a terminal device, and the method is A step of displaying a first game screen, wherein the first game screen includes a first scene screen, a sighting mirror, and a conversion control component, wherein the sighting mirror is in an off state, and the conversion control component is used to perform a state conversion on the sighting mirror. A method for displaying a game screen, comprising the steps of: displaying a second game screen in response to a trigger operation on the conversion control component, wherein the second game screen includes the aiming mirror, the aiming mirror is in an ON state, the screen in the mirror of the aiming mirror includes a reference scene screen, the magnification of objects included in the screen outside the mirror of the aiming mirror is less than the magnification of objects included in the reference scene screen, and the magnification of objects included in the reference scene screen is greater than the magnification of objects included in the first scene screen.
  18. The method according to claim 17, wherein the magnification of an object included in the screen outside the scope of the aiming mirror in the second game screen is greater than the magnification of an object included in the first scene screen, or the magnification of an object included in the screen outside the scope of the aiming mirror in the second game screen is equal to the magnification of an object included in the first scene screen.
  19. The second game screen further includes a direction control component, which is used to adjust the displayed game screen. After the step of displaying the second game screen, the method, The method according to claim 17 or 18, further comprising the step of displaying a third game screen in response to a trigger operation on the direction control component, wherein the third game screen includes the sighting mirror, the sighting mirror is in an ON state, the screen in the sighting mirror includes a fifth scene screen, the magnification of an object included in the screen out of the sighting mirror on the third game screen is less than the magnification of an object included in the fifth scene screen, the magnification of an object included in the fifth scene screen is the same as the magnification of an object included in the reference scene screen, and the fifth scene screen is a scene screen in the direction indicated by the direction control component.
  20. The second game screen further includes the first form of the conversion control component, the first form being used to indicate that the aiming reticle included in the second game screen is in the ON state. After the step of displaying the second game screen, the method, The method according to claim 17 or 18, further comprising the step of displaying the first game screen in response to a trigger operation on the conversion control component, wherein the first game screen includes a second form of the conversion control component, the second form being used to indicate that the aiming reticle included in the first game screen is in an off state.

Description

This application claims priority to a Chinese patent application filed on March 7, 2023, with application number 202310248919.1, and the title of the invention is "Method, apparatus, device, and computer-readable storage medium for displaying a game screen," and all of its contents are incorporated into this application by reference. The embodiments of this application relate to the field of computer technology, and more particularly to methods, apparatuses, devices, and computer-readable storage media for displaying game screens. With the continuous advancement of computer technology, the variety of games that run on terminal devices such as smartphones is also increasing. The game's operation requires a method for displaying the game screen, and this method is used to display the game screen on the terminal device. This is a schematic diagram of the implementation environment for the game screen display method provided by the embodiment of the present invention.This is a flowchart illustrating the method for displaying the game screen provided in the embodiment of the present invention.This is a schematic diagram of the display of the first game screen provided in the embodiment of the present application.This is a schematic diagram of the display of the third scene screen provided in the embodiment of the present application.This is a schematic diagram illustrating how to obtain the third scene screen provided by the embodiment of the present application.This is a schematic diagram illustrating how to obtain the fourth scene screen provided by the embodiment of the present application.This is a schematic diagram illustrating how to obtain a reference scene screen provided by the embodiment of the present application.This is a schematic diagram illustrating how to obtain a reference scene screen provided by the embodiment of the present application.This is a schematic diagram of the display of the second game screen provided in the embodiment of the present application.This is a schematic diagram of the display of another second game screen provided by the embodiment of the present application.This is a flowchart illustrating the method for displaying the game screen provided in the embodiment of the present invention.This is a flowchart showing a method for obtaining the reference scene screen provided in the embodiment of the present invention.This is a schematic diagram of the structure of a game screen display device provided by an embodiment of the present invention.This is a schematic diagram of the structure of a game screen display device provided by an embodiment of the present invention.This is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention.This is a schematic diagram of the structure of the server provided in the embodiment of the present invention. To further clarify the purpose, technical solution, and advantages of this application, embodiments of this application will be described in more detail below, along with the drawings. It is important to note that the terms "First," "Second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this manner can be interchanged where appropriate, thereby allowing the embodiments of this application described herein to be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of apparatuses and methods consistent with some aspects of this application, which are described in detail in the appended claims. Figure 1 is a schematic diagram of an implementation environment for the game screen display method provided by the embodiment of the present application. As shown in Figure 1, the implementation environment includes a terminal device 101 and a server 102. Here, an application program capable of providing a game screen is installed and running on terminal device 101, and terminal device 101 is used to execute the game screen display method provided by the embodiment of this application. The embodiments of this application do not limit the type of application program that can provide a game screen. Exemplary examples include game-related application programs. These include, for example, third-person shooting (TPS) games, first-person shooting (FPS) games, multiplayer online battle arena (MOBA) games, multiplayer shooting survival games, and massive multiplayer online role-playing games (MMOs). In the exemplary embodiment, the game application program involved in the embodiment of the present application is a game application program based on frame synchronization; that is, the method of displaying the game screen provided in the embodiment of the present application can b