Hello all,
I am hoping maybe someone might be able to help out with this issue, or shed some light as to why it is occurring, because at this point I am about to tear out some of my hair in frustration 🙂
For awhile now I have observed a certain amount of screen "jitter" whenever moving around in my game, Aleph. This is not the typical lag you get from too many events, scripts, etc. It is like a little visual hiccup whenever you are moving around the screen. I created a few videos to try and demonstrate this issue:
Screen Jitter (low to none) - sorry for the low quality of this video, youtube for some reason compressed the heck out of it. But this shows what the game should be like, and how most RM games run - little to no jitter, 60 fps. There are only a few scripts in this version: YEA Ace Core Engine, plane fix for the high-res dll, and some character animation scripts from Dekita.
Screen Jitter (medium amount) - this one shows a middling amount of jitter, in spite of being 59-60 fps. The previous set of scripts are utilized here, with the addition of one extra script. The script itself added does not seem to matter at all, just the fact that it exists seems to cause jitter.
Screen Jitter (heavier) - this one shows higher jitter - forgive the lower fps, I forgot to disable a particular script before recording which dropped the fps, BUT it doesn't matter because even without the script the screen jitter is still there. Full set of scripts for the game in this version.
The videos don't seem to capture the full effect of the jitter due to the video compression, but hopefully they give an idea.
So I wanted to figure out what was causing this and I spent a great deal of time doing various tests on all of my scripts only to find no specific connection between the screen jitter and any scripts. Here are the steps I took for the most part:
Run the game with full script list, full databases, full graphical/audio resources (basically, as the game is intended) - get pretty heavy screen jitter.
Created new project. No jitter.
Added the Map datafiles, graphics, and audio. No jitter.
Added database datafiles (no script datafile). No jitter.
Wanted to test out higher-resolution dll to see if that is making an effect. Add high-res dll, plane fix script, and YEA Ace Core script, run game at 800x640 resolution. No jitter.
Begin to add scripts. First scripts I add are from Dekita, which increase frames of animation for movement as well as adds 8-dir movement. No jitter.
Added next script, Fog script. Screen jitter appears now.
Removed Fog script, jitter disappeared.
Added another script. Jitter re-appeared.
Removed script. Jitter disappered.
Added yet a different script. Jitter re-appeared.
Removed script, jitter now remains.
I went through and tried these steps in various combinations and it generally boils down to adding more than like 5 or 6 scripts causes screen jitter.
I spoke at length with Dekita regarding this, and have discussed this issue in the past with other scripters, and nobody has any idea what might be causing this issue.
Some observations regarding this jitter:
The scripts in question that I use for the test videos are not the cause of the jitter. The jitter existed before I even had any of these scripts. These scripts were also tested in isolation and in conjunction with other scripts prior to being placed in my project and they were perfectly fine.
The resolution does not seem to make a difference. The jitter exists at the default RPGMaker resolution, at 640x480, 800x640, etc. The severity remains constant.
The fps does not seem to impact the jitter. The screen can still be jittery at 60 fps, just as well at 40, 30, 20, etc.
The jitter only exists when the player character is moving. The direction of travel does not seem to matter, the jitter exists regardless of direction. If standing still, there are no issues. Events moving around do not jitter, animated elements on screen do not jitter. This seems to be movement-related.
Map size seems to have some small effect on the jitter. Larger maps might have a bit more jitter, smaller maps less. This might be related to fps/lag though, hard to tell, but it exists irregardless. The size of the test map in the video is 200x200, very few events.
The total database entries seems to effect the jitter somehow. I noticed heavier jitter when all of the database entries were maxxed out at 999, vs smaller jitter with all database entries at 1. However, it does not seem that the database sizes are the *source* of the jitter, they just somehow impact it in some strange way.
I tested this out on my desktop PC which is very souped up, jitter remains. Tested on laptop, jitter remains. Other people tried out the game and reported the jitter, so it does not appear to be localized to my PC or my hardware specifically.
I tried checking the 'reduce screen flickering' option, it seemed to make the jitter worse (or at the very least, it wasn't any better).
Generally, once I succeed in re-creating the jitter in a project through the addition of some scripts or whatever, removing the scripts does NOT remove the jitter. The jitter then remains indefinitely unless I replace the script datafile entirely with a clean one. Re-adding scripts to it though seems to eventually make it start causing the screen jitter.
I actually had this exact issue when I first began making Aleph on RPG Maker VX. After the game got to a certain point in development, the screen jitter emerged. It is one of the reasons why I moved the project to VX Ace when it came out. Only now, it seems the jitter has re-emerged for me on VX Ace as well.
I tried googling for a possible answer or solution, but have not been able to find a single case like this.
The jitter remains with both the old dll and the new high-resolution dll.
I tried the MGC Tilemap script and dll. The fps generally improved, but does not seem to have much effect on the jitter. Plus, after three RGSS player crashes, it appeared to be unusable for my purposes.
So this issue has stumped me for quite some time, and has stumped everyone else who I have asked about it.
If there are any additional tests I can perform to help narrow down this issue, I will gladly do them. Any information would be of great help and I would be very appreciative. Thank you!
I am hoping maybe someone might be able to help out with this issue, or shed some light as to why it is occurring, because at this point I am about to tear out some of my hair in frustration 🙂
For awhile now I have observed a certain amount of screen "jitter" whenever moving around in my game, Aleph. This is not the typical lag you get from too many events, scripts, etc. It is like a little visual hiccup whenever you are moving around the screen. I created a few videos to try and demonstrate this issue:
Screen Jitter (low to none) - sorry for the low quality of this video, youtube for some reason compressed the heck out of it. But this shows what the game should be like, and how most RM games run - little to no jitter, 60 fps. There are only a few scripts in this version: YEA Ace Core Engine, plane fix for the high-res dll, and some character animation scripts from Dekita.
Screen Jitter (medium amount) - this one shows a middling amount of jitter, in spite of being 59-60 fps. The previous set of scripts are utilized here, with the addition of one extra script. The script itself added does not seem to matter at all, just the fact that it exists seems to cause jitter.
Screen Jitter (heavier) - this one shows higher jitter - forgive the lower fps, I forgot to disable a particular script before recording which dropped the fps, BUT it doesn't matter because even without the script the screen jitter is still there. Full set of scripts for the game in this version.
The videos don't seem to capture the full effect of the jitter due to the video compression, but hopefully they give an idea.
So I wanted to figure out what was causing this and I spent a great deal of time doing various tests on all of my scripts only to find no specific connection between the screen jitter and any scripts. Here are the steps I took for the most part:
Run the game with full script list, full databases, full graphical/audio resources (basically, as the game is intended) - get pretty heavy screen jitter.
Created new project. No jitter.
Added the Map datafiles, graphics, and audio. No jitter.
Added database datafiles (no script datafile). No jitter.
Wanted to test out higher-resolution dll to see if that is making an effect. Add high-res dll, plane fix script, and YEA Ace Core script, run game at 800x640 resolution. No jitter.
Begin to add scripts. First scripts I add are from Dekita, which increase frames of animation for movement as well as adds 8-dir movement. No jitter.
Added next script, Fog script. Screen jitter appears now.
Removed Fog script, jitter disappeared.
Added another script. Jitter re-appeared.
Removed script. Jitter disappered.
Added yet a different script. Jitter re-appeared.
Removed script, jitter now remains.
I went through and tried these steps in various combinations and it generally boils down to adding more than like 5 or 6 scripts causes screen jitter.
I spoke at length with Dekita regarding this, and have discussed this issue in the past with other scripters, and nobody has any idea what might be causing this issue.
Some observations regarding this jitter:
The scripts in question that I use for the test videos are not the cause of the jitter. The jitter existed before I even had any of these scripts. These scripts were also tested in isolation and in conjunction with other scripts prior to being placed in my project and they were perfectly fine.
The resolution does not seem to make a difference. The jitter exists at the default RPGMaker resolution, at 640x480, 800x640, etc. The severity remains constant.
The fps does not seem to impact the jitter. The screen can still be jittery at 60 fps, just as well at 40, 30, 20, etc.
The jitter only exists when the player character is moving. The direction of travel does not seem to matter, the jitter exists regardless of direction. If standing still, there are no issues. Events moving around do not jitter, animated elements on screen do not jitter. This seems to be movement-related.
Map size seems to have some small effect on the jitter. Larger maps might have a bit more jitter, smaller maps less. This might be related to fps/lag though, hard to tell, but it exists irregardless. The size of the test map in the video is 200x200, very few events.
The total database entries seems to effect the jitter somehow. I noticed heavier jitter when all of the database entries were maxxed out at 999, vs smaller jitter with all database entries at 1. However, it does not seem that the database sizes are the *source* of the jitter, they just somehow impact it in some strange way.
I tested this out on my desktop PC which is very souped up, jitter remains. Tested on laptop, jitter remains. Other people tried out the game and reported the jitter, so it does not appear to be localized to my PC or my hardware specifically.
I tried checking the 'reduce screen flickering' option, it seemed to make the jitter worse (or at the very least, it wasn't any better).
Generally, once I succeed in re-creating the jitter in a project through the addition of some scripts or whatever, removing the scripts does NOT remove the jitter. The jitter then remains indefinitely unless I replace the script datafile entirely with a clean one. Re-adding scripts to it though seems to eventually make it start causing the screen jitter.
I actually had this exact issue when I first began making Aleph on RPG Maker VX. After the game got to a certain point in development, the screen jitter emerged. It is one of the reasons why I moved the project to VX Ace when it came out. Only now, it seems the jitter has re-emerged for me on VX Ace as well.
I tried googling for a possible answer or solution, but have not been able to find a single case like this.
The jitter remains with both the old dll and the new high-resolution dll.
I tried the MGC Tilemap script and dll. The fps generally improved, but does not seem to have much effect on the jitter. Plus, after three RGSS player crashes, it appeared to be unusable for my purposes.
So this issue has stumped me for quite some time, and has stumped everyone else who I have asked about it.
If there are any additional tests I can perform to help narrow down this issue, I will gladly do them. Any information would be of great help and I would be very appreciative. Thank you!