• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Detective vision

A

ADenton

Guest
Im looking for a tutorial or something guidance on how to go about implementing a batman / arkham night etc 'detective vision' to overlay / change the look of a platformer to highlight strategically important features of the environment. Gunpoint had a very similar sort of thing. From memory that was toggled by the scroll wheel....

Any ideas on resources, leads, tutorials or other guidance on how to implement that?

Cheers
 

KurtBlissZ

Member
I mean probably want to expirment around with some shaders...

A easy effect I like doing is this to make it a certain color (normally used as an effect for getting damaged)
Code:
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale,
rot, image_blend, 0.5);
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale,
rot, c_red, 0.5);
could also probably add an outline to an object by using the scale parametres and image_blend too.

Then of cource some global variable of some kind to tell certain things to be drawn a certain way for the visual effect.
 
There are a few ways... You can change the surface as the more beautiful way or change the way the object is drawn in general using a variable if(detective_vision)
 
Top