Skip to content
Discussion options

You must be logged in to vote

Use a sprite multiple of 16 on each axis (because it's split to 16x16 tiles when the floor collapses), inherit your object from obj_falling_floor_basic, override the create event and then use obj_set_solid_sloped function to set its solidbox

Basically see how obj_falling_floor_tsz is inherited from obj_falling_floor_basic. Since it is not sloped it does not override the create event and uses CollisionWidth and CollisionHeight assigned in Variable Definitions. But since you need a custom solidbox, you should override the event

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Otukuoi
Comment options

@TrianglyRU
Comment options

@Otukuoi
Comment options

@TrianglyRU
Comment options

Answer selected by Otukuoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants