Opened 17 years ago
Closed 17 years ago
Last modified 5 years ago
#2547 closed defect (fixed)
SDL: Jerky cursor movement
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
Since the backend no longer is responsible for redrawing the cursor whenever it moves, cursor movement has become noticeable jerky in some cases.
Some engines call updateScreen() often enough that I don't notice any difference. In some, it's barely noticeable. The one where it's really noticeable is the SCUMM engine.
Ticket imported from: #1456679. Ticket imported from: bugs/2547.
Change History (9)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
|Summary:||Jerky cursor movement → SDL: Jerky cursor movement|
comment:3 by , 17 years ago
comment:4 by , 17 years ago
The jury is still out on which is the proper solution, but I have added extra updateScreen() calls in some engines as a temporary solution, at least.
Engines I have modified: lure, queen, SCUMM, sword1 Engines which didn't need modification: cine, gob, kyra, SAGA, sword2 Engines which may need modification: simon, sky
Both simon and sky are fairly smooth already, so I've taken care of the worst offenders.
comment:5 by , 17 years ago
comment:6 by , 17 years ago
Well, if this works to your satisfaction now, feel free to close this item :-)
comment:7 by , 17 years ago
|Status:||new → closed|
comment:8 by , 17 years ago
Thanks for reminding me. Since Kirben fixed the Simon engine (most noticeably in The Feeble Files), everything looks smooth to me.
comment:9 by , 5 years ago
Another example is the menu bar at the top of the screen in Lure of the Temptress. Currently, it seems to only call updateScreen() when the state of a menu changes, so if you pull down one menu, and then move the mouse, the cursor will remain frozen, until all of a sudden it jumps to the next menu or menu item.