You can also use this to hide something by drawing white circles. You can use it to re-clear it with a different color to have completely dark areas still visible.ĭraw_dark executes after the game finishes drawing it's gray circles, and is where you draw your own gray circles.ĭraw_dark_end executes after the game finishes drawing it's black circles, and is where you draw your own black circles. The game's lighting system (for dark levels) is an interesting one - it clears a surface with white color, then "punches out" black and gray holes in the surface, then draws it with subtractive blending mode over the game, having it that white areas of surface become black on screen, gray areas darken the image, and black areas leave the image unaffected.ĭraw_dark_begin executes after the surface is cleared. #define draw_gui draw_text_nt ( 10, 50, ) Same as tags, but aligns the image to be in the middle of X symbols. #define draw_gui draw_text_nt ( 10, 50, "Fire with or ) Key images are 3 characters wide at most.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |