diff options
| author | Micha White <botahamec@outlook.com> | 2024-08-15 20:14:15 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2024-08-15 20:14:15 -0400 |
| commit | f8a80039c74332e2101a177ef3fde31ef2077224 (patch) | |
| tree | f887c96bf9879a28b7ce914ad96161f63ee83190 /book | |
| parent | 488c7ed94b0662222fa0d825ab81b60b0b1e5d6c (diff) | |
Lots a changes
Diffstat (limited to 'book')
| -rw-r--r-- | book/.gitignore | 1 | ||||
| -rw-r--r-- | book/book.toml | 6 | ||||
| -rw-r--r-- | book/src/SUMMARY.md | 4 | ||||
| -rw-r--r-- | book/src/chapter_1.md | 1 | ||||
| -rw-r--r-- | book/src/performance.md | 10 |
5 files changed, 22 insertions, 0 deletions
diff --git a/book/.gitignore b/book/.gitignore new file mode 100644 index 0000000..7585238 --- /dev/null +++ b/book/.gitignore @@ -0,0 +1 @@ +book diff --git a/book/book.toml b/book/book.toml new file mode 100644 index 0000000..8185223 --- /dev/null +++ b/book/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["Mica White"] +language = "en" +multilingual = false +src = "src" +title = "The Alligator Book" diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md new file mode 100644 index 0000000..570263b --- /dev/null +++ b/book/src/SUMMARY.md @@ -0,0 +1,4 @@ +# Summary + +- [Chapter 1](./chapter_1.md) +- [Performance](./performance.md) diff --git a/book/src/chapter_1.md b/book/src/chapter_1.md new file mode 100644 index 0000000..b743fda --- /dev/null +++ b/book/src/chapter_1.md @@ -0,0 +1 @@ +# Chapter 1 diff --git a/book/src/performance.md b/book/src/performance.md new file mode 100644 index 0000000..d769a6f --- /dev/null +++ b/book/src/performance.md @@ -0,0 +1,10 @@ +# Performance + +Here are some tips to make your game perform more quickly + +## Scripts + +Generally, one large WebAssembly script will perform better than many small +scripts. There is overhead that comes from calling a script, and more scripts +will result in more overhead. Try to have as few scripts as possible. Ideally, +you should have no more than 20 scripts enabled at the same time. |
