Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbrad/js13k2017
https://github.com/dbrad/js13k2017
game-development game-jam javascript js13k js13kgames typescript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbrad/js13k2017
- Owner: dbrad
- License: mit
- Created: 2017-08-14T11:40:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T00:47:50.000Z (about 5 years ago)
- Last Synced: 2024-10-15T19:40:58.845Z (3 months ago)
- Topics: game-development, game-jam, javascript, js13k, js13kgames, typescript
- Language: JavaScript
- Size: 328 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js13k Competition 2017
This is David Brad's entry for the js13k competition for 2017 (http://js13kgames.com/)# Notes about the project
This game actually marks the first game I have made to completion since small projects back in college.
The addition of the 13kb limit helped me a lot by forcing me to write better / more concise code then I may have otherwise.
Overall I am very happy with the outcome and the learning that I have done during this past month.# Notes about the workflow for this project
All of the code was written in TypeScript, and compiled to Javascript.
I use a gulp workflow to automatically minify the .html, .css, .js, and .png files; and then finally zip all of the resulting files together.
It would then give me a read out of how much of the 13k I had remaining in the console.
This workflow works great for keeping a close eye of the size of your final product as you work, making the 13kb package restriction abit easier to manage.# Sound
All sound for this project is generated by the javascript *OscillatorNode* class in broswer.
You can see the setup I used in the /src/engine/audio/ folder.
I also used jsfxr (http://github.grumdrig.com/jsfxr/) to quickly test different frequencies as I did not take the time to setup a widget to play with sounds myself for this project.# Sprites
All of the sprites for this game were made by me in pixlr (https://pixlr.com/editor/).
I took inspiration from many other 8x8 sprites out there on the internet, but ended up creating (and re-creating) every sprite by hand to get the right look, feel, and colours.