Page 1 of 1

Move View Rectangular

PostPosted: Sat May 11, 2013 6:48 pm
by Behdadsoft
Hi.

my game resolution is 640 x 480. I want make all levels in single ged file, But I don't know how can move View Rectangular to next level.

Please Guide Me.

THANKS

Re: Move View Rectangular

PostPosted: Sun May 12, 2013 5:04 am
by skydereign
You move the view the same way you move any other actor. The following assumes the area you want to move the view is (1000, 100).
Code: Select all
view.x = 1000;
view.y=100;

Re: Move View Rectangular

PostPosted: Sun May 12, 2013 5:36 pm
by Behdadsoft
Thanks
+1

Mean I should use this code Instead LoadGame("Level2.ged");?

if I use some ged file for compile to Iphone or Android, the problem occur?

THANKS

Re: Move View Rectangular

PostPosted: Sun May 12, 2013 8:38 pm
by skydereign
Behdadsoft wrote:Mean I should use this code Instead LoadGame("Level2.ged");?

If you are using a single ged, you shouldn't use LoadGame.

Behdadsoft wrote:if I use some ged file for compile to Iphone or Android, the problem occur?

iOS can use LoadGame and multiple dat files if you want to. Android I believe currently can only use a single dat file.

Re: Move View Rectangular

PostPosted: Mon May 13, 2013 6:19 am
by Behdadsoft
Thanks.


iOS can use LoadGame and multiple dat files if you want to. Android I believe currently can only use a single dat file.


+1

If you are using a single ged, you shouldn't use LoadGame.


I'm confused, There is a sample that exist all level in single .ged file?

THANKS A LOT