@@ -0,0 +1,586 @@
+# This code is so you can run the samples without installing the package%0Aimport sys%0Aimport os%0Asys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))%0A#%0A%0Aimport cocos%0Afrom cocos.director import director%0Afrom cocos.layer import *%0A%0A%0A%0Aif __name__ == %22__main__%22:%0A    director.init( resizable=True )%0A%0A    main_scene = cocos.scene.Scene()%0A    color = ColorLayer(255,0,0,255)%0A    main_scene.add( color, name='color' )%0A%0A    # this one doesn't remove it's name%0A    main_scene.remove(color)%0A%0A    # this one works%0A#    main_scene.remove('color')%0A    main_scene.add( color, name='color' )%0A

add remove by name test