JonBonazza

Member
  • Content count

    96
  • Joined

  • Last visited

Community Reputation

121 Neutral

About JonBonazza

  • Rank
    Member
  1. 93 on a math logic exam? Ill take it.
  2. Doing some much needed organizing on both my bookshelf and my desktop's filesystem.
  3. Man, I get invited to all kinds of crazy events across the US that look fun as hell. Why can't a fun sounding event like them pop up around here?
  4. I am done with VS2010. Although it's convenient to use on Windows, it is so riddled with bugs and "its own way of doing things" that it makes compiling anything not written with VS2010 (which is just about everything out there) a pita. Take the luabind library for example. I spent literally 8 hours yesterday trying to get it to compile with VS2010, then finally gave up and switched over to Eclipse using the Cygwin GCC compiler and boom. Compiled on the first go.
  5. Probably the only time Ill ever Google "boost eclipse" and not want something related to cars.
  6. Hmm... I seemed to have figured it out, though not really sure why it didn't work before. What I did to fix it was move the world initialization out of the scene manager's ( I know, I know. The name is bad, but w/e) constructor and into the Start() method which is called at the beginning of a scene. I do have one more question, however. To be sure I am doing things right, Box2D considers the center of the window as the origin, correct? So, if I had an 800x600 window, then the origin of the physics world in pixels would be (400, 300)? I know that Box2D works in meters and not pixels, but I want to be sure I have the origin correct for the conversions.
  7. I actually Am calling world->Step() inside of the while loop at the bottom. With that said, I found the problem, which was very stupid. when I called world->Step(), I passed 1/60 as the first parameter and since 1 and 60 are both integer literals, the result of the division is also an integer, which in this case would be 0. After changing that to 1.0f/60.0f, It worked. After I got that working, I went on to make the same corrections in my project, but it's still not working. I even went as far as to temorarily change the b2FixtureDef and b2BodyDef settings to the same ones I used in the working example, and to no avail. I would provide some code, but everything is spread across so many different files that I don't think you guys would want to mess with it. I'll continue to try to debug and keep you all updated with my findings. If I really can't figure it out after a few days, I'll post the code and hope for a response as a last resort.
  8. Ok, so I set out to add box2d to my project, but I couldn't for the life of me get it to work. After hours of frustration, I decided to try to run the hello box2d from the documentation, but when I do, the body's position doesn't change, even though gravity should be taking it's tole. my code for the hello Box2d looks like this: [code]int main() { b2World world(b2Vec2(0.0, -9.8)); b2BodyDef bodyDef; bodyDef.position.Set(3.0, 3.0); bodyDef.angle = 0.0f; bodyDef.type = b2_dynamicBody; b2PolygonShape shape; shape.SetAsBox(10, 10); b2FixtureDef fixtureDef; fixtureDef.shape = &shape; fixtureDef.density = 1.0f; fixtureDef.friction = 0.3f; body = world.CreateBody(&bodyDef); body->CreateFixture(&fixtureDef); while(true) { world.Step(1/60, 10, 8); std::cout << body->GetPosition().y << std::endl; //world.ClearForces(); } }[/code] What am I doing wrong?
  9. Just finished mass effect 3. Couldn't get the "perfect ending" because I didn't play any MP, but holy crap... I think this game goes down as best endings in game history... even the 4th best ending (3rd if you don't count the "secret ending" for beating the game twice), is phenomenal.
  10. Considering dropping Netflix in favor of Hulu...
  11. damn, my hosting service is running slow today.
  12. Ok, my car friends. I have an spare turbo that I want to take apart and make into a home decoration (kind of like the turbo toilet paper holder), but not sure what to make. Suggestions?
  13. Most programming languages give you enough rope to hang yourself. C++ will tie the knot and put it around your neck.
  14. [quote name='Johnsknees' timestamp='1329090476' post='4912384'] I'm sure unity supports this? [url="http://lmgtfy.com/?q=unity"]http://lmgtfy.com/?q=unity[/url] [/quote] Unity will do what he wants, but it is by no means Open Source. If that is a requirement, then that excludes Unity from the possible candidates. EDIT: To more answer your question, I don't know of any engines that are open source AND support the feature set you need. Is open source really that necessary? If so, why?
  15. People who claim that they will never use math in the real world, are those same people who dont understand math.