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.

2D All the way! / 2d top-down scrolling issues

Author
Message
NekoMD
20
Years of Service
User Offline
Joined: 21st Feb 2006
Location:
Posted: 21st Feb 2006 10:04
Hi!! I'm a newbie in DBpro, I was trying to make a top-down example game, using one map (as a background) and one sprite (as the character). I can make the character to move in 8 directions, but i can't find a way to make the camera to follow him (scroll), pleaseeeeeeeeee can somebody help me????!!!!!
Scraggle
Moderator
22
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 21st Feb 2006 16:17
Keep your character sprite stationary in the centre of the screen and move the background in the opposite direction to him.


NekoMD
20
Years of Service
User Offline
Joined: 21st Feb 2006
Location:
Posted: 21st Feb 2006 18:57
Thanks for the info Scraggle!! I tried to do that, and now the background is moving instead of my sprite, plus when the back moves it leaves a trails of pixels, strange...anybody??
NekoMD
20
Years of Service
User Offline
Joined: 21st Feb 2006
Location:
Posted: 1st Mar 2006 21:25
Sorry to bother but maybe someone has a function or stuff to control sprite scrollin (camera following the character), moving the background isn't very neat, so if someone has someway different to do this, i'll apreciate you cooperatio...

Login to post a reply

Server time is: 2026-07-02 03:29:50
Your offset time is: 2026-07-02 03:29:50