A Rotated Tiles Proof of Concept #41
Pinned
ProjectMobius13
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Oh wow, good stuff! Really clever usage of a bitmask |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A proof of concept showing collision tiles rotated in the room editor working after a little tweaking. Full disclosure: there may be some edge cases I haven't found that result in some wonky behavior. It's also not the cleanest code, and there is likely a more elegant solution. But it works!
Here are the changes to the scripts needed to make this work:
In both tile_find_h and tile_find_v, you will find this block of code:
Replace it with:
And voilà! No more breaking when tiles are rotated in the room editor.
Beta Was this translation helpful? Give feedback.
All reactions