Noticed this a while ago but constantly forgot to point it out.
In certain instances, pausing the game with the console causes a weird "spasm" effect. Oddly it doesn't happen when the pause menu is summoned, only with the console. Cross-checking with EDuke32/Rednukem is useless here since the console does not pause the game in these ports.
Video for demonstration, best seen on the starting elevator on E3M9 Stadium: https://youtu.be/YJAzfYA2W6M
[e494be5] [Duke] Screen "Spasm" when pausing with console
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
-
- Posts: 13881
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: [e494be5] [Duke] Screen "Spasm" when pausing with consol
This is due to the interpolation code, the game sim is paused but it is still trying to move the player view between two points.
-
- Lead GZDoom+Raze Developer
- Posts: 49200
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [e494be5] [Duke] Screen "Spasm" when pausing with consol
This is something I'm going to address when it's time to refactor the main game loop. Trying to mess around with these variables in the current state will only make things worse.
The view interpolation in some of the games needs a bit of fixing anyway because it only interpolates the position but not the containing sector, resulting in flashes of visual garbage.
The view interpolation in some of the games needs a bit of fixing anyway because it only interpolates the position but not the containing sector, resulting in flashes of visual garbage.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [e494be5] [Duke] Screen "Spasm" when pausing with consol
Proposed fix submitted in PR #47.