Rotate all the screen in NDS

Post Reply
tgraudo
Posts: 1
Joined: Thu Apr 01, 2010 5:57 pm

Rotate all the screen in NDS

Post by tgraudo » Thu Apr 01, 2010 7:53 pm

Hi guys!

Im trying to obtain this results.
Image
Image

I want to rotate all the screen, not only the sprites. Anybody know how to made it?
Thank's for this great forum! See you

Discostew
Posts: 103
Joined: Sun Mar 08, 2009 7:24 pm

Re: Rotate all the screen in NDS

Post by Discostew » Thu Apr 01, 2010 11:50 pm

You can either set up Affine/Extended BGs so they are rotated in that manner, or create the program with the assets already rotated. Basically, if you know how to do it one way, then it's not that hard to "rotate" everything. You just need to think of it rotated. If something rotated 90 degrees like your pictures show is moving right, instead of adjusting the X value, adjust the Y value instead.

Now, as far as it stretching across both screens, you'll need to allocate and write to both main and sub screens, except depending on which screen you are manipulating, you'll have to offset it's position a certain amount.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests