A plugin for adding slopes functionality to GBStudio
This plugin modifies engine/src/states/platform.c so will be incompatible with any plugins modifying the same file
This plugin is only for 45 degree and 22.5 degree slopes and only for platformer mode
GBSlopes.mp4
-
Copy the plugins/ folder into your GBStudio project folder
-
To set up the collisions for slopes, use these collision patterns
- 45 degree right slope: Collision Right (5) + FIELD_COLLISION_LADDER (6)
- 45 degree left slope: Collision Left (4) + FIELD_COLLISION_LADDER (6)
- 22.5 degree right slope bottom: Collision Right (5) + Collision Bottom (3) + FIELD_COLLISION_LADDER (6)
(Hold shift and left click to multi-select collision types)
- 22.5 degree right slope top: Collision Right (5) + Collision Top (2) + FIELD_COLLISION_LADDER (6)
- 22.5 degree left slope bottom: Collision Left (4) + Collision Bottom (3) + FIELD_COLLISION_LADDER (6)
- 22.5 degree left slope top: Collision Left (4) + Collision Top (2) + FIELD_COLLISION_LADDER (6)












