Page 1 of 1

Relocate Stack

Posted: Wed Mar 20, 2013 2:32 am
by andres
Trying to port a game made in RunRev from desktop to iOS. It is necessary to relocate all elements on the screen at the same time.

I try to set the location of the stack and the location of the card but none work for obvious reasons. Is there any way to relocate all elements without having to group them?

Thanks
Andres

Re: Relocate Stack

Posted: Wed Mar 20, 2013 2:39 am
by sturgis
Nope. The stack/card take on the dimensions of the screen. If you want to move things around you can either script a handler to change where things are as you need, or as you say group them and move the group. Or, if you have different screens you need, you could separate things to different cards and switch between them.

If you need multiple screens but want to stay on the same card you could group each screens elements and hide or show the group, or set the group position outside the bounds of the screen rect, bringing whichever group is appropriate into the screen.

There may be other ways too. Hard to say what is best without a better idea of what you're trying to accomplish.

Re: Relocate Stack

Posted: Wed Mar 20, 2013 1:12 pm
by andres
Thank you sturgis