Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

use: 

ccbSetCollisionShape(node, x, y, z);

the collision x and z should match your player collide when moved size and just adjust over time using javascript a variable to adjust the Y value from crouched back to normal - Im sure you can work the rest out.