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.

Dark GDK / 2D Game Viewport

Author
Message
Xan25
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 10th Mar 2009 07:06
I'm trying to make a simple 2D game and up to this point it's been going alright. My problem is that I want to have a map that is longer then 640 (my viewport) but I would rather have the whole viewport change position with my main character, rather than move the bitmap at the back and all the other sprites on it. I was wondering if there is any good way to do this? I've tried a camera but it does not work.

Lion Jin
18
Years of Service
User Offline
Joined: 24th Sep 2006
Location:
Posted: 11th Mar 2009 04:15
3d camera is not has a relationship with 2d contents.below is a link seems the same question as yours ,hope its help.

http://forum.thegamecreators.com/?m=forum_view&t=146814&b=22

Login to post a reply

Server time is: 2024-11-25 17:58:44
Your offset time is: 2024-11-25 17:58:44