Following a moving object with camera in Box2D (Processing)

Discuss issues specific the Java port of Box2D
Khubaib
Posts: 13
Joined: Sat Jul 12, 2014 12:44 pm

Following a moving object with camera in Box2D (Processing)

Postby Khubaib » Tue Sep 16, 2014 4:12 am

Hi guys! I am making a game in which I have to make a camera like effect such that a moving object doesnt go outside the screen width.
In short I want a camera following effect like in "Angry Birds". I tried this link: http://www.emanueleferonato.com/2010/04/29/following-a-body-with-the-camera-in-box2d/
but cant get it to work. Can u help me how can i do that in Box2D (Processing)?

Khubaib
Posts: 13
Joined: Sat Jul 12, 2014 12:44 pm

Re: Following a moving object with camera in Box2D (Processi

Postby Khubaib » Sat Nov 29, 2014 4:11 am

will someone help?

irresistible force
Posts: 1991
Joined: Tue Jun 24, 2008 8:25 pm
Location: Tokyo
Contact:

Re: Following a moving object with camera in Box2D (Processi

Postby irresistible force » Sun Nov 30, 2014 7:08 pm

I think you need to define what you mean by "can't get it to work".

Khubaib
Posts: 13
Joined: Sat Jul 12, 2014 12:44 pm

Re: Following a moving object with camera in Box2D (Processi

Postby Khubaib » Sun Nov 30, 2014 8:59 pm

I mean i am unable to use this code in processing. My english is not that

Khubaib
Posts: 13
Joined: Sat Jul 12, 2014 12:44 pm

Re: Following a moving object with camera in Box2D (Processi

Postby Khubaib » Tue Dec 30, 2014 11:56 pm

help guys........


Return to “Java”



Who is online

Users browsing this forum: No registered users and 1 guest