Now keeps track of all directional keys held, walking only set to false (and hence ending the current walk) once the last one is released.
Now uses Motio .on('frame') to handle only moving forward two frames per step, and the current frame is kept track of in safari.frame so that when a new Motio object is created, it can be started from the correct frame.
Now keeps track of all directional keys held, walking only set to false (and hence ending the current walk) once the last one is released.
Now uses Motio .on('frame') to handle only moving forward two frames per step, and the current frame is kept track of in safari.frame so that when a new Motio object is created, it can be started from the correct frame.