Graphics

Hey everybody!

I'm about to create my first game (it's gonna be a game which is similar to this one http://www.newgrounds.com/portal/view/459183

So i need some kind of physics engine. I've been searching the net and have been studying this engine for the past two hours or so. So i think i start getting it, though i'm not an OO master. But what I don't get is, how do i implement graphics in my game? I never see any property like circleParticle.background or something like that.

The way is see it right now, is like this: I create the world, the ground, the balls and the baskets with basic shapes in the engine. I apply the physics (bouncing, gravity, etc...) and then i add the graphical elements. Correct? Not correct? If so, where do i apply the graphics?

This is probably one of the most stupid questions ever posted here 😀 Still, i need help with this. Can anybody explain how all of this works? Or show me a really really basic tutorial?? 🙂

Thanks in advance

Thomas

Original thread: https://box2d.org/forum/viewtopic.php?t=3733