ocadotechnology / aimmo

A python-based multi-player online educational game for students to play in a class or club setting.
Other
116 stars 71 forks source link

Delay in Kurono #1755

Closed lauracumming closed 6 months ago

lauracumming commented 1 year ago

Fix the delay in Kurono. Messages appear before the avatar has actioned the corresponding movement. The logs appear beforehand.

Investigation task: https://app.zenhub.com/workspaces/code-for-life-admin-5cf7f1b750c6a6242c50af4c/issues/gh/ocadotechnology/codeforlife-admin/813

cewei8483 commented 1 year ago

The real turnCount increment happens in GameRunner class, which is in BE. All the increments in FE only affect the log shown in the bottom left of the screen, and I guess their purpose are to make turnCount start from 1. (It starts from 0 in BE, so basically it's about indexing)

SKairinos commented 6 months ago

Taking aimmo offline