Ok so I've been fighting the scanlines in my game the last few days but to no avail. I've narrowed it down to it being the AI as its stable when in 2p mode and flickering when in 1p mode. (leftwitch to A) The flicker always seems to happen when playfieldpos = 7 or 8 (It depends on if the frame showing too many scanlines is the one on which its happening or if thats the frame after the overload.) However, turning off the AI at certain playfieldpos does not seem to work. Adding in an additional drawscreen solves the problem, but it also slows down the game beyond the point of it being playable.
So I was wondering if anyone has an idea on how to solve this.
- Is there a way to keep the scrollspeed high while adding a new drawscreen?
- Is there a way to know were in the script the code is when its overloading? Most sections are not timing critical within 1 frame, so heavy things could be turned off at a certain playfieldpos.
- Are there any other brilliant solutions that I am missing?
The starting speed in this version is high because the blinking only happens at high speeds. That's ~100 in this build.
Any help would be massively appreciated, as the grim alternative is killing the AI.