Using a component in your game
Crafty.modules({ moveto: 'DEV' }, function () {
//module is ready
Crafty.e("MoveTo, 2D, DOM");
});
Create game faster! Use CraftyBoileprlate!
crafty by Louis Stowasser
Crafty is a modern component and event based framework for javascript games that targets DOM and canvas. Check out the DEV version if you want to play with the latest and greatest.
Homepage: https://github.com/craftyjs/Crafty
New Components
| Component name | Description | Author | Latest release | Latest RELEASE date |
|---|---|---|---|---|
| Shape | CraftyJS Shape component. | Luiz Paulo Bills | RELEASE | 2013-04-13 09:36:24 |
| SpriteColor | A Crafty component to change or apply color to a sprite. | Luiz Paulo Bills | RELEASE | 2013-04-12 02:57:49 |
| BoxOverlays | Box overlays for Crafty entities visualize the effects of entity rotation. | naymspace software | RELEASE | 2013-04-05 01:54:32 |
| Shape | CraftyJS Shape component. | Luiz Paulo Bills | RELEASE | 2013-03-27 03:01:03 |
| SpriteColor | A Crafty component to change or apply color to a sprite. | Luiz Paulo Bills | RELEASE | 2013-03-27 03:00:06 |
| MouseFace | A Crafty component that is helpful when you need to get sprite direction angle and sprite rotation relative to mouse coordinates. | Petar Petrov | RELEASE | 2013-03-27 02:16:38 |
| ProgressBar | A progress bar component for the crafty JS framework. See ProgressBar.js for detailed documentation. | mucaho | RELEASE | 2013-03-25 12:51:47 |
| Dialogues | The Crafty component that adds an entity a ability to carry conversation. As data source it uses JSON file. For building data source structure you can use prepared Dialogues builder tool (http://kibo.github.com/dialoguesBuilder/). | Tomas Jurman | RELEASE | 2013-03-14 07:39:31 |
| TiledMapBuilder | Component for building a orthogonal, isometric diamond and isometric staggered tiled map based on JSON file exported from Tiled Map Editor (http://www.mapeditor.org/). | Tomas Jurman | RELEASE | 2013-03-14 07:39:15 |
| MoveTo | The mouse equivalent of Fourway. Click and the entity will move toward the point. NewDirection and Moved events will be triggered | Sren Bramer Schmidt | RELEASE | 2013-03-11 02:14:51 |