All Questions
Tagged with javascript debugging
4 questions
0
votes
2
answers
60
views
How do I debug within an animation loop?
I'm trying to see some values within an animation loop, and am naively just console.log'ing when I need to, however, this usually results in the browser crashing ...
0
votes
1
answer
250
views
How can I fix sprite vibrating randomly which is moving towards the mouse while using camera.position set to the sprite as the center?
So, when I use
camera.position.x = player.x;
camera.position.y = player.y;
to set the center of camera to my sprite, the code doesn't work as intended to. It's ...
7
votes
2
answers
2k
views
Scrolling Box2D DebugDraw
I'm developing a game using Box2D (javascript implementation - Box2DWeb), and I would like to know how I can pan the debug draw. I know the usual answer is - don't use debug draw, it's just for ...
6
votes
1
answer
1k
views
What is the best way to debug and profile a web application on an iPod in Mobile Safari? [closed]
I've built a web app that makes heavy use of JavaScript and HTML5 canvas. It's easy to debug in Chrome, but on a mobile device the developer tools are much less robust. Is there a tool or technique ...