Cocos2D sprite/layer visible question
When you set visible = FALSE for a sprite or layer, does this stop cocos2d from rendering the image?
I'm working on a tile based game where I always know how many map tiles will be on the screen at a time, but I wanted to implement my own simple clipping by turning everything to visible = FALSE and then only turning on visibility for sprites that are currently on the screen. Just curious if this would solve my problem.
If anyone has a better way to do some simple clipping like this I would appreciate it. Thanks!
|