HTML5-Canvas-Game-Boilerplate

Provides a set of default code that makes getting up and running with an HTML5 canvas game very easy.

javascriptboilerplatecanvasgame-enginegame-developmentgame-2dgame-frameworkhtml5-boilerplatehtml5-canvas-gameboilerplate-html

Preview

HTML5-Canvas-Game-Boilerplate preview

Overview

This boilerplate helps developers ship fast with 2D Canvas applications by providing pre-built HTML, CSS and JavaScript structure plus lightweight tools for common features like collision detection, physics and sprite animation. Built on HTML5 Boilerplate with an intuitive API centered around three core functions (setup, update, draw), it's designed for rapid prototyping of interactive Canvas projects without requiring a full game engine or deep Canvas knowledge.

Features

canvas-boilerplatesprite-animationcollision-detectionphysicskeyboard-inputmouse-inputevent-modelcamera-scrollingimage-cachinganimation-looprapid-prototyping

Feature Flags

seocachinggameEnginespriteAnimationcollisionDetectionphysicsinputHandlingcameraSystem

Recommended Use Cases

2d-canvas-gamesinteractive-canvas-applicationsgame-prototypingplatformer-gamesrts-gamesdrawing-applications

Frontend

javascripthtml5canvas

Backend

None

Auth Providers

None

Deployment Targets

browser

Payment Providers

None

Quick Facts

โญ Stars
261
๐Ÿด Forks
57
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2024-06-11T14:06:38.000Z

Stack

Language
javascript
CI
travis-ci

Data Layer

UI Stack

Styling
css
Components
html5-canvas

Developer Experience

Docker
No
Tests
No
Quickstart
Yes
env.example
No
CI
travis-ci

Pricing

Classification
free
Selected
โ€”
Notes
MIT-licensed open source project
Get Started with this Boilerplate