JS Canvas Template
Looking through the templates, I didn't see any that was a template for pure JS canvas. There were some for libraries, but none that show raw canvas in action. So I decided to make one.
This template already has many things you'll need to create a simple game, such as:
- Fullscreen canvas
- Key press detection
- Draw loop with rAF
It also has a demo, showing how you can use the key detection and text rendering.
Whether you are new to the API, or want to quick start a new project, this template should be a good start for you.
If you want to learn more about the canvas API, then check out the Mozilla docs.