Game screen display method and apparatus, storage medium, and electronic device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorFuchun Zhang
Life of this patent
Estimating the term…
Abstract
The present invention discloses a game screen display method and apparatus, a storage medium, and an electronic device. The method includes: acquiring a current first position of a target virtual character in a game; acquiring a first background image from a pre-rendered background image that corresponds to the first position and a first foreground image that corresponds to the first position, respectively; generating a first game screen corresponding to the first position according to the first background image and the first foreground image; and causing a display of the first game screen by a target client of the game.
Claims20
A game screen display method performed by a computing device, the method comprising:
- acquiring a current first position of a target virtual character in a game;
- acquiring a first background image from a pre-rendered background image that corresponds to the first position and a first foreground image that corresponds to the first position, respectively, wherein:
- the pre-rendered background image is obtained by pre-rendering target background images corresponding to all regions on a game map;
- and
- acquiring the first background image from the pre-rendered background image that corresponds to the first position includes cropping the pre-rendered background image based on the first position;
- generating a first game screen corresponding to the first position according to the first background image and the first foreground image;
- and
- causing a display of the first game screen by a target client of the game.
A computing device, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the computing device to perform a game screen display method, the method including:
- acquiring a current first position of a target virtual character in a game;
- acquiring a first background image from a pre-rendered background image that corresponds to the first position and a first foreground image that corresponds to the first position, respectively, wherein:
- the pre-rendered background image is obtained by pre-rendering target background images corresponding to all regions on a game map;
- and
- acquiring the first background image from the pre-rendered background image that corresponds to the first position includes cropping the pre-rendered background image based on the first position;
- generating a first game screen corresponding to the first position according to the first background image and the first foreground image;
- and
- transmitting the first game screen to a target client of the game at a terminal device, the target client being configured to display the first game screen when playing the game.
A non-transitory computer-readable storage medium, storing a computer program that, when executed by a processor of a computing device, causes the computing device to perform a game screen display method, the method including:
- acquiring a current first position of a target virtual character in a game;
- acquiring a first background image from a pre-rendered background image that corresponds to the first position and a first foreground image that corresponds to the first position, respectively, wherein:
- the pre-rendered background image is obtained by pre-rendering target background images corresponding to all regions on a game map;
- and
- acquiring the first background image from the pre-rendered background image that corresponds to the first position includes cropping the pre-rendered background image based on the first position;
- generating a first game screen corresponding to the first position according to the first background image and the first foreground image;
- and
- transmitting the first game screen to a target client of the game at a terminal device, the target client being configured to display the first game screen when playing the game.
Dependencies are inferred from the claim text.