Hi, I am using NetBeans as my IED to make game in JAVA i want to make a line on left hand side this is the code i wrote:
Body staticplatform = new Body (world, PolygonShape.makeBox(50, 7), Body.Type.STATIC);
staticPlatform.setPosition(new Vec2(-0, -200));
how can i make this line on right hand side.....And i also want to know how can I add background to my game?? i got the background image..... do i need background as a new class??