Tags : :
Demo data is generated by putting the previous frame's data through an equation to obtain the new frame's data. Every 7 frames the data is seperated with a | and the equation resets.
So here are the formulas:
a-1 to 7. Goes up one every frame. After it reaches 7, next frame it resets to 1.
b-The data of the previous frame.
Neutral: Nothing happens to data, just adds 1 to the frame count.
Left Jump: 16(b-8)+13
Right Jump: 16(b-8)+14
Here's an eaxmple: If someone presses left, left, left, left jump, right, right, right, right jump, neutral, neutral, it would look like this:
Hope this is useful and please let me know if any of this is wrong.