bB Reference Page
batari Basic (bB) is the language written by Fred "batari" Quimby that I used to create a number of homebrew 2600 games. If you write games in bB, you'll want to use this forum. You'll also need to use the bible of bB on RT's site along with his music and sound bB reference.
Links:
Slashdot Article on bB
Decimal Deltas for x/y Direction for Use in bB
Here is something I came up with a little while back. It isn't rocket science, but there are no sin or cos functions in bB so a lookup table is in order. I used this in Ultimate Indy 500 (a.k.a. my primary bB embarassment/a.k.a. they said it couldn't be done/a.k.a. one of the most disappointing games I failed to finish).Direction | x delta | y delta |
---|---|---|
1 | 0 | -1 |
2 | 0.38 | -0.92 |
3 | 0.71 | -0.71 |
4 | 0.92 | -0.38 |
5 | 1 | 0 |
6 | 0.92 | 0.38 |
7 | 0.71 | 0.71 |
8 | 0.38 | 0.92 |
9 | 0 | 1 |
10 | -0.38 | 0.92 |
11 | -0.71 | 0.71 |
12 | -0.92 | 0.38 |
13 | -1 | 0 |
14 | -0.92 | -0.38 |
15 | -0.71 | -0.71 |
16 | -0.38 | -0.92 |
wolfram alpha - 1st half
wolfram alpha - 2nd half