GHZ crumbling platforms #76
-
|
How would I change the collision of an object? I'm trying to make a GHZ esque sloped crumbling platform and I haven't figured out a way, even after looking through the code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Use a sprite multiple of 16 on each axis (because it's split to 16x16 tiles when the floor collapses), inherit your object from Basically see how |
Beta Was this translation helpful? Give feedback.
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 useobj_set_solid_slopedfunction to set its solidboxBasically see how
obj_falling_floor_tszis inherited fromobj_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