Hello!
Is there a way to create custom sprites in cocostudio? I can create a node but the node’s size is always 0x0 so I need to use the cascade bounding box function which is extra work, also if I have a LOT of sprites I need to create a lot of nodes for them is it correct? That’s additional work.
Imagine this situation:
I have a scrollview with lots of sprites (10+) but instead of cocos2d::Sprite* I want them to be MySprite* so they will have additional fields like i.e Vec2 startPos; etc. So now I need to create 10+ nodes for each of those sprites and put them inside my scrollview, thats a lot of work right?
Is there a simplified way to do it? I dont know… for example keep the sprites in scrollview but cast them somehow to MySprite*? How should I create a scrollview or even a node that has lots of different sprites inside and they need to be of type MySprite*?