CrumbleWorks / aTFC

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Dirt with Slide-Fall mechanics #4

Closed dotSp0T closed 3 years ago

dotSp0T commented 3 years ago

Dirt now slides and falls like in real tfc

Please review and make code smell nice

McDonnough commented 3 years ago

If an unstable block is placed adjacent to another unstable block and there is only one available direction for the newly placed block to fall towards, the already placed block will fall in the same direction an cause the newly placed block to drop as an item. Other TFC-clones handle this differently and the already placed block will only fall if there is another direction available to fall towards and will stay put otherwise. See the video below for an illustration of this problem.

https://user-images.githubusercontent.com/779894/104464261-023d2280-55b3-11eb-91fc-0b3aff9d793d.mp4

dotSp0T commented 3 years ago

@McDonnough ping