2D game weather effect processing method and processing device thereof
A processing method and technology of a processing device, which are applied in image data processing, 2D image generation, 3D image processing and other directions, can solve problems such as discontinuity, 2D games have no concept of depth, and it is difficult to achieve weather effects.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] see figure 1 , which is a flow chart of the method for processing weather effects in a 2D game in Embodiment 1.
[0053] 2D game weather effect processing method of the present invention, comprises the following steps:
[0054] S11: Change the color of the map according to the weather conditions; specifically, the current map block of the 2D game is a picture, and the color change of the map is to achieve the desired weather effect by processing the picture pixel by pixel. For example, when the day turns into night, for each pixel in the map block picture, assuming that the pixel is represented by (R, G, B), the corresponding new pixel generated by the map color changing algorithm is (R', G', B') , where R'=G'=B'=(R+G+B) / 3.
[0055] S12: Render the color-changed map, scene and user interface.
[0056]S13: Perform full-screen processing on the rendered image. The full-screen processing refers to post-processing the rendered results of the game, which is realized afte...
Embodiment 2
[0063] In the game weather effect, it is also necessary to process the corresponding weather particles, combined with map color change and full-screen processing, to obtain better weather effects. Therefore, in this embodiment, a processing method of 2D game weather effects is provided that combines weather particles, map color processing and full-screen processing. see image 3 , which is a flow chart of the steps of the processing method of the 2D game weather effect of embodiment 2, the method comprises the following steps:
[0064] The mask weather system and the particle weather system are processed separately.
[0065] Among them, the processing of the mask-type weather system includes the following steps:
[0066] S11: According to the weather conditions, change the color of the map, and step S29; specifically, the current map block of the 2D game is a picture, and the color change of the map is to achieve the desired weather effect by performing pixel-by-pixel proces...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com