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.

Active Publication Date: 2015-03-04
GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

3D games can achieve weather effects such as night, cool colors, and warm colors in the game scene by changing the scene lighting, but there is no concept of lighting in the 2D game scene, so it is difficult to achieve the above weather effects
[0004] At the same time, compared with the weather effects of 3D games, 2D games have no concept of depth, and all weather particle effects are rendered at the same level, which will make the weather particle effects of 2D games lack a sense of hierarchy
[0005] Moreover, players can move freely in the game scene. When the scene presents a certain weather, the real world is that the entire scene is covered with corresponding weather particles. However, considering the performance of game rendering, the usual practice is to Generate and destroy weather particles, but when the player moves, it will be observed that the weather particles show a "blowout" or intermittent phenomenon

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • 2D game weather effect processing method and processing device thereof
  • 2D game weather effect processing method and processing device thereof
  • 2D game weather effect processing method and processing device thereof

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a 2D game weather effect processing method and a processing device thereof. The processing method comprises the following steps: according to the weather condition, color change processing is carried out on a map; and rendering is carried out on the map after color change processing, a scene and a user interface. The invention also provides another 2D game weather effect processing method. A step of weather particle processing is added to the above method steps, thereby realizing hierarchy of the particles. Meanwhile, the invention also provides a 2D game weather effect processing device in view of the above two methods.

Description

technical field [0001] The invention relates to a game weather system processing method, in particular to a 2D game weather effect processing method. The invention also relates to a 2D game weather effect processing device. Background technique [0002] In online games, the weather system has become a very important module. Through various weather effects, such as day, night, rain, wind, etc., the expressiveness of the scene is enhanced, allowing players to better immerse themselves in the atmosphere of the game. At the same time, it can also interact with players through the weather system to enhance the experience of the game. [0003] In general 2D game rendering frames, each frame needs to render modules such as maps, scene elements, and UI interfaces. 3D games can change the scene lighting to achieve weather effects such as night, cool colors, and warm colors in the game scene, but there is no concept of lighting in the 2D game scene, so it is difficult to achieve th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/00G06T15/10
Inventor 张磊吴国瑞万晋森
Owner GUANGZHOU BOGUAN TELECOMM TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products