Oh, that! Well, if the gameplay is so slow, you probably have an archaic computer, like Windows ME or Windows XP. I have Windows 10, so all levels run at ca. 120 fps.
I don't know how to simplify the code I wrote, so I'll post it on Angelscript Requests and Help and see if somebody can help.
As for the quick death, it's the no blink mode. It makes the game willingly harder.
EDIT: I've reuploaded the file with a lower palette update rate. It should go smoother now. If it still lags, open the .j2as file with Notepad++, find this line:
Code:
if (jjGameTicks % 3 == 2)
{
jjPalette.gradient(16 - thunderCounter + (thunderCounter * 16), 0 + (thunderCounter * 16), 16 - thunderCounter + (thunderCounter * 16), 32, 0, 0, 176, 32, 1);
jjPalette.apply();
jjSetFadeColors(16 - thunderCounter + (thunderCounter * 16), 0 + (thunderCounter * 16), 16 - thunderCounter + (thunderCounter * 16));
}
And DELETE IT!
You won't have the thunder effect on the background, but at least your game will go smoothly.
If it doesn't, I don't know how to help you.
__________________
Free will was a mistake.
- God
Last edited by DennisKainz; Dec 14, 2015 at 01:08 PM.
|