5 Topics

Member Avatar for
Member Avatar for hwoarang69

Hi, I am using Java, Libgdx, box2d I main class I have created a body and I set player x and y position to 50. // main class public class main{ ... private void createPlayer() { BodyDef bdef = new BodyDef(); Body body; FixtureDef fdef = new FixtureDef(); PolygonShape shape …

Member Avatar for Taywin
0
368
Member Avatar for gamingthinktank

Box2D physics engine works according to the rules of physics. You have to work a little bit to set it up to work with platforms like HTML5 Canvas, iOS or Flash. Read the details [Box2d coordinate system for HTML5 Canvas](http://www.gamingthinktank.com/2013/08/12/box2d-coordinate-system-for-html5-canvas/)

-1
109
Member Avatar for Mbot

Hey, I am having some difficulty drawing my lines correctly using flash.Box2D. The fault isnt with box2D, rather with my math. I attached a swf with the basic engine as well as some angles drawn on it. Why doesnt the lines want to draw correctly for anything greater than +-40 …

Member Avatar for Mbot
0
147
Member Avatar for nuclear

I'm trying to use Box2D lib with SDL lib. NOTE that I only get the errors below after I link in SDL too. I think i link everything accordingly but in the end when I write up some code i get errors like: 1>------ Build started: Project: box2d test2, Configuration: …

Member Avatar for Ab000dy_85
0
534
Member Avatar for nuclear

[B]On visual studio 10:[/B] I've tryed out some code and everything was fine, but when I use this line: [CODE]sf::RenderWindow App( sf::VideoMode ( 800, 600, 32 ), "Hexagon Puzzle Thing" );[/CODE] Or anything with RenderWindow I get an: Unhandled exception at 0x76adfeb8 in SFML + Box2D Project.exe: 0xC0000005: Access violation …

0
88

The End.