Skip to content

Commit

Permalink
preparing (im on mobile rn lol)
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeisCut authored Oct 31, 2023
1 parent fdc654d commit 943725e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Not in any particular order.

- Shape Chooser and Custom Shape Editor (in SVG Path mode and normal Vertex Array mode)
- Custom Projectiles and displaying them
- Rendering Turrets correctly
- Live Text Definition Editor
- You can add whatever, but anything non visual will be ignored (but kept)
- Theme Support
- Placing Props (Pentagons, Basics, Base Floor Tiles, etc.) around the map
- Camera Control (+/- to Zoom and Arrow keys/WASD to move)
Expand Down
22 changes: 22 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
let canvas = document.getElementById("canvas");
let ctx = canvas.getContext("2d");

let tanks = {
'genericTank': {META: { HIDDEN: true }, CODE: {

}},
'miniboss': {META: { HIDDEN: true }, CODE: {

}},
'autoTurret': {META: { HIDDEN: true }, CODE: {

}},
'example': {META: {}, CODE: {
PARENT: 'genericTank',
LABEL: 'Example Tank',
GUNS: [
{
POSITION: [18, 8, 1, 0, 0, 0, 0]
}
]
}}
}

//probably have to re-grab all this stuff from aps-plus-plus as it's all real old
let selectedStyle = 'normal',
color = {
normal: {
Expand Down

0 comments on commit 943725e

Please sign in to comment.