Skip to main content

Questions tagged [crafty]

Crafty is a Javascript-based HTML5 game engine. http://craftyjs.com/

1 vote
1 answer
89 views

I am using crafty.js to make a platformer. I assigned the main player entity the default jumping controls and movement with .twoway() and used ...
qbush's user avatar
  • 135
1 vote
1 answer
117 views

I am experimenting with Crafty.js, and I have called .image() on an entity, and the image is not loading. When I look through the web inspector, I can see that the cloud entity exists, and that the ...
qbush's user avatar
  • 135
0 votes
1 answer
190 views

As the topic says, I want to know how to get the ID of an active colliding entity. My Player Entity is called with Crafty.e("Player") Please notice, that I do ...
user3398698's user avatar
0 votes
1 answer
2k views

I'm fairly new to Crafty and have been having problems loading large world maps. So i have a world split up into multiple js files. They are represented by two arrays of tiles: one for background (...
Sash's user avatar
  • 13
1 vote
2 answers
502 views

I am working on a game developed on DOM using Crafty JS framework, and Greensock GSAP JS (http://www.greensock.com/gsap-js/) for animations. It is my first time working with these technologies. I ...
pablopablo89's user avatar
-4 votes
1 answer
208 views

I'm currently working with crafty.js. I need to know how to detect when one sprite is moving away from another sprite.
gnerkus's user avatar
  • 141
2 votes
1 answer
192 views

How do I stop a looping music file from playing in crafty.js? I want the music to stop playing once a gameover condition has been reached.
gnerkus's user avatar
  • 141
1 vote
1 answer
2k views

I'm using crafty.js to create a very simple platform game. It doesn't need to stop cheating, it's actually just seeing other players move around, and it doesn't need to have collision detection ...
johnwards's user avatar
  • 111