Demo here: http://tabanella.me/cocos-creator-tiled-collider-creator/
Article here: https://renard.land/articles/cocos-creator/fundamentals/tiled-and-collisions/
-
Install the dependencies in package.json
-
In cocos creator add the script to the Tiled sub-node where you want to generate the colliders. RigidBody is added automatically, usually you want is to be static.
-
Set parameters if needed