Skip to content

Commit 4666db6

Browse files
committed
chore: fmt
1 parent e99cf32 commit 4666db6

4 files changed

Lines changed: 21 additions & 14 deletions

File tree

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/upload-pages-artifact@v3
4242
with:
4343
# Upload entire repository
44-
path: 'dist'
44+
path: "dist"
4545
- name: Deploy to GitHub Pages
4646
id: deployment
4747
uses: actions/deploy-pages@v4

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Go to `http://localhost:8000`
1414

1515
# vscode extensions
1616

17-
Install [./editor/vscode-bw-block-editor-0.4.0.vsix](./editor/vscode-bw-block-editor-0.4.0.vsix) for editing maps.
17+
Install
18+
[./editor/vscode-bw-block-editor-0.4.0.vsix](./editor/vscode-bw-block-editor-0.4.0.vsix)
19+
for editing maps.
1820

19-
Install [vscode-pixeledit](https://github.com/kt3k/vscode-pixeledit) for editing characters and items.
21+
Install [vscode-pixeledit](https://github.com/kt3k/vscode-pixeledit) for editing
22+
characters and items.

deno.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,5 @@
2424
},
2525
"fmt": {
2626
"semiColons": false
27-
},
28-
"exclude": [
29-
"docs"
30-
]
27+
}
3128
}

docs/object-lifecycle.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,22 @@
55
1. Loaded as part of BlockMap.
66
2. Split into 10x10 chunk
77
3. When the character enters into ActivateScope, they get activated
8-
- This check only happes for the characters in the chunks that overlaps with the ActivateScope.
9-
- This check happens every 16 frames.
10-
- However if the character is already in ViewScope, then they don't get activated (This happens when a character moves far away from its spawn point, and leaves ActivateScope while the spawn point is inside ViewScope)
11-
- However this rule doesn't apply when the main character warped to somewhere, or first appear in the screen
8+
9+
- This check only happes for the characters in the chunks that overlaps with the
10+
ActivateScope.
11+
- This check happens every 16 frames.
12+
- However if the character is already in ViewScope, then they don't get
13+
activated (This happens when a character moves far away from its spawn point,
14+
and leaves ActivateScope while the spawn point is inside ViewScope)
15+
- However this rule doesn't apply when the main character warped to somewhere,
16+
or first appear in the screen
17+
1218
4. Activated characters are updated each frame. (by calling .step() function)
13-
5. When an activated character leaves ActivateScope, then they go back to inactive state. Go back to step 3.
14-
- This check happens every 60 frames.
19+
5. When an activated character leaves ActivateScope, then they go back to
20+
inactive state. Go back to step 3.
21+
22+
- This check happens every 60 frames.
1523

1624
# The lifecycle of the items
1725

1826
...
19-

0 commit comments

Comments
 (0)