Skip to content

dbrad/js13k2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published