mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-30 17:40:47 +00:00
Added a smoother camera pan animation during game play.
The tween animation uses the tweening library to smoothly move the camera across the board. Also added a smoothing for any large jumps in the position of the camera.
This commit is contained in:
parent
ee9d0afea0
commit
ae8ff4d455
4 changed files with 56 additions and 33 deletions
|
|
@ -269,6 +269,7 @@ export function updateChatWindows(phase: any, stepMessages = false) {
|
|||
|
||||
// Schedule next message with proper delay
|
||||
setTimeout(showNext, config.playbackSpeed / 2);
|
||||
//showNext()
|
||||
};
|
||||
|
||||
// Add the message with word animation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue