davidscolgan
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
19 ms·
- 121.▲
- 122.▲
- 123.▲
- 124.▲
- 125.▲
- 126.▲
- 127.▲
- 128.▲
- 129.▲
- 130.▲
- 131.▲
That is, instead of using y velocity = acceleration * time and then adding in gravity, they made something like this, as I understand it: speeds = [0, 1, 2, 4, 8, 4, 2, 1, 0] And then you keep track of how many frames it's been since y - 132.▲
- 133.▲
- 134.▲
- 135.▲
- 136.▲
- 137.▲
- 138.▲
- 139.▲
- 140.▲
- 141.▲
- 142.▲
- 143.▲
- 144.▲
- 145.▲
- 146.▲
- 147.▲
- 148.▲
- 149.▲
- 150.▲
More ›