Jump to content

Collison detection, and apparently ignored velocity.


Recommended Posts

Here is the sample, this is on a VM so it may be intermittent and slow.



https://hackpad.com/pong.js-WvqN0qlt1rO This is the relevant js file in case virtual box crashes or I do something crazy to my source... again.



Another version, similar issues.



I've noticed a few problems right off the bat, but I'm still learning. 

Issue 1 is nothing is rendered in Internet Explorer. Issue 2 is the collision isn't always detected. Issue 3 is that if bounce is set to 0, velocity is ignored. 

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...