Hello! I would like to introduce a game mechanic based on blinking (as in closing and opening your eyes, not as teleporting the player somewhere) but I can’t find anything on it. All the tutorials that come up when searching for something like it are for teleporting the player and I’m not sure what would be the best way to do it on my own.
3 Likes
do you mean an effect like a progressive black masking closing eye on the player camera or make the player dissappear and reappear progressively ?
Black masking closing eye on the player camera!
In your GUI widget, ad two black rectangles that cover half of the screen. One at the top, other at the bottom. Create animation for moving them from top to the middle of the screen.
Just play animation when needed be. And then reverse it to open the eyes.
Yeah I’m thinking a widget with a black image that you can toggle the visibility of the widget at the rate you desire.