Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi.  I really love this.  Many thanks for all of your work on it. A (hopefully) quick question for you.  I have an electrical enemy in my game and what I would like is for the display to get more glitchy the closer you get to the enemy and less as you back off.  If you could give me some pointers on how to achieve that I would be forever grateful.

If you check the "simple example" object in the project, there's a line:

bktglitch_set_intensity(0.025 + bounceIntensity);

If you switch bounceIntensity to a variable that calculates how close you are to the enemy, you should be able to get that effect! I haven't tested it, but that should work.

Perfect.  Works brilliantly.  Many thanks for taking the time to reply.

Glad to hear it and happy to help!