PDA

View Full Version : Cannot fix camera...



speeder
05-10-2010, 01:30 AM
I saved a level with the camera zoomed...

Now I can do anything I want, I cannot save the camera back on 0, 0 with zoom 1 1...

I try all ways to put the camera there, and save with various methods (even shortcut, like control+s)

Yet, when I load the level agian, teh camera is in whatever save I made with the camera wrong, seemly the save system ignore saving the camera on 0, 0 with zoom 1 1...

Seth
05-10-2010, 01:56 AM
Are you setting the camera position by script by any chance?

For instance, intro_menu.lua uses GetCamera:Reset(), which sets to 0,0 at scale 1x1 no matter what you saved that map at.

Shift-R is the short cut to do that from the editor btw.

I just played around with it using the Dink Palette map at a few different zooms/positions, and it did save the 'last camera' position properly, including 0,0 at 1x1 scale.