Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Follow my object

Author
Message
royaltca
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location:
Posted: 13th Jan 2007 11:39
I want to make game in 2d. Viper.bmp is a sprite with simple car. I need to do camera following my car in 2d... is this possible??
I mean the screen is scrooling when i am leaving it, and i can always see my car. Please help!!

Jerok
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Mars. Wait a sec I\'m on MARS. OMG
Posted: 14th Jan 2007 23:20
I'm not good at 2d but if it helps I think you are supposed to move all the sprites besides the car the same amount as you would have moved the car. I am sorry I can not give a code example. There may be a question like this on the 2d chat board if you use the search.

Login to post a reply

Server time is: 2024-09-25 15:27:40
Your offset time is: 2024-09-25 15:27:40