MCPcopy Index your code
hub / github.com/endel/joy.js

github.com/endel/joy.js @0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.3.0 ↗ · + Follow
26 symbols 29 edges 59 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

joy.js

A Joyful 2D HTML5 Game Engine, designed to be easy to use.

Any question, bug, or feature request may be submitted via issues.

Current version: 0.3.0 (CHANGELOG)

Features

  • Keyboard input
  • Mouse input
  • Viewport / Head-up display
  • Tilemap / Tileset
  • Reusable object behaviours
  • Collision detection
  • Scene graph
  • Particle System
  • Audio (provided by howler.js)
  • Tweens (provided by tween.js)
  • Device feature detection
  • Custom preloader

Resources

TODO (enchancements / features)

  • Touch events
  • Normalized collidePosition on DisplayObject / RectCollider calls.
  • Handle custom WebFonts on loader pipeline. (lib/base/font.js)
  • Physics integration. (lib/core/behaviour/physics.js)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Please see LICENSE file.

Core symbols most depended-on inside this repo

triggerKeyEvent
called by 4
lib/input/keyboard.js
parseProperties
called by 2
lib/behaviour/particle.js
prefix
called by 1
lib/core/support.js
Package
called by 0
lib/init/package.js
Markup
called by 0
lib/init/markup.js
Class
called by 0
lib/core/class.js
Engine
called by 0
lib/core/engine.js
Context2d
called by 0
lib/core/context/context2d.js

Shape

Function 26

Languages

TypeScript100%

Modules by API surface

test/unit/behaviour/triggers.js4 symbols
test/unit/behaviour/keyboard_triggers.js4 symbols
lib/util/shader.js2 symbols
lib/util/color.js1 symbols
lib/render/sprite_animation.js1 symbols
lib/math/vector2d.js1 symbols
lib/math/range.js1 symbols
lib/math/matrix2d.js1 symbols
lib/input/mouse.js1 symbols
lib/input/keyboard.js1 symbols
lib/init/package.js1 symbols
lib/init/markup.js1 symbols

For agents

$ claude mcp add joy.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact