Skip to content

Provides a CCNode type which can be used for clipping the visible area of children

Notifications You must be signed in to change notification settings

njt1982/ClippingNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ClippingNode

Provides a CCNode type which can be used for clipping the visible area of children

This is particularly useful in combination with CCMenuAdvanced.

This has been sourced from:

Usage

CGRect menuBoundaryRect = CGRectMake(x, y, width, height);
ClippingNode *clipNode = [ClippingNode clippingNodeWithRect:menuBoundaryRect];
[clipNode addChild:menu];
[menu fixPosition];
[self addChild:clipNode];

About

Provides a CCNode type which can be used for clipping the visible area of children

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published