View Issue Details
| Category | |||||
|---|---|---|---|---|---|
| SSPBT:本体(SSP) | |||||
| Severity | minor | Reproducibility | always | ||
| Status | new | ||||
| Summary | 0000726: When characters are given different alignments, sometimes they jump to different positions on the screen | ||||
| Description | I am trying to create a ghost where some characters will be bound to the bottom, some will be bound to the top, and some will be bound to the sides. I tried a script like the following: \p[1]\![set,alignmenttodesktop,top]\s[10]\p[2]\![set,alignmenttodesktop,top]\s[10]\p[3]\![set,alignmenttodesktop,top]\s[10]\p[4]\![set,alignmenttodesktop,bottom]\s[10]\p[5]\![set,alignmenttodesktop,bottom]\s[10]\p[6]\![set,alignmenttodesktop,bottom]\s[10]\p[7]\![set,alignmenttodesktop,left]\s[10]\p[8]\![set,alignmenttodesktop,left]\s[10]\p[9]\![set,alignmenttodesktop,left]\s[10]\p[10]\![set,alignmenttodesktop,right]\s[10]\p[11]\![set,alignmenttodesktop,right]\s[10]\p[12]\![set,alignmenttodesktop,right]\s[10] I discovered that when this script runs, some of the characters jump to unexpected positions on screen. For example, a character that is aligned to the left side will jump to the top left or bottom left rather than maintaining the original Y position. This happens even if you run the exact same script multiple times. You can try it by opening a ghost such as Emily/Phase4.5, copying the above script into script input, and running it several times. The effects are more pronounced if you separate the characters before running the command again. SSP/2.7.21 (20251128-11; Windows NT 10.0.26100) (I also reproduced this issue on a second Windows 11 computer.) | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
| Attached Files | |||||
|
|
Upon further testing, I have realized that this issue does not seem to be caused by multiple characters, it is just more obvious when there are multiple characters. Using a single alignment command after the alignment has already been set can sometimes (but not always) cause the character to jump to a different position. It seems like it moves to a specific location, rather than moving randomly. It seems like it may also be more likely to occur shortly after dragging the character around, but that might be a coincidence... In the attached gif I set Teddy to be aligned to the left, and then run the command multiple times. It doesn't come across in the gif, but sometimes he flickers and appears to show at the top briefly before going back to his expected position. I was hoping to use alignment commands in OnSurfaceRestore, so that I could ensure the alignment is corrected now and then even if something goes wrong... I may avoid doing so for now, the ghost will probably work without it. |