Login | Register

Redened light

July 1, 2006, 10:03 by Calle
[loading]
-->
The infrared view certainly adds a touch of style to any game, and especially a first person game. This is how to make the whole screen go infrared in Game Maker. You might want to change the alpha, but basically this works well. You may also change the values to only make parts of the screen go infrared.

draw_set_color(c_red)
draw_set_alpha(0.5) // <-- change value
draw_rectangle(0,0,display_get_width(),display_get_height(),false)


This is an example of how it can look:
<img src="/files/infraresultat.PNG">

Comments

Loading comments... [loading]
.
Users logged in:

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games