Hey, i did the layer refactor. Now: - layers are created by factories, they can be registered by plugins - the editor starts with 0 layers, the layers menu allows you to create new layers (reads the registered types) - we can create collision layers (this is for the collision guys to fix) - modes are associated with layer_types. a mode can also be associated with many layer types - the loader and serializer use the facotries to read and write the map
also, the previous version in this branch was broken, i imagine that someone forgot to commit changes to the cocos.layer.interpreter file and stuff. i "fixed" that (did the last i could to get the editor running again) i am very concerned of what the change may be. We shouldnt change stuff that people may be already depending on. Bruce most likely uses the interpreter. All our presentations use the interpreter. Im sure there is more. So, please: - dont change cocos - if theres something you want to change about cocos, lets discuss it. - if theres something new you want to add to cocos, leave it in the editor dir and we can later add it. - the last point can be ignored if you know what you are doing. but pleeease, its better to discuss this stuff than to make our next release a pain. Lucio. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
