DEV Community

RedCalmContemplator
RedCalmContemplator

Posted on

Lessons from game development

  • Minimize state
  • Use one function to update the state
  • Separate simulation from timing loop
  • Renderer should only display on what is the current state

Top comments (0)