Crafty is a JavaScript game engine focused on helping developers build structured, modular 2D HTML5 games that run smoothly in modern browsers. It uses an entity-component system that lets you compose game objects from reusable components instead of relying on inheritance, making game logic easier to organize and maintain. Crafty supports event binding for custom events, so objects can react to game actions, collisions, input, and timers in a clean, decoupled fashion, which helps scale complexity as your game grows. Developers can choose between Canvas or DOM rendering for flexibility in how game elements are drawn, and its lightweight footprint means it won’t slow down load times or performance in most browser environments. The engine is designed to be small and approachable, with enough built-in components for common tasks like movement, collisions, keyboard input, and animations, while still being flexible enough to let developers write their own systems when needed.

Features

  • Entity-component architecture
  • Event binding system
  • Canvas and DOM rendering options
  • Built-in components for common game features
  • Small, performant footprint
  • MIT open-source license

Project Samples

Project Activity

See All Activity >

Categories

Game Engines

License

MIT License

Follow Crafty JS

Crafty JS Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Crafty JS!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript Game Engines

Registered

4 days ago