I'm creating a game with libgdx. For testing physics I use a Box2DDebugRenderer, which is not fast. When I want to release my full game, what should I use as a renderer?
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
|
I haven't used Box2D itself (only ports and things based off of it), but the name "Box2DDebugRenderer" suggests that you should not render anything that should be in the final product whatsoever based on it. Use it to draw collision bounds and collision contact points. This is very useful visual information to see while you're developing your game. The game itself should have its own renderer. Isn't that part of what LibGDX is supposed to provide? |
|||||
|
|
It depends on what you want to render :) Box2d needs step updating to simulate physics only.
|
|||
|
|
