Im a little confused at the moment. If I get my Shape from my fixture in Box2d it returns me the points (with ->getVertices) related to the position of the body and angle. But shouldnt be there somewhere the stored data for the actual points of th...
Just in general I'm getting some errors with this. The major one is in safari and the android browser get the error     JavaScript reference error can't find variable   The variable in question is b2AABB.   Here is the code var worldAABB = ne...
I am working on this browser-based experiment where i am given N specific circles (let's say they have a unique picture in them) and need to position them together, leaving as little space between them as possible. It doesn't have to be arran...
Can anybody please guide me with the best engine for game development in HTML5?  It is simple jumping and surface detection game. The theme is like jumping and go above the tree tops.  What you suggest in this case?  I am targeting Android and iOS d...
I know HTML5 canvas fairly well, I know the basics and animation using loops etc.  Demo I'm working with: (click to make shapes) http://henry.brown.name/experiments/box2d/example-canvas.html  What I'm not very familiar with is Box2D. I'm...
I use box2dweb for my game. I located four boxes around a circle and gave the circle a initial velocity. I expected that the circle would bounces off the wall but the circle moves parallel with the wall after a collision. It happens only when a circl...
I'm creating game with the world bigger than screen. So i need to move Debug Draw according to visualization. In flash port to archive this issue we are usually move DisplayObject that uses as target of Debug Draw but in javascript port of Box2D...
I am using box2d and attempting to create a chain shape.   In order to create a chain shape or polygon shape I must pass an array of vectors in order to specify the geometry.   I do not see any documentation to help me accomplish this, and the notes...
How do I import and attach a PNG or GIF to a shape in Box2dWeb?  The best resource I could find online is at: http://www.jeremyhubble.com/box2d.html  However, this "tutorial" doesn't give much explanation about how images are actually use...
I've been looking through various tutorials on rayCasting with Box2D, but I haven't seen any clear examples. I was hoping someone familiar with box2dweb would be able to give a clear example of how one would go about setting up a simple funct...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.