diff --git a/journal/2021-08-13.md b/journal/2021-08-13.md index 489a00d..401b0c1 100644 --- a/journal/2021-08-13.md +++ b/journal/2021-08-13.md @@ -84,7 +84,7 @@ Those tend to be less crowded. Also, I wanted to try IPFS anyway ### Codewise -- [ ] Optimise post-process script to remove references to stylesheets when +- [x] Optimise post-process script to remove references to stylesheets when they got inlined. - [ ] Strip CSS of comments (but keep license banners). - [ ] Assume a browser that understands ES modules and tweak rollup accordingly diff --git a/journal/2021-08-14.md b/journal/2021-08-14.md index 1ce5352..938f4d2 100644 --- a/journal/2021-08-14.md +++ b/journal/2021-08-14.md @@ -70,8 +70,8 @@ JSDoc annotations and tests). ### Codewise - [ ] See ToDos from [yesterday][yesterday]. -- [ ] Implement more parts of the physics engine. -- [ ] Consider using Nunjucks for interpolation to simplify post-processing. +- [x] Implement more parts of the physics engine. +- [x] Consider using Nunjucks for interpolation to simplify post-processing. ### Previous in line diff --git a/journal/2021-08-15.md b/journal/2021-08-15.md index 35e621f..887af97 100644 --- a/journal/2021-08-15.md +++ b/journal/2021-08-15.md @@ -36,7 +36,7 @@ up in life support systems as well as transport. It could look a bit like in ### Codewise -- [ ] See ToDos from [yesterday][yesterday]. +- [x] See ToDos from [yesterday][yesterday]. - [x] Investigate, why box and boundary don't collide. ### Previous in line diff --git a/journal/2021-08-16.md b/journal/2021-08-16.md index 6f45933..bae3633 100644 --- a/journal/2021-08-16.md +++ b/journal/2021-08-16.md @@ -34,16 +34,21 @@ I expect this problem to take considerable amount of my time. ### Codewise -- [ ] See ToDos from [yesterday][yesterday]. -- [ ] Replace JSDom with an alternative. +- [x] See ToDos from [yesterday][yesterday]. +- [x] Replace JSDom with an alternative. ### Previous in line See journal entry from [yesterday][yesterday]. +### Next in line + +See journal entry from [tomorrow][tomorrow]. + [cramer]: https://github.com/xem/mini2Dphysics/issues/3 [demo]: https://ryuno-ki.github.io/js13kgames-2021/ [diff]: https://jaenis.ch/hobbies/coding/repos/ryuno-ki/js13kgames-2021/compare/4f857eeb10b97e5df1383942aa653ef8fe1e417d...f5eca1e2964b0a4625ab2e7acfbd52234ba01814 [linkedom]: https://github.com/WebReflection/linkedom [screenshot]: ./2021-08-16.png +[tomorrow]: ./2021-08-17.md [yesterday]: ./2021-08-15.md diff --git a/journal/2021-08-17.md b/journal/2021-08-17.md new file mode 100644 index 0000000..d11a4d9 --- /dev/null +++ b/journal/2021-08-17.md @@ -0,0 +1,54 @@ +# 2021-08-17 + +Do you know those days, when you can barely sleep because your mind bursts +full of ideas? I had that last night. + +So today I set down and got them out of my head for the major part. + +## Today's achievement + +I was quite busy today. + +I started with updating dependencies, added some colour, a favicon, ripped out +JSDom and instead use sinon now, so I can actual check for a call to stroke +the hero. + +Then I started to add a second range input, so now the hero can move along +both dimensions! For that, additional boundaries were needed. + +I added a way to reload the page to reset the page, but that's a bit flaky on +Firefox. Also, the game now has a settings and game-over scene. + +With all of that, you can play it on my own domain now: +[Play it online][demo]. + +[commit diff 41fe3e4b63310b25fb6ca55bd9f13387c66b1650 to 514b19099772a4800be23d3c5db280c5d323bd1b][diff] + +![screenshot from 2021-08-17][screenshot] + +## Next steps + +I need a way to reset to the initial state, so I can properly reset the state. +Also, now would be an ideal time to start writing my Game Design Document, +since I have everything in place to develop the game I want to submit. + +### Codewise + +- [ ] See ToDos from [13th August][start]. (Yes, I solved everything after!) +- [ ] Figure out how to include icons. +- [ ] Look into including [ZzFX][zzfx]. +- [ ] Configure [MathJax][mathjax], but without a CDN. +- [ ] Look into [loading custom JavaScript and CSS in Gitea][css] to render + MathML / MathJax / ASCIImath. + +### Previous in line + +See journal entry from [yesterday][yesterday]. + +[css]: https://docs.gitea.io/en-us/external-renderers/#customizing-css +[demo]: https://jaenis.ch/hobbies/coding/demos/js13kgames/2021/ +[diff]: https://jaenis.ch/hobbies/coding/repos/ryuno-ki/js13kgames-2021/compare/41fe3e4b63310b25fb6ca55bd9f13387c66b1650...514b19099772a4800be23d3c5db280c5d323bd1b +[mathjax]: https://github.com/go-gitea/gitea/issues/3445#issuecomment-439673050 +[screenshot]: ./2021-08-17.png +[yesterday]: ./2021-08-16.md +[zzfx]: https://killedbyapixel.github.io/ZzFX/ diff --git a/journal/2021-08-17.png b/journal/2021-08-17.png new file mode 100644 index 0000000..ae43c4d Binary files /dev/null and b/journal/2021-08-17.png differ diff --git a/journal/README.md b/journal/README.md index 07b3a24..6e79e8e 100644 --- a/journal/README.md +++ b/journal/README.md @@ -7,3 +7,6 @@ journal and update it daily as I go along. - [13th August 2021](./2021-08-13.md) - [14th August 2021](./2021-08-14.md) +- [15th August 2021](./2021-08-15.md) +- [16th August 2021](./2021-08-16.md) +- [17th August 2021](./2021-08-17.md)