Code Monkey home page Code Monkey logo

Comments (2)

mvasilkov avatar mvasilkov commented on June 19, 2024

Hi,

On package structure: I try to stay close to the original C++ version of the code.
http://code.google.com/p/box2d/source/browse/trunk/Box2D/Box2D/Common/b2Math.h

And DebugDraw is here. Using it may be not very obvious, please tell me if I should provide a “hello, world” style demo code.

(Side note: what do you think, should I just port some of the more popular tutorials?)

from box2d-html5.

headwinds avatar headwinds commented on June 19, 2024

Ahh ok it's probably box2dweb that deviated from the original - in that case, it's better to stay closer to the original I guess and provide a bit more documentation about the difference.

Yes, I definitely think this project needs a "tutorial" or "game" folder to appeal html5 game developers - I simply took your load.html and created a game.html with an external game.js containing Seth's example.

https://gist.github.com/headwinds/96d27083d4ca5c0f2ab1

Then, in your readme file, I would add a simple Getting Started headline and direct developers to that folder. The first thing I wanted to do was open the file in my browser and see some physics. Using an example with debug draw on is the fastest way to achieve this because it doesn't rely on any other assets.

from box2d-html5.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.