Hi I'm sure you all know about the os.path module. There are many useful methods like os.path.normpath(path) which converts the path into the right format for the current platform. If you use this methods consequently you should be fine on each platform. But maybe I missed the point, if so, just ignore.
Well after rethinking I guess you are talking about how to store a path (in a file) so it can be loaded on each platform correctly. If this is the case then forward slash is the way to go as you figured out already. ~DR0ID Kao Cardoso Felix schrieb: > On Tue, Apr 7, 2009 at 5:54 PM, Kao Cardoso Felix <[email protected]> wrote: > >> - changing the paths to all forward slashes everytime >> > > Well, I sticked to this option for now because it's the simplest. Just > a path.replace("\\", "/"). > > I commited this small hack with a FIXME indicated and also commited my > fairly small change to stamp.py to change the atlas loading time. > > riq, please see if the ordering bug still happens now that only one > atlas is created. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
