Bridgekeeper Pitfalls and Progress

Coming back to a project I haven’t touched in six months was almost like looking at someone else’s code for the first time.  But after a some strategic archaeology, I was able to uncover the general idea of how everything was supposed to work, and remember my original basic plan.  While the app did run (somehow) there were a few major corrections to start off the resurrection.

  • The Player was walking in fast-forward speed  – The animation code was running in two places..
  • The Player sometimes continued to walk in place when it reached its destination time – the animation would only stop if the endpoint was an even pixel number.
  • The Player attacking animation wouldn’t repeat – the stop event was firing every frame the Player wasn’t in motion.

WordPress Themes