adding crawlspaceLib causes displayObjects to shift up and left

I've recently added the crawlspaceLib to use the Save/Load functions. I haven't called a function from crawlspaceLib yet, all I've done is add the require "crawlspaceLib", and it has shifted my displayObjects up and to the left about 25 pixels. My displayObjects are simple at this point, just a few roundedRects and texts. I'm using version 1.4 of the Director class, and I noticed that in the crawlspaceLib.zip it is using version 1.0 of the Director class. Could this be part of the problem?

I imported crawlspaceLib for the Save and Load function, and those are working fine.

Maybe because it has a diffrent ReferencePoint. Default is center, maybe CrawlSpaceLib is using TopLeft!

I'm not certain of the exact issue (we don't provide official support for third party classes) but I imagine if you use the newest Director and rather than crawlspaceLib use Ice or Jon Beebe's Games class that it should resolved the issue while still allowing you to easily save and load data.

Peach :)

views:1447 update:2011/11/19 17:31:56
corona forums © 2003-2011