|
1 | 1 | # Tanki Online 2.0 |
2 | | -Source code repository for the latest build of the Tanki 2.0 demos. |
| 2 | +Source code repository for the latest build of the Tanki 2.0 demo, decompiled and deobfuscated. |
| 3 | + |
| 4 | + |
| 5 | +## Info and history |
| 6 | +See the [wiki page](https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient/wiki) for more detailed information and history about Tanki 2.0. |
| 7 | + |
| 8 | +## Download |
| 9 | +The latest version can be downloaded from the [releases page](https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient/releases). |
| 10 | +### Original |
| 11 | +If you want the original or older versions made by AlternativaPlatform they can be found in our [Alternativa demo archive](https://github.com/MapMakersAndProgrammers/alternativa-demos/tree/master/alternativa/Tanki2.0). You can also play them from the Flashpoint Archive ([database entry](https://flashpointproject.github.io/flashpoint-database/search/#56237b92-f141-4e6e-a521-7bb00c905b3c), ID: `56237b92-f141-4e6e-a521-7bb00c905b3c`). |
| 12 | + |
| 13 | +## Controls |
| 14 | +### Tank |
| 15 | +|Action | Key bind| |
| 16 | +|-------|---------| |
| 17 | +|Move | arrow keys | |
| 18 | +|Rotate turret | `Z`, `X` | |
| 19 | +|Shoot | `space` | |
| 20 | +|Next tank | `enter` | |
| 21 | +### Camera |
| 22 | +|Action | Key bind| |
| 23 | +|-------|---------| |
| 24 | +|Change camera vertical angle| `page up`, `page down` | |
| 25 | +|Cycle camera mode (fixed, freecam, orbit) | `\`, `M` | |
| 26 | +|Cycle freecam mode (view locked to tank, normal) | `N` | |
| 27 | +|Freecam move | `W`, `A`, `S`, `D` | |
| 28 | +|Freecam look | click and drag | |
| 29 | +|Freecam fly up, down | `E`, `C` | |
| 30 | +|Freecam sprint | `shift` | |
| 31 | +|Orbit look | click and drag | |
| 32 | +### Misc |
| 33 | +|Action | Key bind| |
| 34 | +|-------|---------| |
| 35 | +|Toggle performance statistics | `G` | |
| 36 | +|Toggle antialiasing | `Q` | |
| 37 | +|Toggle console*| `ctrl`+`shift`+`K` | |
| 38 | +|Close console| `escape` | |
| 39 | +|Show "powered by AlternativaPlatform" message| `ctrl`+`shift`+`f1` | |
| 40 | +*\* See [the wiki](https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient/wiki) for console commands* |
| 41 | + |
| 42 | +## Build from source |
| 43 | +This repository uses the vscode [as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml) extension with the [Adobe AIR SDK](https://airsdk.harman.com/download) 51 from HARMAN, however the project should be able to build and run with any sdk that can target atleast flashplayer 11. |
| 44 | + |
| 45 | +To build just run one of the actionscript build tasks from vscode, such as `compile release` or `compile debug`, which will output the game into the `bin/` folder. To run your built client you will need to download the game `data/` folder and `cfg.dxt1.xml` file from the latest Arena or Crash demos (v3) and place them next to `tanki2.swf`, you can find these files [here](https://github.com/MapMakersAndProgrammers/alternativa-demos/tree/master/alternativa/Tanki2.0). |
0 commit comments