// Log
Notes from building apps.
Short write-ups of problems I ran into and how I solved them.
In Nakama, an object you assign to state gets copied
If you assign an object to the match state and then keep changing the same reference, the change is lost. In EraClash it silently swallowed commands and checksums.
Read →Keeping game logic apart from presentation
In EraClash the simulation knows nothing about scenes, time or random numbers. That decision is what makes online matches possible.
Read →