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.

AppGameKit Classic Chat / How do you rotate a word

Author
Message
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 11th Nov 2011 18:44
I don't know how to do this with simple commands, and if I change a sprite sheet to rotated letters. There must be an easier way.

Go through yourself at a wall.
MobileCreator
12
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 11th Nov 2011 21:04
If you mean, rotate in 2D, you can use the SetSpriteAngle function with a simple sprite.

Now, if you're thinking about 3D spinning, then you'll have to use sprite animation to do so.

Cheers

----------
Paulo
http://www.mobilecreators.com
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 11th Nov 2011 21:40
Quote: "I don't know how to do this with simple commands, and if I change a sprite sheet to rotated letters. There must be an easier way."


Have you tryed !!

SetOrientationAllowed

Description

Sets which orientations the AppGameKit will allow the app to rotate to. There are two portrait and two landscape orientations, one for the right way up and the ther for upside down. On platforms that can't rotate, like Windows or Mac, this command has no effect and the app will always be drawn right way up.

A value of 1 for each orientation will determine if the app will rotate when the device is held in that orientation. A value of 0 will keep the app at its last valid orientation.

Definition


SetOrientationAllowed( portrait, portrait2, landscape, landscape2 )




Parameters
•portrait - The default device orientation.
•portrait2 - The upside down portrait orientation.
•landscape - The landscape orientation when the device is rotated left from its default position.
•landscape2 - The landscape orientation when the device is rotated right from its default position.


You are talking about the text commands?
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 11th Nov 2011 21:41
SetSpriteAngle will rotate text I thought it only rotate sprites.

Go through yourself at a wall.
3d point in space
14
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 11th Nov 2011 22:21 Edited at: 11th Nov 2011 22:22
This is rotated sprite sheet that should work.




Go through yourself at a wall.

Login to post a reply

Server time is: 2024-03-28 20:43:45
Your offset time is: 2024-03-28 20:43:45