Browse Source
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>combat-scorched-earth-from-outer-space
4 changed files with 54 additions and 1 deletions
@ -0,0 +1,47 @@
|
||||
# 2021-08-19 |
||||
|
||||
## Today's achievement |
||||
|
||||
Work is wearing me down somehow. Nevertheless I committed to push the needle, |
||||
even if it is only for a little. Overwork isn't healthy though, but what shall |
||||
you do if the team is understaffed? |
||||
|
||||
Today, I thought about the device used to play this game and want to explore |
||||
whether a larger screen like on tablets would allow for better placement of |
||||
gamebits. Therefore, I scaled up the `<canvas>` knowing that it won't be |
||||
usable on a smartphone screen anymore. |
||||
|
||||
I used [Screen Size Map][ssm] to get an idea about the viewports most in use. |
||||
|
||||
I did a bit of research regarding card design and found |
||||
|
||||
![simple playing card design][card] |
||||
|
||||
Maybe I can sneak in some geometric SVGs? That would be amazing! |
||||
|
||||
[commit diff 859f1a261a3c3f7999eda0fc94d514900f1c5af3 to df3dd8fa2aca9595e9f6381781e604be76dce27d][diff] |
||||
|
||||
## Next steps |
||||
|
||||
I need to try out the new layout and check, whether it feels natural. |
||||
|
||||
### Codewise |
||||
|
||||
I think, some refactorings could ease the next step. |
||||
|
||||
- [ ] See ToDos from [yesterday][yesterday]. |
||||
- [ ] Refactor collision detection to use a callback function. |
||||
- [ ] Clean up `requestAnimationFrame` calls at game over. |
||||
- [ ] Introduce some kind of counter for points. |
||||
- [ ] Cap velocity of objects. |
||||
- [ ] Remove rotation properties as they aren't used anyway. |
||||
|
||||
### Previous in line |
||||
|
||||
See journal entry from [yesterday][yesterday]. |
||||
|
||||
[article]: https://design-milk.com/10-modern-decks-of-playing-cards-to-keep-you-in-the-game/ |
||||
[card]: ../src/img/card.jpg |
||||
[diff]: https://jaenis.ch/hobbies/coding/repos/ryuno-ki/js13kgames-2021/compare/859f1a261a3c3f7999eda0fc94d514900f1c5af3...df3dd8fa2aca9595e9f6381781e604be76dce27d |
||||
[ssm]: https://screensizemap.com/ |
||||
[yesterday]: ./2021-08-18.md |
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in new issue