bump
bump copied to clipboard
A set of 2D collision utilities for games.
It can't support sprite collision? 
Would nice to see support for rotated objects (using SAT, swept OOB...) for collision tests, and the colliding angle in collision response.
Hi, sorry for my Eng. When i try use bump.js via CDN like https://cdn.rawgit.com/kittykatattack/bump/2fe38b76/bin/bump.js all working correct. But when i try use webpack or another build system from npm_modules i...
Title says it all.
Hi everyone, I think i have found a problem in findCollisionType function. In findCollisionType to determine if an object is a circle, the existence of diameter member is tested :...
I'm trying to use the `contain` function to keep a ball (sprite) inside a playing field (container). Struggling to get this done I went into the code to see if...
> It can have the value "topLeft", "topMiddle", "topRight", "leftMiddle", "rightMiddle", "bottomLeft", "bottomMiddle", or "bottomRight". If there’s no collision it will be undefined. Yet half of my collisions are turning...
1. The doc says `anySprite.circular = true;` will make the sprite be interpreted as circular. In fact it doesn't work. I notice there's a block in the source code: ```...
AddCollisionProperties doesn't seem to work for polygons. Properties needed for collisions are not valid
I have a platfomer with a constant acceleration built in to simulate gravity: let playerGravity = 0.2; playerSprite.vy += playerGravity; collision detection for playerSprite and array of sprites that are...