Epilepsy

Anyone with medical knowledge here?

My best friend, (whom I hope will be able to play my completed project) has Epilepsy.
I have one scene in my game where the screen flashes repeatedly for a somewhat extended period of time.

I realize this should be a concern for all game developers as the last thing you want to do is give your players a seizure.
I know that certain colors, patterns and frequency of flashes are more dangerous than others...

Does anyone know what to try and avoid when designing scenes?
No medical knowledge on my end, but you could try asking your friend what sort of things give them problems.
I've had epileptic seizures before, there are different types. I had a couple of grand mal seizures, and I've gotten dozens of auras.

Everyone's triggers are different, I've played games my whole life and the flashing light has never cause me to seize, or even get an aura.
Furthermore, I didn't have them until I was 29, and it's important to note I was not formally diagnosed with epilepsy. I also haven't had them since, or even gotten auras.

The photosensitive epilepsy is just one specific kind, but if you google it, or 'what type of lights cause photosensitive seizures', you'll probably narrow in on what you need.

Sometimes certain shapes or repeated movements gave me auras, it's hard to look out for every possible trigger. It's better to be proactive about warning potential Users at the beginning of the game.
epilepsy will never go away, even though, desktop alone gives missive flashes per sec (which you cant see with the naked eye).

there are basicly 2 things what you can do, to avoid it (but not 100%)

1) use a LED desktop screen (not a regular which is more bad for ppl with epilepsy.
2) dont play longer than 1 hour if it happens often, if not that much, keep it on 2 hours max and 30 min breaks.

doing so, will reduce the epilepsy attack, if unsure, wear sun glasses to reduce it even more, but tell him/her when
the cut scene is around before hand.

other than that, I have no clue, but this is from my own experiments so I take my breaks too to avoid the epilepsy attack =)
...I actually get seizures out of playing (heck, even watching) FPS games and only FPS games in the past (and have stopped since then)... then again I'm completely fine with extremely long sessions of danmaku-games (you know the colorful bullet hells) that had a seizure warning disclaimer recently. So I'd say it's on case-by-case basis which you should try asking your friend to clarify.
I have epilepsy myself, though thanks to my meds, I haven't had a seizure in years, despite playing a lot of games and being on the PC a lot. So I can't really say what my triggers are since I tend to avoid the most common ones (flashing lights, music with weird frequences, etc). Anything that overstimulates the brain can cause a seizure.
Something that can also trigger a seizure is lack of sleep (in my case at least).

Something you should definitely do is give a warning. That way people can prepare themselves. You should also avoid using jumpscares of any kind. Even without epilepsy, there are people who don't react well to that. (I completely broke down the last time I saw one, rather than getting a seizure.)
There's some good videos on designing for disability: https://www.youtube.com/user/McBacon1337/search?query=disability I don't remember if epilepsy is mentioned, but it is a concern. Even if you aren't prone to seizures, sometimes a lot of flashing can be too much for someone with sensory issues. Those who are autistic or have ADHD are often prone to sensory overwhelm. Light and sound are big triggers for me but it's normally a non-issue in games: flashing isn't normally super-intense or long-lasting and I can turn down the sound.

It could be possible that you allow a player to select something for seizures and it's stored in a variable. If that variable is turned on, maybe tone down or reduce the intensity of the flashes, if you really do need them for visual effect.
I think the best course of action is to ask your friend about his specific situation as it differs alot on a case-by-case scenario
Even if you aren't prone to seizures, sometimes a lot of flashing can be too much for someone with sensory issues.
I’m not epileptic but I have a medical condition that causes sensitivity to flashing lights. Things like police car lights, particularly at night, certain movie scenes, flashing or jerky game graphics can all cause headaches and nausea for me. So, a warning is always good and a way to turn it off would be particularly helpful, as without I’d be inclined to not play your game.
From personal tampering, strobes, and opposite colors at the max saturation stimulate the brain enough. Also, I don't think RPGM can be capable of that, but pattern at high speed upon a certain horizon creating movements are also able to do that as being confused with perspective effects. It kinda immerse players but stimulate the brain for weird calculations, just like optical illusions.

Original thread: https://forums.rpgmakerweb.com/threads/epilepsy.114687/