Hi guys!
Is it possible to rotate the screen?
For example, I press "Right" and the whole level starts to rotate to the right?
Tell me, please! ))
---
Sorry for my english :blush:
Printable View
Hi guys!
Is it possible to rotate the screen?
For example, I press "Right" and the whole level starts to rotate to the right?
Tell me, please! ))
---
Sorry for my english :blush:
Hi
use perspective extension ( as far as i know )
Unfortunately, I can not do the screen rotation via an object "Perspective" ((
You will probably have to fake it, by moving and rotating every object around the center of the screen, using some trigonometry.
There are two downsides to this:
1.) It's not very easy.
2.) *Everything* has to be active - you can't use any background objects, because they can't be moved/rotated at runtime. That means it's going to be less efficient, and may require HWA.
Anyway, here's a quick example:
http://cid-b1e7ee094271bbda.office.live.com/self.aspx/Public/LevelRotate.mfa
The other alternative, and I have no idea if this is even possible, would be to apply a rotation pixelshader to the layer itself. If such a thing is possible, that would be the way to go (unless you are making a Flash game or something, and can't use HWA).
Thank you! But of course I would like it to be easy. For example, that it was setting the level of ...
Well, there are some things that are not easy to do, and consume time if done properly. Also, sometimes there are no examples and have to be accomplished by the trial and error method.
Marv
Pixelthief knows at least one way to do it, so it is doable with full fps. However, as I have understood it, it is not in any way an easy accomplishment. I believe it involves having some sort of screen-sized overlay diplaying the actual level (which is not rotated) rotated.
Check out his current project Asunder if you wan't to see it in action--> http://www.create-games.com/project.asp?view=main&id=1617
I don't think Pixelthief rotates the frame; his levels are all active objects that rotate together.
Erm, Pixelthief simply uses a pixel shader that can rotate an image ;)
He posted them here:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=187834#Post1878 34
You sure?
I'm pretty sure that the "real" level isn't rotated, only an image of it. Perhaps PT wouldn't mind to clarify this issue.
Edit: A tad late with my reply there.